-
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
Define allowed call sequence when terminateSimulation = true #1934
Comments
FMI-Design-Webmeeting: Torsten: does fmi3Terminate has to be called immediately or can values or internal state be retrieved? Initial Poll:
Pierre: we should write in the implementer's guide to call get-functions only in the terminate state. |
Another solution would be to do the same as if |
FMI Design Meeting: Torsten: I discussed this offline with Karl and Christian, they now also prefer option 3. Agreement to go on with option 3 |
The FMI Specification states for fmi3UpdateDiscreteStates() or fmi3DoStep()
However since this is not an error it should be allowed to retrieve the current variables (i.e. call
fmi3Get{}()
)According to the state machine it is also allowed to call
fmi3FreeInstance()
.See also modelica/Reference-FMUs#482.
The text was updated successfully, but these errors were encountered: