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.1.tar.gz (5.1 MB 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.1-cp310-none-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.10Windows x86-64

fmipp-2.0.1-cp39-none-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.9Windows x86-64

fmipp-2.0.1-cp38-none-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.8Windows x86-64

fmipp-2.0.1-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.1.tar.gz.

File metadata

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

File hashes

Hashes for fmipp-2.0.1.tar.gz
Algorithm Hash digest
SHA256 7caa8edf3285629633d588acbe8e9c5a0545af3939a7d20866a02368234da3af
MD5 a8d1e60a2b0aef219d947aa3320b0ffd
BLAKE2b-256 576fd0adffc7cba15dad5cc33dc7327d3449f94f828f8f33cf081991f581d9d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-2.0.1-cp310-none-win_amd64.whl
  • Upload date:
  • Size: 2.1 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.1-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 4e5b8399d162d5318cb32021d844b1a2a97bf1e6be33037dded4b82e3aa27b79
MD5 74819dcd9f83d5b5910338fe93172965
BLAKE2b-256 dacb5a22a9fa103298fc4de83c0478d036daa591592085da7039b23592695e78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-2.0.1-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 2.1 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.1-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 d0526f5e8f1b79983de570ecce587648d1bd60ef715ce8264c0907fede8be66c
MD5 04db3c9f47f3da3803e6b93cee8c5022
BLAKE2b-256 901c56fa50626026fd13bf1cdc4a29dc083ebc0e0666c48e6563f1d1dd6eddd9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-2.0.1-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 2.1 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.1-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 f403d04304ecd53761249aa8ebc5bebf57062c1de8322d18366fd85d46ad5065
MD5 96d661f2064dfa54824c48bc9c2ff567
BLAKE2b-256 979956099fcadb82d6f56cea73655978c0b6e0274ee94bcf6b0d83c832e0f4c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-2.0.1-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.1-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 7aa94502f226074539209949712bd3c4c8d63f93db7a1380f321c04159a89747
MD5 aca63fe01b4015db88564da0c97706ec
BLAKE2b-256 0996a940335185256461a0f945be166ab75f541b2c1c228a8460e4068fac4c1f

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