Units between Modelica and EnergyPlus are automatically converted, if they are specified. The conversion is according to the table at Buildings.ThermalZones.EnergyPlus_9_6_0.Types.Units.
To see what units are used, set printUnits=true
(the default) in the
instance
Buildings.ThermalZones.EnergyPlus_9_6_0.Building.
This will cause the used units to be reported in the Modelica log file.
The thermal zone model automatically converts the units.
To do unit conversion for values sent by
Buildings.ThermalZones.EnergyPlus_9_6_0.Actuator
and by
Buildings.ThermalZones.EnergyPlus_9_6_0.Schedule,
set the parameter unit
to the unit of the variable obtained at
the input connector u
. The value will then be converted
before it is sent to EnergyPlus.
The units that are used in the input u
of this block
are reported to the Modelica log file.
To do unit conversion for values read by
Buildings.ThermalZones.EnergyPlus_9_6_0.OutputVariable,
Modelica will use the units reported by EnergyPlus.
The units that are used in the output y
of this block
are reported to the Modelica log file.