Skip to content

Implement State Event Detection#1341

Merged
lochel merged 34 commits intoOpenModelica:masterfrom
lochel:event-handling
Nov 19, 2024
Merged

Implement State Event Detection#1341
lochel merged 34 commits intoOpenModelica:masterfrom
lochel:event-handling

Conversation

@lochel
Copy link
Copy Markdown
Member

@lochel lochel commented Nov 10, 2024

Related Issues

Purpose

OMSimulator previously only supported time events and checked event-triggering conditions (zero-crossings) only at communication time steps, without identifying the exact time at which an event occurred. This limitation could delay event handling by up to one time step, impacting the accuracy of simulations where precise event timing is critical. This PR introduces state event detection mechanism, allowing the simulation to detect and handle events more accurately by narrowing down the exact moment a zero-crossing occurs.

@lochel lochel changed the base branch from dev/v3.0 to master November 11, 2024 14:35
@lochel lochel self-assigned this Nov 12, 2024
@lochel lochel marked this pull request as ready for review November 19, 2024 18:43
@lochel lochel merged commit 68196c9 into OpenModelica:master Nov 19, 2024
@lochel lochel deleted the event-handling branch November 19, 2024 18:50
lochel added a commit to lochel/OMSimulator that referenced this pull request Nov 20, 2024
lochel added a commit that referenced this pull request Nov 20, 2024
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

Successfully merging this pull request may close these issues.

1 participant