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

Create "matryoshka" FMUs #193

Closed
t-sommer opened this issue Nov 12, 2020 · 8 comments
Closed

Create "matryoshka" FMUs #193

t-sommer opened this issue Nov 12, 2020 · 8 comments

Comments

@t-sommer
Copy link
Contributor

t-sommer commented Nov 12, 2020

on behalf of @fajansen and @jbernalr

@t-sommer t-sommer changed the title Create "matryoshka" FMUs from SSPs Create "matryoshka" FMUs Nov 24, 2020
@fajansen
Copy link

fajansen commented Nov 24, 2020

The branch works as requested! There is only an issue at termination of the simulation, it seems that this is not properly passed to the inner fmus.
As an additional feature it would be nice to be able to rename the exposed variables.
And maybe executing the inner FMUs on different cores for performance gains?

@t-sommer
Copy link
Contributor Author

@fajansen, can you give 1f8a2f3 a try?

@fajansen
Copy link

Termination of simulation works now as expected!
Renaming the exposed variables also works.

@fajansen
Copy link

It might be confusing to always have support for all platforms in the container. For example the remoting mechanism would not properly detect that it should be enabled.

@chrbertsch
Copy link

Would it be possible to provide a short documentation and example for this feature? Or have I overseen it? Thanks!

@t-sommer
Copy link
Contributor Author

Would it be possible to provide a short documentation and example for this feature? Or have I overseen it? Thanks!

See https://github.com/CATIA-Systems/FMPy/blob/master/tests/test_fmu_container.py for a demo of the new (experimental) API.

@chrbertsch
Copy link

See https://github.com/CATIA-Systems/FMPy/blob/master/tests/test_fmu_container.py for a demo of the new (experimental) API.

Thanks. So the connections are defined manually in by the "Configuration". Would it be possible to read in an SSP file instead and create the Congfiguration from it?

@t-sommer
Copy link
Contributor Author

t-sommer commented Dec 1, 2020

Would it be possible to read in an SSP file instead and create the Congfiguration from it?

Theoretically, yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants