EES AppendixA
EES AppendixA
Appendix A
Cooling tower
{This program simulates the behavior of a cooling tower. The tower coefficients n and c
have to be specified. Ambient temperatures, water inlet temperature and air and water
flow rates have to be specified. Calculated is the water outlet temperature, the exhaust air
properties and and the evaporation rate of water.}
"********************************************************************"
"INPUT OF PARAMETERS"
"CONSTANT PROPERTIES"
"atmospheric pressure, assumed constant"
patm=14.7 "[psia]"
"specific heat of water, assumed to be constant"
cpw=SpecHeat(Water,T=85,P=patm) "[BTU/lb*F]"
"density of water, assumed to be constant"
"density of water"
dens=1/Volume (Water,T=85,p=patm) "[lb/ft^3]"
"TOWER COEFFICIENTS"
c=2.266
n=-0.2567
"****************************************************************"
"PERFORMANCE CALCULATION"
"AIR PROPERTIES"
"specific volume of air"
vsp_in1=Volume(AirH2O,T=Tdb_in1,P=patm,B=Twb_in1) "[ft^3/lb]"
"mass flow rate of air"
mair1=Vair1/vsp_in1*60 "[lbm/hr]"
"air inlet enthalpy"
hair_in1=Enthalpy(AirH2O,T=Tdb_in1,P=patm,B=Twb_in1) "[BTU/lb]"
"specific heat of air, assumed to be constant in calculation"
cpa1=SpecHeat(AirH2O,T=Tdb_in1,P=patm,B=Twb_in1) "BTU/lb*F"
"Enthalpy of saturated air"
hwin1=Enthalpy(AirH2O,T=Twat_in1,P=patm,R=1)
hwout1=Enthalpy(AirH2O,T=Twat_out1,P=patm,R=1)
"effective specific heat"
cs1=(hwin1-hwout1)/(Twat_in1-Twat_out1)
"inlet humidity ratio"
win1=HumRat(AirH2O,T=Tdb_in1,P=patm,B=Twb_in1)
"WATER PROPERTIES"
"relations to calculate range and approach"
Twat_in1=Twb_in1+appr1+range1 "[F]"
Twat_out1=Twb_in1+appr1 "[F]"
"MASS BALANCE"
"water side mass balance"
mwat_in1-mwat_out1=mair1*(wout1-win1)
"percent evaporation"
dm1=(mwat_in1-mwat_out1)/mwat_out1*100 "[%]"
"effective surface humidity ratio and enthalpy"
hair_eff1=hair_in1+(hair_out1-hair_in1)/(1-exp(-Ntu1))
3
w_eff1=HumRat(AirH2O,H=hair_eff1,P=patm,R=1)
wout1=w_eff1+(win1-w_eff1)*exp(-Ntu1)
"air outlet states"
hair_out1=Enthalpy(AirH2O,T=Tdb_out1,P=patm,w=wout1)
Twb_out1=WetBulb(AirH2O,T=Tdb_out1,P=patm,w=wout1)
4
Parameters:
2 Flow geometry
As there is only one fan speed and the towers are always run at
maximum air flow rate, the power requirement is equal to the fan
power measured in the performance test
This air flow rate defines the air flow rate associated with natural
5
7 Sump volume
As the sump volume is assumed to be zero, the value for this parameter
is not significant
If the cooling tower routine is used in that way that a performance dat file is supplied
(see parameter 1) parameters 9 and 10 are spedified in the following way.
The format of the performance data file can be found in the TRNSYS manual.
Parameters 9 and 10 could also be used to specify the tower coefficients directly, but
this option is not used in the simulation process
11 Print option
Inputs
As the fans are always run at maximum power, that is maximum flow
rate of air, this variable will not be changed through the simulation and
always be equal to one, which corresponds to maximum fan speed.
The parameters and inputs are specified in a TRNSYS deck (see chapter 4.1.1). All the
parameters and inputs supplied the TRNSYS program is able to calculate the outputs that
are needed to for the simulation of the cooling cycle. The outputs calculated are defined
as follows.
Outputs
5 Mixed outlet temperature from tower cells that is the inlet temperature
to the sump.
The outputs that will be used in the system simulation are the water outlet
temperature and the fan power requirement, although the fan power requirement can also
be obtained by simply using the maximum fan power for one fan, as there is only one fan
speed. The water outlet temperature that will be used can either be the sump temperature
or the cell outlet temperature as a sump volume of zero is assumed. As was stated above,
the water flow rate will be assumed to be constant and therefore the exit water flow rate
is not used.
This TRNSYS routine has the capability to read up to 50 operating data points from an
input file and find the tower coefficients by a least square fit. In the simulation for this
work, only two data points for each tower are available from the performance test.