pure functiongetUnitAsString
Return the unit enumeration as a string
Extends from Modelica.Icons.Function (Icon for functions).
Information
Function that returns the string representation of a unit enumeration from Buildings.ThermalZones.EnergyPlus_24_2_0.Types.Units.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.ThermalZones.EnergyPlus_24_2_0.Types.Units | unit | Unit as enumeration value |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | unitAsString | String representation of the unit |
Revisions
-
December 11, 2021, by Michael Wetter:
Declared function aspurefor MSL 4.0.0. -
July 23, 2020, by Michael Wetter:
First implementation.