Buildings.Fluid.DXSystems.Heating.AirSource

Air source DX coils

Information

This package contains water source DX coil models.

Package Content

Name Description
Buildings.Fluid.DXSystems.Heating.AirSource.SingleSpeed SingleSpeed Single speed DX heating coil
Buildings.Fluid.DXSystems.Heating.AirSource.Data Data Package with performance data for DX heating coils
Buildings.Fluid.DXSystems.Heating.AirSource.Examples Examples Collection of models that illustrate model use and test models
Buildings.Fluid.DXSystems.Heating.AirSource.Validation Validation Collection of validation models

Buildings.Fluid.DXSystems.Heating.AirSource.SingleSpeed Buildings.Fluid.DXSystems.Heating.AirSource.SingleSpeed

Single speed DX heating coil

Buildings.Fluid.DXSystems.Heating.AirSource.SingleSpeed

Information

This model can be used to simulate an air-source DX heating coil with single speed compressor.

See Buildings.Fluid.DXSystems.Heating.UsersGuide for an explanation of the model.

Extends from Buildings.Fluid.DXSystems.Heating.BaseClasses.PartialDXHeatingCoil (Partial model for DX heating coil).

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialCondensingGasesMedium in the component
DXCoildatCoi Performance data
Nominal condition
PressureDifferencedp_nominal Pressure difference [Pa]
Assumptions
BooleanallowFlowReversaltrue= false to simplify equations, assuming, but not enforcing, no flow reversal
Advanced
MassFlowRatem_flow_small1E-4*abs(m_flow_nominal)Small mass flow rate for regularization of zero flow [kg/s]
TemperatureDifferencedTHys0.5Temperature comparison for hysteresis [K]
Diagnostics
Booleanshow_Tfalse= true, if actual temperature at port is computed
Flow resistance
Booleanfrom_dpfalse= true, use m_flow = f(dp) else dp = f(m_flow)
BooleanlinearizeFlowResistancefalse= true, use linear relation between m_flow and dp for any flow rate
RealdeltaM0.1Fraction of nominal flow rate where flow transitions to laminar
Dynamics
Nominal condition
Timetau30Time constant at nominal flow (if energyDynamics <> SteadyState) [s]
Conservation equations
DynamicsenergyDynamicsModelica.Fluid.Types.Dynamic...Type of energy balance: dynamic (3 initialization options) or steady state
Initialization
AbsolutePressurep_startMedium.p_defaultStart value of pressure [Pa]
TemperatureT_startMedium.T_defaultStart value of temperature [K]
MassFractionX_start[Medium.nX]Medium.X_defaultStart value of mass fractions m_i/m [kg/kg]
ExtraPropertyC_start[Medium.nC]fill(0, Medium.nC)Start value of trace substances

Connectors

TypeNameDescription
FluidPort_aport_aFluid connector a (positive design flow direction is from port_a to port_b)
FluidPort_bport_bFluid connector b (positive design flow direction is from port_a to port_b)
input RealInputTOutOutside air dry bulb temperature for an air cooled condenser or wetbulb temperature for an evaporative cooled condenser [K]
input RealInputphiOutdoor air relative humidity at evaporator inlet (0...1) [1]
output RealOutputPElectrical power consumed [W]
output RealOutputQSen_flowSensible heat flow rate [W]
input BooleanInputonSet to true to enable compressor, or false to disable compressor

Modelica definition

model SingleSpeed "Single speed DX heating coil" extends Buildings.Fluid.DXSystems.Heating.BaseClasses.PartialDXHeatingCoil; Modelica.Blocks.Interfaces.BooleanInput on "Set to true to enable compressor, or false to disable compressor"; protected Modelica.Blocks.Sources.Constant speRat( final k=1) "Speed ratio 1 constant source"; Buildings.Controls.OBC.CDL.Conversions.BooleanToReal booToReaOn "Convert Boolean enable signal to Real value 1, disable to Real value 0"; Modelica.Blocks.Math.BooleanToInteger onSwi( final integerTrue=1, final integerFalse=0) "On/off switch"; initial equation assert(datCoi.nSta == 1, "Must have one stage only for single speed performance data."); equation connect(speRat.y,dxCoi.speRat); connect(on, onSwi.u); connect(onSwi.y,dxCoi.stage); connect(on, booToReaOn.u); connect(booToReaOn.y, defCap.uSpe); end SingleSpeed;