Requests the computation of the next time step.
Namespace:
Emulate3D.FMI.V3
Assembly:
Emulate3D.FMI (in Emulate3D.FMI.dll) Version: 18.04.00
Syntaxpublic Status DoStep(
double currentCommunicationPoint,
double communicationStepSize,
out bool eventHandlingNeeded,
out bool terminateSimulation,
out bool earlyReturn,
out double lastSuccessfulTime,
bool noSetFMUStatePriorToCurrentPoint = true
)
Parameters
- currentCommunicationPoint
- Type: SystemDouble
Current communication point. - communicationStepSize
- Type: SystemDouble
Communication step size. - eventHandlingNeeded
- Type: SystemBoolean
If true, indicates that an event was encountered by the FMU at
lastSuccessfulTime and the importer has to enter event mode by calling EnterEventMode. - terminateSimulation
- Type: SystemBoolean
If true, the FMU requests to stop the simulation and
the importer must call Terminate. - earlyReturn
- Type: SystemBoolean
If true, the FMU signals to the importer that the FMU returned before communicationStepSize. - lastSuccessfulTime
- Type: SystemDouble
Represents the internal time of the FMU when it returns. - noSetFMUStatePriorToCurrentPoint (Optional)
- Type: SystemBoolean
True if SetFmuState(IntPtr)
will no longer be called for time instants prior to the current communication point in this
simulation run.
Return Value
Type:
StatusStatus flag.
See Also