summaryrefslogtreecommitdiff
path: root/sample_notebooks/KavinkumarD/Chapter_11__Impulse_and_Reaction_Turbines.ipynb
blob: 5415ad016eb476b20407465d719bbd5bbc22e8bc (plain)
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
{
 "metadata": {
  "name": "",
  "signature": "sha256:38f9fe4fd8a5c174c9e1dd9b5dc21976f4cdd814f7eb8fcfe0c266e278f9a77b"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 11 : Impulse and Reaction Turbines"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 11.1 and Page No:454"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "from __future__ import division\n",
      "\n",
      "#Variable declaration\n",
      "p02=6; # Inlet pressure in bar\n",
      "T02=900; # Inlet temperature in kelvin\n",
      "p0fs=1; # Outlet pressure in bar\n",
      "eff_isenT=0.85; # insentropic efficiency of turbine\n",
      "alpha_2=math.radians(75); # Nozzle outlet angle in degree and conversion to radians\n",
      "u=250; # Mean blade velocity in m/s\n",
      "Cp=1.15*10**3; # Specific heat in J/ kg K\n",
      "r=1.333; # Specific heat ratio\n",
      "\n",
      "#Calculations\n",
      "T0fs=T02/(p02/p0fs)**((r-1)/r); # Isentropic temperature at the exit of the final stage\n",
      "Del_Toverall=eff_isenT*(T02-T0fs); # Actual overall temperature drop\n",
      "c2=2*u/math.sin (alpha_2); # absolute velocity\n",
      "c3= c2*math.cos (alpha_2);# absolute velocity\n",
      "c1=c3; # From velocity triangles\n",
      "Del_Tstage=(c2**2-c1**2)/(2*Cp); # Stage temperature drop\n",
      "n=Del_Toverall/Del_Tstage; # Number of stages\n",
      "\n",
      "#Results\n",
      "print \"Number of stages n =\",round (n,0);\n",
      "\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Number of stages n = 3.0\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 11.2 and Page No:455"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "from __future__ import division\n",
      "\n",
      "#Variable declaration\n",
      "N=10000; # Speed of gas turbine in rpm\n",
      "T01=700+273.15; # Total head temperature at nozzle entry in kelvin\n",
      "P01=4.5; #Total head pressure at nozzle entry in bar\n",
      "P02=2.6; # Outlet pressure from nozzle in bar\n",
      "p3=1.5;# Pressure at trbine outlet annulus in bar\n",
      "M=0.5; # Mach number at outlet\n",
      "alpha_2=math.radians(70); # outlet nozzle angle in degrees and conversion to radians\n",
      "D=64; # Blade mean diameter in cm\n",
      "m=22.5; # Mass flow rate in kg/s\n",
      "eff_T=0.99; # turbine mechanical efficiency\n",
      "Cp=1.147; # Specific heat in kJ/kg K\n",
      "r=1.33; # Specific heat ratio\n",
      "fl=0.03; # frictional loss\n",
      "R=284.6; # characteristic gas constant in J/kg K\n",
      "\n",
      "#Calculations\n",
      "eff_N=1-fl; # Nozzle efficiency\n",
      "T_02=(P02/P01)**((r-1)/r)*T01; # Isentropic temperature after expansion\n",
      "T02=T01-eff_N*(T01-T_02); # Actual temperature after expansion\n",
      "c2=math.sqrt (2*Cp*10**3*(T01-T02)); # Absolute velocity\n",
      "u=(3.14*D*10**-2*N)/60; # Mean blade velocity\n",
      "# From velocity triangles\n",
      "wt2=c2*math.sin( (alpha_2))-u;\n",
      "ca=c2*math.cos( (alpha_2));\n",
      "beta_2=(math.atan((wt2)/ca));\n",
      "T3=T02/(P02/p3)**((r-1)/r); # Assuming rotor losses are negligible\n",
      "c3=M*math.sqrt (r*R*T3); # Absolute velocity\n",
      "beta_3=(math.atan(u/c3));\n",
      "ct2=c2*math.sin((alpha_2));\n",
      "P=eff_T*m*(ct2)*u/1000; # Power developed\n",
      "\n",
      "#Results\n",
      "print \"(i).\"\n",
      "print \"\\tGas angle at entry = \",round (math.degrees(beta_2),3),\"degree\"\n",
      "print \"\\tGas angle at exit = \",round (math.degrees(beta_3),3),\"degree\"\n",
      "print \"(ii).\"\n",
      "print \"\\tPower developed = \",round(P,3),\"kW   (roundoff error)\"\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "(i).\n",
        "\tGas angle at entry =  41.411 degree\n",
        "\tGas angle at exit =  51.609 degree\n",
        "(ii).\n",
        "\tPower developed =  3680.184 kW   (roundoff error)\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 11.3 and Page No:457"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "from __future__ import division\n",
      "\n",
      "#Variable declaration\n",
      "alpha_2=math.radians(65); # Nozzle discharge angle in degree and conversion to radians\n",
      "c3=300; # Absolute velocity in m/s\n",
      "alpha_3=math.radians(30); # in degrees and conversion to radians\n",
      "\n",
      "#Calculations\n",
      "ca2=c3*math.cos (alpha_3); # Axial velocity\n",
      "c2=ca2/math.cos(alpha_2); #  Absolute velocity\n",
      "# ca3=ca2=ca and equal blade angles then\n",
      "ca=ca2;\n",
      "beta_2=math.atan((c2*math.sin(alpha_2)+c3*math.sin(alpha_3))/(2*ca)); # Blade angle\n",
      "beta_3=beta_2; # equal blade angles\n",
      "u=c2*math.sin(alpha_2)-ca2*math.tan(beta_2); # Mean blade velocity\n",
      "# From velocity triangles\n",
      "ct2=c2*math.sin(alpha_2);\n",
      "ct3=c3*math.sin(alpha_3);\n",
      "WT=u*(ct2+ct3)/1000; # Work done\n",
      "sigma=u/c2; # optimum speed ratio\n",
      "eff_B=4*(sigma*math.sin(alpha_2)-sigma**2);\n",
      "\n",
      "#Results\n",
      "print \"Blade angle = beta_2= beta_3 = \",round (math.degrees(beta_2),3),\"degree\"\n",
      "print \"Power Produced = \",round(WT,3),\"kJ/kg   (roundoff error)\"\n",
      "print \"Blade efficiency = \",round(eff_B*100,2),\"%\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Blade angle = beta_2= beta_3 =  53.692 degree\n",
        "Power Produced =  143.963 kJ/kg   (roundoff error)\n",
        "Blade efficiency =  76.19 %\n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 11.4 and Page No:458"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "from __future__ import division\n",
      "\n",
      "#Variable declaration\n",
      "P01=7; # Pressure at inlet in bar\n",
      "T01=300+273.15; # Temperature at inlet in kelvin\n",
      "P02=3; # Pressure at outlet in bar\n",
      "alpha_2=math.radians(70); # Nozzle angle in degree and conversion to radians\n",
      "eff_N=0.9; # Isentropic efficiency of nozzle\n",
      "WT=75; # Power Produced in kW\n",
      "Cp=1.15; # Specific heat in kJ/kg K\n",
      "r=1.33; # Specific heat ratio\n",
      "\n",
      "#Calculations\n",
      "T_02=T01*(P02/P01)**((r-1)/r); # Isentropic temperature after expansion\n",
      "T02=T01-eff_N*(T01-T_02); # Actual temperature after expansion\n",
      "c2=math.sqrt (2*Cp*10**3*(T01-T02)); # Absolute velocity\n",
      "# For optimum blade speed ratio\n",
      "u=(c2*math.sin (alpha_2)/2); # Mean blade velocity\n",
      "beta_2=math.atan((c2*math.sin(alpha_2)-u)/(c2*math.cos(alpha_2))); # Blade angle\n",
      "# From velocity triangles\n",
      "ct2=c2*math.sin(alpha_2);\n",
      "w2=c2*math.cos(alpha_2)/math.cos(beta_2);\n",
      "w3=w2; # Equal inlet and outlet angles\n",
      "beta_3=54; # in degrees\n",
      "ct3=w3*math.sin(beta_3)-u;\n",
      "m=(WT*10**3)/(u*(ct2+ct3)); # Gas mass flow rate\n",
      "\n",
      "#Results\n",
      "print \"Blade angle = \",round(math.degrees(beta_2),3),\"degree\"\n",
      "print \"Gas Mass Flow Rate = \",round(m,3),\"kg/s\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Blade angle =  53.948 degree\n",
        "Gas Mass Flow Rate =  4.89 kg/s\n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 11.5 and Page No:460"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "from __future__ import division\n",
      "\n",
      "#Variable declaration\n",
      "P01=4.6; # Total head inlet pressure in bar\n",
      "T01=700+273.15; # Total head inlet temperature in kelvin\n",
      "P2=1.6; # Static head pressure at mean radius in bar\n",
      "Dm_h=10; # Mean blade diameter/blade height\n",
      "lc=0.1; # Nozzle losses coefficient\n",
      "alpha_2=math.radians(60); # Nozzle outlet angle in degree and conversion to radians\n",
      "Cp=1.147; # Specific heat in kJ/kg K\n",
      "r=1.33; # Specific heat ratio\n",
      "m=20; # Mass flow rate in kg/s\n",
      "R=284.6; # characteristic gas constant in J/kg K\n",
      "\n",
      "#Calculations\n",
      "T_2=T01*(P2/P01)**((r-1)/r); # Isentropic temperature after expansion\n",
      "T2=(lc*T01+T_2)/(1+lc); # Actual temperature after expansion\n",
      "c2=math.sqrt(2*Cp*10**3*(T01-T2)); # Absolute velocity\n",
      "# From velocity triangles\n",
      "ca=c2*math.cos(alpha_2);\n",
      "row=P2*10**5/(R*T2); # Density of gas\n",
      "A=m/(ca*row); # Area\n",
      "Dm=math.sqrt (A*Dm_h/3.14); # Mean Diameter\n",
      "h=Dm/10; # Blade height\n",
      "rm=Dm/2; # Mean radius\n",
      "# At root\n",
      "r_root=(Dm-h)/2;\n",
      "#At the tip\n",
      "r_tip=(Dm+h)/2;\n",
      "# Free vorte flow\n",
      "ct_mean=c2*math.sin (alpha_2);\n",
      "# At the root\n",
      "ct2_root=(ct_mean*rm)/r_root;\n",
      "alpha2_root=math.atan(ct2_root/ca);\n",
      "c2_root=ct2_root/math.sin (alpha2_root);\n",
      "T2_root=T01-c2_root**2/(2*Cp*10**3);\n",
      "# At the tip\n",
      "ct2_tip=ct_mean*rm/r_tip;\n",
      "alpha2_tip = math.atan (ct2_tip/ca);\n",
      "c2_tip=ct2_tip/math.sin(alpha2_tip);\n",
      "T2_tip=T01-c2_tip**2/(2*Cp*10**3);\n",
      "\n",
      "#Results\n",
      "print \"A the Root\"\n",
      "print \"\\tGas Temperature at the root = \",round(T2_root,3),\"K\"\n",
      "print \"\\tGas velocity at the root = \",round(c2_root,3),\"m/s\"\n",
      "print \"\\tDischarge angle at the root = \",round(math.degrees(alpha2_root),3),\"degree\"\n",
      "print \"\\nA the Tip\"\n",
      "print \"\\tGas Temperature at the tip = \",round(T2_tip,3),\"K\"\n",
      "print \"\\tGas velocity at the tip = \",round(c2_tip,3),\"m/s\"\n",
      "print \"\\tDischarge angle at the tip = \",round(math.degrees(alpha2_tip),3),\"degree\"\n",
      "\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "A the Root\n",
        "\tGas Temperature at the root =  733.345 K\n",
        "\tGas velocity at the root =  741.696 m/s\n",
        "\tDischarge angle at the root =  62.543 degree\n",
        "\n",
        "A the Tip\n",
        "\tGas Temperature at the tip =  795.766 K\n",
        "\tGas velocity at the tip =  637.902 m/s\n",
        "\tDischarge angle at the tip =  57.581 degree\n"
       ]
      }
     ],
     "prompt_number": 5
    }
   ],
   "metadata": {}
  }
 ]
}