Description: "Collection of models that illustrate model use and test models"

- Home > Modelica

## Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.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.Fluid.HeatExchangers.CoolingTowers.Correlations.

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

### Package Content

Name | Description
--- | ---
YorkCalc | Example for yorkCalc correlation

## Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc

Example for yorkCalc correlation

### Information

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

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
TemperatureDifference | TRan | 5.56 | Range temperature (water in - water out) [K]
Temperature | TAirInWB | 25.55 + 273.15 | Inlet air wet bulb temperature [K]

### Modelica definition

model YorkCalc "Example for yorkCalc correlation" extends Modelica.Icons.Example; parameter Modelica.SIunits.TemperatureDifference TRan = 5.56 "Range temperature (water in - water out)"; parameter Modelica.SIunits.Temperature TAirInWB = 25.55 + 273.15 "Inlet air wet bulb temperature"; Modelica.SIunits.MassFraction x "Independent variable"; Modelica.SIunits.TemperatureDifference TApp_Wat "Approach temperature as a function of FRWat"; Modelica.SIunits.TemperatureDifference TApp_Air "Approach temperature as a function of FRAir"; equation x = 0.25+time; TApp_Wat=Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.yorkCalc(TRan=TRan, TWetBul=TAirInWB, FRWat=x, FRAir=1); TApp_Air=Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.yorkCalc(TRan=TRan, TWetBul=TAirInWB, FRWat=1, FRAir=x); end YorkCalc;