fmiDoStep
Computation of a communication step of a co-simulation slave.
Calling Sequence
status = fmiDoStep(instance, currentTime, stepSize) status = fmiDoStep(instance, currentTime, stepSize, newStep)
Arguments
- instance
tlist, an initialized instance of a slave.
- currentTime
real scalar, current communication point.
- stepSize
real scalar, communication step size.
- newStep
boolean,
%fif the previous step is repeated,%tby default.- status
integer, the FMI status: 0 for fmiOK, 1 for fmiWarning, 2 for fmiDiscard, 3 for fmiError, 4 for fmiFatal, 5 for fmiPending.
Description
fmiDoStep computes the slave from currentTime to currentTime + stepSize.
The inputs are set with fmiSetXXX functions before the step, the outputs are read with
fmiGetXXX functions after the step.
See Also
- fmiInitializeSlave — Initialization of a co-simulation slave.
- fmiTerminateSlave — Termination of a co-simulation slave.
| Report an issue | ||
| << fmiCompletedIntegrStep | Functional Mock-up Interface (FMU) | fmiEventUpdate >> |