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
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
|
{
"metadata": {
"name": "",
"signature": "sha256:abd75e2d0144cfdf6dd59935ddb4f9b5824ec80059ba3e73a72bf780292d0a06"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 12 : Vapour Power Cycles"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.1 Page No : 475"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variables\n",
"# Part (a)\n",
"P1 = 1e05;\n",
"P2 = 10e05;\n",
"vf = 0.001043;\n",
"\n",
"# Calculation and Results\n",
"Wrev = vf*(P1-P2);\n",
"print \"The work required in saturated liquid form is\",Wrev/1000,\"kJ/kg\"\n",
"\n",
"# Part (b)\n",
"h1 = 2675.5; \n",
"s1 = 7.3594;\n",
"s2 = s1;\n",
"h2 = 3195.5;\n",
"Wrev1 = h1-h2;\n",
"print \"The work required in saturated vapour form is\",Wrev1,\"kJ/kg\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The work required in saturated liquid form is -0.9387 kJ/kg\n",
"The work required in saturated vapour form is -520.0 kJ/kg\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.2 Page No : 476"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variables\n",
"h1 = 3159.3;\n",
"s1 = 6.9917;\n",
"h3 = 173.88; \n",
"s3 = 0.5926; \n",
"sfp2 = s3; \n",
"hfp2 = h3;\n",
"hfgp2 = 2403.1; \n",
"sgp2 = 8.2287;\n",
"vfp2 = 0.001008; \n",
"sfgp2 = 7.6361;\n",
"\n",
"# Calculation and Results\n",
"x2s = (s1-sfp2)/(sfgp2);\n",
"h2s = hfp2+(x2s*hfgp2);\n",
"\n",
"# Part (a)\n",
"P1 = 20e02; \n",
"P2 = 0.08e02;\n",
"h4s = vfp2*(P1-P2)+h3 ; \n",
"Wp = h4s-h3;\n",
"Wt = h1-h2s;\n",
"Wnet = Wt-Wp;\n",
"Q1 = h1-h4s;\n",
"n_cycle = Wnet/Q1;\n",
"print \"Net work per kg of steam is %.2f kJ/Kg\"%Wnet\n",
"print \"Cycle efficiency is %.3f\"%n_cycle\n",
"\n",
"# Part (b)\n",
"n_p = 0.8; \n",
"n_t = 0.8;\n",
"Wp_ = Wp/n_p;\n",
"Wt_ = Wt*n_t;\n",
"Wnet_ = Wt_-Wp_;\n",
"P = 100*((Wnet-Wnet_)/Wnet) ;\n",
"n_cycle_ = Wnet_/Q1;\n",
"P_ = 100*((n_cycle-n_cycle_)/n_cycle);\n",
"print \"Percentage reduction in net work per kg of steam is %.1f %%\"%P\n",
"print \"Percentage reduction in cycle efficiency is %.1f %%\"%P_\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Net work per kg of steam is 969.60 kJ/Kg\n",
"Cycle efficiency is 0.325\n",
"Percentage reduction in net work per kg of steam is 20.1 %\n",
"Percentage reduction in cycle efficiency is 20.1 %\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.3 Page No : 477"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variables\n",
"P1 = 0.08; \t\t\t# in bar\n",
"sf = 0.5926; \n",
"x2s = 0.85; \n",
"sg = 8.2287; \n",
"\n",
"# Calculation\n",
"s2s = sf+(x2s*(sg-sf));\n",
"s1 = s2s;\n",
"P2 = 16.832; \t\t\t# by steam table opposite to s1 in bar\n",
"h1 = 3165.54;\n",
"h2s = 173.88 + (0.85*2403.1);\n",
"h3 = 173.88;\n",
"vfp2 = 0.001;\n",
"h4s = h3 + (vfp2*(P2-P1)*100);\n",
"Q1 = h1-h4s;\n",
"Wt = h1-h2s;\n",
"Wp = h4s-h3;\n",
"n_cycle = 100*((Wt-Wp)/Q1);\n",
"Tm = (h1-h4s)/(s2s-sf);\n",
"\n",
"# Results\n",
"print \"The greatest allowable steam pressure at the turbine inlet is\",P2,\"bar\"\n",
"print \"Rankine cycle efficiency is %.2f %%\"%n_cycle\n",
"print \"Mean temperature of heat addition is %.2f K\"%Tm\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The greatest allowable steam pressure at the turbine inlet is 16.832 bar\n",
"Rankine cycle efficiency is 31.68 %\n",
"Mean temperature of heat addition is 460.66 K\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.4 Page No : 478"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variables\n",
"h1 = 3465.;\n",
"h2s = 3065.; \n",
"h3 = 3565.;\n",
"h4s = 2300.; \n",
"x4s = 0.88; \n",
"h5 = 191.83;\n",
"v = 0.001;\n",
"P = 150.; \t\t\t# in bar\n",
"\n",
"# Calculation\n",
"Wp = v*P*100;\n",
"h6s = 206.83;\n",
"Q1 = (h1-h6s)+(h3-h2s);\n",
"Wt = (h1-h2s)+(h3-h4s);\n",
"Wnet = Wt-Wp;\n",
"n_cycle = 100*Wnet/Q1;\n",
"sr = 3600/Wnet;\n",
"\n",
"# Results\n",
"print \"Quality at turbine exhaust is\",0.88\n",
"print \"Cycle efficiency is %.1f %%\"%n_cycle\n",
"print \"steam rate is %.2f Kg/kW h\"%sr\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Quality at turbine exhaust is 0.88\n",
"Cycle efficiency is 43.9 %\n",
"steam rate is 2.18 Kg/kW h\n"
]
}
],
"prompt_number": 8
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.5 Page No : 479"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variables\n",
"h1 = 3230.9; \n",
"s1 = 6.9212; \n",
"s2 = s1; \n",
"s3 = s1;\n",
"h2 = 2796; \n",
"sf = 0.6493; \n",
"sfg = 7.5009;\n",
"\n",
"# Calculation\n",
"x3 = (s3-sf)/sfg;\n",
"h3 = 191.83 + x3*2392.8;\n",
"h4 = 191.83; h5 = h4;\n",
"h6 = 640.23; h7 = h6;\n",
"m = (h6-h5)/(h2-h5);\n",
"Wt = (h1-h2)+(1-m)*(h2-h3);\n",
"Q1 = h1-h6;\n",
"n_cycle = 100*Wt/Q1;\n",
"sr = 3600/Wt;\n",
"s7 = 1.8607; s4 = 0.6493;\n",
"Tm = (h1-h7)/(s1-s7);\n",
"Tm1 = (h1-h4)/(s1-s4); \t\t\t# With out regeneration\n",
"dT = Tm-Tm1;\n",
"Wt_ = h1-h3;\n",
"sr_ = 3600/Wt_;\n",
"dsr = sr-sr_;\n",
"n_cycle_ = 100*(h1-h3)/(h1-h4);\n",
"dn = n_cycle-n_cycle_;\n",
"\n",
"# Results\n",
"print \"Efficiency of the cycle is %.2f %%\"%n_cycle\n",
"print \"Steam rate of the cycle is %.2f kg/kW h\"%sr\n",
"print \"Increase in temperature due to regeneration is %.1f degree centigrade\"%dT\n",
"print \"Increase in steam rate due to regeneration is %.1f kg/kW h\"%dsr\n",
"print \"Increase in Efficiency of the cycle due to regeneration is %.2f %%\"%dn\n",
"\n",
"# note: rounding error is there because of decimal points."
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Efficiency of the cycle is 36.07 %\n",
"Steam rate of the cycle is 3.85 kg/kW h\n",
"Increase in temperature due to regeneration is 27.4 degree centigrade\n",
"Increase in steam rate due to regeneration is 0.4 kg/kW h\n",
"Increase in Efficiency of the cycle due to regeneration is 1.90 %\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.6 Page No : 481"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variables\n",
"h1 = 3023.5; \n",
"s1 = 6.7664; \n",
"s2 = s1; \n",
"s3 = s1; \n",
"s4 = s1;\n",
"t_sat_20 = 212.;\n",
"t_sat_1 = 46.;\n",
"\n",
"# Calculation\n",
"dt = t_sat_20-t_sat_1;\n",
"n =3; \t\t\t# number of heaters\n",
"t = dt/n;\n",
"t1 = t_sat_20-t;\n",
"t2 = t1-t;\n",
"\n",
"# 0.1 bar\n",
"hf = 191.83; \n",
"hfg = 2392.8; \n",
"sf = 0.6493;\n",
"sg = 8.1502;\n",
"# At 100 degree\n",
"hf100 = 419.04; \n",
"hfg100 = 2257.0; \n",
"sf100 = 1.3069; \n",
"sg100 = 7.3549;\n",
"# At 150 degree\n",
"hf150 = 632.20; \n",
"hfg150 = 2114.3; \n",
"sf150 = 1.8418; \n",
"sg150 = 6.8379;\n",
"x2 = (s1-sf150)/4.9961;\n",
"h2 = hf150+(x2*hfg150);\n",
"x3 = (s1-sf100)/6.0480;\n",
"h3 = hf100+(x3*hfg100);\n",
"x4 = (s1-sf)/7.5010;\n",
"h4 = hf+(x4*hfg);\n",
"h5 = hf; h6 = h5;\n",
"h7 = hf100; h8 = h7;\n",
"h9 = 632.2; h10 = h9;\n",
"m1 = (h9-h7)/(h2-h7);\n",
"m2 = ((1-m1)*(h7-h6))/(h3-h6);\n",
"Wt = 1*(h1-h2)+(1-m1)*(h2-h3)+(1-m1-m2)*(h3-h4);\n",
"Q1 = h1-h9;\n",
"Wp = 0 ; \t\t\t# Pump work is neglected\n",
"n_cycle = 100*(Wt-Wp)/Q1;\n",
"sr = 3600/(Wt-Wp);\n",
"\n",
"# Results \n",
"print \"Net work per kg of stem is %.2f kJ/Kg\"%Wt\n",
"print \"Cycle efficiency is %.2f %%\"%n_cycle\n",
"print \"Stream rate is %.2f Kg/kW h\"%sr\n",
"\n",
"# rounding off error would be there."
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Net work per kg of stem is 798.64 kJ/Kg\n",
"Cycle efficiency is 33.40 %\n",
"Stream rate is 4.51 Kg/kW h\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.7 Page No : 483"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math \n",
"\n",
"# Variables\n",
"Ti = 2000.;\n",
"Te = 450.;\n",
"T0 = 300.;\n",
"Q1_dot = 100e03; \t\t\t# in kW\n",
"cpg = 1.1;\n",
"\n",
"# Calculation\n",
"wg = Q1_dot/(cpg*(Ti-Te));\n",
"af1 = wg*cpg*T0*((Ti/T0)-1-math.log(Ti/T0));\n",
"af2 = wg*cpg*T0*((Te/T0)-1-math.log(Te/T0));\n",
"afi = af1-af2;\n",
"h1 = 2801; h3 = 169; h4 = 172.8; h2 = 1890.2;\n",
"s1 = 6.068; s2 = s1; s3 = 0.576; s4 = s3;\n",
"Wt = h1-h2;\n",
"Wp = h4-h3;\n",
"Q1 = h1-h4;\n",
"Q2 = h2-h3;\n",
"Wnet = Wt-Wp;\n",
"ws = Q1_dot/2628;\n",
"afu = 38*(h1-h4-T0*(s1-s3));\n",
"I_dot = afi-afu;\n",
"Wnet_dot = ws*Wnet;\n",
"afc = ws*(h2-h3-T0*(s2-s3));\n",
"n2 = 100*Wnet_dot/af1;\n",
"\n",
"# Results\n",
"print \"The second law efficiency is %.1f %%\"%n2\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The second law efficiency is 47.3 %\n"
]
}
],
"prompt_number": 17
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.8 Page No : 485"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math \n",
"\n",
"# Variables\n",
"h1 = 2758.; # kJ/kg\n",
"h2 = 1817.; \n",
"h3 = 192.\n",
"h4 = 200.;\n",
"cpg = 1.1\n",
"\n",
"# Calculation and Results\n",
"Wt = h1-h2; \n",
"Wp = h4-h3;\n",
"Q1 = h1-h4; \n",
"Wnet = Wt-Wp;\n",
"n1 = Wnet/Q1;\n",
"WR = Wnet/Wt;\n",
"Q1_ = 100.;\n",
"PO = n1*Q1_;\n",
"cp = 1000.;\n",
"wg = (Q1_/(833.-450));\n",
"EIR = 59.3\n",
"n2 = PO/EIR ;\n",
"print (\"Part (a)\")\n",
"print \"n1 is %.1f %%\"%(n1*100)\n",
"print \"n2 is %.1f %%\"%(n2*100)\n",
"print \"Work ratio is %.3f\"%WR\n",
"\n",
"# Part (b)\n",
"h1b = 3398.; \n",
"h2b = 2130.\n",
"h3b = 192.; \n",
"h4b = 200.;\n",
"Wtb = 1268.; \n",
"Wpb = 8.; \n",
"Q1b = 3198.;\n",
"Wt = 1268.\n",
"Wp = 8.\n",
"n1b = (Wt-Wp)/Q1b;\n",
"WRb = (Wt-Wp)/Wtb;\n",
"EIRb = 59.3;\n",
"Wnetb = Q1b*n1b;\n",
"n2b = 36.5/EIRb;\n",
"print (\"\\nPart (b)\")\n",
"print \"n1 is %.1f %%\"%(n1b*100)\n",
"print \"n2 is %.1f %%\"%(n2b*100)\n",
"print \"Work ratio is %.3f\"%WRb\n",
"\n",
"# Part (c)\n",
"h1c = 3398.; \n",
"h2c = 2761.; \n",
"h3c = 3482.; \n",
"h4c = 2522.; \n",
"h5c = 192.; \n",
"h6c = 200.;\n",
"Wt1 = 637.; \n",
"Wt2 = 960.; \n",
"Wtc = Wt1+Wt2; Wpc = 8.;\n",
"Wnetc = 1589.; \n",
"Q1c = 3198+721.;\n",
"n1c = Wnetc/Q1c;\n",
"WRc = Wnetc/Wtc;\n",
"POc = Q1_*n1c;\n",
"EIRc = 59.3;\n",
"n2c = POc/EIRc;\n",
"print (\"\\nPart (c)\")\n",
"print \"n1 is %.1f %%\"%(n1c*100)\n",
"print \"n2 is %.1f %%\"%(n2c*100)\n",
"print \"Work ratio is %.3f\"%WRc\n",
"\n",
"# Part (d)\n",
"T3 = 318.8; T1 = 568.;\n",
"n1d = 1-(T3/T1);\n",
"Q1d = 2758-1316.;\n",
"Wnet = Q1d*n1d;\n",
"Wpd = 8.; \n",
"Wtd = 641.;\n",
"WRd = (Wtd-Wpd)/Wtd;\n",
"POd = Q1_*0.439;\n",
"EIRd = (Q1_/(833-593.))*cpg*((833.-300)-300*(math.log(833./300)));\n",
"n2d = POd/94.6;\n",
"print (\"\\nPart (d)\")\n",
"print \"n1 is %.1f %%\"%(n1d*100)\n",
"print \"n2 is %.1f %%\"%(n2d*100)\n",
"print \"Work ratio is %.3f\"%WRd\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Part (a)\n",
"n1 is 36.5 %\n",
"n2 is 61.5 %\n",
"Work ratio is 0.991\n",
"\n",
"Part (b)\n",
"n1 is 39.4 %\n",
"n2 is 61.6 %\n",
"Work ratio is 0.994\n",
"\n",
"Part (c)\n",
"n1 is 40.5 %\n",
"n2 is 68.4 %\n",
"Work ratio is 0.995\n",
"\n",
"Part (d)\n",
"n1 is 43.9 %\n",
"n2 is 46.4 %\n",
"Work ratio is 0.988\n"
]
}
],
"prompt_number": 25
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.9 Page No : 488"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variables\n",
"hfg = 2202.6;\n",
"Qh = 5.83;\n",
"ws = Qh/hfg;\n",
"eg = 0.9; \t\t\t# efficiency of generator\n",
"P = 1000;\n",
"Wnet = 1000/0.9;\n",
"nbrake = 0.8;\n",
"\n",
"# Calculation\n",
"h1_2s = Wnet/(ws*nbrake); \t\t\t# h1-h2s\n",
"n_internal = 0.85;\n",
"h12 = n_internal*h1_2s;\n",
"hg = 2706.3; \n",
"h2 = hg;\n",
"h1 = h12+h2;\n",
"h2s = h1-h1_2s;\n",
"hf = 503.71;\n",
"x2s = (h2s-hf)/hfg;\n",
"sf = 1.5276; \n",
"sfg = 5.6020;\n",
"s2s = sf+(x2s*sfg);\n",
"s1 = s2s;\n",
"P1 = 22.5; \t\t\t# in bar from Moiller chart\n",
"t1 = 360;\n",
"\n",
"# Results\n",
"print \"Temperature of the steam is\",t1,\"degree\"\n",
"print \"Pressure of the steam is \",P1,\"bar\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Temperature of the steam is 360 degree\n",
"Pressure of the steam is 22.5 bar\n"
]
}
],
"prompt_number": 9
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.10 Page No : 489"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variables\n",
"h1 = 3037.3; h2 = 561+(0.96*2163.8);\n",
"s2 = 1.6718+(0.96*5.3201);\n",
"s3s = s2;\n",
"\n",
"# Calculation\n",
"x3s = (s3s-0.6493)/7.5009;\n",
"h3s = 191.83+(x3s*2392.8);\n",
"h23 = 0.8*(h2-h3s); \t\t\t# h2-h3\n",
"h3 = h2-h23;\n",
"h5 = 561.47; h4 = 191.83;\n",
"Qh = 3500.; \t\t\t# in kJ/s\n",
"w = Qh/(h2-h5);\n",
"Wt = 1500.;\n",
"ws = (Wt+w*(h2-h3))/(h1-h3); \n",
"ws_ = 3600.*ws ; \t\t\t# in kg/h\n",
"h6 = ((ws-w)*h4+w*h5)/ws;\n",
"h7 = h6;\n",
"n_boiler = 0.85;\n",
"CV = 44000.; \t\t\t# in kJ/kg\n",
"wf = (1.1*ws_*(h1-h7))/(n_boiler*CV);\n",
"\n",
"# Results\n",
"print \"Fuel buring rate is %.2f Kg/h\"%wf\n",
"print \"Wf = %.2f tonnes/day\"%(wf*24/1000)\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Fuel buring rate is 756.64 Kg/h\n",
"Wf = 18.16 tonnes/day\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.11 Page No : 491"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variables\n",
"h1 = 3285.; \n",
"h2s = 3010.\n",
"h3 = 3280.; \n",
"h4s = 3030.;\n",
"\n",
"# Calculation\n",
"h4 = h3-0.83*(h3-h4s);\n",
"h5s = 2225;\n",
"h5 = h4-0.83*(h4-h5s);\n",
"h6 = 162.7; h7 = h6;\n",
"h8 = 762.81;\n",
"h2 = h1-0.785*(h1-h2s);\n",
"m = (h8-h7)/(h4-h7);\n",
"n_cycle = ((h1-h2)+(h3-h4)+(1-m)*(h4-h5))/((h1-h8)+(h3-h2))\n",
"\n",
"# Results\n",
"print \"Steam flow at turbine inlet is %.3f Kg/s\"%m\n",
"print \"cycle efficiency is %.2f %%\"%(n_cycle*100)\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Steam flow at turbine inlet is 0.206 Kg/s\n",
"cycle efficiency is 35.92 %\n"
]
}
],
"prompt_number": 21
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.12 Page No : 493"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# From table and graph \n",
"\n",
"# Variables\n",
"h1 = 2792.2;\n",
"h4 = 122.96;\n",
"hb = 254.88;\n",
"hc = 29.98;\n",
"ha = 355.98;\n",
"hd = hc;\n",
"h2 = 1949.27;\n",
"\n",
"# Calculation and Results\n",
"m = (h1-h4)/(hb-hc); \t\t\t# Amount of mercury circulating\n",
"Q1t = m*(ha-hd);\n",
"W1t = m*(ha-hb) + (h1-h2);\n",
"Nov = W1t/Q1t ;\n",
"print \"Overall efficiency of the cycle %.2f %%\"%(Nov*100)\n",
"\n",
"S = 50000.; \t\t\t# Stem flow rate through turbine in kg/h\n",
"wm = S*m;\n",
"print \"Flow through the mercury turbine is %.2e Kg/h\"%wm\n",
"\n",
"Wt = W1t*S/3600;\n",
"print \"Useful work done in binary vapour cycle is %.2e kW\"%Wt\n",
"\n",
"nm = 0.85; \t\t\t# Internal efficiency of mercury turbine\n",
"ns = 0.87; \t\t\t# Internal efficiency of steam turbine\n",
"WTm = nm*(ha-hb);\n",
"hb_ = ha-WTm; \t\t\t# hb'\n",
"m_ = (h1-h4)/(hb_-hc); \t\t\t# m'\n",
"h1_ = 3037.3; \t\t\t# h'\n",
"Q1t = m_*(ha-hd)+(h1_-h1);\n",
"x2_ = (6.9160-0.4226)/(8.47-0.4226);\n",
"h2_ = 121+(0.806*2432.9);\n",
"WTst = ns*(h1_-h2_);\n",
"WTt = m_*(ha-hb_)+WTst;\n",
"Nov = WTt/Q1t;\n",
"\n",
"print \"Overall efficiency is %.1f %%\"%(Nov*100)\n",
"\n",
"# note : rounding off error."
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Overall efficiency of the cycle 52.80 %\n",
"Flow through the mercury turbine is 5.93e+05 Kg/h\n",
"Useful work done in binary vapour cycle is 2.84e+04 kW\n",
"Overall efficiency is 46.2 %\n"
]
}
],
"prompt_number": 4
}
],
"metadata": {}
}
]
}
|