P. 1
Mathcad - Example 3

# Mathcad - Example 3

|Views: 24|Likes:
examples
examples

Categories:Types, Research
Published by: cutefrenzy on May 13, 2013

### Availability:

Read on Scribd mobile: iPhone, iPad and Android.
See more
See less

07/22/2014

pdf

text

original

# Example problem 3.

5 based on API 579 example manual Darren Ting April 21 2013
Allowable stress SA 17500psi := Material is SA204 Grade B year 1993
Design temperature Td 300°F :=
Design Pressure DP 390psi :=
Inner diameter ID 234in :=
Operating Pressure OP 240 := psi
Wall Thickeness Twall 2.72 :=
Startup Pressure Pstart 157psi :=
Weld J oint Efficiency WE 1 :=
Corrosion Allowance CA
1
16
in :=
MAT at design pressure MATdesign 108°F :=
Min Pressure Pmin 0psi :=
Max Pressure Pmax 391.9385psi :=
Number of increments n 100 :=
Assessment pressure Pass Pmin
Pmax
n
, Pmax ..
|

\
|
|
.
:=
Stress Ratio SR 0
1
n
, 1 .. :=
From 3.4.1 of API 579-Using 3.4.3.3 Pressure
Vessels-Method C
Limitations and assumptions are based on API 579 methodology.refer to API 579
Assumption that the governing thickness is the plate
thickness
Curve A chosen
Calculate MAT_step 1
MAT_step1
76.911 ÷ 284.85Twall + 27.560Twall
2
÷
( )
1 1.7971Twall + 0.17887Twall
2
÷
:= Option A chosen to
determine MAT for step 1
MAT_step1 108.2162 =
Convert range to vector
Range2Vec Range ( ) Count ORIGIN ÷
Vec
Count
i ÷
Count Count 1 + ÷
i Range e for
Vec
:=
Calculate temperature reduction as per table 3.7
RED SR ( ) 100 1 SR ÷ ( ) SR 0.6 > if
9979.57 ÷ 14125 SR
1.5
· ÷ 9088.11 exp SR ( ) · + 17.3893
ln SR ( )
SR
2
÷ 0.6 SR > 0 > ( if
0.4 otherwise
:=
All values for SR<=0.4 have MAT=-155. J ust did not format output
Pass
0
3.9194
7.8388
11.7582
15.6775
19.5969
23.5163
27.4357
31.3551
35.2745
39.1938
43.1132
47.0326
50.952
54.8714
58.7908
62.7102
66.6295
psi
= SR
0
0.01
0.02
0.03
0.04
0.05
0.06
0.07
0.08
0.09
0.1
0.11
0.12
0.13
0.14
0.15
0.16
0.17
= RED SR ( )
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
= max MAT_step1 RED SR ( ) ÷ 55 ÷ , ( )
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
=
66.6295
70.5489
74.4683
78.3877
82.3071
86.2265
90.1459
94.0652
97.9846
101.904
105.8234
109.7428
113.6622
117.5816
121.5009
125.4203
129.3397
133.2591
137.1785
141.0979
145.0172
148.9366
152.856
156.7754
160.6948
164.6142
168.5336
172.4529
176.3723
180.2917
184.2111
188.1305
192.0499
195.9693
199.8886
203.808
207.7274
211.6468
215.5662
219.4856
223.4049
227.3243
231.2437
0.17
0.18
0.19
0.2
0.21
0.22
0.23
0.24
0.25
0.26
0.27
0.28
0.29
0.3
0.31
0.32
0.33
0.34
0.35
0.36
0.37
0.38
0.39
0.4
0.41
0.42
0.43
0.44
0.45
0.46
0.47
0.48
0.49
0.5
0.51
0.52
0.53
0.54
0.55
0.56
0.57
0.58
0.59
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
0.4
185.3282
172.5162
161.0498
150.7151
141.3359
132.7672
124.8895
117.6048
110.8329
104.5085
98.5789
93.0018
87.7441
82.7805
78.0919
73.6649
69.4911
65.566
61.8889
58.462
55.2903
52.3812
49.744
47.3899
45.3317
43.5835
42.1608
41.0798
40.3582
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
107.8162
-55
-55
-52.8336
-42.4989
-33.1197
-24.551
-16.6733
-9.3886
-2.6167
3.7077
9.6374
15.2144
20.4721
25.4357
30.1244
34.5513
38.7251
42.6502
46.3273
49.7542
52.9259
55.835
58.4722
60.8263
62.8845
64.6327
66.0555
67.1364
67.8581
235.1631
239.0825
243.0019
246.9213
250.8406
254.76
258.6794
262.5988
266.5182
270.4376
274.3569
278.2763
282.1957
286.1151
290.0345
293.9539
297.8733
301.7926
305.712
309.6314
313.5508
317.4702
321.3896
325.309
329.2283
333.1477
337.0671
340.9865
344.9059
348.8253
352.7446
356.664
360.5834
364.5028
368.4222
372.3416
376.261
380.1803
384.0997
388.0191
391.9385
0.6
0.61
0.62
0.63
0.64
0.65
0.66
0.67
0.68
0.69
0.7
0.71
0.72
0.73
0.74
0.75
0.76
0.77
0.78
0.79
0.8
0.81
0.82
0.83
0.84
0.85
0.86
0.87
0.88
0.89
0.9
0.91
0.92
0.93
0.94
0.95
0.96
0.97
0.98
0.99
1
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
68.2162
69.2162
70.2162
71.2162
72.2162
73.2162
74.2162
75.2162
76.2162
77.2162
78.2162
79.2162
80.2162
81.2162
82.2162
83.2162
84.2162
85.2162
86.2162
87.2162
88.2162
89.2162
90.2162
91.2162
92.2162
93.2162
94.2162
95.2162
96.2162
97.2162
98.2162
99.2162
100.2162
101.2162
102.2162
103.2162
104.2162
105.2162
106.2162
107.2162
108.2162

scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->