Claus Führer
Department of Numerical Analysis, Lund University, Sweden
Christian Andersson
Department of Numerical Analysis, Lund University, Sweden \ Modelon AB, Sweden
Johan Åkesson
Department of Automatic Control, Lund University, Sweden \ Modelon AB, Sweden
Magnus Gäfvert
Modelon AB, Sweden
Ladda ner artikelhttp://dx.doi.org/10.3384/ecp11063329Ingår i: Proceedings of the 8th International Modelica Conference; March 20th-22nd; Technical Univeristy; Dresden; Germany
Linköping Electronic Conference Proceedings 63:36, s. 329-338
Publicerad: 2011-06-30
ISBN: 978-91-7393-096-3
ISSN: 1650-3686 (tryckt), 1650-3740 (online)
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.
Inga referenser tillgängliga