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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.7Windows x86-64

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

Uploaded CPython 3.7Windows x86

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

Uploaded CPython 3.6Windows x86-64

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

Uploaded CPython 3.6Windows x86

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

Uploaded CPython 2.7Windows x86-64

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

Uploaded CPython 2.7Windows x86

File details

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

File metadata

  • Download URL: fmipp-1.5.0.tar.gz
  • Upload date:
  • Size: 145.6 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.0.tar.gz
Algorithm Hash digest
SHA256 c5ba66111c1e41f828da533fb061f2905246268a518a604bd45ea5a643a6a87f
MD5 11fb2ac892a871bfd5f3eef46b6dc39d
BLAKE2b-256 ecc23c6575962a78093813d0f92cdc0f9d05939a4c9fba4952f59c3a953d8c1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.0-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.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 3fb1cddedca4cf9ae698f235b54fdd7e2eae7c3f5b7e887b9644243e40ed864d
MD5 14da29efb6d65f4afe20922c85271644
BLAKE2b-256 d6fc38ec7ea4a3aa6176d502f53b1ae1e27bb8d6c196a5113a87fb4c690cf43e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.0-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.0-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 f44cf854c27d375cb27c00d727d9be122fb095ed8081522029960955719c2f21
MD5 add44dbcc4e77b048d3fc6c28e501348
BLAKE2b-256 655fe334aee4301092e430e39a856f206ea345e194c649f97f415b1e4a2b20f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.0-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.0-cp37-none-win32.whl
Algorithm Hash digest
SHA256 830e6e2b76339b54ec833cdcf7bd002f4d45473e59445b85f93cd19c510abc2d
MD5 c701a60bd355ed2f4315f191e9921413
BLAKE2b-256 411a6f518dfc9ae3730f71485a2e516c90aea3d04e5a9f7ab61fffeccb5fd92f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.0-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.0-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 3589dea91080d6b8c8741bf940870c41dbbb0667e781cf677fd9b76d10694c70
MD5 8dc0c4ba537334bef06a5ed8daa24897
BLAKE2b-256 2f5bff1744b8e1332895ddc02caf8db08ed246f9b7c40d2d9a0be1619a1a767b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.0-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.0-cp36-none-win32.whl
Algorithm Hash digest
SHA256 d7dae0f6a47149dd2a15245a5da433d025109e9cff0944ca2bffa660589fbd10
MD5 1bc6d519715f43a4d72e31d7abe645b2
BLAKE2b-256 476a0eccdf75767365ea65304c795d7bdf32584379198153bd096b138b880341

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.0-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.0-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 8bc0ca41ec733a22d218daf790e1a348412b5f72dc62e91fe0d842d7f48adb38
MD5 b020d9215da9b39f9f69461436e4324a
BLAKE2b-256 907cbc2d4e4bc0a884b0139bbcbff3cd51c9c62ce78173958580c2a5083f211f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmipp-1.5.0-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.0-cp27-none-win32.whl
Algorithm Hash digest
SHA256 e7e7c49a4bfebc5489f39c92db489b311cd8705c348f7fc542212de2c6b4b0f4
MD5 93e2f1da5c7151fc21f102c4ad826a1b
BLAKE2b-256 cda4bebb1eabc1c50fe9146c483bae36197916c33ddb86813afee74cee9c30ee

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