Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test exporting a Python simulation to an FMU #3

Open
jnettels opened this issue Jun 14, 2019 · 0 comments
Open

Test exporting a Python simulation to an FMU #3

jnettels opened this issue Jun 14, 2019 · 0 comments
Labels
question Further information is requested

Comments

@jnettels
Copy link
Member

jnettels commented Jun 14, 2019

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.

@jnettels jnettels added the question Further information is requested label Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant