PyFMI is a package for loading and interacting with Functional Mock-Up
Units (FMUs), which are compiled dynamic models compliant with the
Functional Mock-Up Interface (FMI), see
https://www.fmi-standard.org/ for more information. PyFMI
is based on FMI Library, see http://www.jmodelica.org/FMILibrary .
FMI is a standard that enables tool independent exchange of dynamic
models on binary format. Several industrial simulation platforms
supports export of FMUs, including, Dymola, JModelica.org, OpenModelica
and SimulationX, see https://www.fmi-standard.org/tools
for a complete list. PyFMI offers a Python interface for interacting
with FMUs and enables for example loading of FMU models, setting of
model parameters and evaluation of model equations.
PyFMI is available as a stand-alone package or as part of the
JModelica.org distribution. Using PyFMI together with the Python
simulation package Assimulo <http://pypi.python.org/pypi/Assimulo>
_ adds industrial grade simulation
capabilities of FMUs to Python.
For a forum discussing usage and development of PyFMI, see http://www.jmodelica.org/forum.
Requirements:
FMI Library (at least 2.0.1) <http://www.jmodelica.org/FMILibrary>
_Numpy (recommended 1.6.2) <http://pypi.python.org/pypi/numpy>
_Scipy (recommended 0.10.1) <http://pypi.python.org/pypi/scipy>
_lxml (at least 2.3) <http://pypi.python.org/pypi/lxml>
_Assimulo (at least 3.0) <http://pypi.python.org/pypi/Assimulo>
_Cython (at least 0.18) <http://cython.org/>
_- Python-headers (usually included on Windows, python-dev on Ubuntu)
Optional
wxPython <http://pypi.python.org/pypi/wxPython>
_ For the Plot GUI.matplotlib <http://pypi.python.org/pypi/matplotlib>
_ For the Plot GUI.
Source Installation:
python setup.py install --fmil-home=/path/to/FMI_Library/