FMI++ Python Interface
The Functional Mock-up Interface (FMI) specification intentionally provides only the most essential and fundamental functionalities in the form of a C interface. On the one hand, this increases flexibility in use and portability to virtually any platform. On the other hand, such a low-level approach implies several prerequisites a simulation tool has to fulfil in order to be able to utilize such an FMI component.
The FMI++ Python Interface is a Python wrapper for the FMI++ Library, which intends to bridge the gap between the basic fuctionality provided by the FMI specification and the typical requirements of simulation tools. The FMI++ Library provides high-level functionalities that ease the handling and manipulation of FMUs, such as numerical integration, advanced event-handling or state predictions. This allows FMUs to be integrated more easily, e.g., into fixed time step or discrete event simulations.
This package provides a stand-alone version of the Python interface for the FMI++ Library.
The FMI++ Python Interface provides several classes that allow to manipulate FMUs for ModelExchange and for Co-Simulation. An overview on how to use it can be found here.
More extensive background information can be found in the documentation of the FMI++ Library.
Installation on Windows
use pip to install FMI++ from the PyPI as pre-compiled binary package (Python wheel):
$ pip install fmipp --prefer-binary
--prefer-binary should guarantee that binary distributions (wheels) are chosen over source distributions for the installation. Alternatively --only-binary :all: can be used instead to force installing from binary distribution.
Installation on Linux
make sure to have installed the following prerequisites(e.g. via apt-get)
- python (python-dev) (recommended: version 3.5 (or higher))
- pip (python-pip)
- swig (swig)
- SUNDIALS (libsundials-serial-dev)
- Boost (libboost-all-dev)
use pip to install FMI++ from the PyPI via source distribution:
$ pip install fmipp
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|fmipp-1.4.1-cp27-none-win32.whl (1.5 MB) Copy SHA256 hash SHA256||Wheel||cp27||Aug 27, 2018|
|fmipp-1.4.1-cp27-none-win_amd64.whl (1.9 MB) Copy SHA256 hash SHA256||Wheel||cp27||Aug 27, 2018|
|fmipp-1.4.1-cp36-none-win32.whl (1.5 MB) Copy SHA256 hash SHA256||Wheel||cp36||Aug 27, 2018|
|fmipp-1.4.1-cp36-none-win_amd64.whl (1.9 MB) Copy SHA256 hash SHA256||Wheel||cp36||Aug 27, 2018|
|fmipp-1.4.1-cp37-none-win32.whl (1.5 MB) Copy SHA256 hash SHA256||Wheel||cp37||Aug 27, 2018|
|fmipp-1.4.1-cp37-none-win_amd64.whl (1.9 MB) Copy SHA256 hash SHA256||Wheel||cp37||Aug 27, 2018|
|fmipp-1.4.1.tar.gz (145.2 kB) Copy SHA256 hash SHA256||Source||None||Aug 24, 2018|