Package for exporting a Simulator as a Functional Mock-up Unit

Overview

SimulatorToFMU is a software package written in Python which allows users to export a memoryless Python-driven simulation program or script as a Functional Mock-up Unit (FMU) for model exchange or co-simulation using the Functional Mock-up Interface (FMI) standard version 1.0 or 2.0 (https://www.fmi-standard.org). This FMU can then be imported into a variety of simulation programs that support the import of Functional Mock-up Units.

A memoryless Python-driven simulation program/script is a simulation program which meets following requirements:

• The simulation program/script can be invoked through a Python script.

• The invocation of the simulation program/script is memoryless. That is, the output of the simulation program at any invocation time t depends only on the inputs at the time t.

• The inputs and the outputs of the simulation program/script must be real numbers.

Installation

To install run

pip install simulatortofmu

Project details

Uploaded source