-
Notifications
You must be signed in to change notification settings - Fork 84
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
Handling of time-based Clocks with interval=0 #1916
Comments
FMI Design Webmeeting: Klaus: is it possible to call fmi3getInterval in event mode? Does someone remember why we have it as it is defined currently? |
Any new insights here? |
"Only time-based-clock must not be active for more than one call of [fmi3UpdateDiscreteStates] per [Event Mode]" |
How would you propose to fix that? I think it makes sense to allow interval=0 for aperiodic and triggered clocks and to disallow it for periodic clocks. |
I agree with this change.. |
In section 2.3.5. State: Event Mode in the description of the fmi3SetClock function the following restriction is made for time-based clocks:
"Only time-based Clocks must not be active for more than one call of fmi3UpdateDiscreteStates per Event Mode."
This restriction contradicts the possibility for aperiodic time-based clocks to return an interval=0, which is possible according to the interval definition for, e.g., changing clocks:
The restriction should only be made for periodic clocks:
"Only
time-based Clocksperiodic Clocks must not be active for more ..."The text was updated successfully, but these errors were encountered: