Click or drag to resize

IInstance Interface

Represents an FMU instance. Cast to either Instance or Instance.

Namespace:  Emulate3D.FMI
Assembly:  Emulate3D.FMI (in Emulate3D.FMI.dll) Version: 18.04.00
Syntax
C#
public interface IInstance : IDisposable, 
	INotifyPropertyChanged

The IInstance type exposes the following members.

Properties
  NameDescription
Public propertyCurrentStep
The current communication step size in milliseconds. Updated after the step size has been calculated, but before the step is executed. -1 indicates no current step size.
Public propertyDiscardAction
The action to take when an API method returns a Discard status. These action is only taken when the API is called by the simulation, not as a result of scripting.
Public propertyErrorAction
The action to take when an API method returns an Error status. These action is only taken when the API is called by the simulation, not as a result of scripting.
Public propertyFatalAction
The action to take when an API method returns a Fatal status. These action is only taken when the API is called by the simulation, not as a result of scripting.
Public propertyIndividualIO
If true, IO functions are called for each variable individually.
Public propertyMaxStep
The minimum communication step size in milliseconds.
Public propertyMinStep
The minimum communication step size in milliseconds.
Public propertyName
Instance name.
Public propertyOKAction
The action to take when an API method returns an OK status. These action is only taken when the API is called by the simulation, not as a result of scripting.
Public propertyPlatform
Instance platform.
Public propertyPreferredStep
The preferred communication step size in milliseconds. -1 indicates no preferred step size.
Public propertyStopTimeAction
Defines what action to take when the simulation reaches a pre-defined stop-time.
Public propertyWarningAction
The action to take when an API method returns a Warning status. These action is only taken when the API is called by the simulation, not as a result of scripting.
Top
See Also