Co-Simulation Of Functional Mock-up Units (FMU) with Integrated Research Data Management (SOFIRpy) is a python package that lets you co-simulate FMUs with custom models written in python. The package provides functionalities to:
- Export Dymola and OpenModelica models as a FMU
- Co-simulate FMUs with custom written models in python
- Store data and meta data of the simulation inside a hdf5 file
SOFIRpy can be installed from PyPI using the following command.
$ pip install sofirpyThe documentation can be found here.
Multiple examples can be found here.