modelSingleSpeed

Validation model for single speed DX coil with PLR=1

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model validates the model Buildings.Fluid.DXSystems.Cooling.AirSource.SingleSpeed.

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 7.1, with a nominal cooling capacity of 10500 Watts instead of using autosizing. This allowed to have a part load ratio of one.

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. Hence, the EnergyPlus values are corrected by dividing them by 1+X.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.PowerQ_flow_nominaldatCoi.sta[1].nomVal.Q_flow_nominalNominal power
Modelica.Units.SI.MassFlowRatem_flow_nominaldatCoi.sta[1].nomVal.m_flow_nominalNominal mass flow rate
Modelica.Units.SI.PressureDifferencedp_nominal1141Pressure drop at m_flow_nominal
Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.DXCoildatCoiCoil data

Components

TypeNameDefaultDescription
Buildings.Fluid.Sources.Boundary_pTsinSink
Buildings.Fluid.Sources.Boundary_pTsouSource
Buildings.Fluid.DXSystems.Cooling.AirSource.SingleSpeedsinSpeDXSingle speed DX coil
Modelica.Blocks.Sources.TimeTableplr_onOffEnergyPlus PLR converted into on-off signal for this model
Modelica.Blocks.Sources.TimeTableTCInCondenser inlet temperature
Modelica.Blocks.Sources.TimeTableTEvaInCoil inlet temperature
Modelica.Blocks.Sources.TimeTableXEvaInWater fraction of moist air
Modelica.Blocks.Math.RealToBooleanonOffEnable the DX coil when input is greater than 0.5
Modelica.Blocks.Routing.Multiplex2muxConverts in an array
Buildings.Utilities.IO.BCVTB.From_degCTCIn_KConverts degC to K
Buildings.Utilities.IO.BCVTB.From_degCTEvaIn_KConverts degC to K
Modelica.Blocks.Math.MeanTOutMeaAverage out value over one hour
Buildings.Utilities.IO.BCVTB.To_degCTOutDegCConvert to degree Celsius
Modelica.Blocks.Sources.RealExpressionTOutMeasured outlet air temperature from model
Modelica.Blocks.Math.MeanXEvaOutMeaAverage out value over one hour
Modelica.Blocks.Sources.RealExpressionXEvaOutMeasured outlet air humidity ratio (total air)
Modelica.Blocks.Math.MeanQ_flowMeaMean of cooling rate
Modelica.Blocks.Math.MeanQ_flowSenMeaMean of sensible cooling rate
Modelica.Blocks.Math.MeanPMeaMean of power
Modelica.Blocks.Math.AddaddConvert humidity ratio (dry air) to humidity ratio (total air)
Modelica.Blocks.Sources.ConstantXEvaInMoiAirMoist air fraction = 1
Modelica.Blocks.Sources.TimeTableTOutEPluEnergyPlus result: outlet temperature
Modelica.Blocks.Sources.TimeTableQ_flowEPluEnergyPlus result: heat flow
Modelica.Blocks.Sources.TimeTableQ_flowSenEPluEnergyPlus result: sensible heat flow
Modelica.Blocks.Math.DivisionshrEPluEnergyPlus result: SHR
Modelica.Blocks.Sources.TimeTableXEvaOutEPluEnergyPlus result: outlet water mass fraction
Modelica.Blocks.Sources.TimeTablePEPluEnergyPlus result: electric power
Modelica.Blocks.Sources.PulsepPressure
Modelica.Blocks.Sources.RealExpressionXEvaInModModified XEvaIn
Modelica.Blocks.Sources.RealExpressionXEvaOutEPluModModified XEvaOut of energyPlus to comapre with the model results
Modelica.Blocks.Math.AddQCoo_flowTotal cooling heat flow rate

Contents

NameDescription
MediumMedium model

Revisions

  • April 5, 2023, by Karthik Devaprasad and Xing Lu:
    Updated model name to differentiate from heating coil validation models.
    Updated connection statements to reflect change in input instance on sinSpeDX from TConIn to TOut.
    Updated formatting for readability.
  • January 22, 2016, by Michael Wetter:
    Corrected type declaration of pressure difference. This is for #404.
  • December 22, 2014 by Michael Wetter:
    Removed Modelica.Fluid.System to address issue #311.
  • September 4, 2012 by Michael Wetter:
    Modified example to avoid having to access protected data.
  • August 20, 2012 by Kaustubh Phalak:
    First implementation.