Buildings.ThermalZones.EnergyPlus.Types
Package with type definitions
Information
This package contains type definitions.
Extends from Modelica.Icons.TypesPackage (Icon for packages containing type definitions).
Package Content
Name | Description |
---|---|
LogLevels | Enumeration for logging |
Units | Enumeration for units used for schedules and EMS actuators |
Types and constants
type LogLevels = enumeration( Error "Errors", Warning "Warnings", Info "Information", Verbose "Verbose, log calls in initialization and shut-down", Debug "Verbose, log everything at each time step") "Enumeration for logging";
type Units = enumeration( Normalized "Normalized, such as a control signal between 0 and 1 or status 0, 1, 2, ... (1)", AngleRad "Angle (rad)", AngleDeg "Angle (deg)", Energy "Energy (J)", Illuminance "Illuminance", HumidityAbsolute "Absolute humidity (mass fraction per total mass of moist air)", HumidityRelative "Relative humidity (1)", LuminousFlux "Luminous flux (cd.sr)", MassFlowRate "Mass flow rate (kg/s)", Power "Power (W)", Pressure "Pressure (Pa)", Status "Status (e.g., rain) (1)", Temperature "Temperature (K)", Time "Time (s)", VolumeFlowRate "VolumeFlowRate (m3/s)") "Enumeration for units used for schedules and EMS actuators";
Buildings.ThermalZones.EnergyPlus.Types.LogLevels
Enumeration for logging
Information
Enumeration for the level of outputs written by EnergyPlus. The possible values are:
LogLevels | Explanation |
---|---|
Error | Logs EnergyPlus errors and fatal errors. |
Warning | Logs in addition EnergyPlus warnings. |
Info | Logs in addition EnergyPlus informational messages. |
Verbose | Logs in addition main C function calls during initialization and shut-down. |
Debug | Logs everything, including all calls during time steps which can give large log files. |
Modelica definition
Buildings.ThermalZones.EnergyPlus.Types.Units
Enumeration for units used for schedules and EMS actuators
Information
Enumeration for the units used as inputs to the block Buildings.ThermalZones.EnergyPlus.Schedule.
The units are converted between Modelica and EnergyPlus as shown in the table below.
Quantity |
EnergyPlus Unit String |
Modelica Unit |
---|---|---|
Angle (rad) |
rad |
rad |
Angle (deg) |
deg |
rad |
Energy |
J |
J |
Illuminance |
lux |
lm/m2 |
Humidity (absolute) |
kgWater/kgDryAir |
1 (converted to mass fraction per total mass of moist air) |
Humidity (relative) |
% |
1 |
Luminous flux |
lum |
cd.sr |
Mass flow rate |
kg/s |
kg/s |
Power |
W |
W |
Pressure |
Pa |
Pa |
Status (e.g., rain) |
(no character) |
1 |
Temperature |
degC |
K |
Time |
s |
s |
Volume flow rate |
m3/s |
m3/s |