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.2.tar.gz (145.0 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.2-cp37-none-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.7Windows x86-64

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

Uploaded CPython 3.7Windows x86

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

Uploaded CPython 3.6Windows x86-64

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

Uploaded CPython 3.6Windows x86

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

Uploaded CPython 2.7Windows x86-64

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

Uploaded CPython 2.7Windows x86

File details

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

File metadata

  • Download URL: fmipp-1.4.2.tar.gz
  • Upload date:
  • Size: 145.0 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.4.2.tar.gz
Algorithm Hash digest
SHA256 9b49383212b7e25b15a7e8cfd7f727fda62554feac83a17d9144f2ea516a1534
MD5 8f4d1be7a9f01fa18e1ff58e38e69416
BLAKE2b-256 6e195bcacc2ca733378fbf558d122697e42d0231cd7afe5cd8ec70301001ed77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.4.2-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.2-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 a02138df1b740868fbd8839ea001d9fe0f20b1fac078ceb8114c24774efd8855
MD5 8fb527e18efeb01e8352da8ab2e63f05
BLAKE2b-256 76f5f258e6090aa6e15516166ce4a0acc6755edf717e95697dc37fa31f543448

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.4.2-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.2-cp37-none-win32.whl
Algorithm Hash digest
SHA256 0dd09e21611fc39a068dddd423fbd89e4c9f0bf22494f1750e45377b8e044684
MD5 dfcc863997bcc3123c945a21a079f58c
BLAKE2b-256 f066a38c9628d7e73dd74995d0af190774a923f1fe4362c5b575a7bb79c81195

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.4.2-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.2-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 6a76fd81716cb80fc100df4bc5f804932e443327c95cef73d4130f88ffefe5c6
MD5 2a650d75be4d4acd4e381d6ff4c84308
BLAKE2b-256 f2ffb847f6dfb5192799256a28457ea7e4abf8a97c872c2802be0cbb2763f7d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.4.2-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.2-cp36-none-win32.whl
Algorithm Hash digest
SHA256 a30d5909160b255e70a5c590c3d0d248cd0e7b7e219c3dcb767c33adefd697a4
MD5 b658a283f63015c90c9907e18b0c0430
BLAKE2b-256 268df38db373eea8d97fab836a076cde6811287c9ca8487078056c3b64386412

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.4.2-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.2-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 ea362ce18fbc295836c9e43adad5fffe93d2f243ff37124997ac5df45df31cc3
MD5 29db6d894b3c8ab7eeec31c2bc7bffca
BLAKE2b-256 3807527b2bd0b1478661a57942b5dcaf0f9f9f89fc8033c0d10a226df4dfff89

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.4.2-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.2-cp27-none-win32.whl
Algorithm Hash digest
SHA256 b6d84ca9fe7b0a0392581a4737670574d7327eb41b3af1653acb94de15cdd81c
MD5 d3be19a23cad6e95298e812cb4907f4c
BLAKE2b-256 a0839ab7dd11172ee4ae5b072b396a80ab44a27605fabc959731003f8d8a1ff4

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