InstanceDoStep Method |
Namespace: Emulate3D.FMI.V2
public Status DoStep( double currentCommunicationPoint, double communicationStepSize, bool noSetFMUStatePriorToCurrentPoint = true )
OK: The communication step was computed successfully until its end.
Discard: The slave computed successfully only a subinterval of the communication step. The master can call the appropriate get functions to get further information. If possible, the master should retry the simulation with a shorter communication step size.
Error: The communication step could not be carried out at all. The master can try to repeat the step with other input values and/or a different communication step size.
Fatal: An error occurred which corrupted the FMU irreparably.
Pending: The slave executes the function asynchronously. That means the slave starts the computation but returns immediately. The master has to call GetStatus(StatusKind, Status) to find out if the slave is done. An alternative is to wait until the step finished callback function is called by the slave. CancelStep can be called to cancel the current computation. It is not allowed to call any other function during a pending step.