modelVariableSpeedEnergyPlusPartLoad

Validation model for variable speed DX coil under part load condition

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

Information

This model validates the model Buildings.Fluid.DXSystems.Cooling.WaterSource.VariableSpeed.

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 ZoneVSWSHP_wDOAS.idf from EnergyPlus 7.1, with a nominal cooling capacity of 6758 Watts instead of autosizing and an internal gain from electric equipment as 6000 Watts.This allowed to have a speed ratio between 0 and 1.

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.PressureDifferencedpEva_nominal1000Pressure drop at m_flow_nominal
Modelica.Units.SI.PressureDifferencedpCon_nominal40000Pressure drop at mCon_flow_nominal
Buildings.Fluid.DXSystems.Cooling.WaterSource.Data.Generic.DXCoildatCoiCoil data

Components

TypeNameDefaultDescription
WaterSource.VariableSpeedvarSpeDXVariable speed DX coil
Modelica.Blocks.Sources.TimeTablespeRatEnergyPlus speed ratio 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.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.MeanTOutMea
Buildings.Utilities.IO.BCVTB.To_degCTOutDegC
Modelica.Blocks.Sources.RealExpressionTOut
Modelica.Blocks.Math.MeanXEvaOutMea
Modelica.Blocks.Sources.RealExpressionXEvaOut
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.Addadd
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.RealExpressionXEvaInModModified XEvaIn
Modelica.Blocks.Sources.RealExpressionXEvaOutEPluModModified XEvaOut of energyPlus to comapre with the model results
Modelica.Blocks.Math.AddQCoo_flowTotal cooling heat flow rate
Sources.MassFlowSource_TsouAirSource on air side
Sources.Boundary_pTsinAirSink on air side
Sources.Boundary_pTsinWatSink on water side
Sources.MassFlowSource_TsouWatSource on water side
Modelica.Blocks.Sources.TimeTablemasEvaInMass flowrate at the evaporator
Modelica.Blocks.Sources.TimeTablemasConInMass flowrate at the condenser
Sensors.TemperatureTwoPortTConOutOutlet temperature at the condenser
Modelica.Blocks.Sources.TimeTableTCOutEPluCondenser outlet temperature
Modelica.Blocks.Sources.TimeTableQ_flowConEPluCondenser heat flow

Contents

NameDescription
MediumAirMedium model for air
MediumWaterMedium model for water

Revisions

  • February 16, 2017 by Yangyang Fu:
    First implementation.