exerpy 0.0.3__py3-none-any.whl → 0.0.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,428 @@
1
+ {
2
+ "_metadata": {
3
+ "reference": "Turton et al., Analysis, Synthesis, and Design of Chemical Processes, 3rd Edition, 2008",
4
+ "description": "Material factors (Fm) for different materials of construction",
5
+ "notes": [
6
+ "Material factors are used in: CBM = Cp * (B1 + B2*Fp*Fm)",
7
+ "Base case (carbon steel) has Fm = 1.0",
8
+ "Some equipment has fixed FBM values in turton2008.json instead of separate Fm"
9
+ ]
10
+ },
11
+ "material_abbreviations": {
12
+ "CS": "Carbon Steel",
13
+ "SS304": "Stainless Steel 304",
14
+ "SS316": "Stainless Steel 316",
15
+ "SS": "Stainless Steel (generic 304/316)",
16
+ "Ni200": "Nickel 200",
17
+ "Monel400": "Monel 400 (Ni-Cu alloy)",
18
+ "Inconel600": "Inconel 600 (Ni-Cr alloy)",
19
+ "Incoloy825": "Incoloy 825 (Ni-Fe-Cr alloy)",
20
+ "Hastelloy": "Hastelloy (Ni-Mo alloy)",
21
+ "Ti": "Titanium",
22
+ "Cu": "Copper",
23
+ "CuNi": "Copper-Nickel alloy (90/10 or 70/30)",
24
+ "Al": "Aluminum",
25
+ "Brass": "Brass",
26
+ "Bronze": "Bronze",
27
+ "CS_clad": "Carbon Steel with SS clad",
28
+ "Ni_clad": "Carbon Steel with Ni clad",
29
+ "Ti_clad": "Carbon Steel with Ti clad"
30
+ },
31
+ "heat_exchangers": {
32
+ "_description": "Shell/Tube material combinations for shell-and-tube heat exchangers",
33
+ "_format": "shell_material/tube_material",
34
+ "CS/CS": {
35
+ "Fm": 1.00,
36
+ "description": "Carbon steel shell and tubes",
37
+ "identification_number": 1
38
+ },
39
+ "CS/Cu": {
40
+ "Fm": 1.27,
41
+ "description": "Carbon steel shell, copper tubes",
42
+ "identification_number": 2
43
+ },
44
+ "CS/SS": {
45
+ "Fm": 1.81,
46
+ "description": "Carbon steel shell, stainless steel tubes",
47
+ "identification_number": 3
48
+ },
49
+ "CS/Monel": {
50
+ "Fm": 2.30,
51
+ "description": "Carbon steel shell, Monel tubes",
52
+ "identification_number": 4
53
+ },
54
+ "CS/Ti": {
55
+ "Fm": 5.20,
56
+ "description": "Carbon steel shell, titanium tubes",
57
+ "identification_number": 5
58
+ },
59
+ "CS/CS_clad": {
60
+ "Fm": 1.55,
61
+ "description": "Carbon steel shell, SS-clad tubes",
62
+ "identification_number": 6
63
+ },
64
+ "Cu/Cu": {
65
+ "Fm": 1.69,
66
+ "description": "Copper shell and tubes",
67
+ "identification_number": 7
68
+ },
69
+ "Cu/CuNi": {
70
+ "Fm": 1.91,
71
+ "description": "Copper shell, copper-nickel tubes",
72
+ "identification_number": 8
73
+ },
74
+ "SS/SS": {
75
+ "Fm": 2.73,
76
+ "description": "Stainless steel shell and tubes",
77
+ "identification_number": 9
78
+ },
79
+ "SS/Monel": {
80
+ "Fm": 3.29,
81
+ "description": "Stainless steel shell, Monel tubes",
82
+ "identification_number": 10
83
+ },
84
+ "SS/Ti": {
85
+ "Fm": 6.64,
86
+ "description": "Stainless steel shell, titanium tubes",
87
+ "identification_number": 11
88
+ },
89
+ "Monel/Monel": {
90
+ "Fm": 4.12,
91
+ "description": "Monel shell and tubes",
92
+ "identification_number": 12
93
+ },
94
+ "Ti/Ti": {
95
+ "Fm": 9.60,
96
+ "description": "Titanium shell and tubes",
97
+ "identification_number": 13
98
+ },
99
+ "Ni200/Ni200": {
100
+ "Fm": 4.71,
101
+ "description": "Nickel 200 shell and tubes",
102
+ "identification_number": 14
103
+ },
104
+ "Hastelloy/Hastelloy": {
105
+ "Fm": 6.00,
106
+ "description": "Hastelloy shell and tubes",
107
+ "identification_number": 15
108
+ },
109
+ "Inconel/Inconel": {
110
+ "Fm": 5.52,
111
+ "description": "Inconel shell and tubes",
112
+ "identification_number": 16
113
+ }
114
+ },
115
+ "process_vessels": {
116
+ "_description": "Material factors for vertical and horizontal process vessels",
117
+ "CS": {
118
+ "Fm": 1.00,
119
+ "description": "Carbon steel"
120
+ },
121
+ "CS_clad": {
122
+ "Fm": 1.75,
123
+ "description": "Carbon steel with stainless clad"
124
+ },
125
+ "SS304": {
126
+ "Fm": 3.11,
127
+ "description": "Stainless steel 304"
128
+ },
129
+ "SS316": {
130
+ "Fm": 3.40,
131
+ "description": "Stainless steel 316"
132
+ },
133
+ "SS": {
134
+ "Fm": 3.11,
135
+ "description": "Stainless steel (generic, use 304 value)"
136
+ },
137
+ "Ni200": {
138
+ "Fm": 8.89,
139
+ "description": "Nickel 200"
140
+ },
141
+ "Monel400": {
142
+ "Fm": 6.20,
143
+ "description": "Monel 400"
144
+ },
145
+ "Inconel600": {
146
+ "Fm": 8.28,
147
+ "description": "Inconel 600"
148
+ },
149
+ "Incoloy825": {
150
+ "Fm": 7.84,
151
+ "description": "Incoloy 825"
152
+ },
153
+ "Hastelloy": {
154
+ "Fm": 10.38,
155
+ "description": "Hastelloy C"
156
+ },
157
+ "Ti": {
158
+ "Fm": 7.89,
159
+ "description": "Titanium"
160
+ },
161
+ "Ti_clad": {
162
+ "Fm": 4.71,
163
+ "description": "Carbon steel with titanium clad"
164
+ }
165
+ },
166
+ "pumps": {
167
+ "_description": "Material factors for pumps (centrifugal and positive displacement)",
168
+ "CI": {
169
+ "Fm": 1.00,
170
+ "description": "Cast iron"
171
+ },
172
+ "CS": {
173
+ "Fm": 1.00,
174
+ "description": "Carbon steel (use cast iron value)"
175
+ },
176
+ "Ductile_iron": {
177
+ "Fm": 1.15,
178
+ "description": "Ductile iron"
179
+ },
180
+ "Bronze": {
181
+ "Fm": 1.30,
182
+ "description": "Bronze"
183
+ },
184
+ "SS304": {
185
+ "Fm": 1.95,
186
+ "description": "Stainless steel 304"
187
+ },
188
+ "SS316": {
189
+ "Fm": 2.40,
190
+ "description": "Stainless steel 316"
191
+ },
192
+ "SS": {
193
+ "Fm": 2.00,
194
+ "description": "Stainless steel (generic)"
195
+ },
196
+ "Hastelloy": {
197
+ "Fm": 3.50,
198
+ "description": "Hastelloy C"
199
+ },
200
+ "Monel": {
201
+ "Fm": 3.30,
202
+ "description": "Monel"
203
+ },
204
+ "Ni200": {
205
+ "Fm": 4.00,
206
+ "description": "Nickel 200"
207
+ },
208
+ "Ti": {
209
+ "Fm": 6.00,
210
+ "description": "Titanium"
211
+ }
212
+ },
213
+ "compressors": {
214
+ "_description": "Material factors for compressors - typically not used (FBM is fixed)",
215
+ "_notes": "Compressor costs typically use fixed FBM values; material changes affect only a portion of equipment",
216
+ "CS": {
217
+ "Fm": 1.00,
218
+ "description": "Carbon steel"
219
+ },
220
+ "SS": {
221
+ "Fm": 1.30,
222
+ "description": "Stainless steel"
223
+ },
224
+ "Ni_alloy": {
225
+ "Fm": 1.80,
226
+ "description": "Nickel alloy"
227
+ }
228
+ },
229
+ "trays": {
230
+ "_description": "Material factors for distillation trays (sieve, valve, bubble cap)",
231
+ "CS": {
232
+ "Fm": 1.00,
233
+ "description": "Carbon steel"
234
+ },
235
+ "SS304": {
236
+ "Fm": 1.70,
237
+ "description": "Stainless steel 304"
238
+ },
239
+ "SS316": {
240
+ "Fm": 1.83,
241
+ "description": "Stainless steel 316"
242
+ },
243
+ "SS": {
244
+ "Fm": 1.83,
245
+ "description": "Stainless steel (generic, use 316 value)"
246
+ },
247
+ "Monel": {
248
+ "Fm": 4.03,
249
+ "description": "Monel"
250
+ },
251
+ "Ni_alloy": {
252
+ "Fm": 4.68,
253
+ "description": "Nickel alloy"
254
+ }
255
+ },
256
+ "packing": {
257
+ "_description": "Material factors for tower packing (random and structured)",
258
+ "ceramic": {
259
+ "Fm": 1.00,
260
+ "description": "Ceramic (Raschig rings, saddles)"
261
+ },
262
+ "CS": {
263
+ "Fm": 1.00,
264
+ "description": "Carbon steel (metal packing)"
265
+ },
266
+ "SS304": {
267
+ "Fm": 4.81,
268
+ "description": "Stainless steel 304"
269
+ },
270
+ "SS316": {
271
+ "Fm": 5.12,
272
+ "description": "Stainless steel 316"
273
+ },
274
+ "SS": {
275
+ "Fm": 5.12,
276
+ "description": "Stainless steel (generic)"
277
+ },
278
+ "Monel": {
279
+ "Fm": 14.51,
280
+ "description": "Monel"
281
+ },
282
+ "Ni_alloy": {
283
+ "Fm": 27.39,
284
+ "description": "Nickel alloy"
285
+ },
286
+ "Ti": {
287
+ "Fm": 35.00,
288
+ "description": "Titanium"
289
+ }
290
+ },
291
+ "plate_heat_exchangers": {
292
+ "_description": "Material factors for plate-and-frame heat exchangers",
293
+ "SS304": {
294
+ "Fm": 1.00,
295
+ "description": "Stainless steel 304 (base case for plate HX)"
296
+ },
297
+ "SS316": {
298
+ "Fm": 1.15,
299
+ "description": "Stainless steel 316"
300
+ },
301
+ "Ti": {
302
+ "Fm": 3.00,
303
+ "description": "Titanium"
304
+ },
305
+ "Hastelloy": {
306
+ "Fm": 3.50,
307
+ "description": "Hastelloy"
308
+ }
309
+ },
310
+ "reactors": {
311
+ "_description": "Material factors for stirred tank reactors",
312
+ "CS": {
313
+ "Fm": 1.00,
314
+ "description": "Carbon steel"
315
+ },
316
+ "SS304": {
317
+ "Fm": 3.11,
318
+ "description": "Stainless steel 304"
319
+ },
320
+ "SS316": {
321
+ "Fm": 3.40,
322
+ "description": "Stainless steel 316"
323
+ },
324
+ "SS": {
325
+ "Fm": 3.11,
326
+ "description": "Stainless steel (generic)"
327
+ },
328
+ "glass_lined": {
329
+ "Fm": 4.00,
330
+ "description": "Glass-lined carbon steel"
331
+ },
332
+ "Hastelloy": {
333
+ "Fm": 10.38,
334
+ "description": "Hastelloy"
335
+ },
336
+ "Ti": {
337
+ "Fm": 7.89,
338
+ "description": "Titanium"
339
+ }
340
+ },
341
+ "fired_heaters": {
342
+ "_description": "Material factors for fired heaters (radiant section tubes)",
343
+ "CS": {
344
+ "Fm": 1.00,
345
+ "description": "Carbon steel tubes"
346
+ },
347
+ "Cr-Mo": {
348
+ "Fm": 1.40,
349
+ "description": "Chrome-moly steel"
350
+ },
351
+ "SS304": {
352
+ "Fm": 1.70,
353
+ "description": "Stainless steel 304"
354
+ },
355
+ "SS316": {
356
+ "Fm": 1.85,
357
+ "description": "Stainless steel 316"
358
+ },
359
+ "SS": {
360
+ "Fm": 1.70,
361
+ "description": "Stainless steel (generic)"
362
+ },
363
+ "HK40": {
364
+ "Fm": 2.10,
365
+ "description": "HK40 (25Cr-20Ni)"
366
+ },
367
+ "Incoloy800": {
368
+ "Fm": 2.50,
369
+ "description": "Incoloy 800"
370
+ },
371
+ "Inconel600": {
372
+ "Fm": 3.00,
373
+ "description": "Inconel 600"
374
+ }
375
+ },
376
+ "corrosion_resistance_guide": {
377
+ "_description": "General guide for material selection based on process fluids",
378
+ "_warning": "This is a simplified guide. Always consult corrosion data for specific conditions.",
379
+ "water_steam": {
380
+ "recommended": ["CS", "SS304"],
381
+ "notes": "Carbon steel suitable for most water/steam applications"
382
+ },
383
+ "seawater": {
384
+ "recommended": ["CuNi", "Ti", "SS316"],
385
+ "avoid": ["CS", "SS304"],
386
+ "notes": "Chloride ions cause pitting in carbon steel and 304SS"
387
+ },
388
+ "dilute_acids": {
389
+ "recommended": ["SS316", "Hastelloy", "Ti"],
390
+ "avoid": ["CS", "Cu"],
391
+ "notes": "Depends heavily on acid type and concentration"
392
+ },
393
+ "concentrated_acids": {
394
+ "recommended": ["Hastelloy", "Ti", "glass_lined"],
395
+ "avoid": ["CS", "SS304", "SS316"],
396
+ "notes": "Highly dependent on specific acid"
397
+ },
398
+ "caustic_solutions": {
399
+ "recommended": ["CS", "Ni200", "Monel"],
400
+ "avoid": ["Al", "Cu"],
401
+ "notes": "Carbon steel often suitable for NaOH service"
402
+ },
403
+ "chlorinated_solvents": {
404
+ "recommended": ["Hastelloy", "Ti"],
405
+ "avoid": ["CS", "Cu", "Al"],
406
+ "notes": "Chlorine compounds very aggressive"
407
+ },
408
+ "ammonia": {
409
+ "recommended": ["CS", "SS304"],
410
+ "avoid": ["Cu", "Bronze", "Brass"],
411
+ "notes": "Copper alloys susceptible to stress corrosion cracking"
412
+ },
413
+ "hydrogen": {
414
+ "recommended": ["Cr-Mo", "SS304", "SS316"],
415
+ "avoid": ["CS at high temperature"],
416
+ "notes": "High-temperature hydrogen attack concern"
417
+ },
418
+ "sulfur_compounds": {
419
+ "recommended": ["SS316", "SS304", "Hastelloy"],
420
+ "avoid": ["CS"],
421
+ "notes": "H2S causes sulfide stress cracking"
422
+ },
423
+ "refrigerants": {
424
+ "recommended": ["CS", "SS304", "Cu"],
425
+ "notes": "Material depends on specific refrigerant"
426
+ }
427
+ }
428
+ }
@@ -0,0 +1,206 @@
1
+ {
2
+ "_metadata": {
3
+ "reference": "Turton et al., Analysis, Synthesis, and Design of Chemical Processes, 3rd Edition, 2008",
4
+ "description": "Pressure factor coefficients for equipment cost correction",
5
+ "equations": {
6
+ "general": "log10(Fp) = C1 + C2*log10(P) + C3*(log10(P))^2",
7
+ "vessel": "Fp = [(P+1)*D / (2*S*E - 1.2*(P+1)) + CA] / t_min"
8
+ },
9
+ "units": {
10
+ "P": "barg (gauge pressure in bar)",
11
+ "D": "m (vessel diameter)",
12
+ "S": "bar (maximum allowable stress)",
13
+ "E": "dimensionless (weld efficiency)",
14
+ "CA": "m (corrosion allowance)",
15
+ "t_min": "m (minimum wall thickness)"
16
+ },
17
+ "notes": [
18
+ "For equipment with no pressure factor, Fp = 1.0",
19
+ "Vessel pressure factors depend on diameter - use vessel equation",
20
+ "Vacuum operation (P < -0.5 barg): use Fp = 1.25 for vessels"
21
+ ]
22
+ },
23
+ "heat_exchanger": {
24
+ "_description": "Pressure factors for shell-and-tube heat exchangers",
25
+ "_notes": "Based on maximum of shell-side or tube-side pressure",
26
+ "ranges": [
27
+ {
28
+ "P_min": -0.5,
29
+ "P_max": 5.0,
30
+ "C1": 0.0,
31
+ "C2": 0.0,
32
+ "C3": 0.0,
33
+ "description": "Low pressure / atmospheric"
34
+ },
35
+ {
36
+ "P_min": 5.0,
37
+ "P_max": 140.0,
38
+ "C1": 0.03881,
39
+ "C2": -0.11272,
40
+ "C3": 0.08183,
41
+ "description": "Moderate to high pressure"
42
+ }
43
+ ],
44
+ "max_pressure": 140.0,
45
+ "notes": "For pressures above 140 barg, consult manufacturer"
46
+ },
47
+ "pump": {
48
+ "_description": "Pressure factors for pumps (based on discharge pressure)",
49
+ "ranges": [
50
+ {
51
+ "P_min": -0.5,
52
+ "P_max": 10.0,
53
+ "C1": 0.0,
54
+ "C2": 0.0,
55
+ "C3": 0.0,
56
+ "description": "Low pressure"
57
+ },
58
+ {
59
+ "P_min": 10.0,
60
+ "P_max": 100.0,
61
+ "C1": -0.3935,
62
+ "C2": 0.3957,
63
+ "C3": -0.00226,
64
+ "description": "Moderate pressure"
65
+ },
66
+ {
67
+ "P_min": 100.0,
68
+ "P_max": 200.0,
69
+ "C1": 0.0,
70
+ "C2": 0.0,
71
+ "C3": 0.0,
72
+ "Fp_fixed": 1.55,
73
+ "description": "High pressure (fixed factor)"
74
+ }
75
+ ],
76
+ "max_pressure": 200.0,
77
+ "notes": "Based on discharge pressure"
78
+ },
79
+ "vessel": {
80
+ "_description": "Pressure factors for process vessels (vertical and horizontal)",
81
+ "_equation": "Fp = [(P+1)*D / (2*S*E - 1.2*(P+1)) + CA] / t_min",
82
+ "parameters": {
83
+ "S_carbon_steel": {
84
+ "value": 944,
85
+ "unit": "bar",
86
+ "description": "Maximum allowable stress for carbon steel at ambient temperature"
87
+ },
88
+ "E": {
89
+ "value": 0.9,
90
+ "description": "Weld efficiency (radiographed welds)"
91
+ },
92
+ "CA": {
93
+ "value": 0.00315,
94
+ "unit": "m",
95
+ "description": "Corrosion allowance (1/8 inch)"
96
+ },
97
+ "t_min": {
98
+ "value": 0.0063,
99
+ "unit": "m",
100
+ "description": "Minimum wall thickness (1/4 inch)"
101
+ }
102
+ },
103
+ "vacuum_factor": {
104
+ "P_threshold": -0.5,
105
+ "Fp": 1.25,
106
+ "description": "For vacuum operation (P < -0.5 barg), use fixed Fp = 1.25"
107
+ },
108
+ "notes": [
109
+ "Vessel pressure factor depends on both pressure and diameter",
110
+ "For t < t_min, Fp = 1.0",
111
+ "Maximum allowable stress decreases with temperature - see material data"
112
+ ],
113
+ "stress_vs_temperature": {
114
+ "_description": "Approximate S values for carbon steel at elevated temperatures",
115
+ "_reference": "ASME SA515-Grade 55",
116
+ "temperatures_C": [0, 100, 200, 300, 350, 400, 450, 500],
117
+ "S_values_bar": [944, 944, 944, 896, 821, 620, 413, 206]
118
+ }
119
+ },
120
+ "fired_heater": {
121
+ "_description": "Pressure factors for fired heaters (process side pressure)",
122
+ "ranges": [
123
+ {
124
+ "P_min": -0.5,
125
+ "P_max": 10.0,
126
+ "C1": 0.0,
127
+ "C2": 0.0,
128
+ "C3": 0.0,
129
+ "description": "Low pressure"
130
+ },
131
+ {
132
+ "P_min": 10.0,
133
+ "P_max": 200.0,
134
+ "C1": 0.1405,
135
+ "C2": -0.0665,
136
+ "C3": 0.0302,
137
+ "description": "Elevated pressure"
138
+ }
139
+ ],
140
+ "max_pressure": 200.0,
141
+ "notes": "For reformer and pyrolysis furnaces operating at high pressure"
142
+ },
143
+ "air_cooler": {
144
+ "_description": "Pressure factors for air-cooled heat exchangers",
145
+ "ranges": [
146
+ {
147
+ "P_min": -0.5,
148
+ "P_max": 10.0,
149
+ "C1": 0.0,
150
+ "C2": 0.0,
151
+ "C3": 0.0,
152
+ "description": "Low pressure"
153
+ },
154
+ {
155
+ "P_min": 10.0,
156
+ "P_max": 100.0,
157
+ "C1": 0.03881,
158
+ "C2": -0.11272,
159
+ "C3": 0.08183,
160
+ "description": "Elevated pressure"
161
+ }
162
+ ],
163
+ "max_pressure": 100.0,
164
+ "notes": "Uses same correlation as shell-and-tube heat exchangers"
165
+ },
166
+ "none": {
167
+ "_description": "Equipment with no pressure factor correction",
168
+ "Fp": 1.0,
169
+ "equipment_types": [
170
+ "compressors",
171
+ "turbines",
172
+ "electric_motors",
173
+ "generators",
174
+ "trays",
175
+ "packing",
176
+ "blowers",
177
+ "fans",
178
+ "storage_tanks"
179
+ ],
180
+ "notes": "These equipment types have pressure effects included in base cost or are not significantly affected by operating pressure"
181
+ },
182
+ "calculation_examples": {
183
+ "_description": "Example calculations for verification",
184
+ "heat_exchanger_100barg": {
185
+ "P": 100,
186
+ "calculation": "log10(Fp) = 0.03881 - 0.11272*log10(100) + 0.08183*(log10(100))^2 = 0.1407",
187
+ "Fp": 1.383
188
+ },
189
+ "heat_exchanger_50barg": {
190
+ "P": 50,
191
+ "calculation": "log10(Fp) = 0.03881 - 0.11272*log10(50) + 0.08183*(log10(50))^2 = 0.0704",
192
+ "Fp": 1.176
193
+ },
194
+ "vessel_2m_20barg": {
195
+ "P": 20,
196
+ "D": 2.0,
197
+ "S": 944,
198
+ "E": 0.9,
199
+ "CA": 0.00315,
200
+ "t_min": 0.0063,
201
+ "calculation": "t = (20+1)*2.0/(2*944*0.9-1.2*(20+1)) + 0.00315 = 0.0280 m",
202
+ "Fp": 4.44,
203
+ "notes": "Fp = t / t_min = 0.0280 / 0.0063"
204
+ }
205
+ }
206
+ }