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 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


Download files

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

Source Distribution

fmipp-1.4.3.tar.gz (146.6 kB view details)

Uploaded Source

Built Distributions

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

fmipp-1.4.3-cp37-none-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.7Windows x86-64

fmipp-1.4.3-cp37-none-win32.whl (1.4 MB view details)

Uploaded CPython 3.7Windows x86

fmipp-1.4.3-cp36-none-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.6Windows x86-64

fmipp-1.4.3-cp36-none-win32.whl (1.4 MB view details)

Uploaded CPython 3.6Windows x86

fmipp-1.4.3-cp27-none-win_amd64.whl (1.8 MB view details)

Uploaded CPython 2.7Windows x86-64

fmipp-1.4.3-cp27-none-win32.whl (1.4 MB view details)

Uploaded CPython 2.7Windows x86

File details

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

File metadata

  • Download URL: fmipp-1.4.3.tar.gz
  • Upload date:
  • Size: 146.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for fmipp-1.4.3.tar.gz
Algorithm Hash digest
SHA256 289c66ef86ef33e0817d3b86e582945872ac6d312b3410f8739afce908c2e72e
MD5 51dd418a37e9f61c7b832ce7c1c76ceb
BLAKE2b-256 c7a674ab6b1ade544761c6c5c014c120dc576a9375a47445f340d541ee1ca11b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.4.3-cp37-none-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.7, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for fmipp-1.4.3-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 df5d39c25779585161727ad0125f84512033c6cac29645deb4bf1d07b50e4e29
MD5 45d180e71b95f27c9b31fbc9cf9cf98f
BLAKE2b-256 810d72b428a96bd2c5f607fccf8062530bf22d6124bd3228509168bc49265a3f

See more details on using hashes here.

File details

Details for the file fmipp-1.4.3-cp37-none-win32.whl.

File metadata

  • Download URL: fmipp-1.4.3-cp37-none-win32.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.7, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for fmipp-1.4.3-cp37-none-win32.whl
Algorithm Hash digest
SHA256 28e1f4d47218a26d53e387c6950646018873fa31114843c44980eb57fdbcc57b
MD5 d63e1582855b3e28966ec7488f7259c5
BLAKE2b-256 b61da0fc378a9766d4c86fb971c6dc932d350be46a3025cce5a3dc153271d8b7

See more details on using hashes here.

File details

Details for the file fmipp-1.4.3-cp36-none-win_amd64.whl.

File metadata

  • Download URL: fmipp-1.4.3-cp36-none-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.6, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for fmipp-1.4.3-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 2d01fe816c961357fa46c920d8a9321e403d27789c8dad4089a2c8857f2496e3
MD5 281dfddb5dcd48556bc4b21178e3ce68
BLAKE2b-256 e3d54a81d6daf0ef8bd0c86b1488d7b5ed1057af8e471da3d8aa822c33bd034e

See more details on using hashes here.

File details

Details for the file fmipp-1.4.3-cp36-none-win32.whl.

File metadata

  • Download URL: fmipp-1.4.3-cp36-none-win32.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.6, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for fmipp-1.4.3-cp36-none-win32.whl
Algorithm Hash digest
SHA256 80248303d669179d59060468dbfadc3dbd3fbc0918f246e64d3d3287fa7d402e
MD5 636e97848295f7f4ac89c8bb698ba2c6
BLAKE2b-256 8d37bcf466e8e6488de9251619cc4de746fe92cd37cbbc21aeea6c739e3cbfa5

See more details on using hashes here.

File details

Details for the file fmipp-1.4.3-cp27-none-win_amd64.whl.

File metadata

  • Download URL: fmipp-1.4.3-cp27-none-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 2.7, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for fmipp-1.4.3-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 340a526148a63c51f1a915bbd5acde5227815fbcc02d4c80ea0f81c684145e41
MD5 ac1aa17cb39aba50d65104fa30d7fda9
BLAKE2b-256 9e9ec7f3d445e4ea20c8d051b4c199a802ed80ca152063aebdd884fa47b5b225

See more details on using hashes here.

File details

Details for the file fmipp-1.4.3-cp27-none-win32.whl.

File metadata

  • Download URL: fmipp-1.4.3-cp27-none-win32.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 2.7, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for fmipp-1.4.3-cp27-none-win32.whl
Algorithm Hash digest
SHA256 be4976a9afd1178f9d8c530190b0cb0095a782de7bdce5993b15644d9b5899fe
MD5 36b56bd009f46c392cebe475532733fc
BLAKE2b-256 03d61859200363713d35da04e67421bc508baf173f3e1c5e1ce6560c881e408d

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