Skip to content

Releases: SciNim/fmu.nim

Co-simulation and Model Exchange

17 Dec 22:39
Compare
Choose a tag to compare

Co-simulation and Model Exchange are supported now

Model Exchange supported

17 Dec 14:22
Compare
Choose a tag to compare

Five examples supported as Model Exchange. This is the first working version.

Lot of "sugar" added

10 Dec 13:00
Compare
Choose a tag to compare

Code simplified in how to write a model (this is a great thing about Nim).

For instance:

  • before:
inc.addInteger("counter")
inc.setOutput("counter")     
inc.setDiscrete("counter")
inc.setExact("counter")  
inc.setDescription("counter", "counts the seconds")  
inc.parameters["counter"].startI = some(1)
  • now:
inc.addInteger("counter").setOutput.setDiscrete.setExact
   .setDescription("counts the seconds")  
   .setInitial(1)

nimble support

09 Dec 19:22
Compare
Choose a tag to compare

Supports being installed using nimble

Multiplatform

09 Dec 18:52
Compare
Choose a tag to compare
Multiplatform Pre-release
Pre-release

This version is capable of creating multiplatform FMU's using zig as a compiler. It can create this type of FMU's from both linux and windows. In both cases I tested it with OpenModelica and FmuChecker in both platforms.

First time working with OpenModelica

08 Dec 10:47
Compare
Choose a tag to compare

This tag is the first one where a created FMU works with OpenModelica.

v0.1 First working `inc.fmu` file

13 Jun 16:35
Compare
Choose a tag to compare
Pre-release

It is able to create a working inc.fmu file. In order to do so, just run src/build.sh.