Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/2_3_common_states.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,14 @@ include::../headers/fmi3FunctionTypes.h[tag=UpdateDiscreteStates]

[[discreteStatesNeedUpdate,`discreteStatesNeedUpdate`]]
* When `discreteStatesNeedUpdate = fmi3True`, the importer must stay in <<EventMode>> for another event iteration, starting a new super-dense time instant.
+
[NOTE]
====
This might be needed if the FMU has transitioned during the current super-dense time instant to a new intermediate state, in order to expose the its current outputs for this state, while still having further internal transitions that might fire at the current time for the current inputs.
By forcing the importer to start a new super-dense time instant, the FMU can perform this additional transition as part of normal event iteration.
Alternatively, an FMU that does not care about exposing outputs for intermediate states can just auto-transition all internal state changes for the current input in the current super-dense time instant, and would thus only expose the final state/outputs.
In this case it would not return `discreteStatesNeedUpdate = fmi3True`.
====

[[terminateSimulationUDS,`terminateSimulation`]]
* When <<terminateSimulationUDS,`terminateSimulation = fmi3True`>>, the FMU requests to stop the simulation.
Expand Down
Loading