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
|
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter 11: Ancillary Hydraulic Devices"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 11.1 pgno:409"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
" Results: \n",
"\n",
" The high discharge pressure is psi. 2500.0\n",
"\n",
" The low discharge flow-rate is gpm. 4.0\n"
]
}
],
"source": [
"# Aim:To find the discharge flow and pressure \n",
"# Given:\n",
"# high inlet flow-rate:\n",
"Q_high_inlet=20.0; #gpm\n",
"# low inlet pressure:\n",
"p_low_inlet=500.0; #psi\n",
"# Ratio of piston area to rod area:\n",
"Ratio=5/1;\n",
"\n",
"\n",
"\n",
"\n",
"# Solution:\n",
"# high discharge pressure,\n",
"p_high_discharge=Ratio*p_low_inlet; #psi\n",
"# low discharge flow-rate,\n",
"Q_low_discharge=Q_high_inlet/Ratio; #gpm\n",
"\n",
"# Results:\n",
"print\"\\n Results: \" \n",
"print\"\\n The high discharge pressure is psi.\",p_high_discharge\n",
"print\"\\n The low discharge flow-rate is gpm.\",Q_low_discharge\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 11.2 pgno:424"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
" Results: \n",
"\n",
" The downstream oil temperature is deg F. 127.9\n"
]
}
],
"source": [
"# Aim:To find the downstream oil temperature\n",
"# Given:\n",
"# temperature of oil flowing through pressure relief valve:\n",
"T_oil=120.0; #deg F\n",
"# pressure of oil flowing through pressure relief valve:\n",
"p=1000.0; #psi\n",
"# oil flow through pressure relief valve:\n",
"Q_gpm=10.0; #gpm\n",
"# Solution:\n",
"# heat generation rate,\n",
"HP=(p*Q_gpm)/1714; #HP\n",
"# heat generation rate in Btu/min,\n",
"HP_btu=HP*42.4; #Btu/min\n",
"# oil flow-rate in lb/min,\n",
"Q_lb=7.42*Q_gpm; #lb/min\n",
"# temperature increase,\n",
"T_increase=HP_btu/(0.42*Q_lb); #deg F\n",
"# downward oil temperature,\n",
"T_downward=T_oil+T_increase; #deg F\n",
"\n",
"# Results:\n",
"print \"\\n Results: \" \n",
"print \"\\n The downstream oil temperature is deg F.\",round(T_downward,1)\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 11.3 pgno:424"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
" Results: \n",
"\n",
" The downstream oil temperature is deg C. 54.3\n"
]
}
],
"source": [
"# Aim:To find the downstream oil temperature in SI Unit\n",
"# Given:\n",
"# temperature of oil flowing through pressure relief valve:\n",
"T_oil=50.0; #deg C\n",
"# pressure of oil flowing through pressure relief valve:\n",
"p=70.0; #bar\n",
"# oil flow through pressure relief valve:\n",
"Q=0.000632; #m**3/s\n",
"# Solution:\n",
"# heat generation rate,\n",
"kW=((p*10**5)*Q)/1000; #kW\n",
"# oil flow-rate,\n",
"Q_kg_s=895*Q; #kg/s\n",
"# temperature increase,\n",
"T_increase=kW/(1.8*Q_kg_s); #deg C\n",
"# downward oil temperature,\n",
"T_downward=T_oil+T_increase; #deg C\n",
"\n",
"# Results:\n",
"print \"\\n Results: \" \n",
"print \"\\n The downstream oil temperature is deg C.\",round(T_downward,1)\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 11.4 pgno:425"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
" Results: \n",
"\n",
" The heat exchanger rating is Btu/hr. 21565.0\n",
"\n",
" The answer in the program does not match with that in the textbook due to roundoff error (standard ratings) in textbook\n"
]
}
],
"source": [
"# Aim:To find the rating of heat exchanger required to dissipate generated heat\n",
"# Given:\n",
"# oil flow-rate:\n",
"Q=20.0; #gpm\n",
"# operating pressure:\n",
"p=1000.0; #psi\n",
"# overall efficiency of pump:\n",
"eff_overall=85.0; #%\n",
"# power lost due to friction:\n",
"HP_frict=10.0; #%\n",
"\n",
"# Solution:\n",
"# pump power loss,\n",
"pump_HP_loss=((1/(eff_overall/100))-1)*((p*Q)/1714); #HP\n",
"# PRV average HP loss,\n",
"PRV_loss=0.5*((p*Q)/1714); #HP\n",
"# line average HP loss,\n",
"line_loss=(HP_frict/100)*PRV_loss; #HP\n",
"# total average loss,\n",
"total_loss=pump_HP_loss+PRV_loss+line_loss; #HP\n",
"# heat exchanger rating,\n",
"HEx_rating=total_loss*2544; #Btu/hr\n",
"\n",
"# Results:\n",
"print\"\\n Results: \" \n",
"print\"\\n The heat exchanger rating is Btu/hr.\",round(HEx_rating)\n",
"print\"\\n The answer in the program does not match with that in the textbook due to roundoff error (standard ratings) in textbook\"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 11.5 pgno:426"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
" Results: \n",
"\n",
" The heat exchanger rating is kW. 6.41\n"
]
}
],
"source": [
"# Aim:To find the rating of heat exchanger required to dissipate generated heat in SI unit\n",
"# Given:\n",
"# oil flow-rate:\n",
"Q=0.00126; #m**3/s\n",
"# operating pressure:\n",
"p=70.0; #bar\n",
"# overall efficiency of pump:\n",
"eff_overall=85.0; #%\n",
"# power lost due to friction:\n",
"HP_frict=10.0; #%\n",
"\n",
"# Solution:\n",
"# pump power loss,\n",
"pump_loss=((1/(eff_overall/100))-1)*((p*10**5*Q)/1000); #kW\n",
"# PRV average HP loss,\n",
"PRV_loss=0.5*((p*10**5*Q)/1000); #kW\n",
"# line average HP loss,\n",
"line_loss=(HP_frict/100)*PRV_loss; #kW\n",
"# total average loss,\n",
"HEx_rating=pump_loss+PRV_loss+line_loss; #kW\n",
"\n",
"# Results:\n",
"print\"\\n Results: \" \n",
"print\"\\n The heat exchanger rating is kW.\",round(HEx_rating,2)\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"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
}
|