summaryrefslogtreecommitdiff
path: root/sample_notebooks/Babita./Ch5.ipynb
blob: 9df5e9faae4825f55081b58c7570cb8b3d3dffec (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
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Ch-5 Combustion Mechanism, Combustion Equipment And Firing Methods"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Ex 5.1 Page 308"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " The total surface area of the particles in the bed As = 8423 m**2 \n"
     ]
    }
   ],
   "source": [
    "#Input data\n",
    "Vs=2500##The mass of a bed of solid particles in kg\n",
    "p=2650##The density of the solid in kg/m**3\n",
    "d=800*10**-6##The mean particle size in m\n",
    "s=0.84##The sphericity of the particle\n",
    "\n",
    "#Calculations\n",
    "As=(6*Vs)/(p*d*s)##The total surface area of the particles in the bed\n",
    "\n",
    "#Output\n",
    "print \" The total surface area of the particles in the bed As = %3.0f m**2 \"%(As)\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Ex 5.2 Page 309"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " (a) The voidage of the bed = 0.417 \n",
      " (b) The minimum fluidization velocity Umf = 0.187 m/s \n"
     ]
    }
   ],
   "source": [
    "#Input data\n",
    "d=427*10**-6##The mean particle size in m\n",
    "pg=1.21##The density of air in kg/m**3\n",
    "v=1.82*10**-5##The viscosity of air in kg/ms\n",
    "pl=1620##The density of the loosely packed bed in kg/m**3\n",
    "ps=2780##The density of the solids in kg/m**3\n",
    "c1=27.2##(Grace,1982)constant value.\n",
    "c2=0.0408##(Grace,1982)constant value\n",
    "g=9.812##Gravitational forc constant in m/s**2\n",
    "\n",
    "#Calculations\n",
    "E=1-(pl/ps)##The voidage of the bed\n",
    "Ar=((pg)*(ps-pg)*g*(d**3))/v**2##Archimedes number\n",
    "Re=(c1**2+(c2*Ar))**(0.5)-c1##Reynolds number\n",
    "Umf=Re*v/(pg*d)##Minimum superficial velocity in m/s\n",
    "\n",
    "#Output\n",
    "print \" (a) The voidage of the bed = %3.3f \\n (b) The minimum fluidization velocity Umf = %3.3f m/s \"%(E,Umf)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Ex 5.3 Page 309"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The sphericity of particles is = 0.811 \n"
     ]
    }
   ],
   "source": [
    "from scipy.optimize import fsolve\n",
    "#Input data\n",
    "d=427*10**-6##The mean particle size in m\n",
    "pg=1.21##The density of air in kg/m**3\n",
    "v=1.82*10**-5##The viscosity of air in kg/ms\n",
    "Umf=0.14##Minimum superficial velocity in m/s\n",
    "Ar=7753##Archimedes number from previous example problem\n",
    "\n",
    "#Calculations\n",
    "\n",
    "Re=(Umf*pg*d)/v##Reynolds number\n",
    "def F(x):##function definition\n",
    "    f = 7753*x**2- 381.1*x -4793#\n",
    "    return f\n",
    "x = 100##Initial guss\n",
    "y = fsolve(F,x)#\n",
    "\n",
    "#Output\n",
    "print \"The sphericity of particles is = %3.3f \"%(y)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Ex 5.4 Page 310"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The required flow rate of limestone is 2405.3 kg/h \n"
     ]
    }
   ],
   "source": [
    "from __future__ import division\n",
    "#Input data\n",
    "O=35##The output of the fluidized bed combustion system in MW\n",
    "n=0.80##Efficiency of the fluidized bed combustion system \n",
    "H=26##The heating value of coal in MJ/kg\n",
    "S=3.6##Sulphur content in the coal in %\n",
    "C=3##The calcium sulphur ratio \n",
    "Ca=85##The amount of calcium carbonate in the limestone in %\n",
    "CaCO3=100##The molecular weight of CaCO3\n",
    "\n",
    "#Calculations\n",
    "Cb=O/(n*H)##Coal burning rate in kg/s\n",
    "Cb1=Cb*3600##Coal burning rate in kg/h\n",
    "Sf=(Cb1*(S/100))/32##Flow rate of sulphur in Kmol/h\n",
    "Cf=Sf*C##The flow rate of calcium in Kmol/h\n",
    "Caf=Cf*CaCO3##Mass flow rate of CaCO3 in kg/h\n",
    "L=Caf/(Ca/100)##Mass flow rate of limestone in kg/h\n",
    "\n",
    "#Output\n",
    "print \"The required flow rate of limestone is %3.1f kg/h \"%(L)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Ex 5.5 Page 310"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " (a) The rate of heat removal from the bed = 6405 kW \n",
      " (b) The rate of heat removal from the above bed zone = 16333 kW \n"
     ]
    }
   ],
   "source": [
    "#Input data\n",
    "CV=24##The calorific value of the fuel in MJ/kg\n",
    "C=0.65##The amount of calorific value released in the bed in %\n",
    "to=850##Temperature at which products leave in degree centigrade\n",
    "ti=30##The inlet temperature in degree centigrade\n",
    "tb=850##The bed temperature in degree centigrade\n",
    "A=14.5##The air fuel ratio by mass\n",
    "Cp=1.035##The specific heat of the products leaving the bed surface in kJ/kgK\n",
    "B=7000##The burning rate of coal in kg/h\n",
    "\n",
    "#Calculations\n",
    "H=(C*CV*1000)-(A*Cp*(to-ti))##Heat removal from the bed per kg fuel in kJ/kg fuel\n",
    "Hr=(H*B)/3600##Rate of heat removal from the bed in kW\n",
    "Hb=(B/3600)*(1-C)*CV*1000##The rate of heat removal from the above bed zone in kW\n",
    "\n",
    "#Output\n",
    "print \" (a) The rate of heat removal from the bed = %3.0f kW \\n (b) The rate of heat removal from the above bed zone = %3.0f kW \"%(Hr,Hb)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Ex 5.6 Page 311"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " (a) The planform area = 2.4 m**2 \n",
      " (b) Fuel burning rate = 0.192 kg/s \n",
      "    Air flow rate = 2.1888 kg/s \n",
      "    Planform area = 2.58 m**2 \n"
     ]
    }
   ],
   "source": [
    "#Input data\n",
    "tb=850##The bed temperature in degree centigrade\n",
    "CV=25##The calorific value of the fuel in MJ/kg\n",
    "A=9.5##The stoichiometric air fuel ratio by mass\n",
    "E=20##The amount of excess air used in %\n",
    "F=4.8##The total fueling rate in MW\n",
    "p=0.3145##The density of air at bed temperature in kg/m**3\n",
    "f=2##The firing rate in MW/m**2\n",
    "v=2.7##The fluidizing velocity in m/s\n",
    "\n",
    "#Calculations\n",
    "P=F/f##Planform area in m**2\n",
    "m=(F*1000)/(CV*1000)##Fuel burning rate in kg/s\n",
    "ma=A*(1+(E/100))*m##Mass flow rate of air in kg/s\n",
    "Pa=ma/(p*v)##Planform area in m**2\n",
    "\n",
    "#Output\n",
    "print \" (a) The planform area = %3.1f m**2 \\n (b) Fuel burning rate = %3.3f kg/s \\n    Air flow rate = %3.4f kg/s \\n    Planform area = %3.2f m**2 \"%(P,m,ma,Pa)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.9"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}