FMI++ Python Interface
Project description
About
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.
Documentation
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, see package names in brackets below):
python (python-dev) (recommended: version 3.5 (or higher))
pip (python-pip)
distutils (python-setuptools)
GCC compiler toolchain (build-essential)
swig (swig)
SUNDIALS library (libsundials-dev or libsundials-serial-dev)
Boost library (libboost-all-dev)
use pip to install FMI++ from the PyPI via source distribution:
$ pip install fmipp
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for fmipp-1.4.3-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df5d39c25779585161727ad0125f84512033c6cac29645deb4bf1d07b50e4e29 |
|
MD5 | 45d180e71b95f27c9b31fbc9cf9cf98f |
|
BLAKE2b-256 | 810d72b428a96bd2c5f607fccf8062530bf22d6124bd3228509168bc49265a3f |
Hashes for fmipp-1.4.3-cp36-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d01fe816c961357fa46c920d8a9321e403d27789c8dad4089a2c8857f2496e3 |
|
MD5 | 281dfddb5dcd48556bc4b21178e3ce68 |
|
BLAKE2b-256 | e3d54a81d6daf0ef8bd0c86b1488d7b5ed1057af8e471da3d8aa822c33bd034e |
Hashes for fmipp-1.4.3-cp27-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 340a526148a63c51f1a915bbd5acde5227815fbcc02d4c80ea0f81c684145e41 |
|
MD5 | ac1aa17cb39aba50d65104fa30d7fda9 |
|
BLAKE2b-256 | 9e9ec7f3d445e4ea20c8d051b4c199a802ed80ca152063aebdd884fa47b5b225 |