- FMI Library
- Log in
Import and Export of Functional Mock-up Units in JModelica.org
Submitted by admin on Sat, 2011-02-19 18:06
8th International Modelica Conference
Different simulation and modeling tools often use their own definition of how a model is represented and how model data is stored. Complications arise when trying to model parts in one tool and importing the resulting model in another tool or when trying to verify a result by using a different simulation tool. The Functional Mock-up Interface (FMI) is a standard to provide a unified model execution interface. In this paper we present an implementation of the FMI specification in the JModelica.org platform, where support for import and export of FMI compliant models has been added. The JModelica.org FMI import interface is written in Python and offers a complete mapping of the FMI C API. JModelica.org also offers a set of Pythonic convenience methods for interacting with the model in an object-oriented manner. In addition, a connection to the simulation environment Assimulo which is part of JModelica.org is offered to allow for simulation of models following the FMI specification using state of the art numerical integrators. Generation of FMI compliant models from JModelica.org will also be discussed.