public class FMIRealType extends FMIType
A Functional Mock-up Unit file is a .fmu file in zip format that contains a .xml file named "modelDescription.xml". In that file, the ModelVariables element may contain elements such as ScalarVariable that in turn may contain elements like Real. This class represents the Real type.
FMI documentation may be found at http://www.modelisar.com/fmi.html.
Red (cxh) |
Red (cxh) |
Modifier and Type | Field and Description |
---|---|
int |
indexState
The state variable index that is set to the value of the "derivative" element.
|
java.lang.Double |
nominal
The nominal value of this real.
|
java.lang.Double |
start
The starting value of this real.
|
description, fixed, name
Constructor and Description |
---|
FMIRealType(java.lang.String name,
java.lang.String description,
org.w3c.dom.Element element)
Construct a Real FMU variable.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Return the string value of the base element.
|
public int indexState
public java.lang.Double start
public java.lang.Double nominal
public FMIRealType(java.lang.String name, java.lang.String description, org.w3c.dom.Element element)
name
- The name of this variable.description
- A description of this variable.element
- The XML element whose attributes are used to
set the fields of this object.