Click or drag to resize

InstanceDoStep Method

Requests the computation of the next time step.

Namespace: Emulate3D.FMI.V3
Assembly: Emulate3D.FMI (in Emulate3D.FMI.dll) Version: 19.00.00
Syntax
C#
public Status DoStep(
	double currentCommunicationPoint,
	double communicationStepSize,
	out bool eventHandlingNeeded,
	out bool terminateSimulation,
	out bool earlyReturn,
	out double lastSuccessfulTime,
	bool noSetFMUStatePriorToCurrentPoint = true
)

Parameters

currentCommunicationPoint  Double
Current communication point.
communicationStepSize  Double
Communication step size.
eventHandlingNeeded  Boolean
If true, indicates that an event was encountered by the instance at lastSuccessfulTime and the importer has to enter event mode by calling EnterEventMode.
terminateSimulation  Boolean
If true, the instance requests to stop the simulation and the importer must call Terminate.
earlyReturn  Boolean
If true, the instance signals to the importer that the instance returned before communicationStepSize.
lastSuccessfulTime  Double
Represents the internal time of the instance when it returns.
noSetFMUStatePriorToCurrentPoint  Boolean  (Optional)
True if SetFmuState(IntPtr) will no longer be called for time instants prior to the current communication point in this simulation run.

Return Value

Status
Status flag.
See Also