Skip to content

Commit

Permalink
Fixes modelica#393 according to the suggestion in the ticket (modelic…
Browse files Browse the repository at this point in the history
…a#455)

* Fixes modelica#393 according to the suggestion in the ticket

* Update fix to fmi3 prefixes
  • Loading branch information
dietmarw authored and pmai committed Oct 26, 2018
1 parent 817ccb6 commit 5056a3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/3_1_model_exchange_math.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ image::images/Event.svg[width=60%, align="center"]
. At every completed step of an integrator,
`fmi3CompletedIntegratorStep` must be called (provided the capability flag `ModelDescription.completedIntegratorStepNotNeeded = false`).
An event occurs at this time instant,
if indicated by the return argument `nextMode = EventMode`.
if indicated by the return argument `enterEventMode = fmi3True`.
Such an event is called [underline]#step event#.
_[Step events are,
for example, used to dynamically change the (continuous) states of a model internally in the FMU,
Expand Down
2 changes: 1 addition & 1 deletion docs/3_2_model_exchange_api.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ it is not allowed to go back in time over the previous `fmi3CompletedIntegratorS
_[This function might be used, for example, for the following purposes:_

. _Delays:_ +
_All variables that are used in a "delay(..)" operator are stored in an appropriate buffer and the function returns with `nextMode` = `fmi3ContinuousTimeMode`._
_All variables that are used in a "delay(..)" operator are stored in an appropriate buffer and the function returns with `enterEventMode` = `fmi3False`, and `terminateSimulation` = `fmi3False`._
. _Dynamic state selection: +
It is checked whether the dynamically selected states are still numerically appropriate.
If yes,
Expand Down

0 comments on commit 5056a3b

Please sign in to comment.