Buildings.Fluid.DXSystems.BaseClasses.Examples

Package with examples of base class components for DX cooling coil model

Information

This package contains examples of base class components for DX cooling coil models.

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

Package Content

Name Description
Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource CapacityAirSource Test model for CapacityAirSource
Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil DryCoil Test model for DryCoil

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

Test model for CapacityAirSource

Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource

Information

This example illustrates working of cooling capacity function Buildings.Fluid.DXSystems.BaseClasses.CapacityAirSource.

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

Parameters

TypeNameDefaultDescription
Stagestasta(nomVal(Q_flow_nominal=-2...Performance data

Modelica definition

model CapacityAirSource "Test model for CapacityAirSource" extends Modelica.Icons.Example; package Medium = Buildings.Media.Air; Buildings.Fluid.DXSystems.BaseClasses.CapacityAirSource cooCap(sta={sta}, nSta=1) "Cooling capacity calculation"; Modelica.Blocks.Sources.Ramp m_flow( duration=2400, startTime=600, height=sta.nomVal.m_flow_nominal, offset=0) "Mass flow rate of air"; Modelica.Blocks.Sources.Ramp TWetBulIn( duration=2400, startTime=600, height=10, offset=273.15 + 19.4) "Air wet bulb temperature entering the coil"; Modelica.Blocks.Sources.IntegerStep onOff(startTime=600) "Compressor on-off signal"; Modelica.Blocks.Sources.Ramp TConIn( duration=2400, startTime=600, height=5, offset=273.15 + 30) "Condenser inlet temperature (Outside drybulb temperature)"; parameter Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.BaseClasses.Stage sta( nomVal(Q_flow_nominal=-21000,COP_nominal=3, SHR_nominal=0.8,m_flow_nominal=1.5), perCur = Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.PerformanceCurves.Curve_III_AirCooled(), spe=188.49555921539) "Performance data"; equation connect(TConIn.y, cooCap.TConIn); connect(m_flow.y, cooCap.m_flow); connect(onOff.y, cooCap.stage); connect(TWetBulIn.y, cooCap.TEvaIn); end CapacityAirSource;

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

Test model for DryCoil

Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil

Information

This example illustrates working of DryCoil block Buildings.Fluid.DXSystems.BaseClasses.DryCoil.

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

Parameters

TypeNameDefaultDescription
DXCoildatCoidatCoi(sta={Buildings.Fluid....Coil data

Modelica definition

model DryCoil "Test model for DryCoil" extends Modelica.Icons.Example; package Medium = Buildings.Media.Air; Modelica.Blocks.Sources.Constant TConIn( k=273.15 + 35) "Condenser inlet air temperature"; Buildings.Fluid.DXSystems.BaseClasses.DryCoil dryCoi( redeclare package Medium = Medium, datCoi=datCoi, variableSpeedCoil=true, redeclare Buildings.Fluid.DXSystems.BaseClasses.CapacityAirSource coiCap, use_mCon_flow=false) "Performs calculation for dry coil condition"; Modelica.Blocks.Sources.IntegerStep onOff( startTime=1200) "Compressor on-off signal"; Modelica.Blocks.Sources.Ramp m_flow( startTime=1200, duration=600, height=1.5) "Mass flow rate of air"; Modelica.Blocks.Sources.Ramp TEvaIn( duration=600, startTime=2400, height=-4, offset=273.15 + 29) "Dry bulb temperature of air entering the coil"; Modelica.Blocks.Sources.TimeTable speRat(table=[0.0,0.0; 900,0.25; 1800,0.50; 2700,0.75]) "Speed ratio "; parameter Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.DXCoil datCoi( sta={ Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.BaseClasses.Stage( spe=900/60, nomVal= Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.BaseClasses.NominalValues( Q_flow_nominal=-12000, COP_nominal=3, SHR_nominal=0.8, m_flow_nominal=0.9), perCur= Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.PerformanceCurves.Curve_I_AirCooled()), Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.BaseClasses.Stage( spe=1200/60, nomVal= Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.BaseClasses.NominalValues( Q_flow_nominal=-18000, COP_nominal=3, SHR_nominal=0.8, m_flow_nominal=1.2), perCur= Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.PerformanceCurves.Curve_I_AirCooled()), Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.BaseClasses.Stage( spe=1800/60, nomVal= Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.BaseClasses.NominalValues( Q_flow_nominal=-21000, COP_nominal=3, SHR_nominal=0.8, m_flow_nominal=1.5), perCur= Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.PerformanceCurves.Curve_II_AirCooled()), Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.BaseClasses.Stage( spe=2400/60, nomVal= Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.BaseClasses.NominalValues( Q_flow_nominal=-30000, COP_nominal=3, SHR_nominal=0.8, m_flow_nominal=1.8), perCur= Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.PerformanceCurves.Curve_III_AirCooled())}, nSta=4) "Coil data"; equation connect(TConIn.y, dryCoi.TConIn); connect(m_flow.y, dryCoi.m_flow); connect(TEvaIn.y, dryCoi.TEvaIn); connect(speRat.y, dryCoi.speRat); connect(onOff.y, dryCoi.stage); end DryCoil;