A Modelica library to import Functional Mock-up Units.
- ✅ supports FMI 2.0 and FMI 3.0 for Co-Simulation
- 🎉 works with all Modelica tools
- 📃 logs FMI calls to the console or to a file
-
install the
modelica-fmi
command with
uv tool install --reinstall https://github.com/modelica/Modelica-FMI/releases/download/v0.0.6/modelica_fmi-0.0.6-py3-none-any.whl
- download the Modelica-FMI package and load it in your Modelica tool
To import an FMU into an existing package call FMI.importFMU() or run
modelica-fmi /path/to/model.fmu /path/to/package/model.mo
and reload the package.
Copyright © 2025 Modelica Association. The code is released under the 2-Clause BSD license.