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
|
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 26 :\n",
"\n",
"Fluid-Particle Reactors: Design"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 26.1 pageno : 592"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Lets say F(Ri)/F = F_ri\n",
"\n",
"# Variables\n",
"F_50 = 0.3\n",
"F_100 = 0.4\n",
"F_200 = 0.3;\n",
"t_50 = 5.\n",
"t_100 = 10.\n",
"t_200 = 20.\n",
"tp = 8.\n",
"\n",
"# Calculations\n",
"a = ((1-(tp/t_50))**3)*F_50\n",
"b = ((1-(tp/t_100))**3)*F_100\n",
"c = ((1-(tp/t_200))**3)*F_200;\n",
"g = [a,b,c];\n",
"sum1 = 0;\n",
"for p in range(3):\n",
" if g[p]>0:\n",
" sum1 = sum1+g[p];\n",
"f_converted = 1-sum1;\n",
"\n",
"# Results\n",
"print \" The fraction of solid converted equals %.1f %%\"%(f_converted*100)\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
" The fraction of solid converted equals 93.2 %\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 26.2 pageno : 597"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variables\n",
"t_avg = 60. # min\n",
"t = 20. #min\n",
"\n",
"# Calculations\n",
"unconverted = ((1./4)*(t/t_avg))-((1./20)*(t/t_avg)**2)+((1./120)*(t/t_avg)**3);\n",
"unconverted1 = ((1./5)*(t/t_avg))-((19./420)*(t/t_avg)**2)+((41./4620)*(t/t_avg)**3);\n",
"c_avg = (unconverted+unconverted1)/2;\n",
"\n",
"# Results\n",
"print \"Fraction of original sulfide ore remain unconverted is %.2f\"%(c_avg)\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Fraction of original sulfide ore remain unconverted is 0.07\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 26.3 page no : 600"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variables\n",
"F = 1000. #gm/min\n",
"W = 10000. #gm\n",
"\n",
"# Calculations\n",
"t_avg = W/F;\n",
"F_50 = 300.\n",
"F_100 = 400.\n",
"F_200 = 300. #gm/min\n",
"t_50 = 5.\n",
"t_100 = 10.\n",
"t_200 = 20. #min\n",
"\n",
"unconverted = ((((1./4)*(t_50/t_avg))-((1./20)*(t_50/t_avg)**2)+ ((1./120)*(t_50/t_avg)**3))*(F_50/F))+((((1./4)*(t_100/t_avg))-((1./20)*(t_100/t_avg)**2)+((1./120)*(t_50/t_avg)**3))*(F_100/F))+((((1./4)*(t_200/t_avg))-((1./20)*(t_200/t_avg)**2)+((1./120) *(t_50/t_avg)**3))*(F_200/F))\n",
"converted = 1-unconverted;\n",
"\n",
"# Results\n",
"print \"The mean conversion of soild is %f\"%(converted)\n",
"print \" The answer slightly differs from those given in book as we have considered \\\n",
"only significant terms in infinite series\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The mean conversion of soild is 0.795208\n",
" The answer slightly differs from those given in book as we have considered only significant terms in infinite series\n"
]
}
],
"prompt_number": 5
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 26.4 pageno : 601"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variables\n",
"t1 = 1. #hr\n",
"t2 = t1/0.1 \n",
"a = 0.\n",
"r = 1 #ton/hr\n",
"# Calculations\n",
"while a<=1:\n",
" x = (1./4)*(a)-((1./20)*(a)**2)+((1./120)*(a)**3);\n",
" if x >0.099 and x<0.1005:\n",
" r = a;\n",
" a += .0001\n",
"\n",
"FBo = 1. #tons/hr\n",
"t_avg = t2/r;\n",
"W = t_avg*FBo;\n",
"\n",
"# Results\n",
"print \" The needed weight of bed is %.f\"%(W),\n",
"print \"tons\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
" The needed weight of bed is 23 tons\n"
]
}
],
"prompt_number": 7
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}
|