FMI++ Python Interface for Windows
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 for Windows and Linux.
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
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.
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 Distributions
Built Distributions
Hashes for fmipp-1.4-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc105a744a59593ddbfbdaba318d43dc42ea66f0b17a77855f47659f4ccf5ca0 |
|
MD5 | cea58f8f3a6501e5e159f6f995271dde |
|
BLAKE2b-256 | 1db86188bfa05a8e7f7bbef1303f0dc3e65cd0c63390921e5240ccd857eff0db |
Hashes for fmipp-1.4-cp36-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7f2fb8fc187f3498f1131e970f2c694b04424d1cde3dc5e354e58684b72bb3e |
|
MD5 | 7ae1389ceba27f3e24c5807311792af5 |
|
BLAKE2b-256 | 7a3ab4d4ecd2a99b4e77d566dd7154b374e77b3259fefa731825487e88c780df |
Hashes for fmipp-1.4-cp27-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e8fdc72bc815f05dcd9cd58c84ba0ebac0118453fb88243aa3455c9fcc1cf92 |
|
MD5 | 6e6a3eb9af483e2d31599081dad3095e |
|
BLAKE2b-256 | 3abd442aa5fe893b12e7d757a54c039a7c681a197848f9761d4cbdba9dcd508a |