Buildings.Fluid.DXSystems.BaseClasses

Package with base classes for DX cooling coil model

Information

This package contains base classes that are used to construct the models in Buildings.Fluid.DXSystems.

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Package Content

Name Description
Buildings.Fluid.DXSystems.BaseClasses.CapacityAirSource CapacityAirSource Calculates cooling capacity at given temperature and flow fraction for air source coils
Buildings.Fluid.DXSystems.BaseClasses.DryCoil DryCoil Calculates dry coil condition
Buildings.Fluid.DXSystems.BaseClasses.Examples Examples Package with examples of base class components for DX cooling coil model

Buildings.Fluid.DXSystems.BaseClasses.CapacityAirSource Buildings.Fluid.DXSystems.BaseClasses.CapacityAirSource

Calculates cooling capacity at given temperature and flow fraction for air source coils

Buildings.Fluid.DXSystems.BaseClasses.CapacityAirSource

Information

This model calculates cooling capacity and EIR for air source DX coils in off-designed conditions based on performance modifers calculated in partial model Buildings.Fluid.DXSystems.Cooling.BaseClasses.PartialCapacity.

Cooling capacity

The cooling capacity modifiers are multiplied with nominal cooling capacity to obtain the cooling capacity of the coil at given inlet temperatures and mass flow rate as

Q̇(θe,in, θc,in, ff) = capθe,in, θc,in) capFF(ff) Q̇nom,

where θe,in is the evaporator inlet temperature and θc,in is the condenser inlet temperature in degrees Celsius. θe,in is the dry-bulb temperature if the coil is dry, or the wet-bulb temperature if the coil is wet. capθe,in, θc,in) is cooling capacity modifier as a function of temperature. capFF(ff) is cooling capacity modifier as a function of nomalized mass flowrate at the evaporator.

Energy Input Ratio (EIR)

The Energy Input Ratio (EIR) is the inverse of the Coefficient of Performance (COP). Similar to the cooling rate, the EIR of the coil is the product of a function that takes into account changes in condenser and evaporator inlet temperatures, and changes in mass flow rate. The EIR is computed as

EIR(θe,in, θc,in, ff) = EIRθe,in, θc,in) EIRFF(ff) ⁄ COPnominal

Extends from Buildings.Fluid.DXSystems.Cooling.BaseClasses.PartialCapacity (Calculates performance curve value at given temperature and mass flow rate).

Parameters

TypeNameDefaultDescription
Booleanuse_mCon_flowfalseSet to true to enable connector for the condenser mass flow rate
IntegernSta Number of coil stages (not counting the off stage)
Stagesta[nSta]redeclare parameter Building...Performance data for this stage
Initialization
Realcap_T.start[nSta]1Cooling capacity modification factor as a function of temperature
Realcap_FF.start[nSta]1Cooling capacity modification factor as a function of flow fraction
RealEIR_T.start[nSta]1EIR modification factor as a function of temperature
RealEIR_FF.start[nSta]1EIR modification factor as a function of flow fraction
RealcorFac.start[nSta]1Correction factor that is one inside the valid flow fraction, and attains zero below the valid flow fraction

Connectors

TypeNameDescription
input IntegerInputstageStage of coil, or 0/1 for variable-speed coil
input RealInputTConInTemperature of air entering the condenser coil [K]
input RealInputm_flowAir mass flow rate at the evaporator [kg/s]
input RealInputTEvaInTemperature of air entering the evaporator (wet bulb for wet coil and dry bulb for dry coil) [K]
input RealInputmCon_flowWater mass flow rate at the condenser [kg/s]
output RealOutputQ_flow[nSta]Total cooling capacity [W]
output RealOutputEIR[nSta]Energy Input Ratio

Modelica definition

block CapacityAirSource "Calculates cooling capacity at given temperature and flow fraction for air source coils" extends Buildings.Fluid.DXSystems.Cooling.BaseClasses.PartialCapacity( use_mCon_flow=false); equation if stage > 0 then for iSta in 1:nSta loop Q_flow[iSta] = corFac[iSta]*cap_T[iSta]*cap_FF[iSta]*sta[iSta].nomVal.Q_flow_nominal; EIR[iSta] = corFac[iSta]*EIR_T[iSta]*EIR_FF[iSta]/sta[iSta].nomVal.COP_nominal; end for; else //cooling coil off Q_flow = fill(0, nSta); EIR = fill(0, nSta); end if; end CapacityAirSource;

Buildings.Fluid.DXSystems.BaseClasses.DryCoil Buildings.Fluid.DXSystems.BaseClasses.DryCoil

Calculates dry coil condition

Buildings.Fluid.DXSystems.BaseClasses.DryCoil

Information

This block calculates the rate of heating/cooling and the coil surface condition under the assumption that the coil is dry. The heat transfer calculations are done in Buildings.Fluid.DXSystems.BaseClasses.CapacityAirSource.

For a similar model that is used to compute the wet coil conditions, see Buildings.Fluid.DXSystems.Cooling.BaseClasses.WetCoil.

Extends from Buildings.Fluid.DXSystems.Cooling.BaseClasses.PartialCoilCondition (Partial block for dry and wet coil conditions).

Parameters

TypeNameDefaultDescription
DXCoildatCoiredeclare parameter Building...Performance data
Booleanuse_mCon_flow Set to true to enable connector for the condenser mass flow rate
BooleanvariableSpeedCoil Flag, set to true for coil with variable speed
CapacityAirSourcecoiCapredeclare Buildings.Fluid.DX...Performance data
replaceable package MediumModelica.Media.Interfaces.Pa...Medium model

Connectors

TypeNameDescription
input IntegerInputstageStage of coil, or 0/1 for variable-speed coil
input RealInputspeRatSpeed ratio
input RealInputm_flowAir mass flow rate
input RealInputTEvaInTemperature of air entering the cooling coil
input RealInputTConInOutside air dry bulb temperature for an air cooled condenser or wetbulb temperature for an evaporative cooled condenser [K]
output RealOutputEIREnergy Input Ratio
output RealOutputQ_flowTotal cooling capacity [W]
input RealInputmCon_flowWater mass flow rate at condensers for water source DX units
replaceable package MediumMedium model

Modelica definition

model DryCoil "Calculates dry coil condition" extends Buildings.Fluid.DXSystems.Cooling.BaseClasses.PartialCoilCondition; replaceable package Medium = Modelica.Media.Interfaces.PartialCondensingGases "Medium model"; equation connect(TEvaIn,coiCap.TEvaIn); connect(mCon_flow,coiCap.mCon_flow); end DryCoil;