# FMPy

Python FMU inspection and simulation library with graphical, command\-line and web interfaces\.

ID: Q1092 · Revision: 1140

Type: software · License: BSD\-2\-Clause; assets and bundled dependencies have separate terms[^fp-license] · Status: active

Website: https://github.com/CATIA-Systems/FMPy



FMPy is a Python library and set of interfaces for inspecting and simulating Functional Mock\-up Units\. Its current repository documents FMI 1\.0, 2\.0 and 3\.0 support, with both Model Exchange and Co\-Simulation workflows\.[^fp-readme]

## Inspecting and running FMUs

Users can inspect an FMU's variables, interface version, supported platforms and default experiment settings before running it\. Python and command\-line interfaces support scripted work, while the graphical interface provides an interactive entry point\. This workflow starts with an exported model component, not with the original physical\-system drawing or a new block diagram\.[^fp-readme][^fp-tutorial]

## Analysis and presentation

The project includes examples for custom inputs and parameter variation, result plotting, and generation of Jupyter notebooks\. A Dash\-based web application offers another way to present an FMU through a browser\. That application still needs a running Python deployment; the existence of a browser interface is not evidence of a hosted service included with the library\.[^fp-readme]

## Platform and source dependencies

FMPy runs on Windows, Linux and macOS, but the supplied FMU must contain a compatible binary or usable source\. The tutorial explicitly selects platform\-specific example FMUs\. For C\-code FMUs, generated CMake projects can help compile and debug the component\. Changing the simulation host does not reconstruct source code that was omitted from an export\.[^fp-readme][^fp-tutorial]

## Licensing and source currency

The current repository's license file specifies BSD\-2\-Clause for FMPy, with separate notices for icons and bundled components\. Older Read the Docs overview material lists fewer FMI versions and a different BSD variant; this article follows the current repository and license file\. The library's license does not replace an FMU provider's runtime or redistribution terms\.[^fp-license][^fp-readme][^dy-license][^fp-old-docs]

## When it substitutes

FMPy can replace [OMSimulator](/omsimulator) for inspecting and running compatible FMUs in a Python\-centered workflow\. This is narrower than replacing an entire composed SSP system or its coupling configuration\. Check interface support, platform binaries, solver assumptions and reference outputs for each component before migration\.[^fp-readme][^fp-tutorial][^oms-intro][^oms-ssp]

## Capabilities and substitutions

### FMU simulation — supported

Current repository documents FMI1/2/3 with Model Exchange and Co\-Simulation\.[^fp-readme]

Use case: Dynamic system modeling and simulation · Platforms: Windows, macOS, Linux · Region: Edition, deployment and model dependencies affect availability

### Python and graphical interfaces — supported

Includes scripts, GUI, notebooks and a deployable web app\.[^fp-readme]

Use case: Dynamic system modeling and simulation · Platforms: Windows, macOS, Linux · Region: Edition, deployment and model dependencies affect availability

### Cross\-platform FMU use — limited

The FMU's included binaries or source must suit the target environment\.[^fp-tutorial]

Use case: Dynamic system modeling and simulation · Platforms: Windows, macOS, Linux · Region: Edition, deployment and model dependencies affect availability

### [Substitute for OMSimulator](/omsimulator) — limited

Can replace compatible FMU inspection and Python\-driven runs; full SSP composition and coupling equivalence are not established\.[^fp-readme][^fp-tutorial][^oms-intro]

Use case: Dynamic system modeling and simulation · Platforms: Windows, macOS, Linux · Region: Edition, deployment and model dependencies affect availability

## References

[^fp-license]: [FMPy license](<https://github.com/CATIA-Systems/FMPy/blob/main/LICENSE.txt>) — BSD\-2\-Clause code, separate assets/dependencies (vendor; retrieved 2026-10-07T09:42:40Z)

[^fp-readme]: [FMPy repository](<https://github.com/CATIA-Systems/FMPy/blob/main/README.md>) — FMI1/2/3, interfaces, notebooks and web app (vendor; retrieved 2026-10-07T09:43:22Z)

[^fp-tutorial]: [FMPy tutorial](<https://fmpy.readthedocs.io/en/latest/tutorial/>) — Platform\-matched FMUs, simulation and CMake debugging (vendor; retrieved 2026-10-07T09:42:56Z)

[^dy-license]: [Dymola license information](<https://3dswym.3dexperience.3ds.com/wiki/catia-mbse-cyber-systems/license-information_nrSkMANJQcijf_fH7equgQ>) — April 2026 runtime license differences and export options (vendor; retrieved 2026-10-07T09:37:38Z)

[^oms-intro]: [OMSimulator introduction](<https://openmodelica.org/doc/OMSimulator/maintenance/v2.1/OMSimulator/UsersGuide/html/introduction.html>) — FMU composition and external APIs (vendor; retrieved 2026-10-07T09:43:22Z)

[^oms-ssp]: [OMSimulator SSP support](<https://openmodelica.org/doc/OMSimulator/maintenance/v2.1/OMSimulator/UsersGuide/html/SSP.html>) — SSD exchange and tool\-specific annotations (vendor; retrieved 2026-10-07T09:43:22Z)

[^fp-old-docs]: [FMPy older documentation overview](<https://fmpy.readthedocs.io/en/latest/>) — Overview differs from current repository on license and FMI versions (vendor; retrieved 2026-10-07T09:43:15Z)

Source revision: https://substitutefor.net/entities/Q1092?revision=1140
