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

Coupling stability #18

Closed
hyumo opened this issue Jan 24, 2018 · 2 comments
Closed

Coupling stability #18

hyumo opened this issue Jan 24, 2018 · 2 comments

Comments

@hyumo
Copy link
Contributor

hyumo commented Jan 24, 2018

I was trying to co-simulate two coupled FMUs from the FMITest library with OMSimulator.

  • FMITest.VirtualLoops.MassSpringDamper.FMUModels.SpringDamper
  • FMITest.VirtualLoops.MassSpringDamper.FMUModels.MassWithGravity

It was found that the co-simulation results are quite different comparing to the original Modelica reference model. OMSimulator handles initialization correctly, however, the results seem to be incorrect. I guess it might because inputs are not interpolated in OMSimulator, and I wonder if there are any plans to improve the coupling stability (similar to PyFMI maybe)? Thanks.

@sjoelund
Copy link
Member

OpenModelica FMI for co-simulation uses forward Euler as the only possible solver. Use model exchange if you want numerically sane results (I assume this would lead to better results anyway; didn't check the actual models).

@hyumo
Copy link
Contributor Author

hyumo commented Jan 24, 2018

@sjoelund I see. Thanks for the clarification.

@hyumo hyumo closed this as completed Jan 24, 2018
robbr48 added a commit to robbr48/OMSimulator that referenced this issue Sep 5, 2019
…ermission

Allow closing sockets without permission.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants