1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
|
{
"metadata": {
"name": "",
"signature": "sha256:f7a19d25377671432cfde9f9d56148d23c8e97851f20fd5f765a471e71e2f5a2"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 15: Steam Condenser"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 1, page no. 695"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
" \n",
"\n",
"#Variable Declaration: \n",
"h = 71 #Height of mercury column in condenser(in mm of Hg):\n",
"d = 0.0135951 #Density of mercury(in kg/cm**3):\n",
"g = 9.81 #Acceleration due to gravity(in m/s**2):\n",
"mw = 800 #Rate at which cooling water is circulated(in kg/min):\n",
"ms = 25 #Condensate available at(in kg/min):\n",
"R = 0.287 #Gas constant(in kJ/kg.K):\n",
"Cpw = 4.18 #Specific heat of water(in kJ/kg.K):\n",
"#From steam tables:\n",
"ps = 5.62 #kPa\n",
"hf = 146.68 #kJ/kg\n",
"hfg = 2418.6 #kJ/kg\n",
"\n",
"#Calculations:\n",
"pt = (76-h)*10**(-2)*d*10**6*9.81*10**(-3)#Absolute pressure in the condenser(in kPa):\n",
"pa = pt-ps #Partial pressure of air(in kPa):\n",
"ma = pa/((273+35)*R) #Mass of air per m**3 of condenser volume:\n",
"hs = mw/ms*Cpw*(25-15)+Cpw*30#Enthalpy of steam(in kJ/kg):\n",
"x = (hs-hf)/hfg#Dryness fraction of the steam entering:\n",
"n = h*d*10**4*g/(76*d*10**4*g-ps*10**3)*100#Vacuum efficiency:\n",
"\n",
"#Results: \n",
"print \"Mass of air of condenser volume: \",round(ma,3),\"kg/m**3\"\n",
"print \"Dryness fraction of steam entering: \",round(x,4)\n",
"print \"Vacuum efficiency: \",round(n,2),\"%\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Mass of air of condenser volume: 0.012 kg/m**3\n",
"Dryness fraction of steam entering: 0.5442\n",
"Vacuum efficiency: 98.9 %\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 2, page no. 695"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
" \n",
"\n",
"#Variable Declaration: \n",
"h = 70 #Height of mercury column in condenser(in mm of Hg):\n",
"d = 0.0135951 #Density of mercury(in kg/cm**3):\n",
"g = 9.81 #Acceleration due to gravity(in m/s**2):\n",
"r = 2500 #Leakage of air in condenser:\n",
"R = 0.287 #Gas constant(in kJ/kg.K):\n",
"#From steam tables:\n",
"ps = 4.246 #kPa \n",
"vg = 32.89 #m**3/kg\n",
"\n",
"#Calculations:\n",
"pt = (76-h)*10**(-2)*d*10**6*9.81*10**(-3)#Absolute pressure in the condenser(in kPa):\n",
"pa = pt-ps #Partial pressure of air(in kPa):\n",
"m = 1/r #Mass of air accoumpanying per kg of steam due to leakage(in kg):\n",
"v = m*R*(273+30)/pa #Volume of air per kg of steam(in m**3/kg):\n",
"m1 = v/vg #Mass of water vapour accompanying air:\n",
"\n",
"#Results: \n",
"print \"Capacity of air pump: \",round(v*10**3,2),\" x 10^-3 m**3 per kg steam\"\n",
"print \"Mass of water vapour accompanying air: \",round(m1*10**4,2),\" x 10^-4 kg/kg of steam\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Capacity of air pump: 9.26 x 10^-3 m**3 per kg steam\n",
"Mass of water vapour accompanying air: 2.82 x 10^-4 kg/kg of steam\n"
]
}
],
"prompt_number": 5
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 3, page no. 696"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
"\n",
"#Variable Declaration: \n",
"h = 67 #Height in mercury column in condenser(in cm):\n",
"pt = 10.67 #Absolute pressure in the condenser(in kPa):\n",
"ps = 7.384 #Partial pressure of steam(in kPa):\n",
"ms = 50 #Mass flow rate of steam(in kg/min):\n",
"mw = 1000 #Mass flow rate of water(in kg/min):\n",
"Cpw = 4.18 #Specific heat of water(in kJ/kg.K):\n",
"R = 0.287 #Gas constant(in kJ/kg.K):\n",
"d = 0.0135951 #Density of mercury(in kg/cm**3):\n",
"g = 9.81 #Acceleration due to gravity(in m/s**2):\n",
"#From steam tables:\n",
"hf = 167.57 #kJ/kg \n",
"hfg = 2406.7 #kJ/kg\n",
"vg = 19.52 #m**3/kg\n",
"\n",
"#Calculations:\n",
"cv = 76-(75-h) #Corrected vacuum(in cm):\n",
"pa = pt-ps #Partial pressure of air(in kPa):\n",
"n = h*d*10**4*g/(75*d*10**4*g-ps*10**3)*100\t#VAcuum efficiency:\n",
"u = 40-35 #Undercooling of condensate(in C):\n",
"n1 = (25-10)/(46.9-10)*100 #Condenser efficiency:\n",
"h = mw/ms*Cpw*(25-10)+Cpw*40 #Enthalpy of steam(in kJ/kg):\n",
"x = (h-hf)/hfg #Dryness fraction:\n",
"m = pa/(R*(273+40)) #Mass of air per m**3 of condenser volume(in kg/m**3):\n",
"m1 = pa*vg/(R*(273+40)) #Mass of air in 1kg of uncondensate steam(in kg):\n",
"\n",
"#Results:\n",
"print \"Corrected vacuum: \",round(cv,2),\"cm of Hg\"\n",
"print \"Vacuum efficiency: \",round(n,2),\"%\"\n",
"print \"Undercooling: \",round(u,2),\"\u00b0C\"\n",
"print \"Dryness fraction of steam entering: \",round(x,4)\n",
"print \"Mass of air/m**3 of condenser volume: \",round(m,4),\"kg/m**3\"\n",
"print \"Mass of air in per kg of uncondensate steam: \",round(m1,3),\"kg\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Corrected vacuum: 68.0 cm of Hg\n",
"Vacuum efficiency: 96.45 %\n",
"Undercooling: 5.0 \u00b0C\n",
"Dryness fraction of steam entering: 0.5209\n",
"Mass of air/m**3 of condenser volume: 0.0366 kg/m**3\n",
"Mass of air in per kg of uncondensate steam: 0.714 kg\n"
]
}
],
"prompt_number": 7
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4, page no. 697"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
" \n",
"from math import pi\n",
"\n",
"#Variable Declaration: \n",
"h = 69 #Height in mercury column in condenser(in cm):\n",
"T1 = 30 #Inlet temperature(in \u00b0C):\n",
"L = 60 #Leakage(in kg/hr):\n",
"d = 0.0135951 #Density of mercury(in kg/cm**3):\n",
"g = 9.81 #Acceleration due to gravity(in m/s**2):\n",
"R = 0.287 #Gas constant(in kJ/kg.K):\n",
"n = 240 #Rpm of engine:\n",
"r = 1.5 #L/D ratio:\n",
"#From steam tables:\n",
"ps = 4.246 #kPa \n",
"vg = 32.89 #m**3/kg\n",
"pt = (76-h)*d*10**4*g #Absolute pressure at inlet to air pump(in kPa):\n",
"pa = 5.09 #Partial pressure of air(in kPa):\n",
"V = L*R*(273+T1)/pa #Volume of 60 kg air(in m**3/hr):\n",
"D = ((V*4)/(pi*r*n*60))**(1/3)*100 #Bore diameter(in cm):\n",
"l = D*r #Stroke length(in cm):\n",
"m = V/vg #Mass of water vapour extracted with air(in kg/hr):\n",
"\n",
"#Results: \n",
"print \"Capacity of air pump: \",round(V,1),\"m**3/hr\"\n",
"print \"Bore: \",round(D,2),\"cm\"\n",
"print \"Stroke: \",round(l,2),\"cm\"\n",
"print \"Mass of water vapour extracted with air: \",round(m,2),\"kg/hr\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Capacity of air pump: 1025.1 m**3/hr\n",
"Bore: 39.24 cm\n",
"Stroke: 58.86 cm\n",
"Mass of water vapour extracted with air: 31.17 kg/hr\n"
]
}
],
"prompt_number": 9
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 5, page no. 698"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
" \n",
"\n",
"#Variable Declaration: \n",
"h = 70 #Height in mercury column in condenser(in cm):\n",
"T = 30+273 #Inlet temperature(in K):\n",
"m = 5*10**(-4) #Leakage(in kg/kg of steam):\n",
"d = 0.0135951 #Density of mercury(in kg/cm**3):\n",
"g = 9.81 #Acceleration due to gravity(in m/s**2):\n",
"R = 0.287 #Gas constant(in kJ/kg.K):\n",
"Cpw = 4.18 #Specific heat of water(in kJ/kg.K):\n",
"dT = 15 #Increase in temperature of cooling water(in K):\n",
"x = 0.90 #Dryness fraction:\n",
"#From steam tables:\n",
"hf = 125.79 #kJ/kg\n",
"hfg = 2430.5 #kJ/kg\n",
"vg = 32.89 #m**3/kg\n",
"ps = 4.246 #kPa\n",
"\n",
"#Calculations:\n",
"pt = (77-h)*d*10**4*g #Absolute pressure in condenser(in kPa):\n",
"pa = 5.094 #Partial pressure of air(in kPa):\n",
"V = m*10**3*R*T/pa #Volume of air extracted per minute(in m**3/min):\n",
"ms = V/vg #Mass of steam extracted in maixture(in kg/min):\n",
"mt = m*10**3+ms #Mass handled by air extraction pump(in kg/min):\n",
"h = hf+x*hfg #Enthalpy of steam entering(in kJ/kg):\n",
"mw = 1000*(h-Cpw*T)/(Cpw*dT) #Water circulation rate(in kg/min):\n",
"\n",
"#Results: \n",
"print \"Mass handled by air pump: \",round(mt,4),\"kg/min\"\n",
"print \"Water circulation rate: \",round(mw,2),\"kg/min\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Mass handled by air pump: 0.7595 kg/min\n",
"Water circulation rate: 16693.78 kg/min\n"
]
}
],
"prompt_number": 11
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 6, page no. 699"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
" \n",
"#Variable Declaration: \n",
"h = 70 #Height in mercury column in condenser(in cm):\n",
"T = 30+273 #Inlet temperature(in K):\n",
"x = 0.85 #Dryness fraction:\n",
"m = 300 #Rate at which steam enters(in kg/min):\n",
"v = 50 #Velocity of water flow:\n",
"ph = 5 #Pressure head(in m):\n",
"d = 0.0135951 #Density of mercury(in kg/cm**3):\n",
"g = 9.81 #Acceleration due to gravity(in m/s**2):\n",
"R = 0.287 #Gas constant(in kJ/kg.K):\n",
"Cpw = 4.18 #Specific heat of water(in kJ/kg.K):\n",
"#From steam tables:\n",
"ps = 4.246 #kPa \n",
"mw = 7415 #kg/min\n",
"A = 24.79 #Cooling surface area required(in m**2):\n",
"\n",
"#Calculations:\n",
"pt = (76-h)*d*10**4*g #Absolute pressure in condenser(in kPa):\n",
"pa = pt-ps #Partial pressure of air(in kPa):\n",
"V = mw/1000 #Volume flow of water(in m**3/min):\n",
"a = V/v #Flow surface area required(in m**2):\n",
"vh = 1/2*(v/60)**2/g #Velocity head present(in m):\n",
"th = ph+vh #Total head required(in m):\n",
"\n",
"#Results:\n",
"print \"Flow surface area required: \",round(a,4),\"m**2\" \n",
"print \"Cooling surface area required: \",round(A,2),\"m**2\"\n",
"print \"Head required: \",round(th,4),\"m\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Flow surface area required: 0.1483 m**2\n",
"Cooling surface area required: 24.79 m**2\n",
"Head required: 5.0354 m\n"
]
}
],
"prompt_number": 13
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 7, page no. 700"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
" \n",
"#Variable Declaration: \n",
"m1 = 350 #Mass of steam entering(in kg/min):\n",
"v = 0.02 #Volume of water required(in m**3 per kg steam):\n",
"r = 0.05/100 #Amount of air mass going into condenser:\n",
"r1 = 5/100 #Volume of air dissolved in the water injected:\n",
"h = 68 #Height in mercury column in condenser(in cm):\n",
"T = 20+273 #Inlet temperature(in K):\n",
"p = 101.3 #Atmospheric pressure(in kPa):\n",
"d = 0.0135951 #Density of mercury(in kg/cm**3):\n",
"g = 9.81 #Acceleration due to gravity(in m/s**2):\n",
"R = 0.287 #Gas constant(in kJ/kg.K):\n",
"Cpw = 4.18 #Specific heat of water(in kJ/kg.K):\n",
"n = 0.90 #Volumetric efficiency:\n",
"#From steam tables:\n",
"ps = 4.246 #kPa \n",
"vf = 0.001004 #m**3/kg\n",
"\n",
"#Calculations:\n",
"pt = (76-h)*d*10**4*g*10**(-3)#Absolute pressure in condenser(in kPa):\n",
"pa = pt-ps #Partial pressure of air(in kPa):\n",
"V1 = m1*v #Volume of cooling water required per minute(in m**3/min):\n",
"m2 = m1*r #Mass of air going into condenser(in kg/min):\n",
"V = V1*r1 #Volume of air entering per minute with cooling water(in m**3/min):\n",
"m = p*V/(R*T) #Mass of air with cooling water(in kg):\n",
"mt = m+m2 #Total mass of air inside condenser(in kg):\n",
"V2 = mt*R*(273+30)/pa #Volume of air corresponding:\n",
"V3 = m1*vf #Volume of steam condensed(in m**3/min):\n",
"Vt = V3+V2+V1 #Total volume(in m**3/min):\n",
"C = Vt/n #Actual capacity of air pump(in m**3/min):\n",
"\n",
"#Results: \n",
"print \"Capacity of air pump: \",round(C,2),\"m**3/min\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Capacity of air pump: 17.14 m**3/min\n"
]
}
],
"prompt_number": 15
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 8, page no. 701"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
"\n",
"#Variable Declaration: \n",
"H = 65 #Height in mercury column in condenser(in cm):\n",
"ms = 20 #Rate at which steam enters(in kg/min):\n",
"m = 12 #Mass of cooling water per kg of steam:\n",
"H1 = 66 #Height in mercury column in air pump(in cm):\n",
"p = 101.3 #Atmospheric pressure(in kPa):\n",
"d = 0.0135951 #Density of mercury(in kg/cm**3):\n",
"g = 9.81 #Acceleration due to gravity(in m/s**2):\n",
"R = 0.287 #Gas constant(in kJ/kg.K):\n",
"Cpw = 4.18 #Specific heat of water(in kJ/kg.K):\n",
"#From steam tables:\n",
"ps = 7.384 #kPa\n",
"ps1 = 5.628 #kPa\n",
"hf = 167.57 #kJ/kg\n",
"hfg = 2406.7 #kJ/kg\n",
"\n",
"#Calculations:\n",
"pt = (76-H)*d*10**4*g*10**(-3) #Absolute pressure in condenser(in kPa):\n",
"pa = pt-ps #Partial pressure of air(in kPa):\n",
"mw = m*ms #Cooling water required(in kg/min):\n",
"h = ((ms+mw)*Cpw*40-mw*Cpw*20)/ms #Enthalpy of steam entering:\n",
"x = (h-hf)/hfg #Dryness fraction of steam entering:\n",
"pt1 = (76-H1)*d*10**4*g*10**(-3) #Absolute partial pressure at suction in air pump(in kPa): \n",
"pa1 = pt1-ps1 #Partial pressure of air(in kPa):\n",
"V = 2 #Volume of mixture(in m**3):\n",
"m1 = pa1*V/(R*(273+35)) #Mass of air entering(in kg/min):\n",
"H2 = (p-pt)/(g*d*10**3) #Head(in m):\n",
"\n",
"#Results: \n",
"print \"Dryness fraction of steam entering: \",round(x,3)\n",
"print \"Mass of air entering: \",round(m1,4),\"kg/min\"\n",
"print \"Head: \",round(H2,4),\"m\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Dryness fraction of steam entering: 0.417\n",
"Mass of air entering: 0.1744 kg/min\n",
"Head: 0.6496 m\n"
]
}
],
"prompt_number": 17
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 9, page no. 702"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
"\n",
"#Variable Declaration: \n",
"m = 3 #Leakage(in kg/min):\n",
"g = 9.81 #Acceleration due to gravity(in m/s**2):\n",
"R = 0.287 #Gas constant(in kJ/kg.K):\n",
"#From steam tables:\n",
"ps = 5.628 #kPa\n",
"ps1 = 5.075 #kPa\n",
"ps2 = 5.352 #kPa\n",
"pt = ps #Absolute pressure in condenser(in kPa):\n",
"\n",
"#Calculations:\n",
"pa1 = pt-ps1 #Partial pressure of air(in kPa):\n",
"V1 = m*R*(273+33)/pa1 #Volume of air handled by air pump(in m**3/hr):\n",
"pa2 = pt-ps2 #Partial pressure of air(in kPa):\n",
"V2 = m*R*(273+34)/pa2 #Volume of mixture handled(in m**3/hr):\n",
"\n",
"#Results: \n",
"print \"Volume of air handled: \",round(V1,2),\"m**3/hr\"\n",
"print \"Volume of mixture handled: \",round(V2,2),\"m**3/hr\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Volume of air handled: 476.43 m**3/hr\n",
"Volume of mixture handled: 957.71 m**3/hr\n"
]
}
],
"prompt_number": 19
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 10, page no. 703"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
"\n",
"#Variable Declaration: \n",
"H1 = 72 #Height in mercury column at inlet in condenser(in cm):\n",
"H2 = 73 #Height in mercury column at outlet in condenser(in cm):\n",
"x = 0.92 #Dryness fraction:\n",
"d = 0.0135951 #Density of mercury(in kg/cm**3):\n",
"g = 9.81 #Acceleration due to gravity(in m/s**2):\n",
"R = 0.287 #Gas constant(in kJ/kg.K):\n",
"Cpw = 4.18 #Specific heat of water(in kJ/kg.K):\n",
"#From steam tables:\n",
"hf = 141.97 #kJ/kg\n",
"hfg = 2421.33 #kJ/kg\n",
"Tsat1 = 33.87 #\u00b0C\n",
"Tsat2 = 28.96 #\u00b0C\n",
"\n",
"#Calculations:\n",
"p1 = (76-H1)*d*10**4*g*10**(-3) #Inlet pressure in condenser(in kPa):\n",
"p2 = (76-H2)*d*10**4*g*10**(-3) #Outlet pressure in the condenser(in kPa):\n",
"u = Tsat1-Tsat2 #Undercooling(in C):\n",
"h = hf+x*hfg #Enthalpy of steam entering(in kJ/kg):\n",
"m = (h-Cpw*Tsat2)/(Cpw*13.87) #Cooling water requirement(in kg/kg steam):\n",
"\n",
"#Results: \n",
"print \"Undercooling: \",round(u,2),\"\u00b0C\"\n",
"print \"Cooling water requirement: \",round(m,2),\"kg/kg steam\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Undercooling: 4.91 \u00b0C\n",
"Cooling water requirement: 38.78 kg/kg steam\n"
]
}
],
"prompt_number": 21
}
],
"metadata": {}
}
]
}
|