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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.8Windows x86-64

fmipp-1.5.3-cp37-none-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.7Windows x86-64

File details

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

File metadata

  • Download URL: fmipp-1.5.3-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-1.5.3-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 7a14f3171324bd143c9ece848095e3ae2050e596c12a714bc251344813fdf318
MD5 66f8a8be42ce8a8366a14c526cc4273d
BLAKE2b-256 2beb4df5ed47ed6012f1cd5271d609e8fed13280aed6599084fc31934a977e1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.3-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-1.5.3-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 fc46eee829b0cf946cf7967f67dc1f78978ec4db42a6c53be5ea77edc521785e
MD5 48398fe655aab5bb5bdacbcd36d6698a
BLAKE2b-256 e7d950c603e8e75a50ce225a54e5cf331113db2cd3c5e0a6e74885e453b453dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.3-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-1.5.3-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 3163e6f2da66b196f59e23f21ccf4cda5b7cfa57533b484c64c765093dd63e29
MD5 4927a0512beee9d898d88710e20ea897
BLAKE2b-256 7e279ae48d817993f1efd76ed50cc82d9e2d95282fe1be7fbb80a1580241653b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.3-cp37-none-win_amd64.whl
  • Upload date:
  • Size: 2.0 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-1.5.3-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 ea37bf16023410b8e15942ababc56b4fe7773a083031c4d820e25a7dbf0ecca9
MD5 8559922dfe0a527a7ef274813e938ca2
BLAKE2b-256 5db50648d0ac0948acfb969f3fca697c4b61bef4117835fa8d9851a619d7ccb7

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