State events and fixed-step solvers #2949
Unanswered
paultjevdh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I've been looking through the standard, but couldn't find it: does anyone know if the standard says anything about event searching and fixed-step solvers?
If I take the bouncing ball model from https://mbe.modelica.university/behavior/discrete/bouncing/, and simulate it with openmodelica, it will insert events (=samples) at the bounces, even if the integration method is fixed-step.
Dymola on the other hand is rigorous in its definition of fixed step and only detects the bounce at the next step on the predefined grid.
Should the simulator search for the events and temporarily ignore the fixed step restriction, or is the fixed step condition leading and should the event thus be shifted to the next sample on the grid?
Best regards,
Paul van der Hulst
Beta Was this translation helpful? Give feedback.
All reactions