Releases: SciNim/fmu.nim
Releases · SciNim/fmu.nim
Co-simulation and Model Exchange
Co-simulation and Model Exchange are supported now
Model Exchange supported
Five examples supported as Model Exchange. This is the first working version.
Lot of "sugar" added
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
Supports being installed using nimble
Multiplatform
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
This tag is the first one where a created FMU works with OpenModelica.
v0.1 First working `inc.fmu` file
It is able to create a working inc.fmu
file. In order to do so, just run src/build.sh
.