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)

    • python (python-dev) (recommended: version 3.5 (or higher))

    • pip (python-pip)

    • swig (swig)

    • SUNDIALS (libsundials-serial-dev)

    • Boost (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.1.tar.gz (145.2 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.1-cp37-none-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.7Windows x86-64

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

Uploaded CPython 3.7Windows x86

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

Uploaded CPython 3.6Windows x86-64

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

Uploaded CPython 3.6Windows x86

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

Uploaded CPython 2.7Windows x86-64

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

Uploaded CPython 2.7Windows x86

File details

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

File metadata

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

File hashes

Hashes for fmipp-1.4.1.tar.gz
Algorithm Hash digest
SHA256 261ca1728e77780ddac15d20792eba47daaf0d056145e1a371ceb33865a13158
MD5 2fa950a2f252bf862c32b758acf463e2
BLAKE2b-256 a97d7895499b33695e24b934f77e72b27a0fdf6cfe5abb80aada67c5e595e0e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.4.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.4.1-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 d64a5b3f2eb2240b30e557cf0d763206b2c8cb0527a73220928f6626630c28cc
MD5 ebdd074ecedfe1aaa026de7ee4d59370
BLAKE2b-256 53b2185548a4c27b04e1b377c080f0407a303fbcd2c612cbbcee83290fd9feaf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.4.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.4.1-cp37-none-win32.whl
Algorithm Hash digest
SHA256 c3e9698e6c30f34b46f29e5daa07f4e46f896c7e0c4aa3f52c7f734222468dde
MD5 3411026481fd87729e92eb3f81f3a922
BLAKE2b-256 ca0701b3d8eb55a36f10152fcabba55d63ac9209e93c2b2a11a4dc627e384009

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.4.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.4.1-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 822510a88857b0a9f52ca0a02adc25c6a8d459b40f5010942f84e824e82bdd98
MD5 9971206932a2e493d52decd4f52f556f
BLAKE2b-256 ea5fb79d1b47ab83e722a5dc283f6e627db61eea2074e8e1cf4feb1a658b5c14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.4.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.4.1-cp36-none-win32.whl
Algorithm Hash digest
SHA256 96dec073dbce12e1b856827cb7c4347d1bb808e2b4682c6b1372d1fe7b8ea1c3
MD5 dac62329d83612d72d9b6f52b2a59da4
BLAKE2b-256 470a85e5535ae3ce33567f2826e4466e1bda095ea9701a7290e53ff3cc6c2fc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.4.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.4.1-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 277b6b35729aababf38f88b9c584c0b803a70da0ac812fe030a90010943bc3e7
MD5 d3016c3d7a0737e05625cee8bc2289dc
BLAKE2b-256 7470c6574f0f0d081c9c865c084e36c29d075dec77eea56dd35de51475c2273c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.4.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.4.1-cp27-none-win32.whl
Algorithm Hash digest
SHA256 49fadda04261391af021460a741394b1e330ec1f4496573166c61b021e8626cf
MD5 6a1efee94dec0d2134ca6f339ec3a2ec
BLAKE2b-256 b0ffbb6a17b977478bc39da97eb6e50e40661c0ca0805f3cfae4ae9b1223d378

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