modelYorkCalc

Test model for cooling tower using the York performance correlation

Extends from Modelica.Icons.Example (Icon for runnable examples), BaseClasses.PartialStaticTwoPortCoolingTower (Base class for test models of cooling towers).

Information

This example illustrates the use of the cooling tower model Buildings.Fluid.HeatExchangers.CoolingTowers.YorkCalc. Heat is injected into the volume vol. An on/off controller switches the cooling loop water pump on or off based on the temperature of this volume. The cooling tower outlet temperature is controlled to track a fixed temperature.

Parameters

TypeNameDefaultDescription
Data.YorkCalc.GenericdatPerformance data for cooling tower
Nominal condition
Modelica.Units.SI.MassFlowRatem_flow_nominal (from PartialStaticTwoPortCoolingTower)0.5Design water flow rate

Connectors

TypeNameDefaultDescription
Buildings.BoundaryConditions.WeatherData.BusweaBus (from PartialStaticTwoPortCoolingTower)Weather data bus

Components

TypeNameDefaultDescription
Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.CoolingTowertow (from PartialStaticTwoPortCoolingTower)
Buildings.Fluid.Movers.FlowControlled_m_flowpum (from PartialStaticTwoPortCoolingTower)Pump for condenser water loop
Buildings.BoundaryConditions.WeatherData.ReaderTMY3weaDat (from PartialStaticTwoPortCoolingTower)
Modelica.Blocks.Logical.OnOffControlleronOffCon (from PartialStaticTwoPortCoolingTower)On/off controller
Modelica.Blocks.Logical.Switchswi (from PartialStaticTwoPortCoolingTower)Control switch for chilled water pump
Modelica.Blocks.Sources.ConstantTSwi (from PartialStaticTwoPortCoolingTower)Switch temperature for switching tower pump on
Modelica.Blocks.Sources.Constantzer (from PartialStaticTwoPortCoolingTower)Zero flow rate
Modelica.Blocks.Sources.Constantm_flow (from PartialStaticTwoPortCoolingTower)Water flow rate
Buildings.Fluid.MixingVolumes.MixingVolumevol (from PartialStaticTwoPortCoolingTower)
Buildings.Fluid.Sources.Boundary_pTexp (from PartialStaticTwoPortCoolingTower)Expansion vessel
Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlowfixHeaFlo (from PartialStaticTwoPortCoolingTower)Fixed heat flow rate
Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensorTVol (from PartialStaticTwoPortCoolingTower)Water temperature
Buildings.Fluid.Sensors.TemperatureTwoPortTEnt (from PartialStaticTwoPortCoolingTower)Water entering temperature
Modelica.Blocks.Sources.ConstantTSetLeaSetpoint for leaving temperature
Controls.Continuous.LimPIDconFanController for tower fan

Revisions

  • April 27, 2026, by Michael Wetter:
    Refactored for new cooling tower implementation.
    This is for issue 4567.
  • July 12, 2011, by Michael Wetter:
    First implementation.