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

Implement proper state event detection in OMSimulator #1271

Open
casella opened this issue Nov 6, 2023 · 0 comments
Open

Implement proper state event detection in OMSimulator #1271

casella opened this issue Nov 6, 2023 · 0 comments
Assignees

Comments

@casella
Copy link

casella commented Nov 6, 2023

Currently, OMSimulator only checks for event-triggering conditions (e.g. zero-crossing functions changing their sign) at each time step, but doesn't try to figure out the exact time when the zero-crossing function changed sign. This results in delays of up to one time step in the triggering of events.

In many cases this is no big deal, but in some cases this may seriously change or disrupt the simulation results.

We should eventually implement a proper state event detection mechanism in OMSimulator.

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