Package org.ptolemy.fmi
Class FMIModelDescription.ContinuousState
- java.lang.Object
-
- org.ptolemy.fmi.FMIModelDescription.ContinuousState
-
- Enclosing class:
- FMIModelDescription
public static class FMIModelDescription.ContinuousState extends java.lang.Object
A data structure representing a continuous state of the FMU.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Set<TypedIOPort>
dependencies
The set of input ports on which the state depends.java.util.LinkedList<FMIScalarVariable>
dependentScalarVariables
The list of dependent ScalarVariable elements.boolean
hasChanged
The flag which indicates a change of a state.double
lastDoubleOutput
The last double output seen.java.lang.String
name
The name of the continuous state variable.java.lang.Double
nominal
The nominal value for this variable, or null if it is not given.TypedIOPort
port
The Ptolemy state port for this state.double
quantum
The quantum value of the state.FMIScalarVariable
scalarVariable
The FMI scalar variable for this state.java.lang.Double
start
The start value for this variable, or null if it is not given.
-
Constructor Summary
Constructors Constructor Description ContinuousState()
-
-
-
Field Detail
-
dependencies
public java.util.Set<TypedIOPort> dependencies
The set of input ports on which the state depends.
-
dependentScalarVariables
public java.util.LinkedList<FMIScalarVariable> dependentScalarVariables
The list of dependent ScalarVariable elements.
-
hasChanged
public boolean hasChanged
The flag which indicates a change of a state.
-
lastDoubleOutput
public double lastDoubleOutput
The last double output seen.
-
name
public java.lang.String name
The name of the continuous state variable.
-
nominal
public java.lang.Double nominal
The nominal value for this variable, or null if it is not given.
-
port
public TypedIOPort port
The Ptolemy state port for this state.
-
quantum
public double quantum
The quantum value of the state.
-
scalarVariable
public FMIScalarVariable scalarVariable
The FMI scalar variable for this state.
-
start
public java.lang.Double start
The start value for this variable, or null if it is not given.
-
-