Skip to content

Commit

Permalink
Fix references for independent
Browse files Browse the repository at this point in the history
  • Loading branch information
pmai committed Jun 26, 2020
1 parent 45111bd commit e0be60c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/2_4_common_co-simulation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ include::../headers/fmi3FunctionTypes.h[tag=CallbackIntermediateUpdate]
* <<intermediateUpdateTime>> is the internal value of the <<independent>> variable _[typically simulation time]_ of the FMU at which the callback has been called.
If an event happens or an <<outputClock>> ticks, <<intermediateUpdateTime>> is the time of event or <<outputClock>> tick.
If the FMU returns with <<earlyReturn,`earlyReturn == fmi3True`>> from <<fmi3DoStep>> then <<intermediateUpdateTime>> is the internal simulation time of the FMU of the last <<fmi3CallbackIntermediateUpdate>> call that signaled <<canReturnEarly,`canReturnEarly == fmi3True`>>.
<<intermediateUpdateTime>> is also the value of the <<independent variable>> of intermediate steps of the internal FMU solver.
<<intermediateUpdateTime>> is also the value of the <<independent>> variable of intermediate steps of the internal FMU solver.
The FMU must not call the callback function <<fmi3CallbackIntermediateUpdate>> with an <<intermediateUpdateTime>> that is smaller than the <<intermediateUpdateTime>> given in a previous call of <<fmi3CallbackIntermediateUpdate>> with `intermediateStepFinished == fmi3True`.

In case of Hybrid Co-Simulation, the following two `fmi3Boolean` function arguments give reasons for the <<fmi3CallbackIntermediateUpdate>> call.
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 @@ -178,7 +178,7 @@ include::../headers/fmi3FunctionTypes.h[tags=GetDerivatives]
include::../headers/fmi3FunctionTypes.h[tags=GetEventIndicators]
----

Compute state derivatives (that is derivatives w.r.t. to the <<independent variable>> also taking into account its unit) and event indicators at the current instant of the <<independent>> variable _[typically: time]_ and for the current <<state,`states`>>.
Compute state derivatives (that is derivatives w.r.t. to the <<independent>> variable also taking into account its unit) and event indicators at the current instant of the <<independent>> variable _[typically: time]_ and for the current <<state,`states`>>.
Note that <<fmi3Discard,`fmi3Status == fmi3Discard`>> is possible for both functions.

The <<derivative,`derivatives`>> are returned as a vector with `nContinuousStates` elements.
Expand Down

0 comments on commit e0be60c

Please sign in to comment.