Skip to content

Test exporting a Python simulation to an FMU #3

@jnettels

Description

@jnettels

As discussed, we might need to be able to export a Python simulation to an FMU at some point.
While simulating Modelica models #1 and FMUs #2 with Python is very straight forward, creating an FMU from Python code seems more complicated.

It is possible though, and this might be a good starting point:
https://pypi.org/project/SimulatorToFMU/
https://github.com/LBNL-ETA/SimulatorToFMU

While the published version includes a note that it works with Python 2.7, the GitHub project has a development branch with support for Python 3.7. See the discussion here:
https://groups.google.com/forum/#!topic/simulatortofmu/P3WE1m2vvBs

Note: I am not planning to work on this any time soon, I am just creating this issue for reference. Someone who actually simulates in Python should assign this to themselfes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions