Skip to main content

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 the FMI++ Python Interface 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 (Ubuntu 20.04)

  • make sure to have installed the following prerequisites(e.g. via apt, see package names in brackets below):

    • python (python3) (recommended: version 3.7 or higher)

    • pip (python3-pip)

    • distutils (python3-setuptools)

    • GCC compiler toolchain (build-essential)

    • swig (swig)

    • SUNDIALS library (libsundials-dev)

    • Boost library (libboost-all-dev)

  • use pip to install the FMI++ Python Interface from the PyPI via source distribution:

    $ python3 -m pip install fmipp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fmipp-2.0.2.tar.gz (156.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fmipp-2.0.2-cp310-none-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.10Windows x86-64

fmipp-2.0.2-cp39-none-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.9Windows x86-64

fmipp-2.0.2-cp38-none-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.8Windows x86-64

fmipp-2.0.2-cp37-none-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.7Windows x86-64

File details

Details for the file fmipp-2.0.2.tar.gz.

File metadata

  • Download URL: fmipp-2.0.2.tar.gz
  • Upload date:
  • Size: 156.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.6

File hashes

Hashes for fmipp-2.0.2.tar.gz
Algorithm Hash digest
SHA256 262c11419735e40453f5d86f3edeea2448b4d1e0361441954369e3f3004f58dc
MD5 9e2ec16b6745737163cdfcf73d5f9092
BLAKE2b-256 e3dbbac44bcd04419e8b87f7d96d86b20768d5dffb077631dafe9072a7f55552

See more details on using hashes here.

File details

Details for the file fmipp-2.0.2-cp310-none-win_amd64.whl.

File metadata

  • Download URL: fmipp-2.0.2-cp310-none-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.6

File hashes

Hashes for fmipp-2.0.2-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 32fa5bad13f155698c29e91c1978f96d4974890fcd4363bddd5764b9d253d706
MD5 5d7a5f96d5158e7c011dadab41dd420e
BLAKE2b-256 bf1607536b595e969793c150f51f297ab87a7579bf2207094bb1af029adc1a49

See more details on using hashes here.

File details

Details for the file fmipp-2.0.2-cp39-none-win_amd64.whl.

File metadata

  • Download URL: fmipp-2.0.2-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.6

File hashes

Hashes for fmipp-2.0.2-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 f62270d9ff36ed7705b3925e2247a603729e50f38df1dba75cc7bbc1471f642e
MD5 438badeaaae7b8ed248152bf7ae4c030
BLAKE2b-256 b3c7a3948ed332f0734194cf8aa10f22a479b450e9bc219899789167a4abdfa7

See more details on using hashes here.

File details

Details for the file fmipp-2.0.2-cp38-none-win_amd64.whl.

File metadata

  • Download URL: fmipp-2.0.2-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.6

File hashes

Hashes for fmipp-2.0.2-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 7dbdf5dad74fef864fcd175bab7ad67ab5c95c7ad3761d9ac25037bcea8a293b
MD5 76668affcbfe90a6e673e2ca4e48c2f7
BLAKE2b-256 84a6ba23a6e8022c1884dc6e92083853c8e2c2a55f06314565ff35685319ad3f

See more details on using hashes here.

File details

Details for the file fmipp-2.0.2-cp37-none-win_amd64.whl.

File metadata

  • Download URL: fmipp-2.0.2-cp37-none-win_amd64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.7, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.6

File hashes

Hashes for fmipp-2.0.2-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 7d776f43f389c15c3e8162e6fa9a1b0171e4ca4515a5b2187fac5caba441c28f
MD5 c0a28c2887e6279d95ae7aa45c37227e
BLAKE2b-256 a04038631a5ac67e32833ad65ab0c87ab6e02bb178002cc7984021c9c12be908

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page