Click or drag to resize

Instance Properties

The Instance 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 propertyFmu
Fmu that created this instance.
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 propertyNameToVariable
Read-only mapping between Name and the variable.
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 propertyVariables
Read-only list of all variables.
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