functionreadReal
Read the real value of parameter from file with lines in format:
<parameterName>
<value> <unit>
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | name | Name of parameter | |
| String | storeUnit | Preferred units to store variable value | |
| UnitConversions.RealTypeRecord | unitConversions | UnitConversions.RealTypeDef | Unit conversions |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | value | 0 | Actual value of parameter in SI units |