Buildings.Obsolete.Fluid.HeatExchangers.CoolingTowers.Examples

Collection of models that illustrate model use and test models

Information

This package contains examples for the use of models that can be found in Buildings.Obsolete.Fluid.HeatExchangers.CoolingTowers.

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

Package Content

Name Description
Buildings.Obsolete.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel Merkel Test model for cooling tower using the Merkel theory
Buildings.Obsolete.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc YorkCalc Test model for cooling tower using the York performance correlation
Buildings.Obsolete.Fluid.HeatExchangers.CoolingTowers.Examples.BaseClasses BaseClasses Package with base classes for Buildings.Obsolete.Fluid.HeatExchangers.CoolingTowers.Examples

Buildings.Obsolete.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel Buildings.Obsolete.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel

Test model for cooling tower using the Merkel theory

Buildings.Obsolete.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel

Information

This example illustrates the use of the cooling tower model Buildings.Obsolete.Fluid.HeatExchangers.CoolingTowers.Merkel. 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.

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

Parameters

TypeNameDefaultDescription
Nominal condition
MassFlowRatem_flow_nominal0.5Design water flow rate [kg/s]
RealratWatAir_nominal0.625Design water-to-air ratio

Connectors

TypeNameDescription
BusweaBusWeather data bus

Modelica definition

model Merkel "Test model for cooling tower using the Merkel theory" extends Modelica.Icons.Example; extends BaseClasses.PartialStaticTwoPortCoolingTower( redeclare Buildings.Obsolete.Fluid.HeatExchangers.CoolingTowers.Merkel tow( ratWatAir_nominal=ratWatAir_nominal, TAirInWB_nominal=273.15 + 25.55, TWatIn_nominal=273.15 + 35, TWatOut_nominal=273.15 + 35 - 5.56, PFan_nominal=4800), weaDat(final computeWetBulbTemperature=true)); parameter Real ratWatAir_nominal = 0.625 "Design water-to-air ratio"; Modelica.Blocks.Sources.Constant TSetLea(k=273.15 + 18) "Setpoint for leaving temperature"; Buildings.Controls.OBC.CDL.Reals.PID conFan( k=1, Ti=60, Td=10, reverseActing=false, u_s(unit="K", displayUnit="degC"), u_m(unit="K", displayUnit="degC")) "Controller for tower fan"; equation connect(TSetLea.y, conFan.u_s); connect(conFan.y, tow.y); connect(tow.TLvg, conFan.u_m); connect(weaBus.TWetBul, tow.TAir); end Merkel;

Buildings.Obsolete.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc Buildings.Obsolete.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc

Test model for cooling tower using the York performance correlation

Buildings.Obsolete.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc

Information

This example illustrates the use of the cooling tower model Buildings.Obsolete.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.

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

Parameters

TypeNameDefaultDescription
Nominal condition
MassFlowRatem_flow_nominal0.5Design water flow rate [kg/s]

Connectors

TypeNameDescription
BusweaBusWeather data bus

Modelica definition

model YorkCalc "Test model for cooling tower using the York performance correlation" extends Modelica.Icons.Example; extends BaseClasses.PartialStaticTwoPortCoolingTower( redeclare CoolingTowers.YorkCalc tow, weaDat( final computeWetBulbTemperature=true)); Modelica.Blocks.Sources.Constant TSetLea(k=273.15 + 18) "Setpoint for leaving temperature"; Buildings.Controls.Continuous.LimPID conFan( k=1, Ti=60, Td=10, reverseActing=false, initType=Modelica.Blocks.Types.Init.InitialState) "Controller for tower fan"; equation connect(TSetLea.y, conFan.u_s); connect(conFan.y, tow.y); connect(tow.TLvg, conFan.u_m); connect(weaBus.TWetBul, tow.TAir); end YorkCalc;