# Chapter 18 Refrigeration¶

## Ex:18.1 Pg:784¶

In :
#Initialization of variables
Ta=500 #R
Tr=540 #R
#calculations
cop=Ta/(Tr-Ta)
hp=4.71/cop
print "From steam tables,"
ha=48.02
hb=46.6
hc=824.1
hd=886.9
Wc=-(hd-hc)
We=-(hb-ha)
#results
print "Coefficient of performance = %.1f "%(cop)
print "\n horsepower required per ton of refrigeration = %.3f hp/ton refrigeration"%(hp)
print "\n Work of compression = %.1f Btu/lbm"%(Wc)
print "\n Work of expansion = %.2f Btu/lbm"%(We)

From steam tables,
Coefficient of performance = 12.0

horsepower required per ton of refrigeration = 0.393 hp/ton refrigeration

Work of compression = -62.8 Btu/lbm

Work of expansion = 1.42 Btu/lbm


## Ex:18.2 Pg:785¶

In :
#Initialization of variables
x=0.8
he=26.28 #Btu/lbm
hb=26.28 #Btu/lbm
pe=98.76 #psia
pc=51.68 #psia
hc=82.71 #Btu/lbm
hf=86.80+0.95
#calculations
dwisen=-(hf-hc)
dwact=dwisen/x
hd=hc-dwact
cop=(hc-hb)/(hd-hc)
#results
print "Coefficient of performance = %.2f"%(cop)

Coefficient of performance = 8.96


## Ex:18.3 Pg:785¶

In :
#Initialization of variables
hc=613.3#btu/lbm
hb=138.9#btu/lbm
ha=138.9#btu/lbm
hd=713.4 #btu/lbm
ta=464.7 #R
t0=545.7 #R
v=8.150 #ft**3/lbm
#calculations
Qa=hc-hb
Qr=ha-hd
Wcd=Qa+Qr
cop=abs(Qa/Wcd)
hp=abs(4.71/cop)
carnot=abs(ta/(t0-ta))
rel=abs(cop/carnot)
mass=200/Qa
C=mass*v
#results
print "Work done = %.1f Btu/lbm"%(Wcd)
print "\n horsepower required per ton of refrigeration = %.3f hp/ton refrigeration"%(hp)
print "\n Coefficient of performance actual = %.2f "%(cop)
print "\n Ideal cop = %.3f"%(carnot)
print "\n relative efficiency = %.3f"%(rel)
print "\n Mass flow rate = %.3f lbm/min ton"%(mass)
print "\n Compressor capacity = %.2f cfm/ton"%(C)

Work done = -100.1 Btu/lbm

horsepower required per ton of refrigeration = 0.994 hp/ton refrigeration

Coefficient of performance actual = 4.74

Ideal cop = 5.737

relative efficiency = 0.826

Mass flow rate = 0.422 lbm/min ton

Compressor capacity = 3.44 cfm/ton


## Ex:18.4 Pg:786¶

In :
#Initialization of variables
pc=0.6982 #psia
pe=0.1217 #psia
m=200 #gal/min
qual=0.98
h1=23.07 #Btu/lbm
h2=8.05  #Btu/lbm
hw=1071.3
#calculations
rp=pc/pe
m2=m/0.01602 *0.1388 #Conversion of units
m2=1670
dh=15.02
Qa=m2*(h1-h2)
h3=h2 + qual*hw
m3=Qa/(h3-h1)
v=0.016+ qual*2444
C=m3*v
#results
print "Pressure ratio = %.2f"%(rp)
print "\n Heat = %d Btu/min"%(Qa)
print "\n Water make up required = %.2f lbm/min"%(m3)
print "\n Volume of vapor entering ejector = %d cfm"%(C)
print "The answers are a bit different due to rounding off error in textbook"

Pressure ratio = 5.74

Heat = 25083 Btu/min

Water make up required = 24.24 lbm/min

Volume of vapor entering ejector = 58054 cfm
The answers are a bit different due to rounding off error in textbook


## Ex:18.5 Pg:787¶

In :
#Initialization of variables
print "From fig B-4,"
print "Appropraite notation from textbook has been used"
print "All are enthalpy values at different stages"
hc=73.5 #Btu/lbm
hb=26.28 #Btu/lbm
hd=91.58 #Btu/lbm
hc2=190.7 #Btu/lbm
hd2=244.3 #Btu/lbm
hb2=44.4 #Btu/lbm
m1=1 #lbm
m2=0.461 #lbm
hc1=73.5 #Btu/lbm
hd1=83.35 #Btu/lbm
hc2=190.7 #Btu/lbm
hd2=244.3 #Btu/lbm
hb1=12.55 #Btu/lbm
hc22=197.58 #Btu/lbm
hd22=224 #Btu/lbm
#Calculations
w1=hc-hd
qa1=hc-hb
cop1=abs(qa1/(w1))
hp1=4.71/cop1
w2=hc2-hd2
qa2=hc2-hb2
cop2=abs(qa2/(w2))
hp2=4.71/cop2
qa3=m1*(hc1-hb1)
w3=m1*(hc1-hd1) + m2*(hc22-hd22)
cop3=abs(qa3/w3)
hp3=4.71/cop3
#results
print "part a"
print "Work done = %.2f Btu/lbm"%(w1)
print "\n Heat = %.2f Btu/lbm"%(qa1)
print "\n horsepower required per ton of refrigeration = %.3f hp/ton refrigeration"%(hp1)
print "\n Coefficient of performance actual = %.2f "%(cop1)
print "case 2"
print "\n Work done = %.1f Btu/lbm"%(w2)
print "\n Heat = %.2f Btu/lbm"%(qa2)
print "\n horsepower required per ton of refrigeration = %.3f hp/ton refrigeration"%(hp2)
print "\n Coefficient of performance actual = %.2f "%(cop2)
print "part b"
print "\n Work done = %.1f Btu/lbm"%(w3)
print "\n Heat = %.2f Btu/lbm"%(qa3)
print "\n horsepower required per ton of refrigeration = %.3f hp/ton refrigeration"%(hp3)
print "\n Coefficient of performance actual = %.2f "%(cop3)

From fig B-4,
Appropraite notation from textbook has been used
All are enthalpy values at different stages
part a
Work done = -18.08 Btu/lbm

Heat = 47.22 Btu/lbm

horsepower required per ton of refrigeration = 1.803 hp/ton refrigeration

Coefficient of performance actual = 2.61
case 2

Work done = -53.6 Btu/lbm

Heat = 146.30 Btu/lbm

horsepower required per ton of refrigeration = 1.726 hp/ton refrigeration

Coefficient of performance actual = 2.73
part b

Work done = -22.0 Btu/lbm

Heat = 60.95 Btu/lbm

horsepower required per ton of refrigeration = 1.702 hp/ton refrigeration

Coefficient of performance actual = 2.77


## Ex:18.6 Pg:788¶

In :
#Initialization of variables
print "From fig B-4,"
print "Appropraite notation from textbook has been used"
print "All are enthalpy values at different stages"
ha=44.36 #Btu/lbm
hc=18.04 #Btu/lbm
hj=197.58 #Btu/lbm
hh=213.5 #Btu/lbm
hd=hc #Btu/lbm
he=190.66 #Btu/lbm
hk=241.25 #Btu/lbm
#calculations
m=(hc-ha)/(ha-hj)
hi=(m*hj+hh)/(1+m)
Qa=he-hd
W=he-hh + (1+m)*(hi-hk)
cop=abs(Qa/W)
hp=4.71/cop
#results
print "\n horsepower required per ton of refrigeration = %.3f hp/ton refrigeration"%(hp)
print "\n Coefficient of performance actual = %.2f "%(cop)

From fig B-4,
Appropraite notation from textbook has been used
All are enthalpy values at different stages

horsepower required per ton of refrigeration = 1.585 hp/ton refrigeration

Coefficient of performance actual = 2.97