Click or drag to resize

Instance Methods

The Instance type exposes the following members.

Methods
  NameDescription
Public methodCancelStep
Cancel a time step. Can be called if DoStep(Double, Double, Boolean) returned Pending in order to stop the current asynchronous execution.
Public methodDeserializeFmuState
Deserializes the byte vector, constructs a copy of the FMU state and returns the pointer to this copy.
Public methodDispose
Public methodDoStep
Compute a time step.
Public methodEnterInitializationMode
Informs the FMU to enter initialization mode.
Public methodExitInitializationMode
Informs the FMU to exit initialization mode.
Public methodFreeFmuState
Frees all memory and other resources allocated with the GetFmuState(IntPtr) call for this FMU state.
Public methodFreeInstance
Disposes the instance, unloads the loaded model, and frees all the allocated memory and other resources that have been allocated by the functions of the FMU interface.
Public methodGetBoolean
Update values of boolean variables. Calls the respective API function call.
Public methodGetBooleanStatus
Informs about the actual status of the simulation run.
Public methodGetDirectionalDerivative
Compute the directional derivatives of the FMU.
Public methodGetFmuState
Makes a copy of the internal FMU state and assigns a pointer to this copy.
Public methodGetInteger
Update values of integer variables. Calls the respective API function call.
Public methodGetIntegerStatus
Informs about the actual status of the simulation run.
Public methodGetReal
Update values of real variables. Calls the respective API function call.
Public methodGetRealInputDerivatives
Gets the n-th time derivative of real input variables.
Public methodGetRealStatus
Informs about the actual status of the simulation run.
Public methodGetSerializedFmuStateSize
Get the size of the byte vector, in order that FMU state can be stored in it.
Public methodGetStatus
Informs about the actual status of the simulation run.
Public methodGetString
Update values of string variables. Calls the respective API function call.
Public methodGetStringStatus
Informs about the actual status of the simulation run.
Public methodReset
Reset the FMU after a simulation run.
Public methodSerializeFmuState
Serializes the data which is referenced by pointer and copies this data in to the byte vector.
Public methodSetBoolean
Write current values of boolean variables. Calls the respective API function call.
Public methodSetDebugLogging
Controls the debug logging that is output via the logger callback function by the FMU.
Public methodSetFmuState
Copy the content of the previously copied FMU state back and use it as new FMU state. The FMU state copy still exists.
Public methodSetInteger
Write current values of integer variables. Calls the respective API function call.
Public methodSetReal
Write current values of real variables. Calls the respective API function call.
Public methodSetRealInputDerivatives
Sets the n-th time derivative of real input variables.
Public methodSetString
Write current values of string variables. Calls the respective API function call.
Public methodSetupExperiment
Informs the FMU to setup the experiment.
Public methodTerminate
Informs the FMU that the simulation run is terminated.
Top
See Also