Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation

Collection of models that validate the cooling tower base functions

Information

This package contains validation models for the classes in Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.

Note that most validation models contain simple input data which may not be realistic, but for which the correct output can be obtained through an analytic solution. The examples plot various outputs, which have been verified against these solutions. These model outputs are stored as reference data and used for continuous validation whenever models in the library change.

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

Package Content

Name Description
Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity EquivalentHeatCapacity Validation model for the equivalent heat capacity calculation

Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity

Validation model for the equivalent heat capacity calculation

Information

This model validates the computation of the equivalent heat capacity for five inlet temperature conditions and variable changes in temperature between inlet and outlet airflows.

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

Modelica definition

model EquivalentHeatCapacity "Validation model for the equivalent heat capacity calculation" extends Modelica.Icons.Example; Modelica.Units.SI.TemperatureDifference deltaT "Change in temperature of the air entering and leaving the cooling tower"; Modelica.Units.SI.Temperature TIn[1,5]=[283.15,288.15,293.15,298.15,303.15] "Inlet temperatures"; Modelica.Units.SI.Temperature TOut[1,5]=[TIn[1, 1] + deltaT,TIn[1, 2] + deltaT,TIn[1, 3] + deltaT,TIn[1, 4] + deltaT,TIn[1, 5] + deltaT] "Outlet temperatures"; Modelica.Units.SI.SpecificHeatCapacity cpe10 "Equivalent specific heat capacity with 10 degC inlet temperature"; Modelica.Units.SI.SpecificHeatCapacity cpe15 "Equivalent specific heat capacity with 15 degC inlet temperature"; Modelica.Units.SI.SpecificHeatCapacity cpe20 "Equivalent specific heat capacity with 20 degC inlet temperature"; Modelica.Units.SI.SpecificHeatCapacity cpe25 "Equivalent specific heat capacity with 25 degC inlet temperature"; Modelica.Units.SI.SpecificHeatCapacity cpe30 "Equivalent specific heat capacity with 30 degC inlet temperature"; protected constant Real con = 1 "Conversion factor to avoid warning because of unit missmatch"; equation deltaT = con*time; cpe10 = Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.equivalentHeatCapacity( TIn = TIn[1,1], TOut = TOut[1,1]); cpe15 = Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.equivalentHeatCapacity( TIn = TIn[1,2], TOut = TOut[1,2]); cpe20 = Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.equivalentHeatCapacity( TIn = TIn[1,3], TOut = TOut[1,3]); cpe25 = Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.equivalentHeatCapacity( TIn = TIn[1,4], TOut = TOut[1,4]); cpe30 = Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.equivalentHeatCapacity( TIn = TIn[1,5], TOut = TOut[1,5]); end EquivalentHeatCapacity;