INTO-CPS-Association / maestro

Maestro a Co-Simulation Orchestration Engine
20 stars 3 forks source link

fmi3 support #292

Open CThuleHansen opened 3 years ago

CThuleHansen commented 3 years ago

FMI3 Implementation Repo

FMI3 has been implemented in: https://github.com/INTO-CPS-Association/org.intocps.maestro.fmi/tree/fmi3 (notice the branch, fmi) and is in the test-phase, with the initial test being https://github.com/INTO-CPS-Association/org.intocps.maestro.fmi/blob/fmi3/jnifmuapi/src/test/java/org/intocps/fmi/jnifmuapi/fmi3/BouncingBallFmi3Test.java

Incubator

There is a java 17 incubator project seeking to "replace JNI". A test project has been set up for trying this out. This loads an FMU and executes a function to get the version of the FMU. Just run main, it should work. Requires java 17: https://github.com/INTO-CPS-Association/java17fmitest

Model Description Parser

@FrederikPM has implemented an FMI3 Model Description Parser. See https://github.com/INTO-CPS-Association/maestro/blob/development/fmi/src/main/kotlin/org/intocps/maestro/fmi/fmi3/Fmi3ModelDescription.kt

Resources:

Reference FMUs https://github.com/modelica/Reference-FMUs Specification: https://fmi-standard.org/docs/3.0-dev/

CThuleHansen commented 3 years ago

reference fmus: https://github.com/modelica/Reference-FMUs

CThuleHansen commented 3 years ago

specification: https://fmi-standard.org/docs/3.0-dev/

lausdahl commented 2 years ago

387 adds native support. A mabl library is then possible to make