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.5.1.tar.gz (146.3 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.5.1-cp38-none-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.8Windows x86-64

fmipp-1.5.1-cp37-none-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.7Windows x86-64

fmipp-1.5.1-cp37-none-win32.whl (1.5 MB view details)

Uploaded CPython 3.7Windows x86

fmipp-1.5.1-cp36-none-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.6Windows x86-64

fmipp-1.5.1-cp36-none-win32.whl (1.5 MB view details)

Uploaded CPython 3.6Windows x86

fmipp-1.5.1-cp27-none-win_amd64.whl (1.9 MB view details)

Uploaded CPython 2.7Windows x86-64

fmipp-1.5.1-cp27-none-win32.whl (1.5 MB view details)

Uploaded CPython 2.7Windows x86

File details

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

File metadata

  • Download URL: fmipp-1.5.1.tar.gz
  • Upload date:
  • Size: 146.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.13

File hashes

Hashes for fmipp-1.5.1.tar.gz
Algorithm Hash digest
SHA256 6542a11fa178e6601a76c7209768eb99e71a1f8ed1e5955862202dc1ed96a3b7
MD5 a0739d9db3c22ac8fdd1833c920d03bb
BLAKE2b-256 0e6ba78c9ce2c23a0afd7e3184856a278b902443293bbfa9e9b579e80ad6d70e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.1-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/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for fmipp-1.5.1-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 75af842116f57e417c243a2458f72d8b529b266de53ec0ecc2d799ce913f735c
MD5 46fcdd90a9ec3f8a3885943526ef3685
BLAKE2b-256 b72649dacdb7275efef2ca0767dea5fe7826d307ae136a2b138645c24b1d474d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.1-cp37-none-win_amd64.whl
  • Upload date:
  • Size: 1.9 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.5.1-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 7eefa2a18a642533621f285e796d743b5bd64a4aea860d4b2178ab6200a22130
MD5 84cf54d2f1ce24aa5ea9fb7adbce279f
BLAKE2b-256 b025c844d490d0801e0f9201b03ab1499a5847bc8fb6bedff7d6d2bb8af46bbe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.1-cp37-none-win32.whl
  • Upload date:
  • Size: 1.5 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.5.1-cp37-none-win32.whl
Algorithm Hash digest
SHA256 3a38e1a4fcff9040bed108d74245c231b8f3f2da9b76ab967275274fa8ee33a4
MD5 b426dee5c5035642e74fd44f0fc426c4
BLAKE2b-256 ec27a6ee18b7bc7c9e73e14fd491a618e03e31826605f94ce69a90248f02f99e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.1-cp36-none-win_amd64.whl
  • Upload date:
  • Size: 1.9 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.5.1-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 f5aaad5f3011dd5b33dee34fe62ced17247438c84732fec17b0f31eaed207230
MD5 c74783f9ff5388661f0e0075be0cfdba
BLAKE2b-256 c5ba7e466122a5039176e8e13e316845a84c6125fab0ec92f4053975771b6520

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.1-cp36-none-win32.whl
  • Upload date:
  • Size: 1.5 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.5.1-cp36-none-win32.whl
Algorithm Hash digest
SHA256 7f078e852d39618df4195135c4b3d7ac6000f92aa060d475ac3d1a77d5b254b3
MD5 1f0f9d7b61db9f65ff4b9c285161eb2d
BLAKE2b-256 4b2189e559b2b04c8f95cd2e162ca04ace81b8561723d278f837aa1d31c185d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.1-cp27-none-win_amd64.whl
  • Upload date:
  • Size: 1.9 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.5.1-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 a57114b228ad3b58b85f898e63c0b559c74889f91b89cd27b90af12d1ef1879e
MD5 520d524eba83997b5fe541428c464a4b
BLAKE2b-256 668e69ae59a1e6a78cdb740542850b815a6dd3fdf599647f01fc5d481af74464

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.1-cp27-none-win32.whl
  • Upload date:
  • Size: 1.5 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.5.1-cp27-none-win32.whl
Algorithm Hash digest
SHA256 595bb3a5e1380d19724270a1d25c43751584998622e40fae20ea4ec607ec2eeb
MD5 a9c2b10cec619d83b876cbad1204d739
BLAKE2b-256 d682a9ada0d14aef74f2ecee65f1f47f593ec48e2dc0586c6373b4fe8d9c98e7

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