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.5.1-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75af842116f57e417c243a2458f72d8b529b266de53ec0ecc2d799ce913f735c |
|
MD5 | 46fcdd90a9ec3f8a3885943526ef3685 |
|
BLAKE2b-256 | b72649dacdb7275efef2ca0767dea5fe7826d307ae136a2b138645c24b1d474d |
Hashes for fmipp-1.5.1-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eefa2a18a642533621f285e796d743b5bd64a4aea860d4b2178ab6200a22130 |
|
MD5 | 84cf54d2f1ce24aa5ea9fb7adbce279f |
|
BLAKE2b-256 | b025c844d490d0801e0f9201b03ab1499a5847bc8fb6bedff7d6d2bb8af46bbe |
Hashes for fmipp-1.5.1-cp36-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5aaad5f3011dd5b33dee34fe62ced17247438c84732fec17b0f31eaed207230 |
|
MD5 | c74783f9ff5388661f0e0075be0cfdba |
|
BLAKE2b-256 | c5ba7e466122a5039176e8e13e316845a84c6125fab0ec92f4053975771b6520 |
Hashes for fmipp-1.5.1-cp27-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a57114b228ad3b58b85f898e63c0b559c74889f91b89cd27b90af12d1ef1879e |
|
MD5 | 520d524eba83997b5fe541428c464a4b |
|
BLAKE2b-256 | 668e69ae59a1e6a78cdb740542850b815a6dd3fdf599647f01fc5d481af74464 |