modelSpaceCooling

Space cooling with DX coils

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

Information

This model illustrates the use of the air source DX coil models with single speed compressor, multi-stage compressor, and variable speed compressor. The three systems all have the same simple model for a room, and the same HVAC components, except for the coil. The top system has a DX coil with single speed compressor and on/off control with dead-band. The middle system has a DX coil with two stages, each representing a different compressor speed. The bottom system has a DX coil with variable speed control for the compressor.

All coils are controlled based on the respective room air temperature. The plot below shows how room air temperatures and humidity levels are controlled with the respective coils. The single speed coil has the highest room air humidity level because during its off-time, water that accumulated on the coil evaporates into the air stream. This effect is smaller for the coil with two compressor stages and for the coil with variable compressor speed, as both of these coils switch off less frequent.

image

Implementation

The model is based on Buildings.Examples.Tutorial.SpaceCooling.System3.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.VolumeV6*10*3Room volume
Realeps0.8Heat recovery effectiveness
Modelica.Units.SI.TemperatureTASup_nominal273.15 + 18Nominal air temperature supplied to room
Modelica.Units.SI.TemperatureTRooSet273.15 + 24Nominal room air temperature
Modelica.Units.SI.TemperatureTOut_nominal273.15 + 30Design outlet air temperature
Modelica.Units.SI.TemperatureTHeaRecLvgTOut_nominal - eps*(TOut_nominal - TRooSet)Air temperature leaving the heat recovery
Modelica.Units.SI.HeatFlowRateQRooInt_flow1000Internal heat gains of the room
Modelica.Units.SI.HeatFlowRateQRooC_flow_nominal-QRooInt_flow - 10E3/30*(TOut_nominal - TRooSet)Nominal cooling load of the room
Modelica.Units.SI.MassFlowRatemA_flow_nominal1.3*QRooC_flow_nominal/1006/(TASup_nominal - TRooSet)Nominal air mass flow rate, increased by factor 1.3 to allow for recovery after temperature setback
Modelica.Units.SI.TemperatureDifferencedTFan2Estimated temperature raise across fan that needs to be made up by the cooling coil
Modelica.Units.SI.HeatFlowRateQCoiC_flow_nominal(QRooC_flow_nominal + mA_flow_nominal*(TASup_nominal - THeaRecLvg - dTFan)*1006)Cooling load of coil, taking into account economizer, and increased due to latent heat removal
Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.DXCoildatCoiData record for single-speed coil
Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.DXCoildatCoiMulSpeCoil data multi-stage and variable speed cooling coils

Connectors

TypeNameDefaultDescription
BoundaryConditions.WeatherData.BusweaBusWeather bus

Components

TypeNameDefaultDescription
Buildings.Fluid.Movers.FlowControlled_m_flowfanSupply air fan
Buildings.Fluid.HeatExchangers.ConstantEffectivenesshexHeat recovery
Buildings.Fluid.Sources.OutsideoutSource for outdoor air
BoundaryConditions.WeatherData.ReaderTMY3weaDatWeather data reader
Modelica.Blocks.Sources.ConstantmAir_flowFan air flow rate
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemHXEvaOutTemperature sensor for heat recovery outlet on supply side
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemSupAirTemperature sensor for supply air
Modelica.Blocks.Logical.OnOffControllerconController to enable component when measurement falls below setpoint
Modelica.Blocks.Sources.ConstantTRooSetPoiRoom temperature set point
Buildings.Fluid.DXSystems.Cooling.AirSource.SingleSpeedsinSpeDXSingle-speed DX cooling coil
SimpleRoomrooSinSpeRoom model connected to single speed coil
Buildings.Fluid.Movers.FlowControlled_m_flowfan1Supply air fan
Buildings.Fluid.HeatExchangers.ConstantEffectivenesshex1Heat recovery
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemHXEvaOut1Temperature sensor for heat recovery outlet on supply side
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemSupAir1Temperature sensor for supply air
Buildings.Fluid.DXSystems.Cooling.AirSource.MultiStagemulStaDXMulti-speed DX coil
SimpleRoomrooMulSpeRoom model connected to multi stage coil
ControllerTwoStagemulSpeConController for multi-stage coil
SimpleRoomrooVarSpeRoom model connected to variable speed coil
Buildings.Fluid.Movers.FlowControlled_m_flowfan2Supply air fan
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemSupAir2Temperature sensor for supply air
Buildings.Fluid.DXSystems.Cooling.AirSource.VariableSpeedvarSpeDXVariable-speed DX coil
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemHXEvaOut2Temperature sensor for heat recovery outlet on supply side
Buildings.Fluid.HeatExchangers.ConstantEffectivenesshex2Heat recovery
Modelica.Blocks.Continuous.IntegratorsinSpePowPower consumed by single speed coil
Modelica.Blocks.Continuous.IntegratormulSpePowPower consumed by multi-stage coil
Modelica.Blocks.Continuous.IntegratorvarSpePowPower consumed by multi-stage coil
Modelica.Blocks.Logical.Notnot1Turn on DX coil when measured temperature is above setpoint
Buildings.Controls.Continuous.LimPIDconVarSpeController for variable speed DX coil

Contents

NameDescription
MediumFluid medium for the model
SimpleRoomSimple model of a room
ControllerTwoStageController for two stage coil

Revisions

  • March 19, 2023 by Xing Lu and Karthik Devaprasad:
    Updated instance classes for sinSpeDX, mulStaDX, varSpeDX, and datCoiMulSpe.
    Updated connection statements to reflect change in input instance from TConIn to TOut in sinSpeDX, mulStaDX and varSpeDX.
    Updated comments and formatting for ease of understanding and readability.
  • September 24, 2015 by Michael Wetter:
    Set start attributes in SimpleRoom so that the model translates when using the pedantic mode in Dymola 2016. This is for #426.
  • December 22, 2014 by Michael Wetter:
    Removed Modelica.Fluid.System to address issue #311.
  • September 13, 2013, by Michael Wetter:
    Changed control implementation of variable speed coil to use a proportional controller.
  • January 11, 2012, by Michael Wetter:
    First implementation.