Buildings.Fluid.DXSystems.Heating.AirSource.Validation

Collection of validation models

Information

This package contains validation models for the classes in Buildings.Fluid.DXSystems.Heating.AirSource.

Note that most validation models contain simple input data which may not be realistic, but for which the correct output can be obtained through an analytic solution. The examples plot various outputs, which have been verified against these solutions. These model outputs are stored as reference data and used for continuous validation whenever models in the library change.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_OnDemandResistiveDefrost SingleSpeed_OnDemandResistiveDefrost Validation model for single speed heating DX coil with defrost operation
Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_OnDemandReverseCycleDefrost SingleSpeed_OnDemandReverseCycleDefrost Validation model for single speed heating DX coil with defrost operation
Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_TimedResistiveDefrost SingleSpeed_TimedResistiveDefrost Validation model for single speed heating DX coil with defrost operation
Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_TimedReverseCycleDefrost SingleSpeed_TimedReverseCycleDefrost Validation model for single speed heating DX coil with defrost operation
Buildings.Fluid.DXSystems.Heating.AirSource.Validation.Data Data Package with performance data used in validation models
Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses BaseClasses Baseclasses for validation models

Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_OnDemandResistiveDefrost Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_OnDemandResistiveDefrost

Validation model for single speed heating DX coil with defrost operation

Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_OnDemandResistiveDefrost

Information

This model validates the model Buildings.Fluid.DXSystems.Heating.AirSource.SingleSpeed with the defrost time fraction calculation datDef.defTri set to DefrostTimeMethods.onDemand and the defrost operation type datDef.defOpe set to DefrostOperation.resistive.

The difference in results of TOut and XOut at the beginning and end of the simulation is because the mass flow rate is zero. For zero mass flow rate, EnergyPlus assumes steady state condition, whereas the Modelica model is a dynamic model and hence the properties at the outlet are equal to the state variables of the model.

The EnergyPlus results were generated using the example file DXCoilSystemAuto.idf from EnergyPlus 22.2. The results were then used to set-up the boundary conditions for the model as well as the input signals. To compare the results, the Modelica outputs are averaged over 3600 seconds, and the EnergyPlus outputs are used with a zero order delay to avoid the time shift in results.

Note that EnergyPlus mass fractions (X) are in mass of water vapor per mass of dry air, whereas Modelica uses the total mass as a reference. Also, the temperatures in Modelica are in Kelvin whereas they are in Celsius in EnergyPlus. Hence, the EnergyPlus values are corrected by using the appropriate conversion blocks.

The plots compare the outlet temperature and humidity ratio between Modelica and EnergyPlus. They also compare the power consumption by the coil compressor as well as the heat transfer from the airloop.

Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.SingleSpeedHeating (Baseclass for validation models for single speed DX heating coil).

Modelica definition

model SingleSpeed_OnDemandResistiveDefrost "Validation model for single speed heating DX coil with defrost operation" extends Modelica.Icons.Example; extends Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.SingleSpeedHeating ( datRea( final fileName=ModelicaServices.ExternalReferences.loadResource("modelica://Buildings/Resources/Data/Fluid/DXSystems/Heating/AirSource/Validation/SingleSpeedHeating_OnDemandResistiveDefrost/DXCoilSystemAuto.dat")), datCoi( final defOpe=Buildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostOperation.resistive, final defTri=Buildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostTimeMethods.onDemand)); end SingleSpeed_OnDemandResistiveDefrost;

Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_OnDemandReverseCycleDefrost Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_OnDemandReverseCycleDefrost

Validation model for single speed heating DX coil with defrost operation

Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_OnDemandReverseCycleDefrost

Information

This model validates the model Buildings.Fluid.DXSystems.Heating.AirSource.SingleSpeed with the defrost time fraction calculation datDef.defTri set to DefrostTimeMethods.onDemand and the defrost operation type datDef.defOpe set to DefrostOperation.reverseCycle.

The difference in results of TOut and XOut at the beginning and end of the simulation is because the mass flow rate is zero. For zero mass flow rate, EnergyPlus assumes steady state condition, whereas the Modelica model is a dynamic model and hence the properties at the outlet are equal to the state variables of the model.

The EnergyPlus results were generated using the example file DXCoilSystemAuto.idf from EnergyPlus 22.2. The results were then used to set-up the boundary conditions for the model as well as the input signals. To compare the results, the Modelica outputs are averaged over 3600 seconds, and the EnergyPlus outputs are used with a zero order delay to avoid the time shift in results.

Note that EnergyPlus mass fractions (X) are in mass of water vapor per mass of dry air, whereas Modelica uses the total mass as a reference. Also, the temperatures in Modelica are in Kelvin whereas they are in Celsius in EnergyPlus. Hence, the EnergyPlus values are corrected by using the appropriate conversion blocks.

The plots compare the outlet temperature and humidity ratio between Modelica and EnergyPlus. They also compare the power consumption by the coil compressor as well as the heat transfer from the airloop.

Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.SingleSpeedHeating (Baseclass for validation models for single speed DX heating coil).

Modelica definition

model SingleSpeed_OnDemandReverseCycleDefrost "Validation model for single speed heating DX coil with defrost operation" extends Modelica.Icons.Example; extends Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.SingleSpeedHeating ( datRea( final fileName=ModelicaServices.ExternalReferences.loadResource("modelica://Buildings/Resources/Data/Fluid/DXSystems/Heating/AirSource/Validation/SingleSpeedHeating_OnDemandReverseCycleDefrost/DXCoilSystemAuto.dat")), datCoi( final defOpe=Buildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostOperation.reverseCycle, final defTri=Buildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostTimeMethods.onDemand)); end SingleSpeed_OnDemandReverseCycleDefrost;

Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_TimedResistiveDefrost Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_TimedResistiveDefrost

Validation model for single speed heating DX coil with defrost operation

Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_TimedResistiveDefrost

Information

This model validates the model Buildings.Fluid.DXSystems.Heating.AirSource.SingleSpeed with the defrost time fraction calculation datDef.defTri set to DefrostTimeMethods.timed and the defrost operation type datDef.defOpe set to DefrostOperation.resistive.

The difference in results of TOut and XOut at the beginning and end of the simulation is because the mass flow rate is zero. For zero mass flow rate, EnergyPlus assumes steady state condition, whereas the Modelica model is a dynamic model and hence the properties at the outlet are equal to the state variables of the model.

The EnergyPlus results were generated using the example file DXCoilSystemAuto.idf from EnergyPlus 22.2. The results were then used to set-up the boundary conditions for the model as well as the input signals. To compare the results, the Modelica outputs are averaged over 3600 seconds, and the EnergyPlus outputs are used with a zero order delay to avoid the time shift in results.

Note that EnergyPlus mass fractions (X) are in mass of water vapor per mass of dry air, whereas Modelica uses the total mass as a reference. Also, the temperatures in Modelica are in Kelvin whereas they are in Celsius in EnergyPlus. Hence, the EnergyPlus values are corrected by using the appropriate conversion blocks.

The plots compare the outlet temperature and humidity ratio between Modelica and EnergyPlus. They also compare the power consumption by the coil compressor as well as the heat transfer from the airloop.

Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.SingleSpeedHeating (Baseclass for validation models for single speed DX heating coil).

Modelica definition

model SingleSpeed_TimedResistiveDefrost "Validation model for single speed heating DX coil with defrost operation" extends Modelica.Icons.Example; extends Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.SingleSpeedHeating ( datRea( final fileName=ModelicaServices.ExternalReferences.loadResource("modelica://Buildings/Resources/Data/Fluid/DXSystems/Heating/AirSource/Validation/SingleSpeedHeating_TimedResistiveDefrost/DXCoilSystemAuto.dat")), datCoi( final defOpe=Buildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostOperation.resistive, final defTri=Buildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostTimeMethods.timed)); end SingleSpeed_TimedResistiveDefrost;

Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_TimedReverseCycleDefrost Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_TimedReverseCycleDefrost

Validation model for single speed heating DX coil with defrost operation

Buildings.Fluid.DXSystems.Heating.AirSource.Validation.SingleSpeed_TimedReverseCycleDefrost

Information

This model validates the model Buildings.Fluid.DXSystems.Heating.AirSource.SingleSpeed with the defrost time fraction calculation datDef.defTri set to DefrostTimeMethods.timed and the defrost operation type datDef.defOpe set to DefrostOperation.reverseCycle.

The difference in results of TOut and XOut at the beginning and end of the simulation is because the mass flow rate is zero. For zero mass flow rate, EnergyPlus assumes steady state condition, whereas the Modelica model is a dynamic model and hence the properties at the outlet are equal to the state variables of the model.

The EnergyPlus results were generated using the example file DXCoilSystemAuto.idf from EnergyPlus 22.2. The results were then used to set-up the boundary conditions for the model as well as the input signals. To compare the results, the Modelica outputs are averaged over 3600 seconds, and the EnergyPlus outputs are used with a zero order delay to avoid the time shift in results.

Note that EnergyPlus mass fractions (X) are in mass of water vapor per mass of dry air, whereas Modelica uses the total mass as a reference. Also, the temperatures in Modelica are in Kelvin whereas they are in Celsius in EnergyPlus. Hence, the EnergyPlus values are corrected by using the appropriate conversion blocks.

The plots compare the outlet temperature and humidity ratio between Modelica and EnergyPlus. They also compare the power consumption by the coil compressor as well as the heat transfer from the airloop.

Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.SingleSpeedHeating (Baseclass for validation models for single speed DX heating coil).

Modelica definition

model SingleSpeed_TimedReverseCycleDefrost "Validation model for single speed heating DX coil with defrost operation" extends Modelica.Icons.Example; extends Buildings.Fluid.DXSystems.Heating.AirSource.Validation.BaseClasses.SingleSpeedHeating ( datRea( final fileName=ModelicaServices.ExternalReferences.loadResource("modelica://Buildings/Resources/Data/Fluid/DXSystems/Heating/AirSource/Validation/SingleSpeedHeating_TimedReverseCycleDefrost/DXCoilSystemAuto.dat")), datCoi( final defOpe=Buildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostOperation.reverseCycle, final defTri=Buildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostTimeMethods.timed)); end SingleSpeed_TimedReverseCycleDefrost;