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.0-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fb1cddedca4cf9ae698f235b54fdd7e2eae7c3f5b7e887b9644243e40ed864d |
|
MD5 | 14da29efb6d65f4afe20922c85271644 |
|
BLAKE2b-256 | d6fc38ec7ea4a3aa6176d502f53b1ae1e27bb8d6c196a5113a87fb4c690cf43e |
Hashes for fmipp-1.5.0-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f44cf854c27d375cb27c00d727d9be122fb095ed8081522029960955719c2f21 |
|
MD5 | add44dbcc4e77b048d3fc6c28e501348 |
|
BLAKE2b-256 | 655fe334aee4301092e430e39a856f206ea345e194c649f97f415b1e4a2b20f1 |
Hashes for fmipp-1.5.0-cp36-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3589dea91080d6b8c8741bf940870c41dbbb0667e781cf677fd9b76d10694c70 |
|
MD5 | 8dc0c4ba537334bef06a5ed8daa24897 |
|
BLAKE2b-256 | 2f5bff1744b8e1332895ddc02caf8db08ed246f9b7c40d2d9a0be1619a1a767b |
Hashes for fmipp-1.5.0-cp27-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bc0ca41ec733a22d218daf790e1a348412b5f72dc62e91fe0d842d7f48adb38 |
|
MD5 | b020d9215da9b39f9f69461436e4324a |
|
BLAKE2b-256 | 907cbc2d4e4bc0a884b0139bbcbff3cd51c9c62ce78173958580c2a5083f211f |