This content was uploaded by our users and we assume good faith they have the permission to share this book. If you own the copyright to this book and it is wrongfully on our website, we offer a simple DMCA procedure to remove your content from our site. Start by pressing the button below!
500 2. Tower Overhead Pressure (P > 50 psia) Atmospheric Vacuum (P < 10 psia) 3. Compressor Piping Suction 4. Compressor Piping Discharge Gas lines with battery limits. Refrigerant Suction lines Refrigerant Discharge lines Steam lines 1. General Recommendation Maximum: Saturated Superheated Steam pressure in psig. 0-50 50-150 150-300 >300 2. High pressure Steam Lines short (L < 600 ft) Long (L > 600 ft) 3. Exhaust Steam lines (P > atmosphere) Leads to Exhaust Header 4. Relief valve discharge Relief valve, Entry point at silencer
164
Maximum AP psi/1 O0 ft.
0.18 0.15 0.30 0.35 1.0 2.0
40-50 60-100 75-200 100-250
0.2-0.5 0.05-0.1 0.5 1.0 0.5
15-35 35-60
200 250 167 117
0.25 0.40 1.0 1.5 1.0 0.5 0.5 0.5 1.5
0.5V s Vs
Fluid Flow Table 3-5 Approximate k values for some common gases (68~
Gas Acetylene (Ethyne) Air Ammonia Argon Butane Carbon Dioxide Carobon Monoxide Chlorine Ethane Ethylene Helium Hydrogen Chloride Hydrogen Methane Methyl Chloride Natural Gas Nitric Oxide Nitrogen Nitrous Oxide Oxygen Propane Propylene (Propene) Sulfur Dioxide
Chemical Formula or Symbol C2H 2
NH 3 A C4HI0 CO 2 CO
C12 CzH 6
C2H4 He HC 1 H2 CH 4 CH3C 1 NO N2 N20
O2 C3H8 C3H 6
SO2
165
14.7 psia)
Approximate Molecular Weight
k(Cp/Cv)
26.0 29.0 17.0 39.9 58.1 44.0 28.0 70.9 30.0 28.0 4.0 36.5 2.0 16.0 50.5 19.5 30.0 28.0 44.0 32.0 44.1 42.1 64.1
1.30 1.40 1.32 1.67 1.11 1.30 1.40 1.33 1.22 1.22 1.66 1.41 1.41 1.32 1.20 1.27 1.40 1.41 1.31 1.40 1.15 1.14 1.26
M = 1/~-k. The limitation for isothermal flow, however, is the heat transfer required to maintain a constant temperature. Therefore, when M < 1/~v/k, heat must be added to the stream to maintain constant temperature. For M < ~v/-k,heat must be rejected from the stream. Depending on the ratio of specific heats, either condition could occur with subsonic flow. Therefore, to maintain isothermal flow during heat transfer, high temperatures require high Mach numbers and low temperatures require low Mach numbers.
Fortran Programs for Chemical Process Design
166
Mathematical Model of Compressible Isothermal Flow The derivations of the maximum flow rate and pressure drop of compressible isothermal flow are based on the following assumptions: 1. 2. 3. 4. 5.
isothermal compressible fluid no mechanical work done on or by the system the gas obeys the perfect gas laws a constant friction factor along the pipe steady state flow or discharge unchanged with time
Figure 3-4 illustrates the distribution of fluid energy with work done by the pump and heat added to the system. Table 3-6 gives friction factors for clean commercial steel pipes with flow in zones of complete turbulence.
Flow Rate Through Pipeline Bemoulli's equation for the steady flow of a fluid can be expressed as:
~12dP + ~ +V-2- - g p
2gcCZ
AZ+h L+6W
-0
(3-25)
gc
I POINT 2
POINT I
~q (heat added to fluid)
I
P2 V2
Z2
PUMP
/ ZI
-w (work done by pump on fluid)
DATUM
Figure 3-4. Energy aspects of a single-stream piping system.
0
Fluid Flow
167
Table 3-6 Friction Factors for Total Turbulence in New Commerical Steel Pipes
Friction Factor (f)
Nominal Size (inch) 1
0.023
1.5
0.0205
2
0.0195
3
0.0178
4
0.0165
5
0.016
6
0.0152
8
0.0142
10
0.0136
12
0.0132
14
0.0125
16
0.0122
18
0.12
20
0.0118
24
0.0116
where ~ (the dimensionless velocity distribution) - 1 for turbulent or plug flow. Assuming no shaft work is done (i.e., 8W~ - 0), then Equation 3-25 becomes P2 - P~
V22 --
v2
--F"
P
1 -I- g
2gctX
( Z 2 - Z 1 ) -}- h c - 0
.
(3-26)
gc
For expanding gas flow, V 2 zt: V l; with horizontal pipe, 2 2 -- Z l . Hence, the differential form of Bernoulli's equation can be expressed as dP
1 = ~ VdV + h E P gc
(3-27)
where p is constant and the velocity head is g 2
h e - K~ 2g~
(3-28)
168
FortranPrograms for Chemical Process Design
The mass flow rate through the pipe is G - pVA or G = pV - constant A
(3-29)
Because both density and velocity change along the pipeline, Equation 3-29 can be expressed in differential form as: pdv + Vd 9 - 0
(3-30)
In expanding gas flow, the pressure and density ratio are constant:
P
dP
p
dp
(3-31)
and, with respect to initial condition, P~ and P~,
P
dP
P1
p
dp
Pl
(3-32)
From Equation 3-30 V
dV =
dp
(3-33)
and dP P
dp z
(3-34)
P
Therefore
1
(3-35)
P Substituting Equation 3-34 into Equation 3-33
dV=
V(dP/ p -p-
(3-36)
Therefore dV - - v ( d P
(3-37)
Fluid Flow
169
Substituting Equation 3-37 into Equation 3-27 dP = 1 V ( - V dP) + KV 2 9 gc P 2gc dP
1 V2 ( d P )
gc
-~
(3-38)
KV 2 -+-~2gc
(3-39)
Therefore,
v2/K
dp/
-dP - - - 9 gc 2
(3-40)
P
From the mass flow rate, G - 9VA V =
G pA
(3-41)
Substituting Equation 3-41 into Equation 3-40
dp - O2
gcAZp2
9
(K dP/ P 2
(3-42)
P
In terms of the initial conditions of pressure and density, i.e., substituting Equation 3-35 into Equation 3-42
-dP-
~
77
-~l
2
(3-43)
P
Integrating Equation 3-43 gives: -2~2pdP-(~
G 2(p,/1 2dp -~-1 7 { K - 2 I -p-}
(3-44)
which is
/G/2pll,/{
p~ _ p22 -- A
7
7
pl}
K --}-2 In P2
Therefore, for maximum flow rate through the pipe,
(3-45)
170
FortranPrograms for Chemical Process Design
0.5
G-
A2plgc
/ p2-p2 ) l 2
KTOTAc + 2 In p~ P2
(3-46)
P~
where KTOTA Lis the total velocity head due to friction, fittings, and valves: L
(pipe fittings + valves)
KTOTAL -- fD O + E K f
~Kf (pipe fittings + valves) is the sum of the pressure loss coefficient for all the fittings and valves in the line. Expressing the maximum fluid rate in pounds per hour, Equation 3-46 becomes
0.5 G n 1335.6d 2
Pl KTOTAL +
/P~ m P~/ 2 In P~
P2
(3-47)
P~
Pipeline Pressure Drop
If AP due to velocity acceleration is relatively small compared with the frictional drop, then ln(PJP2) may be neglected. Therefore Equation 3-47 becomes G - 1335.6d 2
[ / 2/]0"5 f)l
KTOTAL
P~ - P2 Pl
(3-48)
Putting C = 1335.6d 2
G2 =
C2
P,
. P~ - P~
KTOTAL
Pl
(3-49)
i.e., P~ - p22 - P1G2KToTAL
D1C2 P2 - Ie~
P1GZK~ OTALpl C 10.5 -
Therefore, the pressure drop
(3-50)
Fluid Flow
171
AP =_ P ~ - P2 i.e.,
AP'~ e l -
E
P~
1
p--~{
psi
(3-51)
Nomenclature A = d= Dfc = fD = g= gc G = kKKf =
KTotaI = Lst-M w= M = NRe = P~ =
P2 : Pc = R = SpGr = TVV~Z = o~ = P= la = = A-
pipe cross-sectional area, ft 2 pipe internal diameter, inch pipe internal diameter, ft Chen friction factor Darcy friction factor acceleration due to gravity (32ft/s 2) conversion factor (32.174(lbm/lb f) ,, (ft/s 2)) fluid flow rate lb/h ratio of specific heat capacities (Cp/Cv) resistance coefficient due to pipe fittings plus valves resistance coefficient due friction pipe fittings + valves total resistance coefficient length of straight pipe, ft molecular weight of fluid (lb/lb.mol) Mach number Fluid Reynolds number (6.31G/dbt) inlet fluid pressure, psia outlet fluid pressure, psia critical pressure, psia molar gas constant (1544/29 x SpGr.) molecular weight of gas + molecular weight of air fluid temperature, ~ fluid velocity, ft/s fluid sonic or critical velocity, ft/s compressibility factor correction factor (1 for turbulent or plug flow) fluid density, (lbm/ft3)(PMw/10.73ZRT) fluid viscosity, cP absolute pipe roughness, ft (0.00015 ft for carbon steel) difference
Subscripts 1 = upstream point in pipe 2 = downstream point in pipe
172
Fortran Programs for Chemical Process Design T W O - P H A S E F L O W IN PROCESS PIPING
Two-phase flow often presents design and operational problems not associated with liquid or gas flow. For example, several different flow patterns may exist along the pipeline. Frictional pressure losses are more difficult to estimate, and in the case of a cross-country pipeline, a terrain profile is necessary to predict pressure drops due to elevation changes. The downstream end of a pipeline often requires a separator to separate the liquid and vapor phases, and a slug catcher may be required to remove liquid slugs. Static pressure losses in gas-liquid flow differ from those in singlephase flow because an interface can be either smooth or rough, depending on the flow pattern. Two-phase pressure losses may be up to a factor of 10 higher than those in single-phase flow. In the former, the two phases tend to separate and the liquid lags behind. Most published correlations for two-phase pressure drop are empirical, and therefore, limited by the range of data for which they were derived [15,16,17]. If two-phase situations are not detected, pressure drop problems may develop that can prevent systems from operating. Flow Patterns
In determining the type of flow in a process pipeline, designers refer to a diagram similar to Figure 3-5, which is known as the Baker map. Figure 3-6 shows the types of flow regimes that can exist in a horizontal
Figure 3-5. Baker parameters for two-phase flow regimes with modified boundaries. Source: Baker [15].
Figure 3-6. Flow regimes in horizontal two-phase flow. 173
174
Fortran Programs for Chemical Process Design
pipe, and Table 3-7 lists the characteristic linear velocities of the gas and liquid phases in each flow regime. Seven types of flow patterns are considered in evaluating two-phase flow, and only one type can exist in a pipeline at a time. But as conditions change (e.g., velocity, roughness, and elevation), the type of flow pattern may also change. The pressure drop can also vary significantly between the flow regimes. The seven types of flow regimes in order of increasing gas rate at a constant liquid flow rate are: Bubble or Froth Flow. Bubbles of gas are dispersed throughout the liquid and are characterized by bubbles of gas moving along the upper part of the pipe at approximately the same velocity as the liquid. It occurs for liquid superficial velocities of about 5-15 ft/sec (1.5 to 4.5 m/sec) and gas superficial velocities of about 1-10 ft/s (0.3 to 3 m/sec). Plug Flow. Alternate plugs of liquid and gas move along the upper part of the pipe and liquid moves along the bottom of the pipe. Plug flow occurs for liquid velocities less than 2 ft/sec (0.6m/sec) and gas velocities less than about 3 ft/sec (0.9 m/sec). Stratified Flow. The liquid phase flows along the bottom of the pipe while the gas flows over a smooth liquid-gas interface. It occurs for liquid velocities less than 0.5 ft/sec (0.15 m/sec) and gas velocities of about 2-10 ft/sec (0.6 to 3 m/s). Table 3-7 Characteristic Linear Velocities of Two-Phase Flow Regimes Regime
Liquid phase ft/s
Vapor phase ft/s
Bubble or Froth
5-15
0.5-2
Plug
<4
Stratified
<0.5
0.5-10
Wave
<1.0
>15
Slug
15 (but less than vapor velocity)
3-50
Annular
<0.5
>20
Dispersed, Spray or Mist
close to vapor velocity
>200
Fluid Flow
175
Wave Flow. Wave flow is similar to stratified flow except that the gas is moving at a higher velocity and the gas-liquid interface is distributed by waves moving in the direction of flow. It occurs for liquid velocities less than 1 ft/sec (0.3 m/sec) and gas velocities from about 15 ft/sec. (4.5 m/sec). Slug Flow. This pattern occurs when waves are picked up periodically by the more rapidly moving gas. These form frothy slugs that move along the pipeline at a much higher velocity than the average liquid velocity. This type of flow causes severe and, in most cases, dangerous vibrations in equipment because of the high velocity slugs against fittings.
Annular Flow. In annular flow, liquid forms around the inside wall of the pipe and gas flows at a high velocity through the central core. It occurs for gas velocities greater than 20 ft/sec (6 m/sec). Dispersed, Spray, or Mist Flow. Here, all of the liquid is entrained as fine droplets by the gas phase. Dispersed flow occurs for gas velocities greater than 200 ft/sec (60 m/sec). Flow Regimes Establishing the flow regime involves determining the Baker parameters B x and By from the two-phase system's characteristics and physical properties. The Baker parameters can be expressed as: B~-531
/wL/t ~
pT 3-
WG) 1
5
By - 2.16 --~-- (9LQG)0.5
GL
/
(3-52)
(3-53)
B~ depends on the weight ratio and the physical properties of the liquid and vapor phases. It is independent of pipe size; therefore, it remains constant once calculated from the characteristics of the liquid and vapor, and its position on the Baker map changes only if the liquid-vapor proportion changes. By depends on the vapor-phase flow rate, the vapor and liquid densities, and pipe sizes. The practical significance of the pipe size, however, is the effect on the frictional losses. The point B x, By determines the flow regime for the calculated liquid-vapor ratio and the
176
Fortran Programs for Chemical Process Design
liquid's and vapor's physical properties. With increasing vapor content, B~, By moves up and to the left on the map. The boundaries of the various flow pattern regions depend on the mass velocity of the gas phase. These boundaries are represented by analytical equations developed by Coker [ 18]. These equations are used as the basis for determining the prevailing regime for any given flow rates and physical properties of the liquid and vapor. The mathematical models representing the boundaries of the flow regimes are: C~" In By - 9.774459 - 0.6548(ln Bx)
(3-54)
C 2" In By - 8.67694 - 0.1901 (ln Bx)
(3-55)
C 3" In By - 11.3976- 0.6084(ln B~) + 0.0779(ln Bx) 2
(3-56)
C 4" In By - 10.7448- 1.6265(ln Bx) + 0.2839(ln Bx) 2
(3-57)
C 5" In By - 14.569802 - 1.0173(ln Bx)
(3-58)
C 6" In By - 7.8206 - 0.2189(ln Bx)
(3-59)
Pressure Drop Various studies have been conducted in predicting the two-phase frictional pressure losses in pipes. The Lockhart-Martinelli correlations [19] shown in Figure 3-7 are employed. The basis of the correlations is that the two-phase pressure drop is equal to the single-phase pressure drop of either phase multiplied by a factor that is derived from the singlephase pressure drops of the two-phases. The total pressure drop is based on the vapor-phase pressure drop. The pressure drop computation is based on the following assumptions: 1. The two-phase flow is isothermal and turbulent in both liquid and vapor phases. 2. The pressure loss is less than 10% of the absolute upstream pressure. The two-phase pressure drop can be expressed as: APT APG = 9 YG lOOft lOOft
(3-60)
Fluid Flow
177
Figure 3-7. Lockhart-Martinelli pressure drop correlation. Source: Lockhart and Martinelli [19].
where YG is the two-phase flow modulus. YG is a function of the Lockhart-Martinelli two-phase flow modulus X, which is defined as: X
(APL) ~ -
(3-61)
APG YG = f(x) The value of YG for the different flow regimes is determined as follows: For bubble or froth flow
yG [14 2x07512 (WL/A) ~
(3-62)
Fortran Programs for Chemical Process Design
178
For plug flow y G _ [27.315X~ (WL/A) ~
12
(3-63)
For stratified flow YG -
E
]2
15,400 X
(3-64)
For wave flow, the Huntington friction factor [20] is used to determine the two-phase pressure loss: (3-65) (3-66)
In FH - 0.2111 In (H x ) - 3.993
APT
0.000336(FH)(WG)2
lOOft
dSPG
(3-67)
For slug YG
1190X ~
-
I
12
(3-68)
For annular flow YG
-
(aXb)
(3-69)
2
a - 4 . 8 - 0.3125d b - 0.343 - 0.021d d - pipe inside diameter, inch d - l0 for 12 inch and larger sizes For dispersed or spray flow
YO - {exp[~0 + ~l ~,n •
+ ~ ~,n •
+ ~ ~ln
• 1}~
(3-70)
Fluid Flow
179
C o - 1. 4659 C 1 - 0. 49138 C 2 -
0.04887
C 3 - -0.000349 Once the two-phase flow modulus (YG) for the particular flow regime has been calculated, Equation 3-60 can be used to calculate APT/100ft, the two-phase, straight-pipe pressure drop. The pressure drop of liquid or gas flowing alone in a straight pipe can be expressed as" APT
0. 000336 f DW 2x
lOOft
dSPG
psi/100ft
(3-71)
Equation 3-71 can be modified for calculating the overall pressure drop of the two-phase flow for the total length of pipe plus fittings, L from Equation 3-5, based on the gas-phase pressure drop. APToverall
0.000336 9 fD 9 WG2 9 YG 9 L " -
,
100dSPG
psi
(3-72)
The velocity of the two-phase fluid is F
7
V - 0.0509 | WG WL / - ~ + ~ d2
L PG
PL
/
(3-73)
Erosion-Corrosion Depending on the flow regime, the liquid in a two-phase flow system can be accelerated to velocities approaching or exceeding the vapor velocity. In some cases, these velocities are higher than what would be desirable for process piping. Such high velocities lead to a phenomenon known as erosion-corrosion, where the corrosion rate of a material is accelerated by an erosive material or force (in this case, the high-velocity liquid). An index [21 ] based on velocity head can indicate whether erosioncorrosion may become significant at a particular velocity. It can be used to determine the range of mixture densities and velocities below which erosion-corrosion should not occur.
Fortran Programs for Chemical Process Design
180
This index is: IOMU2
_<
(3-74)
10,000
where the mixture density is: WL + WG
(3-75)
and the mixture velocity is: UM -- UG --[-U L
-
WG 3600pGA
+
WL / 3600pLA
(3-76)
Nomenclature
A = inside cross-sectional area of pipe, ft 2 B x, By - Baker parameters for determining for regime d = pipe inside diameter, inch D = pipe inside diameter, ft fc = C h e n friction factor fD = Darcy friction factor fF = Fanning friction factor FH = Huntington friction factor H~ = Huntington flow factor ID = internal diameter of pipe, inch K = excess head loss for a fitting, velocity heads K 1 = K for fitting at NRe = 1 velocity heads K ~ = K for large fittings at NRe = ~ velocity heads L = total fitting equivalent pipe length plus straight pipe length, ft Leq- equivalent length of pipe due to fittings, ft L~t = straight pipe length, ft LTota 1 = total length of pipe, ft MW = molecular weight NRe = Reynolds number NReL = liquid Reynolds number NReG = gas Reynolds number APL/100ft = pressure drop of liquid if flowing alone in the pipe (psi/100 ft)
Fluid Flow
181
APG/100ft =pressure drop of gas if flowing alone in the pipe (psi/100 fi) APT/100ft = pressure drop of the two-phase mixture in straight pipe (psi/100 ft) APToveral1= overall pressure drop of the two-phase mixture for the total length plus fittings, psi UL = liquid velocity, ft/s U G = gas velocity, ft/s UM = velocity of the two-phase mixture, ft/s V = velocity of fluid in a pipe, ft/s WL = liquid flow rate, lb/h WG = gas flow rate, lb/h W~ = flow rate of either liquid or gas, lb/h X = Lockhart-Martinelli two-phase flow modulus (APL/APG) ~ YG = two-phase flow modulus = absolute roughness of pipe wall, ft (0.00015 ft for carbon steel) PL = liquid density, lb/ft 3 PG = gas density, lb/ft 3 PM = density of liquid-gas mixture, lb/ft 3 lax = viscosity of liquid or gas, cP gL = liquid viscosity, cP gG = gas viscosity, cP (YL= surface tension of liquid (dyne/cm)
VAPOR-LIQUID TWO-PHASE VERTICAL DOWNFLOW An understanding of two-phase flow is necessary for sound piping design because almost all chemical process plants encounter two-phase flow conditions. Two-phase vertical downflow presents its own problems in horizontal flow. In a vertical flow, large vapor bubbles, known as slug flow, are formed in the liquid stream. This flow regime is associated with pipe vibration and pressure pulsation. With bubbles greater than 1 inch in diameter and the liquid viscosity less than 100 cR slug flow region can be represented by dimensionless numbers for liquid and vapor phases respectively (Froude numbers (NFr)L and (NFr)C).These are related by the ratio of inertial to gravitational force and are expressed as:
(NFr)L
_
VL (gD) ~
PL
PL--PG
/0.5
(3-77)
182
Fortran Programs for Chemical Process Design
/0.5 _
(NFr)G --
VG (gD)~
9L 9L - PG
(3-78)
The velocities VG and VL are superficial velocities based on the total pipe cross section. These Froude numbers exhibit several features in the range 0 < (NFr)L and (NFr)G < 2. Simpson [3] illustrates the values of (NFr)Land (NFr)C with water flowing at an increased rate from the top of an empty vertical pipe. As the flow rate further increases to the value (NFr)L = 2, the pipe floods and the total cross section is filled with water. If the pipe outlet is further submerged in water and the procedure is repeated, long bubbles will be trapped in the pipe below (NFr)L = 0.31. However, above (NFr)L = 0.31, the bubbles will be swept downward and out of the pipe. If large long bubbles are trapped in a pipe (d >1 inch) in vertically down flowing liquid having a viscosity less than 100 cP and the Froude number for liquid phase, (NFr)L < 0.3, the bubbles will rise. At higher Froude numbers, the bubbles will be swept downward and out of the pipe. A continuous supply of vapor causes the Froude number in the range 0.31 < (NFr)L < 1 tO produce pressure pulsations and vibration. These anomalies are detrimental to the pipe and must be avoided. If the Froude number is greater than 1.0, the frictional force offsets the effect of gravity, and thus requires no pressure gradient in the vertical downflow liquid. This latter condition depends on the Reynolds number and pipe roughness.
The Equations The following equations will calculate Froude numbers for both the liquid and gas phases. The computer program will print out a message indicating whether the vertical pipe is self-venting, whether pulsating flow occurs, or whether no pressure gradient is required. d D = ~, 12
ft
(3-79)
gD 2
Area = - - , 4 VL =
ft WL
3600 ,, 9L " Area
(3-80)
,
ft/s
(3-81)
Fluid Flow
VG =
WG 3600 9 9G 9 Area
FRNL -
VL (gD) ~
FRNG -
VG (gD) ~
I I
,
PL PL -- 9G
PG PL - PG
183
ft/s
(3-82)
10.5
(3-83)
10.5
(3-84)
The Algorithm If FRNL < 0.31, vertical pipe is SELF-VENTING else 0.3 < FRNL < 1.0, PULSE FLOW, and may result in pipe vibration FRNL > 1.0, NO P R E S S U R E G R A D I E N T
Nomenclature
ft2
Area = inside cross-sectional area of pipe, d = inside diameter of pipe, inch D = inside diameter of pipe, ft FRNL, ( N F r ) L = Froude number of liquid phase, dimensionless FRNG, ( N F r ) C - Froude number of vapor phase, dimensionless g = gravitational constant, 32.2 ft/s 2 V L - liquid velocity, ft/s VG = vapor velocity, ft/s W L = liquid flowrate, lb/h W G = vapor flowrate, lb/h 9L = liquid density, lb/ft 3 9G = vapor densit, lb/ft 3
LINE SIZES FOR FLASHING STEAM CONDENSATE When a liquid is flowing near its saturation point (i.e., the equilibrium or boiling point) in a pipe line, decreased pressure will cause vaporization. The higher the pressure difference, the greater the vaporization resulting in flashing of the liquid. Steam condensate lines cause a two-phase flow condition, with hot condensate flowing to a lower pressure through
184
Fortran Programs for Chemical Process Design
short and long lines. For small lengths with low pressure drops, and the outlet end being a few pounds per square inch of the inlet, the flash will be assumed as a small percentage. Consequently, the line can be sized as an all liquid line. However, caution must be exercised because 5% flashing can develop an important impact on the pressure drop of the system [22]. Sizing of flashing steam condensate return lines requires techniques that calculate pressure drop of two-phase flow correlations. Many correlations have been presented in the literature [ 15,16,19,23]. Most flow patterns for steam condensate headers fall within the annular or dispersed region on the Baker map. Sometimes, they can fall within the slug flow region; however, the flashed steam in steam condensate lines is less than 30% by weight. Ruskin [24] developed a method for calculating pressure drop of flashing condensate. Ruskin's method gave pressure drops comparable to those computed by the two-phase flow with good agreement with experimental data. The method employed here is based on a similar technique given by Ruskin. The pressure drop for flashing steam uses the average density of the resulting liquid-vapor mixture after flashing. In addition, the friction factor used is valid for complete turbulent flows in both commercial steel and wrought iron pipe. The pressure drop assumes that the vapor-liquid mixture throughout the condensate line is represented by mixture conditions near the end of the line. This assumption is valid because most condensate lines are sized for low pressure drop, with flashing occurring at the steam trap or valve close to the pipe entrance. If the condensate line is sized for a higher pressure drop, an iterative method must be used. For this case, the computations start at the end of the pipeline and proceed to the steam trap. The method employed determines the following: 1. the amount of condensate flashed for any given condensate header from 15 to 140 psia. Initial steam pressure may vary from 40 to 165 psia. 2. the return condensate header temperature. 3. the pressure drop (psi/100 ft) of the steam condensate mixture in the return header. 4. the velocity of the steam condensate mixture and gives a warning message if the velocity is greater than 5000 ft/min, because this may present problems to the piping system.
The Equations The following equations are used to determine the pressure drop for flashed condensate mixture [20].
Fluid Flow
WFRFL - B (In Pc )2
__
A
185
(3-85)
where A - 0. 00671 (In Ph )2.27
(3-86)
e x 9 10 -4 +0.0088
(3-87)
X - 6 " 122 - (16"919/In Ph
(3-88)
W G - WFRFL 9 W
(3-89)
WL - W - WG
(3-90)
TFL - 115.68(P h )0.226
(3-91)
OG -- 0. 0029P~
(3-92)
PL -- 60.827 - 0.078Ph -I- 0.00048p2h - 0.0000013p3h
(3-93)
B
-
and
WG + WL
/ + WL/:
(3-94)
For turbulent flow 0.25
f m
[ - l~
(3-95)
000486)12 d
where d - pipe diameter, inch Pressure drop APT -
W
0. 000336f 9 d5 9 PM
W 2
3 . 0 5 4 [ W G +~WL 1 d2
PG
PL
(3-96)
(3-97)
186
Fortran Programs for Chemical Process Design
If V > 5000 ft/min, print a warning message as condensate may cause deterioration of the process pipeline.
Nomenclature d= f= Pc = Ph = V = W = WG = WL = WFRFL = TFL = APT = PG = PL = 9M =
internal pipe diameter, inch friction factor, dimensionless steam condensate pressure before flashing, psia flashed condensate header pressure, psia velocity of flashed condensate mixture, ft/min total flow of mixture in condensate header, lb/h flashed steam flow rate, lb/h flashed condensate liquid flow rate, lb/h weight fraction of condensate flashed to vapor temperature of flashed condensate, ~ pressure drop of flashed condensate mixture, psi/100 ft flashed steam density, lb/ft 3 flashed condensate liquid density, lb/ft 3 density of mixture (flashed condensate/steam), lb/ft 3
FLOW THROUGH PACKED BEDS Flow of fluids through packed beds of granular particles occurs frequently in chemical processes. Examples are flow through a fixed-bed catalytic reactor, flow through a filter cake, and flow through an absorption or adsorption column. An understanding of flow through packed beds is also important in the study of sedimentation and fluidization. An essential factor that influences the design and operation of a dynamic catalytic or adsorption system is the energy loss (pressure drop). Factors determining the energy loss are many and investigators have made simplifying assumptions or analogies so that they could use some of the general equations. These equations represent the forces exerted by the fluids in motion (molecular, viscous, kinetic, static, etc.) to arrive at a useful expression correlating these factor. Ergun [25] developed a useful pressure drop equation caused by simultaneous kinetic and viscous energy losses and applicable to all types of flow. Ergun's equation relates the pressure drop per unit of bed depth to dryer or reactor system characteristics, such as, velocity, fluid gravity, viscosity, particle size, shape, surface of the granular solids and void fraction. The original Ergun equation is:
Fluid Flow
AP 150(1- ~)2 e3 L gc -
laV " D 2p +
1.75(1- ~) GV E3 9 Dp
187
(3-98)
where AP = pressure drop L = unit depth of packed bed gc = dimensional constant 32.174(lbm/lbf)(ft/s 2) = viscosity of fluid, lb/ft.h V = superficial fluid velocity, ft/s D p - effective particle diameter, ft E = void fraction of bed 9 = fluid density, lb/ft 3 Equation 3-98 gives the total energy loss in fixed beds as the sum of viscous energy loss (the first term on the right side of the equation) and the kinetic or turbulent energy loss (the second term on the right side of the equation). For gas systems, approximately 80% of the energy loss is dependent on turbulence and can be represented by the second term of Equation 3-98. In liquid systems, the viscous term is the major factor.
The Equation The original Ergun equation of the total energy loss can be rearranged as follows: APT =
BL 1 - E 9 9 G 2 [ 150(2. 419g)(1 - ~) + 1. 751 (3_99) 144 ~3 Dpgcp DpG
e = fraction void volume of bed, ft 3 , void/ft 3 of packed tower volume volume of void volume of bed I(mass ~ bed / - (mass ~ bed/1 ~bed
Pcatalyst
mass of bed Pbed
Fortran Programs for Chemical Process Design
188
= Pc - 9b
(3-100)
PC
9c - density of catalyst, lb/ft 3
9b --
density of the packed bed, lb/ft 3 MP w 10.73ZT
p _
6(1-
Dp-
S
(3-101)
e)
(3-102)
V e) 9 Ap
s -
(1-
(3-103)
P
For cylindrical particles 1 Vp = 1728
pD 2 9 _ 9 PL 4
1 I/tepD2
Ap = ~144
2
+ rc 9 PD 9 PL
(3-104)
1
(3-105)
Reynolds number NRe =
GDp 2 . 4 1 9 g ( 1 -- ~)
(3-106)
Friction factor For laminar flow with NRe < 1 150
(3-107)
fp -- NRe For intermediate Reynolds number f
= P
150
+ 1.75
(3-108)
NRe
For completely turbulent flow, it is assumed that fp approaches a constant value for all packed beds with the same relative roughness. The constant is found by experiment to be 1.75 [26].
Fluid Flow
189
Nomenclature A = Ap BL = Dpfpgc G = MW = NRe = P = PD PL = S= T = VpW = Z = APT = = 9 = = -
cross-sectional area of bed, ft 2 area of particles, ft 2 bed length, ft effective particle diameter, ft friction factor gravitational constant - 4.17 x 108((lb m/lbf ) 9 (ft/h 2 )) superficial mass velocity = W/A, lb/h.ft 2 molecular weight of fluid Reynolds number, dimensionless fluid pressure, psia particle diameter, inch particle length, inch packed bed surface area, ftz/ft 3 bed fluid temperature, ~ volume of particles, ft 3 fluid flow rate, lb/h compressibility factor total pressure drop in packed bed, lb/in 2 fraction voids in packed bed density of fluid at flowing conditions, lb/ft 3 fluid viscosity, cP (1 cP = 2.4191b/ft h)
SCREEN HANDLING The code in this book makes use of a suite of subroutines for screen handling that have been developed from those given by Ward and Bromhead [27,28]. In principle, a number of subroutines are invoked by my code, and these in turn invoke other, lower level subroutines. The top level subroutines are called: GETTXT GETINT GETFLO
and MENU
190
Fortran Programs for Chemical Process Design
G E T T X T is perhaps the simplest of these. It uses ANSI control sequences to locate the cursor on the screen, to highlight a box for text entry, and through assembly-language-coded calls to an MS DOS function, intercepts individual keypresses and builds them into a text string in the text entry box. The low level functions that use the ANSI codes are coded into
GOTOXY REVID
NORMAL SHWTXT
Cursor location Turn reversed video effect on Restorenormal video (no attributes) Display string
(FORTRAN) (ASM) (ASM) (FORTRAN)
From these further calls to assembly language routines that call DOS functions are made. These routines are: GETCHR SHWBYT
Get character from keyboard buffer Display character string
Analogous routines to G E T T X T are provided for inputting INTEGER and FLOATING POINT (REAL) variables, and they are called G E T I N T and G E T F L O . In principle, they are identical to G E T T X T , but they perform the additional tasks of intercepting invalid keypresses (e.g., no alphabetic characters are permitted nor can the decimal point be duplicated, etc.) and converting from a text string into a valid number format. A routine B E E P is provided to send ASCII 07 (BEL) to the screen, which drives the PC's internal speaker. The subroutine M E N U displays a list of mnemonics on the screen at predefined locations. In my code, these mnemonics are usually in a vertical stack, and they are all accompanied by a line of explanatory text per mnemonic. Use of the cursor keys causes a highlighted bar to step through the mnemonics. Pressing the RETURN key selects the option equivalent to the currently selected mnemonic. In addition to the GETxxx subroutines, I sometimes need to display text or numbers at predefined locations on the screen. The G O T O X Y and S H W T X T calls are put together in DISTXT, DISINT, and DISFLO (DIS implying DISplay). Some other routines which are used to create special effects are BORDER COLORS
Fluid Flow
191
BORDER permits me to draw rectangular boxes on the screen using the extended character set line-drawing characters (both single and double). C O L O R S uses the ANSI codes to set foreground and background colors. The advantage of using the ANSI screen control system is that it makes many of the jobs involved in screen control simple for the F O R T R A N programmer, but at a cost: the computer on which the software is run must have ANSI.SYS loaded. Under DOS 5 or DOS 6, ANSI.SYS can be loaded "high," which prevents it from taking up valuable conventional D O S memory. There are various "enhanced ANSI.SYS" utilities which are public domain or shareware, including FANSI and NANSI. Another useful utility is ANSI.COM (PC Magazine, Ziff Davies Publishing), which has the advantage of being unloadable if the user wishes to reclaim the small amount of memory that it consumes.
Title Screen and Keyboard Utilities PUBLIC P A R A'CODE' ASSUME CS:CSSANDK
CSSANDK
SEGMENT
PUBLIC CLS
CLS PROC PUSH MOV MOV MOV MOV INT POP DB ENDP
FAR DS AH, 9 DH, SEG CLRSTRG DS, DX DX, OFFSET CLSRTRG 21H DS 1BH,'[2J$'
PUBLIC PROC PUSH MOV MOV MOV MOV INT
REVID FAR DS AH, 9 DX, SEG REVSTR DS, DX DX, OFFSET REVSTR 21H
CLRSTRG CLS
REVID
192
Fortran Programs for Chemical Process Design
REVSTR REVID
NORMAL
NORSTR NORMAL
SHWBYT
SHWBYT
GETCHR
GETCHR
POP RET DB ENDP
DS
PUBLIC PROC PUSH MOV MOV MOV MOV INT POP RET DB ENDP
NORMAL FAR DS AH, 9 DX, SEG NORSTR DS, DX DX, OFFSET NORSTR 21H DS
PUBLIC PROC PUSH MOV MOV LDS INT POP RET ENDP
SHWBYT FAR BP AH, 09H BP, SP DX, [BP+6] 21H BP 04H
PUBLIC PROC PUSH MOV INT MOV LES XOR MOV POP RET ENDP
GETCHR FAR BP AH, 08H 21H BP, SP BX, DWORD PTR[BP+6] AH, AH; this zeroes AH ES:[BX], AX; better than MOV BP 04H
1BH,'[7m$'
1BH,'[0m$'
Fluid Flow
KBCLEAR
PUBLIC KBCLEAR PROC FAR PUSH BP MOV BP, SP
WHILE: MOV INT OR JZ MOV INT JMP
AH, 0BH 21H AL, AL SHORT RETURN AH, 08H 21H SHORT WHILE
POP RET ENDP
BP
PUBLIC PROC PUSH MOV MOV INT POP RET ENDP
CURSOF FAR BP CX, 2000H AH, 1 10H BP
PUBLIC PROC PUSH MOV MOV INT POP RET ENDP
CURSBLK FAR BP CX, 0007H AH, 1 10H BP
PUBLIC PROC PUSH MOV
CURSON FAR BP CX, 0607H
RETURN:
KBCLEAR
CURSOF
CURSOF
CURSBLK
CURSBLK
CURSON
193
194
Fortran Programs for Chemical Process Design
CURSON
MOV INT POP RET ENDP
CSSANDK
ENDS
AH, 1 10H BP
END Fortran Subroutines
100
SUBROUTINE CLS WRITE(*, 100) CHAR(27)//'[2J' FORMAT(A4/) RETURN END
100
SUBROUTINE REVlD WRITE(*, 100) CHAR(27)//'[7m' FORMAT(A4/) RETURN END
100
SUBROUTINE NORMAL WRITE(*, 100) CHAR(27)//'[0m' FORMAT(A4/) RETURN END
100
SUBROUTINE SHWBYT (STR, NSTR) CHARACTER*(*) STR WRITE(*, 100) STR(I:NSTR) FORMAT(A/) RETURN END PROBLEMS AND SOLUTIONS Problem 3-1
A piping isometric (Figure 3-8) shows a 6-inch (Schedule 40) line with six 90~ elbows and two flow-through tees. The actual length of
Fluid Flow "
195
ALL DIMENSIONSARE IN FEET USELONG RADIUSELBOWS
~~ ~41~
I
0-.
s
78 ff ACTUAL LENGTH 6 long rodius elbows 2 flow-ihrough lees
Figure 3-8. Piping isometric layout.
pipe is 78 ft. The fluid flow is 75,000 lb/h and its physical properties are viscosity B = 1.25 cP, density P = 64.30 lb/ft 3, and pipe roughness e = 0.00015 ft. Calculate the equivalent length of pipe fittings, total length of the pipe, velocity head, head loss, and the overall pressure drop. Solution
The computer program PROG31 is a subroutine in the screen handling suites of programs used to calculate the parameters for the 6-inch (Schedule 40) pipe. The software program P I P E C A L is run to determine the total length of the pipe (i.e., the sum of the straight length of the pipe and the equivalent length due to pipe fittings), the head loss, the pressure drop per 100 ft of pipe, and the overall pressure drop. Table 3-8 gives the computer output from the screen handling software program. The equivalent length due to pipe fittings is 38.3 ft, the total pipe length is 116.3 ft, the excess head loss is 0.196 ft, the pressure drop per 100 ft of the pipe is 0.075 psi, and the overall pressure drop is 0.088 psi.
196
FortranPrograms for Chemical Process Design Table 3-8 Computer Output From the Screen Handling Programs PRESSURE
DROP
CALCULATION
OF A N
INCOMPRESSIBLE
P I P E I N T E R N A L D I A M E T E R , inch: M A S S F L O W R A T E , ib/h: VOLUMETRIC F L O W R A T E , gal/min.: F L U I D V I S C O S I T Y , cP: FLUID DENSITY, Ib/ft.^3: F L U I D V E L O C I T Y , ft/sec.: V E L O C I T Y H E A D L O S S D U E TO F I T T I N G S : E Q U I V A L E N T L E N G T H O F PIPE, ft: A C T U A L L E N G T H OF PIPE, ft: T O T A L L E N G T H O F PIPE, ft.: REYNOLDS NUMBER: P I P E R O U G N E S S , ft.: DARCY FRICTION FACTOR: E X C E S S H E A D LOSS, ft: P I P E P R E S S U R E D R O P / 1 0 0 ft, p s i / 1 0 0 f t : O V E R A L L P R E S S U R E D R O P OF PIPE, psi: ___
FLUID
IN A P I P E
LINE
6.065 75000.00 145.44 1.2500 64.3000 1.614 1.5960 38.3099 78.0000 116.3099 62424. .000150 .0211 .1961 .0754 .0877
Running Pipecal The computer program PIPECAL, as well as the other programs described in the screen handling, has been compiled to calculate the equivalent length due to pipe fittings, the total length of the pipe, velocity head, the head loss, the pressure drop per 100 ft of pipe, and the overall pressure drop for any given pipe size, fluid flow rate, and its physical properties. To run the program from either the floppy diskette or a hard drive, type after the A or C:\> prompt from the command line, PIPECAL.EXE (or PIPECAL) followed by a return key. For example,
A or C:\>PIPECAL.EXE (or PIPECAL)
A title is displayed and the user then presses any key from the PC console to continue. Once the screen is cleared, a list of eight options is displayed as follows: 1. 2. 3. 4. 5. 6. 7. 8
OPEN CREATE SAVE CALCS PRT RES SAVE RES FINISH QUIT
Open a pre-existing file Create a new data file Save the data file you just edited Start calculating Print the result file Save the result file Next problem? Exit to DOS
PIPECAL is user-friendly and the procedure in running the program is as follows:
Fluid Flow
197
1. Create a data file (option 2). Assign the value zero to any fitting type that is not included in the calculation. Press a return key or a downward arrow key to continue. 2. Calculate the input data (option 4). 3. Print the results onto a printer (option 5). The results are also viewed on the screen. 4. Quit the program by typing N (option 8) to return to DOS (Disk Operating System). 5. Press F I N I S H (Option 7) before opening or creating a datafile. Options 1, 3, 6, and 7 can be further used after the datafile has been created. Before using the software (PIPECAL), you must have ANSI.SYS installed as a device driver in the C O N F I G . S Y S file. If for example, ANSI.SYS is located in the directory C:kDOS, the following line must be a part of C O N F I G . S Y S DEVI CE=C: kDO SL~ N SI.SY S Problem 3-2
Calculate the overall pressure drop between points 1 and 2 for a 6-inch (Schedule 40, ID=6.065 inch) line for kerosene. Liquid conditions are: flow r a t e Q60 = 900 gpm, density at 60~ P = 51 lb/ft 3, and temperature, t = 321 ~ Figure 3-8 shows an isometric layout of the pipeline with fittings. Specific gravity at 60~ 860 = 51/62.37 = 0.82 Specific gravity at t = 321 ~ 8321 = 0.72 Density at t = 321 ~ P = 62.37 (0.72) - 44.9 lb/ft 3 Expansion factor, E = $60/$321 = 0.82/0.72 = 1.14 Flow rate at t = 321 ~ Q = Q60. E = 9 0 0 ( 1 . 1 4 ) = 1026 gpm Viscosity, g = 0.3 cP Actual length of pipe = 78 ft. Solution
The computer program PROG32 evaluates the pressure drop for any incompressible fluid per 100 ft of pipe and the overall pressure drop between two points for any given pipe size. The program PROG32 calculates the equivalent length of pipe due to fittings. This is added to the straight length of pipe to give the total length. Table 3-9 gives the input data and computer output for the 6-inch pipe size. The pressure drop per 100 ft of pipe is 1.93 psi, and the overall pressure drop is 3.4 psi.
198
Fortran Programs for Chemical Process Design Table 3-9 Input Data and Computer Output for an Incompressible Fluid in a Pipe Line
DATA32.DAT 6.065 44.9 0.00015
78.0 0.3
PRESSURE
1026.0 0.0
DROP
0.0 3.0
CALCULATION
OF A N
INCOMPRESSIBLE
P I P E I N T E R N A L D I A M E T E R , inch: MASS FLOW RATE, ib/h.: VOLUMETRIC F L O W R A T E , gal/min.: F L U I D V I S C O S I T Y , cP: FLUID DENSITY, ib/ft^3: F L U I D V E L O C I T Y , ft/sec.: V E L O C I T Y H E A D L O S S D U E TO F I T T I N G S : E Q U I V A L E N T L E N G T H OF PIPE, ft.: A C T U A L L E N G T H OF PIPE, ft.: T O T A L L E N G T H OF PIPE, ft.: REYNOLDS NUMBER: PIPE ROUGHNESS, ft.: DARCY FRICTION FACTOR: E X C E S S H E A D LOSS, ft.: PIPE PRESSURE DROP /100ft., psi/100ft: O V E R A L L P R E S S U R E D R O P OF PIPE, psi:
FLUID
IN A P I P E
LINE
6.065 369263.30 1026.00 .3000 44.900 11.380 3.000 97.919 78.000 175.919 1281127. .000150 .0155 10.867 1.9264 3.3889
P r o b l e m 3-3 Maximum Compressible Fluid Flow Calculate the m a x i m u m flow rate of natural gas through a ruptured exchanger tube assuming a complete break near the tube sheet as shown in Figure 3-3. The data are: 9 9 9 9 9 9 9 9 9
exchanger tubes = 3/4 inch, Schedule 160 internal diameter, d inch = 0.614 tube length, Lst, ft = 20 pipe friction factor for complete turbulence, f = 0.026 compressibility factor, Z = 0.9 gas temperature, ~ = 100 molecular weight, M w = 19.5 pressure in exchanger tubes, Pl(psig) = 1110 psig (1124.7 psia) relief valve set pressure on the shell side, P2(psig) = 400 psig (414.7 psia) 9 ratio of specific heat capacities, k = 1.27 9 fluid viscosity, ~t, cP = 0.012 9 resistance coefficient due to fittings and valves, K = 2.026
Fluid Flow
199
Solution The computer program PROG33 determines the maximum flow rate for any compressible fluid, having a design specification that is AP > 10% of the upstream pressure or compressible fluids at high velocities. The program calculates the maximum fluid flow rate for a given pipe size, length of pipe, and the fluid's physical properties. Table 3-10 shows the input data and computer output for the maximum flow rate of natural gas in the 0.614-inch pipe. The computed maximum flow rate of natural gas through the 0.614-inch pipe is 8397 lb/hr. The Mach number at the pipe inlet is 0.2074. At critical condition, the Mach number is 0.8874. The critical pressure of the compressible fluid is 242.3 psia, with a sonic velocity of 1346.7 ft/sec. The compressible fluid flow pattern through the pipe is SUBSONIC.
Table 3-10 Input Data and Computer Output for Maximum Compressible Fluid in a Pipe Line DATA33.DAT 0.614 2.026 1124.7
20.0 0.9 414.7
0.026 I00.0 1.27
COMPRESSIBLE
19.5 0.012
FLUID FLOW CALCULATIONS
IN A P I P E L I N E
P I P E I N T E R N A L D I A M E T E R , inch: S T R A I G H T L E N G T H O F PIPE, ft.: M A X I M U M F L U I D F L O W R A T E , ib/h.: FLUID DENSITY, ib/ft^3: PIPE FRICTION FACTOR: FLUID COMPRESSIBILITY FACTOR: F L U I D T E M P E R A T U R E , oF: F L U I D M O L E C U L A R W E I G H T , Mw: R A T I O O F S P E C I F I C H E A T C A P A C I T I E S , Cp/Cv: F L U I D V I S C O S I T Y , cP: R E S I S T A N C E COEFF. D U E T O F R I C T I O N A L LOSS: RESISTANCE COEFF. DUE TO FITTINGS + VALVES: TOTAL RESISTANCE COEFFICIENT: I N L E T F L U I D P R E S S U R E , psia: O U T L E T F L U I D P R E S S U R E , psia: P R E S S U R E DROP, psi: F L U I D V E L O C I T Y , ft/sec.: F L U I D S O N I C V E L O C I T Y , ft/sec.: M A C H M U M B E R A T INLET: MACH NUMBER AT CRITICAL CONDITION: REYNOLDS NUMBER: C R I T I C A L P R E S S U R E , psia: F L U I D F L O W IS:
.614 20.000 8396.90 4.059 .0260 .9000 i00.000 19.500 1.270 .0120 10.163 2.026 12.189 1124.700 414.700 710.000 279.289 1346.739 .2074 .8874 86293830. 242.305 SUBSONIC
200
Fortran Programs for Chemical Process Design
Problem 3-4 Compressible Fluid Pressure Drop What is the overall pressure drop for natural gas flowing at 27,000 lb/hr through a 6-inch Schedule 40 tail pipe to a header during relieving condition as shown in Figure 3-3? Relief valve set pressure, P~ = 400 psig, during relieving condition is P~ - P1 + 10% accumulation + 14.7 = 4 5 4 . 7 psia The data are: 9 9 9 9 9 9 9 9 9 9 9 9
pipe internal diameter, d inch = 6.065 tail pipe length, ft = 10 gas flow rate, lb/h = 27000 gas viscosity, g, cP = 0.012 gas compressibility factor, Z=0.9 gas temperature, ~ = 100 molecular weight of gas, M w = 19.5 ratio of specific heat capacities k= 1.27 gas inlet pressure, psia, 454.7 pipe roughness, e = 0.00015 ft resistance coefficient due to fittings and valves, K, 2.013 pipe line resistance: 1 x 90~ elbows 1 x entrance loss 1 x exit loss 4.026 inch pipe reduction
Solution The computer program PROG34 determines the overall pressure drop for the 6-inch tail pipe having a relieving rate of 27,000 lb/hr. Table 3-11 illustrates both the input data and computer output. The Mach number at inlet condition is 0.0169, and at the critical condition is 0.8874. The critical pressure is 7.985 psia and the overall pressure drop is 0.213 psi. The compressible fluid flow pattern through the pipe is S U B S O N I C .
Problem 3-5 Calculate the pressure drop of a 5 mile length in a 6-inch (Schedule 40, ID=6.065 inch) pipe, for a 5000 bpd rate of salt water (Yw - 1.07), having a gas flowing at 6 mmscfd of 0.65 specific gravity at a temperature of 110~
Fluid Flow
201
Table 3-11 Input Data and Computer Output for Compressible Fluid Flow Pressure Drop DATA34.DAT 6.065 0.012 0.00015
I0.0 0.9 1.27
27000.0 i00.0 454.7
COMPRESSIBLE
2.013 19.5
FLUID
FLOW CALCULATIONS
IN A P I P E L I N E
P I P E I N T E R N A L D I A M E T E R , inch: S T R A I G H T L E N G T H O F PIPE, ft.: F L U I D F L O W R A T E , ib/h.: FLUID DENSITY, ib/ft^3: F L U I D V I S C O S I T Y , cP: P I P E R O U G H N E S S , ft.: FLUID COMPRESSIBILITY FACTOR: F L U I D T E M P E R A T U R E , oF: F L U I D M O L E C U L A R W E I G H T , Mw: RATIO OF SPECIFIC HEAT CAPACITIES, Cp/Cv: R E S I S T A N C E C O E F F . D U E T O F R I C T I O N A L LOSS: RESISTANCE COEFF. DUE TO FITTINGS + VALVES: TOTAL RESISTANCE COEFFICIENT: I N L E T F L U I D P R E S S U R E , psia: O U T L E T F L U I D P R E S S U R E , psia: P R E S S U R E DROP, psi: FLUID VELOCITY, ft/sec.: FLUID SONIC VELOCITY, ft/sec.: M A C H M U M B E R A T INLET: MACH NUMBER AT CRITICAL CONDITION: DARCY FRICTION FACTOR: REYNOLDS NUMBER: C R I T I C A L P R E S S U R E , psia: F L U I D V I S C O S I T Y , cP: F L U I D F L O W IS:
6.065 i0.000 27000.00 1.641 .0120 .000 .9000 I00.000 19.500 1.270 .301 2.013 2.314 454.700 454.487 .213 22.766 1346.739 .0169 .8874 .0152 2340890. 7.985 .0120 SUBSONIC
Physical properties are: Liquid
Flow rate W, lb/h
77956
Density p, lb/ft 3
Gas 12434
66.7
2.98
Viscosity g, cP
1.0
0.02
Surface tension c~, dyne/cm
70.0
Pipe length 5 miles - 26,400 ft. Solution The computer program PROG35 calculates the flow regime and the pressure drops for liquid and vapor phases. From the two-phase flow modulus, the overall pressure drop for the 6-inch pipe is calculated. Table 3-12 gives the input data and computer output of the two-phase
Fortran Programs for Chemical Process Design
202
Table 3-12 Input Data and Computer Output for Two-Phase Fluid Flow in a Pipe Line DATA35.DAT 6.065 66.7 2.98
26400.0 70.0 0.00015
77956.0 12434.0 0.0
1.0 0.02
T W O - P H A S E P R E S S U R E L O S S C A L C U L A T I O N IN A P I P E L I N E *****************************************************************************
P I P E I N T E R N A L D I A M E T E R , inch: E Q U I V A L E N T L E N G T H O F PIPE, ft.: A C T U A L L E N G T H O F PIPE, ft.: T O T A L L E N G T H O F PIPE, ft.: LIQUID FLOWRATE, ib/hr.: LIQUID REYNOLDS NUMBER: LIQUID FRICTION FACTOR: PRESSURE DROP OF LIQUID, psi/100ft.: GAS F L O W R A T E , i b / h r . : GAS REYNOLDS NUMBER: GAS FRICTION FACTOR: P R E S S U R E D R O P O F GAS, p s i / 1 0 0 f t . : F L O W R E G I M E IS: LOCKHART-MARTINELLI TWO PHASE FLOW MODULUS: V E L O C I T Y OF F L U I D IN PIPE, f t . / s e c . : B A K E R P A R A M E T E R IN T H E L I Q U I D PHASE: B A K E R P A R A M E T E R IN T H E GAS PHASE: TWO-PHASE FLOW MODULUS: P R E S S U R E D R O P OF T W O - P H A S E M I X T U R E , p s i / 1 0 0 f t : O V E R A L L P R E S S U R E D R O P O F T H E T W O - P H A S E M I X T U R E , psi: INDEX 926. IS L E S S T H A N i 0 0 0 0 P I P E E R O S I O N IS
6.065 .000 26400.000 26400.000 77956.000 81105. .0201 .0818 12434.000 646814. .0159 .0367 ANNULAR 1.4920 7.391 40.768 9495.209 10.0264 .3684 97.2478 UNLIKELY
flow. The Lockhart-Martinelli two-phase flow modulus is 1.49. The Baker parameter in the liquid phase is 40.8, and the Baker parameter in the gas phase is 9495.2. These results indicate that the flow regime is A N N U L A R (and can be observed from the Baker's plot, Figure 3-5). The two-phase modulus is 10.03 and the pressure drop of the two-phase mixture per 100 ft of pipe is 0.368 psi/100ft. The overall pressure drop of the two-phase mixture is 97.25 psi. In addition, the pipe is unlikely to encounter any corrosion-erosion because the computed index of 926 is less than 10,000. Problem 3-6 Calculate the Froude numbers and flow conditions for the 2-, 4- and 6-inch (Schedule 40) vertical pipes having the following liquid and vapor flow rates and densities. WL - 6930 lb/h
WG - 1444 lb/h
PL -- 6 1 . 8 l b / f t 3
PG - 0.135 lb/ft 3
203
Fluid Flow
Solution The computer program PROG36 calculates the Froude numbers for the liquid and vapor phases. In addition, PROG36 will determine whether the pipe is self venting or whether pulsation flow is encountered. Table 3-13 shows the results for the 2-, 4-, and 6-inch (Schedule 40) pipes. Table 3-14 gives a typical input data and computer output for the 2-inch (Schedule 40) pipe.
Problem 3-7 Determine the pressure drop for the 4-, 6-, and 8-inch (Schedule 40) condensate headers under the following conditions: flow = 10,000 lb/h steam condensate p r e s s u r e - 114.7 psia header pressure - 14.7 psia Table 3-13 Vapor-Liquid Two-Phase Downflow Pipe Internal Diameter: inch
Liquid Flow Rate: lb/h Liquid Density:
lb/ft 3
Vapor Flow Rate: lb/h Vapor Density:
2.067
6930 61.80 1444
4.026
6930 61.80 1444
6.065
6930 61.80 1444
0.135
0.135
0.135
Pipe Area: ft2
0.023
0.088
0.201
Liquid Velocity: ft/s.
1.337
0.352
0.155
Vapor Velocity: ft/s.
127.504
33.609
14.810
lb/ft 3
Froude Number for Liquid Phase
0.5682
0.1073
0.0385
Froude Number for Vapor Phase
2.5332
0.4784
0.1718
Flow is pulse and this may result in pipe vibration.
Line is selfventing. Therefore no vibration problems are expected.
Line is selfventing. Therefore no vibration problems are expected.
204
Fortran Programs for Chemical Process Design Table 3-14 Input Data and Computer Output for Vapor-Liquid Two-Phase Vertical Downflow
DATA36.DAT 2.067 1444.0
6930.0 0.135
61.8
VAPOR-LIQUID
TWO-PHASE
VERTICAL
P I P E I N T E R N A L D I A M E T E R , inch: L I Q U I D F L O W R A T E , ib/h.: LIQUID DENSITY, Ib/ft^3: V A P O R F L O W R A T E , Ib/h.: VAPOR DENSITY, ib/ft^3: P I P E AREA, ft^2: L I Q U I D V E L O C I T Y , ft/s: V A P O R V E L O C I T Y , ft/s: F R O U D E N U M B E R F O R L I Q U I D PHASE: FROUDE NUMBER FOR VAPOR PHASE: F L O W IS P U L S E A N D T H I S M A Y R E S U L T
DOWNFLOW 2.067 6930. 61..800 1444. .135 .023 1.337 127.504 .5682 2.5332
IN P I P E V I B R A T I O N
Solution
The computer program PROG37 evaluates the pressure drop of any given condensate header. The program also determines whether the velocity of the flashed condensate mixture would cause deterioration in the header line. Table 3-15 illustrates the results for the 4-, 6-, and 8-inch headers. Table 3-16 shows a typical input data and computer output for the 4-inch (Schedule 40) pipe. The computed results show that the 4-inch pipe gives the velocity of the flashed condensate mixture to be 7055 ft/ min. This indicates a possible deterioration in the pipe. For the 6- and 8-inch pipes, the velocities are 3109 ft/min, and 1795 ft/min respectively, indicating that the condensate pipe lines will not deteriorate. Problem 3-8
Calculate the pressure drop in a 60 ft length of 1 1/2 inch (Schedule 40, ID = 1.610 inch), pipe packed with catalyst pellets 1/4 inch in diameter when 104.4 lb/h of gas is passing through the bed. The temperature is constant along the length of pipe at 260~ The void fraction is 45 % and the properties of the gas are similar to those of air at this temperature. The entering pressure is 10 atm [29]. Solution
The computer program PROG38 calculates the pressure drop in a 1.610-inch I.D. packed bed for varying length of catalyst pellets. For air at 260~ and 10 atm, the physical properties are:
Table 3-15 Line Sizes for Flashing Steam Condensate Pipe Internal Diameter: inch. Total flow of mixture in condensate heater: lb/h.
4.026 10000
6.065 10000
7.981 10000
Steam condensate pressure before flashing: psia.
114.7
114.7
114.7
Flashed condensate header pressure: psia.
14.7
14.7
14.7
Weight fraction of condensate flashed to vapor.
0.135
0.135
0.135
Flashed Steam flowrate: lb/h.
1346
1346
1346
Flashed condensate liquid flowrate: lb/h.
8654
8654
8654
Temperature of Flashed condensate" ~ Flashed Steam Density:
212.36
212.36
212.36
0.036
0.036
0.036
Flashed condensate liquid density" lb/ft 3
59.780
59.780
59.780
Density of mixture" lb/ft 3
0.267
0.267
0.267
Friction Factor:
0.0163
0.0149
0.0141
Pressure drop of flashed condensate mixture: psi/100 ft.
1.937
0.228
0.055
lb/ft 3
Velocity of flashed condensate mixture: ft/min.
7055 Velocity is greater than 5000 ft/min. Deterioration of the line is possible
205
3109 Velocity is less than 5000 ft/min. The condensate header line will not deteriorate
1795 Velocity is less than 5000 ft/min. The condensate header will not deteriorate
Table 3-16 Input Data and Computer Output for Flashing Steam Condensate DATA37.DAT 4.026
114.7
i0000.0 14.7
L I N E S I Z I N G FOR F L A S H I N G
STEAM CONDENSATE
PIPE I N T E R N A L DIAMETER, inch: T O T A L F L O W OF M I X T U R E IN C O N D E N S A T E HEADER, ib/h: STEAM C O N D E N S A T E P R E S S U R E B E F O R E FLASHING, psia: F L A S H E D C O N D E N S A T E H E A D E R PRESSURE, psia: W E I G H T F R A C T I O N OF C O N D E N S A T E F L A S H E D TO VAPOR: F L A S H E D S T E A M FLOWRATE, ib/h.: F L A S H E D C O N D E N S A T E L I Q U I D FLOWRATE, ib/h.: T E M P E R A T U R E OF F L A S H E D C O N D E N S A T E , oF: F L A S H E D S T E A M DENSITY, ib/ft^3: F L A S H E D C O N D E N S A T E L I Q U I D DENSITY, ib/ft^3: DENSITY OF MIXTURE, ib/ft^3: F R I C T I O N FACTOR: P R E S S U R E D R O P OF FLASHED, psi: C O N D E N S A T E MIXTURE, psi/100ft: V E L O C I T Y OF F L A S H E D C O N D E N S A T E MIXTURE, ft/min.: F L A S H E D C O N D E N S A T E M I X T U R E V E L O C I T Y IS G R E A T E R T H A N D E T E R I O R A T I O N OF THE LINE IS P O S S I B L E
4.026
i0000. 114.700 14..700 .135 1346. 8654. 212..360 .036 59.780 .267 .0163 1.937 7055. 5000 ft./min.
Table 3-17 Pressure Drop in a 1 112 Packed Bed
Particle length inch
number, NRe
Friction factor fp
Pressure drop AP, Ib/in2
0.250
4170
1.7860
68.603
0.300
4415
1.7840
64.720
0.350
4609
1.7825
61.951
0.400
4765
1.7815
59.877
0.450
4895
1.7806
58.266
Reynolds
206
Fluid Flow
207
Table 3-18 Input Data and Computer Output for for Pressure Drop in a Packed Bed DATA38.DAT 0.134 0.25 0.413
60.0 0.25 0.0278
104.4 0.45
PRESSURE
DROP
IN A P A C K E D BED
P A C K E D BED D I A M E T E R , ft.: L E N G T H OF P A C K E D BED, ft.: F L U I D F L O W R A T E T H R O U G H P A C K E D BED, ib/h.: P A R T I C L E D I A M E T E R , inch.: P A R T I C L E LENGTH, inch.: F R A C T I O N A L V O I D S IN P A C K E D BED: D E N S I T Y OF FLUID, ib/ft^3: F L U I D V I S C O S I T Y , cP: C R O S S - S E C T I O N A L A R E A OF BED, ft^2: SUPERFICIAL MASS VELOCITY, ib/h.ft^2: A R E A OF P A R T I C L E S , ft^2: V O L U M E OF P A R T I C L E S , ft^3: T H E P A C K E D BED S U R F A C E AREA, f t ^ 2 / f t ^ 3 BED: E F F E C T I V E P A R T I C L E D I A M E T E R , ft.: F L U I D R E Y N O L D S NUMBER: F R I C T I O N F A C T O R F O R I N T E R M E D I A T E FLOW: T O T A L P R E S S U R E D R O P IN P A C K E D BED, ib/in^2:
.134 60.000 104.4 .250 .250 .450 .4130 .0278 .0141 7402.9 .2045E-02 .7102E-05 158.400 .0208 4170. 1.7860 68.603
density 9 - 0.413 lbm/ft 3 viscosity ~t - 0.0278 cP Table 3-17 gives the Reynolds number, friction factor, and pressure drop of catalyst pellets of 0.25 inch and at different particle length. Table 3-18 shows a typical input data and computer output with PL = 0.25 inch. The simulation exercise gives a pressure drop of 68.603 lb/in 2. The results show that the pressure drop in a packed bed depends on size and shape of the particles. References 1. Hooper, W. B., "The two-K Method Predicts Head Loss in Pipe Fittings," Chem Eng., August 24, 1981, pp. 96-100. 2. Crane Technical paper 410, Crane Co. Flow of Fluid Through Valves, Fittings, and Pipe, Imperial ed., 1984. 3. Simpson, L. L., "Sizing Piping for Process Plants," Chem. Eng., June 17, 1968, pp. 192-214. 4. Hooper, W. B., "Calculate Head Loss Caused by Change in Pipe Size," Chem. Eng., Nov. 7, 1988, pp. 89-92.
208
Fortran Programs for Chemical Process Design
5. Colebrook, C. F., "Turbulent Flow in Pipes with Particular References to the Transition Region Between the Smooth and Rough Pipe Laws," J. Inst., of Civil Eng. (London) vol. 11, 1938-1939, p. 133. 6. Coker, A. K., "Sizing Process Piping for Single-Phase Fluids," The Chemical Engineer, October 10, 1991, pp. 19-25. 7. Gregory, G. A. and M. Fogarasi, "Alternate to Standard Friction Factor Equation," Oil & Gas J., April 1, 1985, pp. 120-127. 8. Powley, M. B., "Flow of Compressible Fluids," Can J. Chem. Eng., 1958, pp. 241-245. 9. API, Recommended Practice for the Design and Installation of Pressure Relieving Systems in Refineries, 4th ed., RP 520, API, 1976. 10. Lapple, C. E., "Isothermal and Adiabatic Flow of Compressible Fluids," Trans. AIChE J. Vol. 39, 1943, pp. 385-428. 11. Coker, A. K., "Determine Process Pipe Sizes," CEP, March, 1991, pp. 33-39. 12. Mak, H. Y., "New Method Speeds Pressure Relief Manifold Design," Oil & Gas J., Nov. 20, 1978, pp. 166-172. 13. Janett, E., "How to Calculate Back pressure in Ventlines," Chem. Eng., Sept. 2., 1963, pp. 83-86. 14. Kirkpatrick, D. M., "Simpler Sizing of Gas Piping," Hydrocarbon Process., Dec., 1969, pp. 135-138. 15. Baker, Ovid, "Simulataneous Flow of Oil and Gas," Oil & Gas J., July, 26, 1954, pp. 185-189. 16. Chenoweth, J. M. and M. W. Martin, "Turbulent Two-Phase Flow," Petroleum Refiner, Vol. 34, No. 10, 1955, pp. 151-155. 17. Mandhane, J. M., G. A. Gregory, and K. Aziz, "A Flow Pattern Map for Gas-Liquid Flow in Horizontal Pipes," Inst. J. Multiphase Flow, Vol. 1, 1974, pp. 537-553. 18. Coker, A. K., "Understand Two-Phase Flow in Process Piping," CEP, November 1990, pp. 60-65. 19. Lockhart, R. W. and R. C. Martinelli, "Proposed Correlation of Data for Isothermal Two-Phase, Two-Component Flow in Pipes," CEP, Vol. 45, No. 1, 1949, pp. 39-48. 20. Blackwell, W. W., Chemical Process Design on a Programmable Calculator, McGraw-Hill, New York, 1984, p. 22. 21. Coulson, J. M., et al., Chemical Engineering, Vol. 1, 3rd ed., Pergamon Press, New York, 1978, pp. 91-92. 22. Ludwig, E. E., Applied Process Design for Chemical and Petrochemical Plants, Vol. 1, 2nd ed., Gulf Publishing, Houston, 1977, p. 85.
Fluid Flow
209
23. Duckler, A. E., Wicks, M., and Cleveland, R. C., "Frictional Pressure Drop in Two-Phase Flow" An Approach Through Similarity Analysis," AIChE. J, Vol. 10, 1964, pp. 44-51. 24. Ruskin, R. E, "Calculating Line Sizes for Flashing Steam Condensate," Chem Eng., August, 18, 1975, pp. 101-103. 25. Ergun, Sabri, "Fluid Flow Through Packed Columns," Chem. Eng. Prog., Vol. 48, No. 2, 1952 pp. 89-92. 26. Bennett, C. O., and Myers, J. E., Momentum, Heat and Mass Transfer, McGraw-Hill Book Co., New York, 1982. 27. Ward T., and Bromhead, E. N., Fortran and the Art of PC Programming, John Wiley & Sons, Chichester, 1989. 28. Bromhead, E. N., Private Communications. 29. Fogler, H. S., Elements of Chemical Reaction Engineering, PrenticeHall Inc., New Jersey, 1986.
SUBROUTINE
PROG31
********************************************************************* * * * * *
* * *
THIS PROGRAM CALCULATES PRESSURE DROP IN A PIPE INCLUDING PIPE FITTINGS SUCH AS VALVES AND ELBOWS. THE PROGRAM USES THE CHEN'S METHOD TO DETERMINE THE FRICTION FACTOR FC. THE DARCY FRICTION FACTOR IS 4 x Chen'S FRICTION FACTOR (F = 4 F C ) . THE PROGRAM INCORPORATES THE TWO K-METHOD TO DETERMINE THE NUMBER VELOCITY HEADS AND THUS CALCULATES THE EQUIVALENT PIPE LENGTH DUE TO PIPE FITTINGS. FROM THE TOTAL LENGTH OF THE PIPE, THE OVERALL PRESSURE DROP OF THE PIPE IS CALCULATED.
OF
* * * * * * * *
********************************************************************* ********************************************************************* AREA = PIPE INTERNAL CROSS-SECTIONAL AREA, ft^2. * ID = PIPE INTERNAL DIAMETER, ft. * ED = PIPE EXPANSION DIAMETER, ft. * CD = PIPE CONTRACTING DIAMETER, ft. * F = DARCY FRICTION FACTOR * L = TOTAL FITTING EQUIVALENT LENGTH PLUS STRAIGHT * PIPE LENGTH,ft. * LEQ = FITTINGS EQUIVALENT LENGTH, ft. * LST = STRAIGHT PIPE LENGTH, ft. * NF = NUMBER OF FITTINGS OF A GIVEN TYPE * RE = REYNOLDS NUMBER * P = P1 OR P2 (DEPENDING ON INPUT) * Pl = PIPE INLET PRESSURE, psia. * P2 = PIPE OUTLET PRESSURE, psia. * DELP = PRESSURE DROP psi/100 ft. * RHO = FLUID DENSITY, Ib/ft^3. * Q = FLUID FLOW RATE, gal/min. * W = GAS FLOWRATE, ib/h. * G = ACCELERATION DUE TO GRAVITY, 32.174 ft/sec^2 * PR = ABSOLUTE ROUGHNESS OF PIPE WALL, 0.00015ft. * V = FLUID VELOCITY, ft/sec. * VIS = VISCOSITY OF GAS, cP. * EE = RELATING TO ENTRANCE AND EXIT LOSSES * ETV = RELATING TO ELBOW, TEES AND VALVES * FIT = PIPE FITTINGS. *********************************************************************
* * * * * * * * * * * * * * * * * * * * * * * * *
*
* * * * * * * * * * * * * * *
FITTING
TYPE
FITTING
180o ELBOWS (long radius) 1 90o ELBOWS (long radius) 2 45o ELBOWS (long radius) 3 GATE VALVE 4 BALL VALVE 5 PLUG VALVE 6 GLOBE VALVE 7 DIAPHRAM, DAM TYPE VALVE 8 BUTTERFLY VALVE 9 SWING CHECK VALVE i0 RUN THRU TEE (flanged/welded)ll RUN THRU TEE (stub in type branch 12 PIPE ENTRANCE 13
210
NO.
K1 i000.0 800.0 500.0 300.0 500.0 i000.0 1500.0 i000.0 800.0 1500.0 150.0 i00.0 160.0
KL
*
0.30 0.20 0.15 0.i0 0.15 0.25 4.00 2.00 0.25 1.50 0.05
* * * * * * * * * * * ,
0.00
*
0.50
*
*
PIPE
EXIT
CHARACTER*30 CHARACTER DIMENSION LOGICAL COMMON
14
INFILE,
CHOICE CHOFIT
1.00
OUTFIL
(14,
4)
FITT /FILES/
INFILE, OUTFIL P I D , R L S T , Q, W, D E N , V I S , Z, V, L E Q , L S T , L, D E L T A H , D E L P , PR, D, R E ICOUNT CHOFIT CD, ED, OD, C H O I C E F, K, K O T T H E T A I , T H E T A 2 , PI
COMMON/DSCRI/ COMMON/DSCR2/
COMMON~DATA1~ COMMON/DATA2/ COMMON/DATA3/ COMMON/DATA4/ COMMON/DATA5/
COMMON~DATA6~ REAL
0.0
L,
CALCULATE
LEQ,
RLST,
PIPE
K,
OD,
KOT,
PRI DELPT
KTOTAL
CROSS-SECTIONAL
AREA,
ft^2
KTOTAL = 0.0 LEQ = 0.0 PR = 0.00015 G = 32.2 PI = 3 . 1 4 1 5 9 2 7 n = PID/12 AREA = (PI*(D**2))/4.0 CHECK (i.e.
WHETHER THE PIPE PR = 0.00015ft).
IF ( P R .NE. PR = PRI ENDIF CHECK
WHETHER
PRI)
ROUGHNESS
IS
FOR
CARBON
STEEL
THEN
FLUID
FLOW
RATE
IS
IN VOLUMETRIC
OR MASS
IF
( Q .GT. 0 . 0 ) T H E N G O T O ii E L S E I F (W .GT. 0.0) T H E N G O T O 12 ENDIF CALCULATE
C ii C
RE
=
CALCULATE V =
NUMBER
BASED
ON
VOLUMETRIC
FLUID
VELOCITY
ft/sec.
(0.408*Q)/PID**2
CALCULATE W =
REYNOLDS
(50.6*DEN*Q)/(PID*VIS)
THE
FLUID
MASS
FLOW
RATE,
(V*(PID**2)*DEN)/.0509
211
ib/hr
RATE
RATE.
*
GO
TO
21
CALCULATE
12
RE
=
=
Q
ON
MASS
FLOW
RATE,
ib/hr.
FLUID
VELOCITY,
ft/sec.
THE
FLUID
VOLUMETRIC
FLOW
RATE,
gal/min.
= W/(8.02*DEN)
CALCULATE 21
BASED
(0.0509*W)/(DEN*(PID**2))
CALCULATE
C
NUMBER
(6.31*W)/(PID*VIS)
CALCULATE V
REYNOLDS
IF
(RE
GO TO ELSE
THE
.GT.
DARCY
2000.0)
FRICTION
FACTOR
THEN
31
F1 = 64.0/RE F = F1 ENDIF G O T O 32 C
CALCULATE 31
A1 B1
= =
CALCULATE F =
THE
FRICTION
FITT
THEN
USING
THE
CHEN'S
THE
DARCY
FRICTION
FACTOR.
F
4.0/BI*,2
CHECK WHETHER THERE IF FIT IS TRUE THEN 32
FACTOR
((PR/D)/3.7+(6.7/RE)**0.9) -4.0*ALOGI0((PR/(3.7*D))-(5.02/RE)*ALOGI0(AI))
= IF
.TRUE. (FITT)
CALL
ARE FITTINGS CALL THE PROGRAM
SFIT
THEN
FITTINGS
CALL SFIT(K) G O T O 33 ELSE K = 0.0 G O T O 34 ENDIF FITT = .FALSE.
CALCULATE
THE
TOTAL
EQUIVALENT
LENGTH
212
, ft.
EQUATION
33 C
LEQ
= LEQ
CALCULATE KTOTAL
+
(K*D)/F
THE
TOTAL
= KTOTAL
+ K
VELOCITY +
HEAD
(F*RLST/D)
CALCULATE TOTAL FITTING EQUIVALENT STRAIGHT PIPE LENGTH, ft
34
L = RLST
LENGTH
PLUS
+ LEQ
IF ( R E .LT. G O T O 35 ELSE ENDIF
CALCULATE MASS FLOW
2000.0)
THEN
THE FLUID PRESSURE RATE, ib/hr.
DROP
PER
i00
ft.
OF
PIPE
BASED
ON
THE
IF (Q .GT. 0 . 0 ) T H E N G O T O 44 ELSE DELP = (0.000336*F*(W**2))/((PID**5)*DEN) ENDIF CALCULATE DELPT GO TO
THE
OVERALL
= (DELP*L)/100.0 55
PRESSURE +
DELP
=
DELPT
=
GO
55
TO
CALCULATE 35
IF
(Q
THE
PIPE
DROP
PER
100ft
OF
THE
PIPE
PIPE
(0.0216*F*DEN*(Q**2))/(PID**5)
CALCULATE
C
OF
((Z'DEN)/144.0)
CALCULATE THE FLUID PRESSURE VOLUMETRIC RATE. gal/min.
44
DROP
THE
OVERALL
(DELP*L)/100.0
THE
PRESSURE
PRESSURE +
DROP
OF
((Z'DEN)/144.0)
DROP
FOR
LAMINAR
FLOW
.GT. 0 . 0 ) T H E N DELP = (0.0273*VIS*Q)/(PID**4) CALCULATE DELPT
CALCULATE
THE DELTAH
=
THE
OVERALL
PRESSURE
(DELP*L)/100.0
TOTAL =
HEAD
LOSS,
+
DROP
psi.
((Z'DEN)/144.0)
ft.
(0.0393*VIS*L*Q)/(PID**4*DEN)
213
+
Z
BASED
ON
THE
GO
TO
66
CALCULATE THE PRESSURE DROP BASED ON THE MASS THE PRESSURE D R O P IN p s i . P E R 1 0 0 f t O F P I P E ELSEIF
(W
DELP
(0.0034*VIS*W)/((PID**4)*DEN)
=
.GT.
CALCULATE DELPT
=
THE
=
THE
OVERALL
TOTAL
RATE.
THEN
PRESSURE
(DELP*L)/100.0
CALCULATE DELTAH
0.0)
FLOW
+
DROP
IN p s i .
((Z'DEN)/144.0)
HEAD
LOSS,
ft.
(0.0049*VIS*L*W)/((PID**4)*(DEN**2))
+ Z
ENDIF GO C
TO
66
CALCULATE 55
DELTAH
66
RETURN END
=
THE
TOTAL
HEAD
LOSS
ft.
(0.000483*F*L*(W**2))/((PID**5)*(DEN**2))
+ Z
**************************************************************** * THIS PROGRAM * THE VELOCITY * CONSTANTS
FOR
USES HEAD THE
THE FOR
TWO-K METHOD TO THE FITTINGS:
TWO-K
CALCULATE
METHOD
DIMENSION CHOFIT (14, 4) COMMON/DATA1/ PR, D, R E COMMON/DATA3/ CHOFIT COMMON/DATA4/ CD, ED, OD, C H O I C E COMMON/DATA5/ F, K, K O T COMMON/DATA6/ THETAI, THETA2, PI COMMON/DSCRI/ KALL, KEX,
CHOFIT CHOFIT CHOFIT CHOFIT CHOFIT CHOFIT CHOFIT
(6, (8, (9, (5, (i0, (5, (9,
PID,
RLST,
Q,
W,
KSUM, KLSUM, KEEl, K C T , K O D , K O T , OD,
3) = C H O F I T 3) = C H O F I T 3) = C H O F I T 3) = C H O F I T 3) = C H O F I T 4) = C H O F I T 4) = C H O F I T
(i, (i, (2, (3, (7, (3, (6,
TOTAL
* * *
SUBROUTINE SFIT (KALL) CHARACTER CHOICE
REAL REAL
THE
DEN, KEE2, K
3) 3) 3) 3) 3) 4) 4)
214
VIS, KEET,
Z,
PRI
KTOTAL
KSUM = 0.0 KLSUM = 0.0 KEEl = 0.0 KEE2 = 0.0 KTOTAL = 0.0 KEX = 0.0 KCT = 0.0 KOD = 0.0
DO
i0
I = i,
12
K S U M = K S U M + C H O F I T (I, 2 ) * C H O F I T (I, 3) KLSUM = KLSUM + CHOFIT (I, 2 ) * C H O F I T (I, 4) i0
CONTINUE K T O T A L = K T O T A L + ( K S U M / R E + ( K L S U M * ( i. 0+ ( i. 0 / P I D ) ) ) ) K E E l = K E E l + ( C H O F I T ( 1 3 , 2 )* C H O F I T ( 1 3 , 3 ) + C H O F I T ( 1 4 , 2 )* C H O F I T ( 1 4 , 3 ) ) MEE2=KEE2+(CHOFIT( 1 3 , 2 )* C H O F I T ( 1 3 , 4 ) + C H O F I T ( 1 4 , 2 )* C H O F I T ( 1 4 , 4 ) ) MEET = (KEEl/RE + EKE2) MALL = KTOTAL + MEET
CALCULATE THE K VALUES OF THE IN P I P E E N L A R G E M E N T / R E D U C T I O N WITHOUT TAPERED ANGLES.
SUDDEN CHANGES WITH TAPERED ANGLES
OR
IF ( C H O I C E .EQ. 'Y' .OR. C H O I C E .EQ. 'y') T H E N G O T O 20 E L S E I F ( C H O I C E .EQ. 'N' .OR. C H O I C E .EQ. 'n') T H E N G O T O 75 ENDIF 20
IF
( ED
GO TO ELSE BETA1 ENDIF
.EQ. 0 . 0 ) T H E N BETA1 = 0.0 30 = PID/ED
I F ( T H E T A I .EQ. 0 . 0 ) T H E N G O T O Ii E L S E I F ( T H E T A I .LE. 4 5 . 0 ) T H E N CALl = 2.6*SIN((THETAI*PI)/(180.0*2.0)) G O T O 22 E L S E I F ( T H E T A I .GT. 4 5 . 0 ) T H E N ENDIF ii
IF
(RE
ELSEIF
.LE. 4 0 0 0 . 0 ) T H E N BETA1 = 2.0,(1.0 - (BETA1)**4) G O T O 30 (RE .GT. 4 0 0 0 . 0 ) T H E N BETA1 = (i.0 + 0.8*F)*(I.0 - (BETA1**2))**2 G O T O 30
ENDIF 22
IF
(RE
.LE. 4 0 0 0 . 0 ) T H E N BETA1 = CALl*2.0*(1.0
215
-
(BETA1)**4)
G O T O 30 ELSEIF (RE .ST. 4 0 0 0 . 0 ) T H E N BETA1 = CALI*(I.0+0.8*F)*(I.0-(BETAI**2))**2 ENDIF 3O
KEX
= KEX
+ BETA1
IF (CD .EQ. 0 . 0 ) BETA2 = 0.0 G O T O 40 ELSE BETA2 = PID/CD ENDIF
THEN
IF
(THETA2 .EQ. 0 . 0 ) T H E N G O T O 35 ELSEIF (THETA2 .LT. 4 5 . 0 ) T H E N CAL2 = 1.6*SIN((THETA2*PI)/(180.0*2.0))
ELSEIF CAn3 =
G O T O 45 (THETA2 .GT. 4 5 . 0 .OR. T H E T A 2 SIN((THETA2*PI)/(180.0*2.0))
.LT.
180.0)
CAL3 = SQRT(CAL3) G O T O 55 ENDIF 35
IF (RE .LE. 2 5 0 0 . 0 ) T H E N BETA2 = (1.2 + 160.0/RE)*((BETA2**4) - 1.0) G O T O 40 ELSEIF (RE .GT. 2 5 0 0 . 0 ) T H E N BETA2 = (0.6+0.48*F)*(BETA2**2)*((BETA2**2)-I.0) G O T O 40 ENDIF
45
IF
.LE. 2 5 0 0 . 0 ) T H E N BETA2 = CAL2*(I.2+I60.0/RE)*((BETA2**4)-I.0) G O T O 40 ELSEIF (RE .GT. 2 5 0 0 . 0 ) T H E N BETA2 = CAL2*(0.6+0.48*F)*(BETA2**2)*((BETA2**2)-I.0) G O T O 40 ENDIF
55
IF (RE .LE. 2 5 0 0 . 0 ) T H E N BETA2 = CAL3*(I.2+I60.0/RE)*((BETA2**4)-I.0) G O T O 40 ELSEIF (RE .ST. 2 5 0 0 . 0 ) T H E N BETA2 = CAL3*(0.6+0.48*F)*(BETA2**2)*((BETA2**2)-I.0) ENDIF KCT = KCT + BETA2
40
(RE
I F ( O D .EQ. 0 . 0 ) BETA3 = 0.0 G O T O 41 ELSE BETA3 = OD/PID ENDIF IF (RE VAn1 =
THEN
.LE. 2 5 0 0 . 0 ) T H E N (2.72+((BETA3**2)*(120.0/RE-I.0)))
216
THEN
BETA3
= VALI*(I.O-(BETA3**2))*((I.O/(BETA3**4))-I.O)
GO TO 42 ELSEIF ( R E .GT. 2 5 0 0 . 0 ) THEN VAL2 = (2.72-((BETA3**2)*(4000.0/RE))) BETA3 = VAL2*(I.O-(BETA3**2))*((I.0/(BETA3**4))-I.0) ENDIF 42
KOD
41
KALL
75
=
KOD =
+
KALL
BETA3 +
KEX
+
KCT
+ KOD
+ KOT
RETURN END
**************************************************************** * CONSTANTS FOR THE TWO-K METHOD **************************************************************** BLOCK DATA DIMENSION CHOFIT ( 1 4 , 4) COMMON/DATA3/ CHOFIT D A T A CHOFIT(I,3)/IOOO.O/,CHOFIT(2,3)/8OO.O/,CHOFIT(3,3)/500.O/ D A T A CHOFIT(4,3)/3OO.O/,CHOFIT(7,3)/15OO.O/,CHOFIT(II,3)/150.O/ D A T A CHOFIT(12,3)/IOO.O/,CHOFIT(13,3)/160.O/,CHOFIT(14,3)/O.O/ D A T A CHOFIT(I,4)/O.30/,CHOFIT(2,4)/O.20/,CHOFIT(3,4)/O.15/ D A T A CHOFIT(4,4)/O.IO/,CHOFIT(6,4)/O.25/,CHOFIT(7,4)/4.0/ D A T A CHOFIT(8,4)/2.0/,CHOFIT(IO,4)/I.50/,CHOFIT(II,4)/O.05/ D A T A CHOFIT(12,4)/O.O/,CHOFIT(13,4)/O.50/,CHOFIT(14,4)/I.O/ END
217
*
PROGRAM
* * *
* * * * * *
PROG32
THIS PROGRAM CALCULATES THE PRESSURE DROP IN A PIPE INCLUDING PIPE FITTINGS SUCH A S V A L V E S A N D E L B O W S . THE PROGRAM USES THE CHEN'S METHOD TO DETERMINE THE FRICTION FACTOR - f. THE DARCY FRICTION FACTOR IS 4FC (i.e. 4 X CHEN'S FRICTION FACTOR). THE PROGRAM USES THE VELOCITY HEAD DUE TO PIPE FITTINGS+VALVES TO CALCULATE THE EQUIVALENT PIPE LENGTH. THE TOTAL LENGTH OF PIPE IS THE SUMMATION OF THE EQUIVALENT LENGTH AND THE STRAIGHT PIPE LENGTH. FROM THE TOTAL LENGTH OF THE PIPE, THE OVERALL PRESSURE DROP OF THE PIPE IS CALCULATED.
*
* * * * * * * * * * * * * * * * * * * * * *
AREA PID ED CD F L
= = = = = =
LEQ LST NF RE P P1 P2 DELP RHO Q W G PR V VIS
= = = = = = = = = = = = = = =
REAL
RL,
NOMENCLATURE
*
PIPE INTERNAL CROSS-SECTIONAL AREA, ft^2. PIPE INTERNAL DIAMETER, inch. PIPE EXPANSION DIAMETER, ft. PIPE CONTRACTING DIAMETER, ft. DARCY FRICTION FACTOR TOTAL FITTING EQUIVALENT LENGTH PLUS STRAIGHT PIPE LENGTH, ft. FITTINGS EQUIVALENT LENGTH, ft. STRAIGHT PIPE LENGTH, ft. NUMBER OF FITTINGS OF A GIVEN TYPE REYNOLDS NUMBER P1 OR P2 (DEPENDING ON INPUT). PIPE INLET PRESSURE, psia. PIPE OUTLET PRESSURE, psia. PRESSURE DROP psi/100 ft. FLUID DENSITY, ib/ft^3. FLUID VOLUMETRIC FLOW RATE, gal/min. FLUID MASS FLOWRATE, ib/h. ACCELERATION DUE TO GRAVITY, 32.174 ft/sec^2. ABSOLUTE ROUGHNESS OF PIPE WALL, 0.00015ft. FLUID VELOCITY, ft/sec. VISCOSITY OF FLUID, cP.
* * * * * * * * * * * * * * * * * * * * * *
RLEQ,
RLST,
COMMON~DATA1~
50
RK,
KTOTAL
COMMON/DATA2/ COMMON/DATA3/
PID, RLST, Q, W, D E N , V I S , Z, P R I V, R L E Q , KTOTAL, RK, RL, DELTAH, DELP, G, P R , D, A R E A , RE, FF
OPEN
FILE
THE
DATA
OPEN
(UNIT
OPEN
FILE
OPEN
(UNIT
WRITE FORMAT
* * * * * * * * *
=
3,
FOR =
FILE
=
PRINTING i,
FILE
'DATA32.DAT', THE
=
RESULTS.
"PRN')
(i, 5 0 ) ( / / / , \)
218
STATUS
=
'OLD',
DELPT
ERR
=
18)
I00
W R I T E (I, i00) F O R M A T (5X, ' P R E S S U R E
ii0
W R I T E (i, ii0) F O R M A T (' F L U I D
READ
IN T H E
DROP
IN A P I P E
DATA
IN T H E
CALCULATION
LINE',/IH
DATA
OF AN
INCOMPRESSIBLE',\)
, 78(IH*))
FILE.
R E A D T H E P I P E I N T E R N A L D I A M E R T E R , inch: P I D R E A D T H E A C T U A L L E N G T H OF PIPE, ft. : R L S T R E A D T H E F L U I D F L O W R A T E ( IF V O L U M E T R I C F L O W R A T E , g a l / m i n . : Q IS G I V E N T H E N T H E M A S S F L O W RATE, ib/hr. : W = 0.0, A L T E R N A T I V E L Y , IF T H E M A S S F L O W R A T E , Ib/hr. : W IS G I V E N , T H E N T H E V O L U M E T R I C RATE, g a l / m i n . Q = 0.0. READ THE FLUID DENSITY, ib/ft^3. : DEN R E A D T H E F L U I D V I S C O S I T Y , cP: V I S R E A D T H E P I P E E L E V A T I O N , ft. : Z ( O T H E R W I S E Z = 0.0) R E A D T H E V E L O C I T Y H E A D D U E TO P I P E F I T T I N G S , :RK R E A D T H E P I P E R O U G H N E S S , ft. PRI ( 0 . 0 0 0 1 5 ) READ
(3,
*, E R R = I 9 )
PID,
RLST,
READ
(3,
*,
DEN,
VIS,
READ
(3,
*, E R R = I 9 )
GO TO 18
120
Q, W Z, RK
PRI
5
W R I T E (*, 120) F O R M A T (5X, ' D A T A GO TO
19 130
ERR=I9)
FILE
DOES
NOT
EXIST')
999
W R I T E (*, 130) F O R M A T (5X, ' E R R O R G O T O 999
CALCULATE
PIPE
MESSAGE
IN T H E
CROSS-SECTIONAL
DATA
AREA,
VALUE')
ft^2
PI = 3 . 1 4 1 5 9 2 7 G = 32.2 D = PID/12 AREA = (PI*(D**2))/4.0 CHECK (i.e.
WHETHER THE PIPE ROUGHNESS PR=0.00015ft).
IF ( P R .NE. P R = PRI ENDIF CHECK
WHETHER
PRI)
IS F O R
CARBON
STEEL
THEN
FLUID
FLOW RATE
IS IN V O L U M E T R I C
219
OR MASS
RATE.
IF ( CALL CALL ELSE CALL CALL
Q .GT. VRATE VMOUT
0.0)
THEN
= 3, = I)
STATUS
MRATE VMOUT
ENDIF
CLOSE CLOSE 999
(UNIT (UNIT
=
'KEEP')
STOP END
THIS PROGRAM CALCULATES THE PRESSURE FOR A GIVEN VOLUMETRIC RATE.
SUBROUTINE REAL
RL,
DROP
OF
INCOMPRESSIBLE
VRATE
RLEQ,
COMMON/DATA1/ COMMON/DATA2/ COMMON/DATA3/
RLST,
RK,
KTOTAL
PID, R L S T , Q, W, DEN, VIS, Z, PRI V, R L E Q , K T O T A L , RK, RL, D E L T A H , D E L P , G, PR, D, A R E A , RE, FF
DELPT
R L E Q = 0.0 K T O T A L = 0.0
CALCULATE RE
=
CALCULATE V =
REYNOLDS
NUMBER
THE
FLUID
VELOCITY,
ft/sec.
(0.408*Q)/PID**2
CALCULATE W =
THE
FLUID
MASS
RATE,
ib/hr.
(V*PID**2*DEN)/0.0509
DETERMINE IF
THE
(50.6*DEN*Q)/(PID*VIS)
(RE
WHETHER
.GT.
FLUID
2000.0)
FLOW
FLUID
OR TURBULENT.
THEN
IF F L U I D F L O W IS T U R B U L E N T , USING CHEN'S EQUATION. CALL ELSE
IS L A M I N A R
CALCULATE
THE
FRICTION
FACTOR
CHEN
FLOW
IS L A M I N A R ,
CALCULATE
220
THE
FRICTION
FACTOR.
FLUIDS.
FF = 6 4 . 0 / R E ENDIF CALCULATE CALL
THE
(RE
DELP
.LT.
=
LENGTH,
FLUID FLUID
PRESSURE DROP PER 100ft. OF PIPE, F L O W IS L A M I N A R O R T U R B U L E N T .
DELPT
2000.0)
THE
=
DELTAH ELSE
THE
=
=
OVERALL
PRESSURE
DROP,
=
TOTAL
HEAD
LOSS,
IS T U R B U L E N T PRESSURE DROP
THE
OVERALL
ft.
PER
PRESSURE
(DEEP*RE)/100.0
CALCULATE =
THE
OVERALL
+
100ft.
+ Z
OF
PIPE,
psi/100ft.
DROP,
LOSS,
COMMON/DATA1/ COMMON/DATA2/ COMMON/DATA3/
THE PRESSURE RATE.
RK,
THE
+ Z
DROP
OF
INCOMPRESSIBLE
KTOTAL
PID, R L S T , Q, W, DEN, VIS, Z, PRI V, R L E Q , K T O T A L , RK, RL, D E L T A H , D E L P , G, PR, D, A R E A , RE, FF
R L E Q = 0.0 K T O T A L = 0.0
CALCULATE
ft.
(0.0311*FF*RL*(Q**2))/(PID**5)
SUBROUTINE MRATE R E A L RL, R L E Q , R L S T ,
psi.
((Z'DEN)/144.0)
HEAD
THIS PROGRAM CALCULATES FLUIDS FOR A GIVEN MASS
=
psi.
(0.0216*FF*DEN*(Q**2))/(PID**5)
CALCULATE
DELTAH ENDIF RETURN END
THEN
(0.0393*VIS*RL*Q)/((PID**4)*DEN)
IF F L U I D F L O W CALCULATE THE
DELPT
psi/100ft.
(DELP*RL)/100.0+((Z*DEN)/144.0)
CALCULATE
RE
ft.
(0.0273*VIS*Q)/(PID**4)
CALCULATE
DELP
EQUIVALENT
TLENGTH
CALCULATE THE CHECK WHETHER IF
TOTAL
REYNOLDS
NUMBER
(6.31*W)/(PID*VIS)
221
DELPT
CALCULATE V =
THE
FLUID
VELOCITY,
ft/sec.
(0.0509*W)/(DEN*PID**2)
CALCULATE
THE
FLUID
VOLUMETRIC
FLOWRATE,
gal/min.
Q = W/(S.02*DEN) DETERMINE IF
(RE
WHETHER
.GT.
FLUID
2000.0)
FLOW
IF F L U I D F L O W IS T U R B U L E N T , USING CHEN'S EQUATION. CALL ELSE IF
IS L A M I N A R
OR
TURBULENT.
THEN CALCULATE
THE
FRICTION
FACTOR,
CHEN
FLUID
FLOW
IS
LAMINAR,
CALCULATE
THE
FRICTION
FACTOR.
FF = 64.0/RE ENDIF CALCULATE CALL
CALCULATE IF
(RE
=
=
EQUIVALENT
DELTAH ELSE
=
CALCULATE =
LENGTH,
ft.
THE
PRESSURE
DROP
PER
100ft.
OF
PIPE,
psi/10Oft.
THEN
PRESSURE
DROP
FOR
LAMINAR
FLOW,
psi/lOOft.
THE
OVERALL
PRESSURE
THE
HEAD
+
LOSS
DROP
FOR
LAMINAR
PRESSURE
psi.
((Z,DEN)/144.0)
FOR
LAMINAR
FLOW.
(O.0049*VIS*RL*W)/((PID**4)*(DEN**2))
THE
FLOW,
DROP
FOR
TURBULENT
+ Z
FLOW
psi/100ft.
(0.000336*FF*(W**2))/((PID**5)*DEN)
CALCULATE DELPT
FLUID
2000.0)
(DELP*RL)/100.O
CALCULATE
DELP
TOTAL
(0.0034*VIS*W)/((PID**4)*DEN)
CALCULATE DELPT
THE
.LT.
CALCULATE DELP
THE
TLENGTH
=
THE
OVERALL
PRESSURE
((DELP*RL)/100.O) HEAD
DROP,
psi.
((Z,DEN)/144.0)
CALCULATE
THE
DELTAH ENDIF
(O.000483*FF*RL*(W**2))/((PID**5)*(DEN**2))
=
TOTAL
+
LOSS,
ft.
RETURN
222
+ Z
END
THIS P R O G R A M PRINTS THE R E S U L T S OF PRESSU R E DROP OF I N C O M P R E S S I B L E FLOW U S I N G EITHER V O L U M E T R I C FLOW RATE OR MASS FLOW RATE. ************************************************************** SUBROUTINE
VMOUT
REAL RL, RLEQ, COMMON/DATA1/
RLST, PID,
RK,
RLST,
KTOTAL Q, W, DEN,
VIS,
Z, PRI
COMMON~DATA2~ V, RLEQ, KTOTAL, RK, RL, DELTAH, DELP, DELPT COMMON/DATA3/
RE,
FF
WRITE (1,140) PID, W, Q, VIS F O R M A T ( 5 X , ' P I P E INTERNAL DIAMETER, inch:', T60, F8.3,/, 5X,'MASS FLOW RATE, ib/h.:',T60, FI0.2,/, 5 X , ' V O L U M E T R I C FLOW RATE, g a l / m i n . : ' , T 6 0 , F l 0 . 2 , / , 5X,'FLUID VISCOSITY, cP:',T60,F8.4)
* * *
WRITE (i, 150) DEN, V, RK, RLEQ F O R M A T ( 5 X , ' F L U I D DENSITY, ib/ft^3: ' , T60, F8.3,/, 5X,'FLUID VELOCITY, ft/sec.:',T60, F8.3,/, 5 X , ' V E L O C I T Y HEAD LOSS DUE TO FITTINGS:',T60, F8.3,/, 5 X , ' E Q U I V A L E N T L E N G T H OF PIPE, ft.:',T60, F8.3)
150
*
W R I T E (i, 160) RLST, RL, RE, PR F O R M A T ( 5 X , ' A C T U A L L E N G T H OF PIPE, ft.:',T60, 5 X , ' T O T A L L E N G T H OF PIPE, ft.:', T60, 5 X , ' R E Y N O L D S NUMBER:', T60, FI0.0,/, 5X,'PIPE ROUGHNESS, ft.:', T60, F8.6)
* * *
WRITE (i, 170) FF, DELTAH, DELP, DELPT F O R M A T ( 5 X , ' D A R C Y F R I C T I O N FACTOR:', T60, F8.4,/, 5 X , ' E X C E S S HEAD LOSS, ft.:', T60, F8.3,/, 5X,'PIPE P R E S S U R E DROP /100ft., psi/100ft:', T60, F8.4,/, 5 X , ' O V E R A L L P R E S S U R E DROP OF PIPE, psi:', T60, F8.4)
160 * *
170
C
D, AREA,
* * *
140
180
G, PR,
F8.3,/, F8.3,/,
WRITE ( 1, 180) FORMAT (78 ( IH- ) ) FORM FEED THE P R I N T I N G WRITE
PAPER TO TOP OF THE NEXT PAGE.
(i, *) CHAR(12)
RETURN END ***************************************************************** THIS P R O G R A M C A L C U L A T E S THE FRICTION F A C T O R U S I N G CHEN'S E Q U A T I O N ***************************************************************** SUBROUTINE
CHEN
COMMON~DATA3~ G, PR, D, AREA, RE, FF
223
A1 = ( ( P R / D ) / 3 . 7 + ( 6 . 7 / R E ) * * 0 . 9 ) B1 = - 4 . 0 * A L O G I 0 ( ( P R / ( 3 . 7 * D ) ) - ( 5 . 0 2 / R E ) * A L O G I 0 ( A I ) ) FF = 4 . 0 / B I * * 2 RETURN END
THIS PROGRAM CALCULATES THE TOTAL LENGTH OF PIPE INCLUDING THE EQUIVALENT LENGTH. **************************************************************** SUBROUTINE TLENGTH R E A L RL, R L E Q , R L S T ,
COMMON~DATA1~ COMMON~DATA2~ COMMON/DATA3/
RK,
KTOTAL
PID, R L S T , Q, w, DEN, VIS, Z, PRI V, R L E Q , K T O T A L , RK, RL, D E L T A H , D E L P , G, PR, D, A R E A , RE, FF
DELPT
R L E Q = 0.0 K T O T A L = 0.0 CALCULATE RLEQ
THE
CALCULATE THE L E N G T H , ft.
RL
TOTAL
EQUIVALENT
LENGTH,
ft.
= RLEQ+(RK*D)/FF
= RLST
CALCULATE KTOTAL
TOTAL
FITTING
EQUIVALENT
+ RLEQ THE
VELOCITY
= KTOTAL
+ RK
+
HEAD,
KTOTAL
(FF*RLST/D)
RETURN END
224
LENGTH
PLUS
STRAIGHT
PIPE
PROGRAM
PROG33
* THIS PROGRAM CALCULATES THE MAXIMUM * COMPRESSIBLE FLUID FOR A GIVEN PIPE * FLUID FLOW CHARACTERISTICS.
*
RATE OF A PRESSURE DROP
* * *
AND
NOMENCLATURE
* * * * * * *
A d D PFF g g C
*
KF
=
*
KP
=
* *
KTOTAL LST
= =
*
MW
=
* * *
P1 P2 DELP
= = =
* ,
R
= =
= = = = = =
*
SG
=
T VG
= =
*
VS
=
* RHO = * VIS = * Z = **************
CHARACTER*IO COMMON/DATA1/ COMMON/DATA2/
RESISTANCE COEFFICIENT DUE TO PIPE FITTINGS+VALVES RESISTANCE COEFFICIENT DUE TO PIPE FRICTION TOTAL RESISTANCE COEFFICIENT LENGTH OF STRAIGHT P I P E , ft. MOLECULAR WEIGHT OF FLUID (ib/ib mol.) INLET FLUID PRESSURE, psia. OUTLET FLUID PRESSURE, psia. PRESSURE DROP (PRESSURE DIFFERENCE BETWEEN TWO POINTS), psi. MOLAR GAS CONSTANT (10.73 psia.ft^3/R.ib mole) 1544 ibf.ft/oR, ib mole. MOLECULAR WEIGHT OF GAS/MOLECULAR WEIGHT OF AIR FLUID TEMPERATURE: oF. FLUID VELOCITY, ft/sec. FLUID SONIC VELOCITY, ft/sec. FLUID DENSITY, ib/ft^3. FLUID VISCOSITY, cP. FLUID COMPRESSIBILITY FACTOR (Z=I).
REGIME(3),
REG(3)
COMMON~DATA3~ COMMON~DATA4~ COMMON~DATA5~
D, R E RHO, DELP VG, VS, M A C H , M A C R , KP, K T O T A L REG, REGIME, IR
REAL
KF,
ID,
LST,
FLOW PATTERNS Supersonic). REG/
*
PIPE CROSS-SECTIONAL AREA, ft^2. PIPE INTERNAL DIAMETER, inch. PIPE INTERNAL DIAMETER, ft. PIPE FRICTION FACTOR ACCELERATION DUE TO GRAVITY, 32.2 ft/sec^2. CONVERSION FACTOR (32.174 (ibm/ibf)(ft/s^2)
* *
DATA
FLUID SIZE,
OF
KP,
MW,
MACH,
COMPRESSIBLE
'SUBSONIC
',
PC
MACR,
FLUID
'SONIC
9
225
KTOTAL
FLOW
IN
A PIPE
'SUPERSONIC'/
(Subsonic,
Sonic
OPEN THE
I00
FILE.
(UNIT = 3, F I L E =
"DATA33.DAT',
OPEN
FILE
THE RESULTS.
OPEN
(UNIT = i, F I L E
FOR P R I N T I N G =
FORMAT
E R R = 18)
F L O W CALCULATIONS IN A ' , \ )
(" P I P E L I N E ' , / 7 8 ( I H * ) )
IN T H E D A T A
READ READ READ READ READ READ READ READ READ READ READ
THE THE THE THE THE THE THE THE THE THE THE
I N T E R N A L P I P E D I A M E T E R , inch.: ID S T R A I G H T L E N G T H OF PIPE, ft.: L S T PIPE FRICTION FACTOR: PFF R E S I S T A N C E C O E F F I C I E N T D U E TO P I P E F I T T I N G S + V A L V E S : F L U I D C O M P R E S S I B I L I T Y F A C T O R : (Z=I.0) F L U I D T E M P E R A T U R E , oF: T FLUID MOLECULAR WEIGHT: MW F L U I D I N L E T P R E S S U R E , psia: P1 F L U I D O U T L E T P R E S S U R E , psia: P2 R A T I O OF S P E C I F I C H E A T C A P A C I T I E S , Cp/Cv: R A T I O K F L U I D V I S C O S I T Y , cP: VIS.
READ READ READ
(3, (3, (3,
*, E R R = I 9 ) *, E R R = f 9 ) *, E R R = I 9 )
ID, KF, PI,
LST, PFF Z, T, M W P2, R A T I O K ,
19 130
W R I T E (*, 130) F O R M A T (5X, " E R R O R M E S S A G E GO TO 999
IN T H E
THIS
CALLS
FLUID
CALL
CALCI
(ID,
THIS
CALLS
FOR THE RESULTS
CALL OUT1 CLOSE CLOSE
VIS
20
W R I T E (*, 120) F O R M A T (5X, 'DATA F I L E GO TO 999
999
"OLD',
READ
GO TO
20
=
(i, II0)
18 120
C
STATUS
'PRN')
W R I T E (i, i00) F O R M A T (///,IOX,'COMPRESSIBLE F L U I D
WRITE ii0
DATA
OPEN
DOES NOT
FOR THE MAXIMUM
(ID,
LST,
LST,
(3, S T A T U S (i)
=
PFF,
PFF,
KF,
EXIST')
DATA VALUE')
FLOWRATE
Z, T, MW,
CALCULATION
PI,
P2,
RATIOK,
VIS,
G)
TO BE P R I N T E D .
KF,
Z, T, MW,
'KEEP')
STOP END
226
G,
PI,
P2,
RATIOK,
VIS)
KF
THIS PROGRAM CALCULATES THE MAXIMUM COMPRESSIBLE FLUID A GIVEN PRESSURE LOSS AND FLUID SYSTEM CHARACTERISTICS.
SUBROUTINE
CALCI
CHARACTER*I0,
(ID, LST, VIS, G)
REGIME(3),
PFF,
ID,
LST,
KF,
KP,
Z,
T,
MW,
PI,
P2,
FOR
RATIOK,
REG(3)
COMMON~DATA1~ D, R E COMMON~DATA2~ RHO, D E L P COMMON~DATA3~ VG, VS, M A C H , COMMON~DATA4~ KP, K T O T A L COMMON~DATA5~ REG, R E G I M E , REAL
KF,
RATE
MACR,
PC
IR
KTOTAL,
MW,
MACH,
MACR
T = T + 460.0 PI = 3 . 1 4 1 5 9 2 7 CALCULATE
THE
PIPE
AREA,
ft^2.
D = ID/12.0 AREA = (PI*D*D)/4.0 CALCULATE RHO
=
THE
THE
DELP
- P2
= P1
CALCULATE =
FLUID
DENSITY,
ib/ft^3.
(PI*MW)/(10.72*T*Z)
CALCULATE
KP
INLET
THE
PRESSURE
DIFFERENCE,
RESISTANCE
psi.
COEFFICIENT,
KP
DUE
TO
PIPE
FRICTION.
(PFF*LST)/D
CALCULATE THE TOTAL KTOTAL = KF + KP
RESISTANCE
CALCULATE THE MAXIMUM PRESSURES, psia.
FLUID
COEFFICIENT.
RATE
FOR
THE
INLET
AND
OUTLET
Cl = 1 3 3 5 . 6 , ( I D * , 2 ) C2 = S Q R T ( R H O / ( K T O T A L + ( 2 . 0 * A L O G ( P I / P 2 ) ) ) ) * S Q R T ( ( P I * * 2 - P 2 * * 2 ) / P I ) G = CI*C2 CALCULATE RE
=
CALCULATE VG
=
FLUID'S
REYNOLDS
NUMBER
THE
FLUID
VELOCITY,
ft/sec.
(0.0509*G)/(RHO*ID**2)
CALCULATE VS
THE
(6.31*G)/(D*VIS)
THE
SONIC
VELOCITY,
ft/sec.
= 223.0*SQRT((RATIOK*T)/MW)
227
AT
THE
MAXIMUM
FLOW
CALCULATE MACH
THE
INLET MACH
NUMBER
= VG/VS
CALCULATE THE EXIT MACH NUMBER FOR ISOTHERMAL i.e. T H E M A C H N U M B E R A T C R I T I C A L C O N D I T I O N . MACR
= 1.0/SQRT(RATIOK)
CHECK WHETHER IF
FLOW
(MACH
GO TO
FLUID
FLOW
IS S U B S O N I C ,
SONIC
OR S U P E R S O N I C
.LT. MACR) T H E N IR = 1 REGIME(IR) = REG(IR)
i0 E L S E I F ( M A C H .EQ. MACR) T H E N IR = 2 REGIME(IR) = REG(2) GO TO i0 E L S E I F (MACH .GT. MACR) T H E N IR = 3 REGIME(IR) = REG(3)
ENDIF CALCULATE THE CRITICAL PRESSURE U S I N G C R O C K E R ' S E Q U A T I O N , psia.
AT S O N I C
CONDITION
SG = M W / 2 9 . 0 R = 1544.0/(29.0,SG) PC = ( G / ( I I 4 0 0 . 0 * I D * * 2 ) ) * S Q R T ( ( R * T ) / ( R A T I O K * ( R A T I O K + I . 0 ) ) )
i0
T = T - 460.0 RETURN END
***************************************************************
T H I S P R O G R A M P R I N T S T H E R E S U L T S OF T H E M A X I M U M C O M P R E S S I B L E FLUID FLOW ONTO A PRINTER. *************************************************************** SUBROUTINE
OUT1
* CHARACTER*I0,
REGIME(3),
COMMON/DATA1/
COMMON/DATA5/
D, RE RHO, D E L P VG, VS, MACH, MACR, KP, K T O T A L REG, R E G I M E , IR
REAL
KF,
COMMON~DATA2~ COMMON/DATA3/
COMMON~DATA4~
140 1
2
(ID, LST, PFF, R A T I O K , VIS)
ID,
LST,
KP,
KF,
Z,
T,
MW,
G,
PI,
REG(3)
KTOTAL,
MW,
PC
MACH,
MACR
W R I T E (i, 140) ID, LST, G, RHO, PFF, Z, T, MW, R A T I O K , V I S F O R M A T ( 5 X , ' P I P E I N T E R N A L D I A M E T E R , i n c h : ' , T60, F 8 . 3 , / , 5 X , ' S T R A I G H T L E N G T H OF PIPE, ft.:', T60, F 8 . 3 , / , 5 X , ' M A X I M U M F L U I D F L O W R A T E , i b / h . : ' , T60, F I 0 . 2 , / ,
228
P2,
3
5X,'FLUID DENSITY, ib/ft^3: ' , T60, F8.3,/, 5X,'PIPE FRICTION FACTOR:', T60, F8.4,/, 5X,'FLUID COMPRESSIBILITY FACTOR:', T60, F8.4,/, 5X,'FLUID TEMPERATURE, oF:', T60, F8.3,/, 5X,'FLUID MOLECULAR WEIGHT, Mw:', T60, F8.3,/, 5X,'RATIO OF SPECIFIC HEAT CAPACITIES, Cp/Cv:',T60, F8.3,/, 5X,'FLUID VISCOSITY, cP:', T60, F8.4)
4
5 6
7 8 9 *
1 2
WRITE (I, 150) KP, KF, KTOTAL FORMAT (5X, 'RESISTANCE COEFF. DUE TO FRICTIONAL LOSS:',T60, F8.3,/,5X,'RESISTANCE COEFF. DUE TO FITTINGS + VALVES:' T60, F8.3 /,5X,'TOTAL RESISTANCE COEFFICIENT:',T60,F8.3)
1 2
WRITE (1,160) PI, P2, DELP FORMAT (5X,'INLET FLUID PRESSURE, psia:', T60, F9.3,/, 5X,'OUTLET FLUID PRESSURE, psia:', T60, F9.3,/, 5X,'PRESSURE DROP, psi:', T60, F9.3)
150
160
2 3
WRITE (i, 170) VG, VS, MACH, MACR FORMAT (5X,'FLUID VELOCITY, ft/sec.:', T60, F9.3,/, 5X,'FLUID SONIC VELOCITY, ft/sec.:', T60, F9.3,/, 5X,'MACH MUMBER AT INLET:', T60, F8.4,/, 5X,'MACH NUMBER AT CRITICAL CONDITION:', T60, F8.4)
1
WRITE (I, 180) RE, PC FORMAT (5X,'REYNOLDS NUMBER:', 5X,'CRITICAL PRESSURE,
170 1
180
T60, FI0.0/, psia:', T60, F9.3)
190
WRITE (I, 190) REGIME(IR) FORMAT (5X,'FLUID FLOW IS:', T60, AI0)
200
WRITE (i, 200) FORMAT (78(IH-)) FORM FEED THE PRINTING PAPER TO TOP OF THE NEXT PAGE. WRITE
(I, *) CHAR(12)
RETURN END
229
PROGRAM
PROG34
********************************************************************* * THIS PROGRAM CALCULATES THE PRESSURE * COMPRESSIBLE FLUID FOR A GIVEN FLUID * AND FLUID FLOW CHARACTERISTICS.
DROP FLOW
OF A RATE,
PIPE
SIZE
* * *
********************************************************************* ********************************************************************* *
NOMENCLATURE
* * * * * *
A d D FD g g
*
C
= = = = = =
*
PIPE CROSS-SECTIONAL AREA, ft^2. PIPE INTERNAL DIAMETER, inch. PIPE INTERNAL DIAMETER, ft. DARCY FRICTION FACTOR ACCELERATION DUE TO GRAVITY, 32.2 ft/sec^2. CONVERSION FACTOR (32.174 (ibm/ibf)(ft/s^2)
*
* KF = RESISTANCE COEFFICIENT DUE TO PIPE FITTINGS+VALVES * KP = RESISTANCE COEFFICIENT DUE TO PIPE FRICTION * KTOTAL = TOTAL RESISTANCE COEFFICIENT * LST = LENGTH OF STRAIGHT PIPE, ft. * MW = MOLECULAR WEIGHT OF FLUID (ib/ib mol.) * P1 = INLET FLUID PRESSURE, psia. * P2 = OUTLET FLUID PRESSURE, psia. * DELP = PRESSURE DROP (PRESSURE DIFFERENCE BETWEEN TWO * POINTS), psi. * PR = PIPE ROUGHNESS (i.e. PR=0.00015ft.) * R = MOLAR GAS CONSTANT (10.73 psia.ft^3/R.Ib mole) * = 1544 ibf.ft/oR, ib mole * SG = MOLECULAR WEIGHT OF GAS/MOLECULAR WEIGHT OF AIR * T = FLUID TEMPERATURE: DEG.F * VG = FLUID VELOCITY, ft/sec. * VS = FLUID SONIC VELOCITY, ft/sec. * RHO = FLUID DENSITY, ib/ft^3. * VIS = FLUID VISCOSITY, cP * Z = FLUID COMPRESSIBILITY FACTOR (Z=I) *********************************************************************
CHARACTER*IO COMMON/DATA1/
REGIME(3),
REG(3)
COMMON/DATA5/
D, R E , F D RHO, DELP VG, VS, MACH, MACR, KF, KP, KTOTAL REG, REGIME, IR
REAL
KF,
COMMON~DATA2~ COMMON~DATA3~ COMMON~DATA4~ ID,
LST,
FLOW PATTERNS Supersonic).
DATA
* * * * * *
IN
REG/'SUBSONIC
KP,
MW,
MACH,
COMPRESSIBLE
',
PC
MACR,
ELOW
'SONIC
IN
',
230
KTOTAL A
PIPE
(Subsonic,
'SUPERSONIC'/
Sonic
* * * * * * * * * * * * * * * * * * *
i00 ii0
OPEN
THE DATA
OPEN
(UNIT = 3, F I L E
FILE.
OPEN
FILE
OPEN
(UNIT = i, F I L E
=
FOR PRINTING =
'DATA34.DAT',
=
'OLD',
E R R = 18)
THE RESULTS. 'PRN')
W R I T E (i, I00) FORMAT (///,10X,'COMPRESSIBLE FLUID W R I T E (i, II0) F O R M A T (' P I P E L I N E ' , / 7 8 ( I H * ) )
FLOW CALCULATIONS
IN A',\)
C
READ
C C C C C C C C C C C C
R E A D THE P I P E I N S I D E D I A M E T E R , inch: ID R E A D T H E S T R A I G H T L E N G T H OF PIPE, ft: L S T R E A D THE F L U I D F L O W RATE, Ib/hr.: W R E A D T H E R E S I S T A N C E COEFF. DUE TO P I P E F I T T I N G S (e.g. BENDS, V A L V E S , E N T R A N C E A N D E X I T L O S S E S ) : KF R E A D T H E F L U I D V I S C O S I T Y , cP: V I S R E A D T H E F L U I D C O M P R E S S I B I L I T Y FACTOR: Z R E A D T H E F L U I D T E M P E R A T U R E , oF: T READ THE FLUID MOLECULAR WEIGHT: MW R E A D T H E P I P E R O U G H N E S S , ft: PRI R E A D T H E R A T I O OF S P E C I F I C H E A T C A P A C I T I E S , Cp/Cv: R A T I O K R E A D T H E F L U I D I N L E T P R E S S U R E , psia: P1 READ READ READ
IN THE
STATUS
(3, (3, (3,
DATA
*, ERR=I9) *, ERR=I9) *, E R R = I 9 )
ID, LST, W, KF VIS, Z, T, M W PRI, R A T I O K , P1
GO TO 20 18 120
W R I T E (*, 120) F O R M A T (LX, 'DATA F I L E GO TO 999
19 130
W R I T E (*, 130) F O R M A T (5X, ' E R R O R M E S S A G E GO TO 999
C 20 C
THIS
CALLS
FOR T H E
CALL
CALC2
(ID,
THIS
CALLS
FOR T H E R E S U L T S
CALL OUT2 CLOSE CLOSE 999
DOES
(ID,
LST, =
W,
W,
EXIST')
IN T H E
PRESSURE
LST,
(3, S T A T U S (i)
NOT
DROP
VIS,
DATA VALUE')
CALCULATION
Z, T, MW,
PRI,
RATIOK,
PI,
P2)
TO BE P R I N T E D .
Z, T, MW,
RATIOK,
'KEEP')
STOP END
231
VIS,
PRI,
PI,
P2)
******************************************************************* THIS PROGRAM CALCULATES THE PRESSURE DROP OF A COMPRESSIBLE FOR A GIVEN FLOW RATE AND FLUID SYSTEM CHARACTERISTICS.
SUBROUTINE
CALC2
CHARACTER*I0,
(ID, Pl,
LST, P2)
REGIME(3),
W,
VIS,
Z,
T,
PC
COMMON/DATAL/
MACR, KF, KP, K T O T A L REG, R E G I M E , IR
REAL
KF,
MACH,
ID,
LST,
KP,
PRI,
RATIOK,
REG(3)
COMMON~DATA1~ D, RE, F D COMMON~DATA2~ RHO, D E L P COMMON~DATA3~ VG, VS, M A C H , COMMON/DATA4/
MW,
KTOTAL,
MW,
MACR
PR = 0.00015 T = T + 460.0 PI = 3 . 1 4 1 5 9 2 7 CALCULATE
THE
PIPE
AREA,
ft^2.
D = ID/12.0 AREA = (PI*D*D)/4.0
CALCULATE T H E I N L E T F L U I D RHO
=
DENSITY,
ib/ft^3.
(PI*MW)/(IO.72*T*Z)
CHECK WHETHER THE PIPE i.e. P R = 0 . 0 0 0 1 5 f t IF (PR .NE. PR = PRI ENDIF CALCULATE
PRI)
THE
ROUGHNESS
IS
FOR
CARBON
STEEL
THEN
FLUID'S
REYNOLDS
NUMBER
RE = (6.31*W)/(ID*VIS) IF (RE .GT. 2 0 0 0 . 0 ) T H E N A1 = ( ( P R / D ) / 3 . 7 + ( 6 . 7 / R E ) * * 0 . 9 ) B1 = - 4 . 0 * A L O G I 0 ( ( P R / ( 3 . 7 * D ) ) - ( 5 . 0 2 / R E ) * A L O G I O ( A I ) ) FD = 4 . 0 / B I * , 2 ELSE FD = 64.0/RE ENDIF CALCULATE KP
=
THE
RESISTANCE
COEFFICIENT
DUE
TO
PIPE
(FD*LST)/D
CALCULATE THE TOTAL RESISTANCE COEFFICIENT (i.e. F R I C T I O N A L LOSS + PIPE FITTINGS) KTOTAL
= KP
CALCULATE
+ KF
THE
OUTLET
PRESSURE
OF
THE
232
FLUID,
psia.
FRICTION
FLUID
Cl C2 P2
= 1335.6"(ID*'2) = (W**2*PI*KTOTAL)/(CI**2*RHO) = SQRT(PI**2-C2)
CALCULATE DELP
THE
= P1
CALCULATE VG
=
DROP,
psi.
- P2 THE
FLUID
VELOCITY,
ft/sec.
(0.0509*W)/(RHO*ID**2)
CALCULATE VS
PRESSURE
=
THE
SONIC
VELOCITY,
ft/sec.
223.0*SQRT((RATIOK*T)/MW)
CALCULATE MACH
THE
INLET
MACH
NUMBER
= VG/VS
CALCULATE THE i.e. T H E M A C H MACR
EXIT MACH NUMBER AT
NUMBER FOR ISOTHERMAL FLOW CRITICAL (CHOKING) CONDITION.
= 1.0/SQRT(RATIOK)
CHECK
WHETHER
IF
(MACH
GO
TO
FLUID
FLOW
IS
SUBSONIC,
SONIC
OR
SUPERSONIC
.LT. M A C R ) T H E N IR = 1 REGIME(IR)=REG(IR)
i0 E L S E I F ( M A C H .EQ. M A C R ) T H E N IR = 2 REGIME(IR)=REG(2) G O T O i0 E L S E I F ( M A C H .GT. M A C R ) T H E N IR = 3 REGIME(IR)=REG(3)
ENDIF
CALCULATE THE CRITICAL PRESSURE USING CROCKER'S EQUATION, psia. i0
AT
SONIC
CONDITION
SG = MW/29.0 R = 1544.0/(29.0-SG) PC = (W/(II400.0*ID**2))*SQRT((R*T)/(RATIOK*(RATIOK+I.O))) T
=
T
-
460.0
RETURN END *************************************************************** THIS PROGRAM PRINTS THE RESULT& OF THE MAXIMUM COMPRESSIBLE FLUID FLOW ONTO A PRINTER. *************************************************************** SUBROUTINE
OUT2
(ID,
LST,
W,
Z,
T,
233
MW,
RATIOK,
VIS,
PRI,
PI,
P2)
CHARACTER*IO,
REGIME(3),
REG(3)
COMMON~DATA1~ D, RE, FD COMMON/DATA2/ RHO, DELP
COMMON~DATA3~ VG, VS, MACH, MACR, PC COMMON~DATA4~ KF, KP, KTOTAL COMMON~DATA5~ REG, REGIME, IR REAL ID, LST, MW, KF, KP, KTOTAL, MACH, MACR
140 1
2 3 4 5 6 7 8
9
WRITE (i, 140) ID, LST, W, RHO, VIS, PRI, Z, T, MW, RATIOK FORMAT (5X,'PIPE INTERNAL DIAMETER, inch:', T60, F8.3,/, 5X,'STRAIGHT LENGTH OF PIPE, ft.:', T60, F8.3,/, 5X,'FLUID FLOWRATE, ib/h.:', T60, FI0.2,/, 5X,'FLUID DENSITY, Ib/ft^3: ' , T60, F8.3,/, 5X,'FLUID VISCOSITY, cP:', T60, F8.4,/, 5X,'PIPE ROUGHNESS, ft.:', T60, F8.3,/, 5X'FLUID COMPRESSIBILITY FACTOR:', T60, F8.4,/, 5X,'FLUID TEMPERATURE, oF:', T60, F8.3,/, 5X,'FLUID MOLECULAR WEIGHT, Mw:', T60, F8.3,/, 5X,'RATIO OF SPECIFIC HEAT CAPACITIES, Cp/Cv:',T60,F8.3) WRITE (i, 150) KP, KF, KTOTAL FORMAT (5X,'RESISTANCE COEFF. DUE TO FRICTIONAL LOSS:',T60, F8.3,/,5X,'RESISTANCE COEFF. DUE TO FITTINGS + VALVES:', T60, F8.3 /,5X,'TOTAL RESISTANCE COEFFICIENT:', T60, F8 3)
150
160 1 2 170 1 2 3
WRITE (i, 160) PI, P2, DELP FORMAT (5X,'INLET FLUID PRESSURE, psia:', T60, F9.3,/, 5X,'OUTLET FLUID PRESSURE, psia:', T60, F9.3,/, 5X,'PRESSURE DROP, psi:', T60, F9.3) WRITE (i, 170) VG, VS, MACH, MACR FORMAT (5X,'FLUID VELOCITY, ft/sec.:', T60, F9.3,/, 5X,'FLUID SONIC VELOCITY, ft/sec.:', T60, F9.3,/, 5X,'MACH MUMBER AT INLET:', T60, F8.4,/, 5X,'MACH NUMBER AT CRITICAL CONDITION:', T60, F8.4)
180
WRITE (i, 180) FD, RE FORMAT (5X,'DARCY FRICTION FACTOR:',T60, F8.4,/, 5X,'REYNOLDS NUMBER:', T60, FI0.0)
190
WRITE (i, 190) PC, VIS FORMAT (5X,'CRITICAL PRESSURE, psia:', T60, F9.3,/, 5X,'FLUID VISCOSITY, cP:', T60, F8.4)
200
WRITE (i, 200) REGIME(IR) FORMAT (5X, 'FLUID FLOW IS:', T60, AI0)
210
WRITE (i, 210) FORMAT (78(IH-)) FORM FEED THE PRINTING PAPER TO TOP OF THE NEXT PAGE. WRITE
(I, *) CHAR(12)
RETURN END
234
PROGRAM
PROG35
*THIS PROGRAM USES THE GENERAL METHOD OF LOCKHART AND MARTINELLI *COUPLED WITH OVID BAKER'S TWO-PHASE FLOW CORRELATIONS TO DETERMINE *THE TWO-PHASE PRESSURE DROP IN PROCESS PIPE LINES. THE PROGRAM *ASSUMES THAT THE TWO-PHASE FLOW IS ISOTHERMAL AND TURBULENT IN BOTH *LIQUID AND VAPOR PHASES, AND THAT THE PRESSURE LOSS IS NOT MORE *THAN i0 PER CENT OF THE ABSOLUTE UPSTREAM PRESSURE. *THE PROGRAM USES THE EXPLICIT EQUATIONS FOR FRICTION FACTOR *DEVELOPED BY CHEN. IN ADDITION, THE PROGRAM DETERMINES WHETHER *EROSION AND CORROSION IN THE PIPE MAY OCCUR.
* * * * * * * * *
*
*
* * * * * * * * * * * * * * * * * * * * * * * *
NOMENCLATURE
RE Wx ID VIS FF DELTP
= = = = = =
DEN PR VEL DENG DENL WG WL A VISL VISG ST AO-A3 Hx FH XD P MW
= = = = = = = = = = = = = = = = =
*
BX
=
*
BY
=
* PR * K * YG
= = =
REYNOLDS NUMBER LIQUID OR GAS FLOW, ib/h. PIPE INSIDE DIAMETER, inch. VISCOSITY OF LIQUID OR GAS, cP. FRICTION FACTOR PRESSURE DROP OF LIQUID OR GAS IF FLOWING ALONE, psi/100 ft. DENSITY OF LIQUID OR GAS, ib/ft^3. PIPE ROUGHNESS, ft. VELOCITY OF FLUID IN PIPE, ft/s. GAS DENSITY, ib/ft^3. LIQUID DENSITY, ib/ft^3. GAS FLOW, Ib/h. LIQUID FLOW, Ib/h. CROSS-SECTIONAL AREA OF PIPE, ft^2. VISCOSITY OF LIQUID, cP. VISCOSITY OF VAPOUR, cP. SURFACE TENSION OF LIQUID, dyne/cm. CONSTANTS FOR TWO-PHASE MODULUS EQUATION HUNTINGTON CORRELATION HUNTINGTON FRICTION FACTOR DAVIS TWO-PHASE CORRELATION=X IN DISPERSED PARACHOR FOR HYDROCARBON MOLECULAR WEIGHT OF HYDROCARBON BAKER'S PARAMETER IN THE LIQUID-PHASE BAKER'S PARAMETER IN THE VAPOR-PHASE ABSOLUTE ROUGHNESS OF PIPE WALL, ft. VELOCITY HEAD TO DUE PIPE FITTINGS. TWOPHASE FLOW MODULUS.
CHARACTER*I0 COMMON/OVID1/ COMMON/OVID2/
COMMON~OVID3~ COMMON/OVID4/ COMMON/OVID5/ COMMON/OVID6/ COMMON/OVID7/
REGIME(7),REG(7) WL, VISL, WG, VISG, ID, D, P R DPST DPW DPP DPSL
DENL, DENG
ST
235
IN
THE
FLOW
PIPE
EQUATION
* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
C O M M O N / O V I D 8 / DPB COMMON/OVID9/ DPAN C O M M O N / O V I D 1 0 / DPD COMMON/OVIDII/ D E L T P L , D E L T P G , COMMON~OVID12~ X, V E L COMMON~OVID13~ BX, BY C O M M O N / O V I D 1 4 / REL, LFF, REGG, COMMON/OVID15/ REG C O M M O N / O V I D 1 6 / LEQ, LST, L COMMON AREA R E A L ID, L, LEQ, LFF, LST, K
DELTP,
DELTPT
GFF
THE F L O W R E G I M E S FOR T W O - P H A S E F L O W S ARE: S t r a t i f i e d , Wave, Plug, Slug, Bubble, A n n u l a r ,
i00 ii0
DATA REG 'BUBBLE
/'STRATIFIED', ', ' A N N U L A R
OPEN
DATA
THE
OPEN
(UNIT
OPEN
FILE
OPEN
(UNIT
'WAVE ' 'PLUG ', ' D I S P E R S E D '/
= 3,
FILE
=
FOR PRINTING
IN T H E
',
= i, F I L E
=
'DATA35.DAT',
DATA
STATUS
=
'OLD',
'PRN')
LOSS
CALCULATION
IN A' ,\)
IN D A T A F I L E
P I P E I N S I D E D I A M E T E R , inch: ID S T R A I G H T L E N G T H OF PIPE, ft.: L S T L I Q U I D F L O W RATE, ib/hr.: WL L I Q U I D V I S C O S I T Y , cP: V I S L LIQUID DENSITY, ib/ft^3.: DENL L I Q U I D S U R F A C E T E N S I O N , d y n e / c m . : ST GAS F L O W RATE, ib/hr.: WG. G A S V I S C O S I T Y , cP: VISG. GAS DENSITY, ib/ft^3.: P I P E R O U G H N E S S , ft.: PRI V E L O C I T Y H E A D DUE TO P I P E F I T T I N G S (e.g. g i v e the d e f a u l t v a l u e of zero): K
READ READ READ
* , ERR=I9) * , ERR=I9) * , ERR=I9)
GO TO
E R R = 18)
THE RESULTS.
READ THE READ THE READ THE READ THE READ THE READ THE READ THE READ THE READ THE READ THE R E A D THE otherwise
(3, (3, (3,
'SLUG
FILE.
W R I T E ( i, i00) F O R M A T (///, 10X, " T W O - P H A S E P R E S S U R E W R I T E (i, ii0) F O R M A T (' P I P E LINE', / 7 8 ( I H * ) )
READ
Dispersed
ID, LST, WL, V I S L DENL, ST, WG, V I S G DENG, PRI, K
20
236
bends,
valves
18
120
WRITE (*, 1 2 0 ) FORMAT (5X, ' D A T A GO TO i000
FILE
19 130
WRITE (*, 1 3 0 ) FORMAT (5X, ' E R R O R GO TO i000
20
LEQ = 0.0 FACTOR = 0.0 PR = 0.00015 PI = 3 . 1 4 1 5 9 2 7
CALCULATE
THE
DOES
MESSAGE
PIPE
AREA,
NOT
IN
EXIST')
THE
DATA
VALUE')
ft^2.
D = ID/12.0 AREA = (PI*D*D)/4.0 CHECK
WHETHER
IF ( P R .NE. PR = PRI ENDIF
DETERMINE CALL
PIPE
ROUGHNESS
IS
CARBON
STEEL
(i.e.
PR=0.O0015
ft)
THEN
THE
FLOW
REGIME
THE
EQUIVALENT
FROM
THE
BAKER
MAP
BAKER
CALCULATE LEQ
THE PRI)
=
LENGTH
OF
PIPE
DUE
TO
FITTINGS,
ft.
(K*D)/LFF
CALCULATE L = LST
THE
TOTAL
LENGTH
OF
PIPE,
ft.
+ LEQ
***************************************************************** * CONSIDER WHETHER PIPE EROSION/CORROSION MAY OCCUR ***************************************************************** CALCULATE UL UG
THE
LIQUID
AND
GAS
= WL/(DENL*AREA*3600.O) = WG/(DENG*AREA*3600.O)
CALCULATE UM
SUPERFICIAL
= UL
VELOCITY
CALCULATE DENM
=
DENSITY
(WL
CALCULATE FACTOR
OF
THE
MIXTURE
+ UG
=
OF
THE
MIXTURE
+ WG)/((WL/DENL) THE
INDEX
FACTOR
+
FOR
+(WG/DENG))
EROSIO~
DENM*(UM**2)
237
VELOCITIES,
ft/sec.
*
C1
= 17578.98/(BX**0.6548)
IF
(BY
.GT. CI) T H E N G O T O 30
ELSE C2
= 5866.07/(BX**0.1901)
ENDIF IF (BY
.GT. GO TO
C2) 35
THEN
ENDIF
FLOW,
C
C
DETERMINE
THE
TWO-PHASE
MODULUS CALL
STRAT GO
USING
C
35
30
CALL
THE WAVE
GO
TO
C5
=
IF
(BY
(YG,
TO
REGIME,
IR)
999
REGIME (YG,
FOR
WAVE
REGIME,
FLOW,
DETERMINE
THE
TWO-PHASE
MODULUS
FLOW,
DETERMINE
THE
TWO-PHASE
FLOW
IR)
999 2126105.0/(BX**I.0173) .GT. GO TO
C5) 40
THEN
ELSE C6
=
2491.41/(BX**0.2189)
ENDIF IF (BY
.GT. GO TO
C6) 41
THEN
ENDIF C C
USING THE MODULUS. CALL
41
C C
FOR
PLUG
P L U G (YG, R E G I M E , GO TO 999
IR)
C4 = 1 0 . 7 4 4 8 - ( I . 6 2 6 5 * A L O G ( B X ) ) + ( 0 . 2 8 3 9 * ( A L O G ( B X ) ) * * 2 ) C4 = E X P ( C 4 ) IF (BY .ST. C4) T H E N G O T O 45 ELSE ENDIF USING THE MODULUS. CALL
40
REGIME
IF
SLUG
(BX
REGIME
(YG, GO TO
.GT.
FOR
SLUG
REGIME, 999
150.0)
FLOW,
DETERMINE
IR)
THEN
238
THE
TWO-PHASE
FLOW
GO TO 50 ELSE GO TO 45 ENDIF USING THE REGIME MODULUS.
FOR BUBBLE
50
CALL BUBBLE GO TO 999
REGIME,
45
C3 = I I . 3 9 7 6 - ( 0 . 6 0 8 4 * A L O G ( B X ) ) + ( 0 . 0 7 7 9 * ( A L O G ( B X ) ) * * 2 ) C3 = EXP(C3) IF
(BY
~YG,
.GT. C3) GO TO 55
FLOW,
DETERMINE
THE TWO-PHASE
FLOW
IR)
THEN
ELSE ENDIF USING THE REGIME MODULUS.
FOR A N N U L U S
C A L L A N N U L (YG, R E G I M E , GO TO 999
C C 55 999
DETERMINE
THE TWO-PHASE
FOR DISPERSED
CALL
FLOW,
DETERMINE
THE TWO-PHASE
DISPER
(YG,
REGIME,
CALL OUTPUT
(WL, BY,
REL, LFF, D E L T P L , WG, REGG, GFF, D E L T P G , YG, FACTOR, IR, R E G I M E , DELTP, D E L T P T )
(3, (i)
STATUS
=
FLOW
IR)
USING THE REGIME MODULUS.
CLOSE CLOSE i000
FLOW,
FLOW
IR) BX,
'KEEP')
STOP END ******************************************************************* T H I S P R O G R A M U S E S T H E S E M I - E M P I R I C A L M E T H O D OF L O C K H A R T M A R T I N E L L I FOR C A L C U L A T I N G T H E P R E S S U R E D R O P OF E I T H E R T H E L I Q U I D OR T H E GAS P H A S E F L O W IN A P I P E L I N E
SUBROUTINE
BAKER
COMMON~OVID1~ WL, VISL, DENL, ST COMMON/OVID2/
WG,
VISG,
DENG
COMMON~OVID3~ ID, D, PR COMMON~OVID11~ D E L T P L , DELTPG, COMMON~OVID12~ X, V E L COMMON/OVID13/
BX,
DELTP,
BY
COMMON~OVID14~ REL, LFF, REGG, G F F COMMON/OVID16/ COMMON AREA REAL
ID,
LEQ,
L, LEQ,
LST,
LST,
L
LFF
239
DELTPT
CALCULATE FRICTION REL
=
THE LIQUID REYNOLDS FACTOR OF THE PIPE.
NUMBER
THROUGH
PIPE
AND
THE
(6.31*WL)/(ID*VISL)
IF
( R E L .LE. 2 1 0 0 . 0 ) THEN G O T O 20 ELSE A1 = ((PR/D)/3.7+(6.7/REL)**0.9) B1 = -4.0*ALOGI0((PR/(3.7*D))-(5.02/REL)*ALOGI0(AI)) LFF = 4.0/BI*'2 ENDIF GO 20
TO
LFF
30
=
64.0/REL
CALCULATE 30
DELTPL
=
LIQUID
PRESSURE
DROP
OF
THE
PIPE
(0.000366*LFF*(WL**2))/((ID**5)*DENL)
CALCULATE THE GAS REYNOLDS NUMBER THROUGH PIPE AND THE FRICTION FACTOR OF THE PIPE. ****************************************************************** REGG
=
(6.31*WG)/(ID*VISG)
IF
( REGG .LE. 2 1 0 0 . 0 7 THEN G O T O 50 ELSE A2 = ((PR/D)/3.7+(6.7/REGG)**0.9) B2 = -4.0*ALOGI0((PR/(3.7*D))-(5.02/REGG)*ALOGI0(AI)) GFF = 4.0/B2"'2 ENDIF G O T O 60 50
GFF
=
64.0/REGG
CALCULATE 60
DELTPG
=
THE
GAS
PRESSURE
DROP
OF
THE
PIPE
(0.000366*GFF*(WG**2))/((ID**5)*DENG)
****************************************************************** LOCKHART-MARTINELLI TWO-PHASE FLOW MODULUS ****************************************************************** X
=
SQRT(DELTPL/DELTPG)
CALCULATE VEL
=
THE
VELOCITY
OF
THE
TWO-PHASE
MIXTURE
IN
THE
PIPE
(0.0509/(ID**2))*((WG/DENG)+(WL/DENL))
..................
********************************************
CALCULATE BAKER'S ****************************************************************** VAL3 VAL4 BX =
= SQRT(DENL*DENG)/(DENL**(2./3.)) = (VISL**(I./3.))/ST 531.0*(WL/WG)*VAL3*VAL4
240
BY = 2.16*(WG/AREA)/SQRT(DENL*DENG) RETURN END
THIS PROGRAM CALCULATES THE TWO PHASE DROPS FOR STRATIFIED FLOW REGIME
SUBROUTINE
STRAT
(YGST,
REGIME,
FLOW
MODULUS
AND
PRESSURE
AND
PRESSURE
IR)
CHARACTER*I0
REGIME(7),REG(7) COMMON~OVID1~ WL, V I S L , D E N L , S T COMMON/OVID4/ DPST COMMON/OVID11/ DELTPL, DELTPG, DELTP, COMMON~OVID12~ X, V E L COMMON/OVID15/ REG COMMON/OVID16/ LEQ, LST, L COMMON AREA REAL
LEQ,
LST,
DELTPT
L
IR = 1 VAL5 = 15400.0"X VAL6 = (WL/AREA)**0.8 YGST = (VAL5/VAL6)**2 DPST = DELTPG*YGST DELTP = DPST DELTPT = DELTP*L/100.0 REGIME(IR) = REG(1) RETURN END
THIS PROGRAM CALCULATES THE DROPS FOR WAVE FLOW REGIME.
SUBROUTINE
WAVE
(YGW,
TWO
REGIME,
PHASE
ID,
LEQ,
LST,
MODULUS
IR)
CHARACTER*I0 REGIME(7),REG(7) COMMON/OVID1/ WL, V I S L , D E N L , S T COMMON/OVID2/ WG, 9 I S G , D E N G COMMON/OVID3/ ID, D, P R COMMON/OVID5/ DPW COMMON/OVID11/ DELTPL, DELTPG, DELTP, COMMON/OVID15/ REG COMMON/OVID16/ LEQ, LST, L COMMON AREA,FH REAL
FLOW
DELTPT
L
IR = 2 HX = (WL/WG)*(VISL/VISG) VAL7 = (0.2111*ALOG(HX))-3.993 FH = E X P ( V A L 7 ) DPW = (0.000366*FH*(WG**2))/((ID**5)*DENG) Y G W = 0.0
241
DELTP = DPW DELTPT = DELTP*L/100.0 REGIME(IR) = REG(2) RETURN END ***************************************************************** THIS PROGRAM CALCULATES THE TWO PHASE FLOW MODULUS AND PRESSURE DROPS FOR PLUG FLOW REGIME. ***************************************************************** SUBROUTINE P L U G (YGP, R E G I M E , CHARACTER*I0 REGIME(7),REG(7)
COMMON~OVID1~ COMMON/OVID6/
COMMON~OVID11~ COMMON/OVID12/ COMMON/OVID15/ COMMON/OVID16/ COMMON AREA REAL
LEQ,
IR)
WL, V I S L , D E N L , S T DPP DELTPL, DELTPG, DELTP, X, V E L REG LEQ, LST, L
LST,
DELTPT
L
IR = 3 VAL8 = 27.315"(X)**0.855 VAL9 = (WL/AREA)**0.17 YGP = (VAL8/VAL9)**2 DPP = DELTPG*YGP DELTP = DPP DELTPT = DELTP*L/100.0 REGIME(IR) = REG(3) RETURN END ****************************************************************** THIS PROGRAM CALCULATES THE TWO PHASE FLOW MODULUS AND PRESSURE DROPS FOR SLUG FLOW REGIME. ****************************************************************** SUBROUTINE
SLUG
CHARACTER*I0
COMMON~OVID1~ COMMON/OVID7/ COMMON/OVID11/ COMMON/OVID12/ COMMON/OVID15/ COMMON/OVID16/ COMMON AREA REAL
LEQ,
(YGSL,
REGIME,
IR)
REGIME(7),REG(7) WL, V I S L , D E N L , ST DPSL DELTPL, DELTPG, DELTP, X, V E L REG LEQ, LST, L
LST,
L
IR = 4 VALI0 = I190.0"(X)**0.815 VALII = (WL/AREA)**0.5 YGSL = (VALI0/VALII)**2 DPSL = DELTPG*YGSL
242
DELTPT
DELTP = DPSL DELTPT = DELTP*L/100.0 REGIME(IR) = REG(4) RETURN END
THIS PROGRAM CALCULATES THE TWO DROPS FOR BUBBLE FLOW REGIME.
PHASE
SUBROUTINE B U B B L E (YGB, R E G I M E , IR) CHARACTER*I0 REGIME(7),REG(7) COMMON~OVID1~ WL, V I S L , D E N L , S T COMMON/OVID8/ DPB COMMON~OVID11~ D E L T P L , D E L T P G , D E L T P , COMMON/OVID12/ X, V E L COMMON/OVID15/ REG COMMON~OVID16~ LEQ, LST, L COMMON AREA REAL
LEQ,
LST,
FLOW
MODULUS
AND
PRESSURE
DELTPT
L
IR = 5 VALI2 = 14.2"(X**0.75) VALI3 = (WL/AREA)**0.1 YGB = (VALI2/VALI3)**2 DPB = DELTPG*YGB DELTP = DPB DELTPT = DELTP*L/100.0 REGIME(IR) = REG(5) RETURN END ****************************************************************** THIS PROGRAM CALCULATES THE TWO PHASE FLOW MODULUS AND PRESSURE DROPS FOR ANNULAR FLOW REGIME. ***************************************************************** SUBROUTINE
ANNUL
(YGAN,
REGIME,
CHARACTER*I0 REGIME(7),REG(7) COMMON/OVID3/ ID, D, P R COMMON/OVID9/ DPAN COMMON/OVID11/ DELTPL, DELTPG, COMMON/OVID12/ X, V E L COMMON/OVID15/ REG COMMON/OVID16/ LEQ, LST, L REAL
ID,
IR = 6 IF (ID ELSE Cl =
LEQ,
.GT. GO TO
LST,
12.0) 5
IR)
DELTP,
L
THEN
4.8-0.3125"ID C2 = 0 . 3 4 3 - 0 . 0 2 1 " I D
243
DELTPT
ENDIF GO TO
15
D = i0.0 C1 = 4 . 8 - 0 . 3 1 2 5 " D C2 = 0 . 3 4 3 - 0 . 0 2 1 " D 15
VALI4 = CI*(X**C2) YGAN = VALI4**2 DPAN = DELTPG*YGAN DELTP = DPAN DELTPT = DELTP*L/100.0 REGIME(IR) = REG(6) RETURN END
THIS PROGRAM CALCULATES THE TWO PHASE FLOW MODULUS AND PRESSURE DROPS FOR DISPERSED FLOW REGIME. ****************************************************************** SUBROUTINE
DISPER
(YGD,
REGIME,
CHARACTER*IO REGIME(7),REG(7) COMMON/OVID10/ DPD COMMON/OVID11/ DELTPL, DELTPG, COMMON/OVID12/ X, V E L COMMON/OVID15/ REG COMMON/OVID16/ LEQ, LST, L REAL
LEQ,
LST,
IR)
DELTP,
DELTPT
L
IR = 7 A0 = 1.4659 A1 = 0.4914 A2 = 0.0489 A3 = - 0 . 0 0 0 3 4 8 7 VALI5 = A0+AI*ALOG(X)+A2*(ALOG(X))**2+A3*(ALOG(X))**3 YGD = (EXP(VALI5))**2 DPD = DELTPG*YGD DELTP = DPD DELTPT = DELTP*L/100.0 REGIME(IR) = REG(7) RETURN END ****************************************************************** * THIS PROGRAM PRINTS THE RESULTS OF THE TWO-PHASE FLOW ******************************************************************
1
SUBROUTINE OUTPUT (WL, R E L , L F F , D E L T P L , W G , R E G G , BX, BY, YG, F A C T O R , IR, R E G I M E , DELTP, DELTPT) CHARACTER*I0 COMMON/OVID3/
REGIME(7), ID, D, P R X, V E L COMMON/OVID15/ REG
REG(7)
COMMON~OVID12~
244
GFF,
DELTPG,
*
COMMON/OVID16/ LEQ, LST, L COMMON FH REAL ID, LEQ, LST, L, LFF WRITE ( i, 140) ID, LEQ, LST, L FORMAT (5X,'PIPE INTERNAL DIAMETER, inch:', T60, F9.3,/, 5X,'EQUIVALENT LENGTH OF PIPE, ft.:', T60, F9.3,/, 5X,'ACTUAL LENGTH OF PIPE, ft.:', T60, F9.3,/, 5X,'TOTAL LENGTH OF PIPE, ft.:', T60, F9.3)
140
WRITE (i, 150) WL, REL, LFF, DELTPL FORMAT (5X,'LIQUID FLOWRATE, ib/hr.:', T60, F12.3,/, 5X,'LIQUID REYNOLDS NUMBER:', T60, FI2.0,/, 5X,'LIQUID FRICTION FACTOR:', T60, F8.4,/, 5X,'PRESSURE DROP OF LIQUID, psi/100ft.:', T60,F8.4)
150
WRITE ( i, 160) WG, REGG, GFF, DELTPG FORMAT (5X,'GAS FLOW RATE, Ib/hr.:', T60, F12.3,/, 5X,'GAS REYNOLDS NUMBER:', T60, FI2.0,/, 5X,'GAS FRICTION FACTOR:', T60, F8.4,/, 5X,'PRESSURE DROP OF GAS, psi/100ft.:', T60, F8.4)
160
WRITE (I, 170) REGIME(IR) FORMAT (5X, 'FLOW REGIME IS: ' ,T60, A)
170
WRITE (I, 180) X FORMAT (5X,'LOCKHART-MARTINELLI T60,F8.4)
180
TWO PHASE FLOW MODULUS:'
WRITE (i, 190) VEL, BX, BY FORMAT (5X,'VELOCITY OF FLUID IN PIPE, ft./sec.:', T60, F8.3,/, 5X,'BAKER PARAMETER IN THE LIQUID PHASE:', T60, F12.3,/, 5X,'BAKER PARAMETER IN THE GAS PHASE:', T60, F12.3)
190
IF (YG .EQ. 0.0) THEN WRITE (i, 200) FH FORMAT (5X,'HUNTINGTON FRICTION FACTOR:',
200
T60, F8.4)
ELSE WRITE (i, 210) YG FORMAT (5X,'TWO-PHASE FLOW MODULUS:' , T60, F8.4) ENDIF
210
220 1 2 3
WRITE (i, 220) DELTP, DELTPT FORMAT (5X,'PRESSURE DROP OF TWO-PHASE MIXTURE, psi/100ft:', T60, F8.4,/, 5X,'OVERALL PRESSURE DROP OF THE TWO-PHASE MIXTURE, psi:' T60, F8.4) IF (FACTOR .GT. i0000.0) THEN
230
WRITE (i, 230) FACTOR FORMAT (5X,'INDEX', IX, FI0.0,
240
WRITE (i, 240) FORMAT (' PIPE EROSION IS POSSIBLE')
'
IS GREATER THAN i0000',\)
245
ELSE
250
260
270
W R I T E (i, 250) F A C T O R FORMAT (5X,'INDEX',IX, W R I T E (i, 260) F O R M A T (' PIPE EROSION ENDIF
FI0.0,
'
IS L E S S T H A N
i0000'\)
IS U N L I K E L Y ' )
W R I T E (i, 270) F O R M A T (78(IH-)) FORM FEED THE PRINTING WRITE
P A P E R TO T O P OF T H E N E X T PAGE.
(i, *) C H A R ( 1 2 )
RETURN END
246
PROGRAM
PROG36
*************************************************************** THIS PROGRAM WILL qALCULATE THE FROUDE NUMBERS OF VAPOR-LIQUID TWO-PHASE VERTICAL PIPE. IT F U R T H E R P R I N T S O U T A M E S S A G E IF T H E P I P E IS S E L F - V E N T I N G , IF P U L S A T I O N F L O W O C C U R S , O R IF N O P R E S S U R E G R A D I E N T IS N E E D E D . *************************************************************** = = = = = = = = = =
AREA D FRNL FRNG G DENL VL VG WL WG
OPEN
INSIDE CROSS-SECTIONAL AREA OF PIPE, I N S I D E D I A M E T E R O F P I P E , inch. FROUDE NUMBER FOR LIQUID PHASE FROUDE NUMBER FOR GAS PHASE GRAVITATIONAL CONSTANT (32.2 ft/s^2) LIQUID DENSITY, ib/ft^3 LIQUID VELOCITY, ft/s. VAPOR VELOCITY, ft/s. L I Q U I D F L O W R A T E , ib/h. VAPOR FLOWRATE, ib/h.
FILES
PARAMETER
i00
OPEN
THE
OPEN
(UNIT
OPEN
FILE
OPEN
(UNIT
READ
DATA =
PI
DATA =
AND
TO
PRINT
FILE
=
PRINTING i,
FILE
=
'DATA36.DAT', THE
STATUS
'VAPOR-LIQUID
TWO-PHASE
THE
INPUT
THE THE THE THE THE
PIPE INSIDE DIAMETER, inch: D LIQUID FLOW RATE, Ib/hr.: WL LIQUID DENSITY, ib/ft^3: DENL G A S F L O W R A T E , i b / h r . : WG. GAS DENSITY, Ib/ft^3.: DENG.
DATA
* , ERR=I9) * , ERR=I9)
W R I T E (*, II0) F O R M A T (5X, ' D A T A
D, WL, D E N L WG, D E N G
FILE
=
'OLD',
ERR
=
18)
RESULTS.
READ READ READ READ READ
TO
RESULTS
'PRN')
READ
GO
THE
3.1415927)
FILE. 3,
FOR =
THE
32.2,
W R I T E (i, i00) FORMAT (///,15X, 78(IH*))
R E A D (3, R E A D (3, G O T O i0 18 ii0
TO (G =
ft^2.
DOES
NOT
EXIST')
999
247
VERTICAL
DOWNFLOW',/IH
,
19 120
i0
130
W R I T E (*, 120) FORMAT (5X,'ERROR GO TO 999
MESSAGE
IN T H E
DATA VALUE')
D1 = D/12. AREA = (PI*DI**2)/4.0 W R I T E (i, 130) D F O R M A T (10X, 'PIPE
INTERNAL
DIAMETER,
inch:',
T65,
140
W R I T E (i, 140) WL, D E N L F O R M A T (10X, ' L I Q U I D F L O W R A T E , ib/h.:', T65, F8.0, ' L I Q U I D D E N S I T Y , ib/ft^3: ' , T65, F8.3)
150
W R I T E (i, 150) WG, D E N G F O R M A T (10X, ' V A P O R F L O W R A T E , Ib/h.:', T65, F8.0, 'VAPOR D E N S I T Y , ib/ft^3: ' , T65, F8.3)
160 C
W R I T E (I, 160) A R E A F O R M A T (10X, 'PIPE AREA, CALCULATE
LIQUID
ft^2: ' , T65,
AND VAPOR
F8.3)
/,
10X,
/,
10X,
/,
10X,
F8.3)
VELOCITIES
VL = W L / ( 3 6 0 0 . 0 * D E N L * A R E A ) VG = W G / ( 3 6 0 0 . 0 * D E N G * A R E A )
170
W R I T E (i, 170) VL, VG F O R M A T (10X, ' L I Q U I D V E L O C I T Y , ft/s:', T65, ' V A P O R V E L O C I T Y , ft/s:', T65, F8.3) CALCULATE FRNL FRNG
180
IF
200
210
220
THE
LIQUID
PHASE
AND THE VAPOR
PHASE
FROUDE
NUMBERS
(VL/((G*DI)**0.5))*(DENL/(DENL-DENG))**0.5 (VG/((G*DI)**0.5))*(DENG/(DENL-DENG))**0.5
W R I T E (i, 180) FRNL, F R N G F O R M A T (10X, ' F R O U D E N U M B E R FOR L I Q U I D P H A S E : ' , 10X, ' F R O U D E N U M B E R F O R V A P O R P H A S E : ' , T65, TEST
190
= =
F8.3,
FOR
( FRNL
SELF-VENTING, .LT.
0.31)
PULSE
FLOW
T65, F8.4, F8.4)
OR NO P R E S S U R E
/,
GRADIENT.
THEN
W R I T E (i, 190) F O R M A T (10X, 'LINE
IS S E L F - V E N T I N G
THEREFORE
NO V I B R A T I O N ' , k )
W R I T E (i, 200) F O R M A T (' P R O B L E M S E L S E I F ( F R N L .GE.
ARE EXPECTED') 0.31 .AND. F R N L
.LT.
THEN
W R I T E (i, 210) F O R M A T (10X, 'FLOW
IS P U L S E
W R I T E (i, 220) F O R M A T (' V I B R A T I O N ' ) E L S E I F ( F R N L .GT. 1.0) WRITE
(i,
AND THIS
THEN
230)
248
MAY
1.0)
RESULT
IN P I P E ' \ , )
230
240 C
FORMAT ENDIF
'NO P R E S S U R E
GRADIENT')
W R I T E (i, 240) FORMAT (78(IH-)) FORM
999
(IOX,
FEED
THE
PRINTING
WRITE
(I,
*) C H A R ( 1 2 )
CLOSE CLOSE
(3, (i)
STATUS
=
PAPER
TO TOP
'KEEP')
STOP END
249
OF THE
NEXT
PAGE.
PROGRAM
PROG37
****************************************************************** THIS PROGRAM CALCULATES LINE THE PROGRAM WILL COMPUTE THE i.
2. 3. 4. 5.
SIZES FOR FLASHING FOLLOWING:
STEAM
CONDENSATE.
CALCULATES THE AMOUNT OF CONDENSATE FLASHED FOR ANY GIVEN C O N D E N S A T E H E A D E R P R E S S U R E F R O M 15 T O 1 4 0 p s i a . A N D I N I T I A L S T E A M P R E S S U R E S M A Y V A R Y B E T W E E N 40 A N D 165 p s i a . THE RETURN CONDENSATE HEADER TEMPERATURE. THE PRESSURE DROP (psi/100ft.) OF THE STEAM CONDENSATE M I X T U R E IN T H E R E T U R N H E A D E R . THE VELOCITY OF THE STEAM CONDENSATE MIXTURE AND I N D I C A T E S A W A R N I N G M E S S A G E IF V E L O C I T Y IS E Q U A L T O O R GREATER THAN 5000 ft/min.
NOMENCLATURE.
n DELTP
PIPE INTERNAL DIAMETER, inch. PRESSURE DROP OF FLASHED CONDENSATE MIXTURE, psi/10Oft. DENG = FLASHED STEAM DENSITY, Ib/ft^3. DENL = FLASHED CONDENSATE LIQUID DENSITY, ib/ft^3. DENMIX = DENSITY OF MIXTURE (FLASHED CONDENSATE/STEAM) ib/ft^3. FF = FRICTION FACTOR. PC = STEAM CONDENSATE PRESSURE BEFORE FLASHING, psia. PH = FLASHED CONDENSATE HEADER PRESSURE, psia. TFL = TEMPERATURE OF FLASHED CONDENSATE, oF. VEL = VELOCITY OF FLASHED CONDENSATE MIXTURE, ft/min. W = T O T A L F L O W O F M I X T U R E IN C O N D E N S A T E H E A D E R , I b / h . WFRFL = WEIGHT FRACTION OF CONDENSATE FLASHED TO VAPOR. WG = FLASHED STEAM FLOWRATE, ib/h. WL = FLASHED CONDENSATE LIQUID FLOWRATE, ib/h. ***************************************************************
i00
= =
OPEN
FILES
OPEN
( UNIT
OPEN
(UNIT
TO
READ
= =
3, i,
THE
FILE FILE
W R I T E (i, i00) F O R M A T (///, 15X,
DATA =
=
'LINE
AND
TO
PRINT
'DATA37.DAT',
THE
STATUS
RESULTS =
'OLD',
ERR
=
18)
'PRN')
SIZING
FOR
FLASHING
STEAM
CONDENSATE',/,
VS(ZH*)) READ
THE
INPUT
DATA
READ READ READ READ
THE THE THE THE
PIPE INTERNAL DIAMETER, inch: D FLUID FLOW RATE, ib/hD.: W CONDENSATE STEAM PRESSURE BEFORE FLASHING, FLASHED CONDENSATE HEADER PRESSURE, psia.:
250
psia.: PH
PC
READ READ GO TO
(3, (3,
*, E R R = I 9 ) *, E R R = I 9 )
D, W PC, PH
i0
W R I T E (*, ii0) F O R M A T (10X, 'DATA F I L E
18 ii0
DOES
NOT
EXIST')
GO TO 999 19 120
W R I T E (*, 1207 F O R M A T (10X, ' E R R O R M E S S A G E GO TO 999
i0
X = 6.122 - (16.919/ALOG(PH)) A = 0.00671*(ALOG(PH) 7**2.27 B = EXP(X)*(10**(-4)) + 0.0088
CALCULATE WFRFL
WEIGHT
FRACTION
= B*(ALOG(PC))**2
CALCULATE FLASHED CONDENSATE LIQUID
IN T H E D A T A V A L U E ' )
OF C O N D E N S A T E
FLASHED
TO V A P O R .
- A
STEAM FLOWRATE AND F L O W R A T E , ib/h.
FLASHED
STEAM
WG = W F R F L * W WL = W - WG
*
W R I T E (i, 130) D, W F O R M A T (10X, 'PIPE I N T E R N A L D I A M E T E R , inch:', T65, F8.3, 1 0 X , ' T O T A L F L O W OF M I X T U R E IN C O N D E N S A T E H E A D E R , ib/h:', T65, F8.0)
* *
W R I T E (i, 140) PC, PH FORMAT (10X,'STEAM CONDENSATE PRESSURE BEFORE FLASHING, psia:', T65, F8.3, /, 1 0 X , ' F L A S H E D C O N D E N S A T E H E A D E R P R E S S U R E , p s i a : ' , T65, F8.3)
*
W R I T E (i, 150) W F R F L FORMAT (10X,'WEIGHT FRACTION T65, F8.3)
*
W R I T E (I, 160) WG, W L F O R M A T (10X, ' F L A S H E D S T E A M F L O W R A T E , i b / h . : ' , T65, F 8 . 0 , / , 1 0 X , ' F L A S H E D C O N D E N S A T E L I Q U I D F L O W R A T E , i b / h . : ' , T65, FS.0)
130 *
140
150
160
CALCULATE
THE TEMPERATURE
OF C O N D E N S A T E
OF F L A S H E D
FLASHED
/,
TO V A P O R : ' ,
CONDENSATE.
TFL = I15.68"(PH)**0.226 CALCULATE THE FLASHED STEAM DENSITY, FLASHED CONDENSATE LIQUID D E N S I T Y A N D D E N S I T Y OF M I X T U R E ( F L A S H E D C O N D E N S A T E / S T E A M ) i b / f t ^ 3
DENG = 0.0029"(PH)**0.938 DENL = 60.827-(0.078*PH)+(0.00048*(PH)**2)-(0.0000013*(PH)**3) DENMIX = W/(WG/DENG + WL/DENL)
251
FOR T U R B U L E N T
FLOW,
CALCULATE
THE FRICTION
FACTOR.
FF = 0 . 2 5 / ( - A L O G I 0 ( 0 . 0 0 0 4 8 6 / D ) ) * * 2 DELTP = (0.000336*FF*W**2)/(DENMIX*D**5) CALCULATE VEL =
THE VELOCITY
OF F L A S H E D C O N D E N S A T E
(3.054/D**2)*(WG/DENG
MIXTURE,
ft/min.
+ WL/DENL)
170
W R I T E (i, 170) TFL, D E N G F O R M A T (10X, ' T E M P E R A T U R E OF F L A S H E D C O N D E N S A T E , oF:', T65, F8.3, /, 10X, ' F L A S H E D S T E A M D E N S I T Y , ib/ft^3: 9 , T65, F8.3)
180
W R I T E (i, 180) DENL, D E N M I X F O R M A T (10X, " F L A S H E D C O N D E N S A T E L I Q U I D T65, F8.3, /, 10X, ' D E N S I T Y OF M I X T U R E ,
190 * *
* *
D E N S I T Y , ib/ft^3: " , Ib/ft^3: ' , T65, F8.3)
W R I T E (I, 190) FF, DELTP, V E L F O R M A T (10X, ' F R I C T I O N F A C T O R : ' , T65, F8.4, ' P R E S S U R E D R O P OF F L A S H E D , p s i : ' , / , 1 0 X , ' C O N D E N S A T E M I X T U R E , p s i / 1 0 0 f t : ' , T65, F 8 . 3 , / , 1 0 X , ' V E L O C I T Y OF F L A S H E D C O N D E N S A T E T65, FI0.0)
/,
10X,
MIXTURE,
D E T E R M I N E W H E T H E R P R O C E S S L I N E M A Y D E T E R I O R A T E i.e. V E L O C I T Y IS E Q U A L OR G R E A T E R T H A N 5000 ft./min.
IF
( VEL
.GE.
5000.0)
WHETHER
THEN
200
W R I T E (i, 200) F O R M A T (10X, ' F L A S H E D C O N D E N S A T E
210
W R I T E (i, 210) F O R M A T (' T H A N
220
W R I T E (i, 220) F O R M A T (10X, " D E T E R I O R A T I O N
5000
ft/min.:'
MIXTURE VELOCITY
IS G R E A T E R ' , \ )
ft./min.')
OF T H E L I N E
IS P O S S I B L E ' )
ELSE
230
W R I T E (I, 230) F O R M A T (10X, ' F L A S H E D C O N D E N S A T E
240
W R I T E (I, 240) F O R M A T (' 5000
250
260
999
IS L E S S T H A N ' , \ )
ft/min.')
W R I T E (i, 250) FORMAT (IOX,'THE ENDIF
CONDENSATE
HEADER LINE WILL NOT DETERIORATE')
W R I T E (i, 260) F O R M A T (78(IH-)) F O R M F E E D THE P R I N T I N G
C
MIXTURE
WRITE
(i, *) C H A R ( 1 2 )
CLOSE CLOSE
(3, S T A T U S = (i)
P A P E R TO T O P OF T H E N E X T PAGE.
'KEEP')
STOP END
252
PROGRAM
PROG38
THIS PROGRAM CALCULATES THE TOTAL PRESSURE DROP IN A PACKED WHEN LIQUID OR VAPOR STREAMS ARE PASSED THROUGH IT. THE PROGRAM ALSO CALCULATES THE FLUID REYNOLDS NUMBER AND THE FRICTION FACTOR. ****************************************************************
BED
NOMENCLATURE
A = CROSS-SECTIONAL AREA OF BED, ft^2. AP = AREA OF PARTICLES, ft^2. BD = PACKED BED DIAMTER, ft. BL = PACKED BED LENGTH, ft. DEN = DENSITY OF FLUID AT FLOWING CONDITIONS, Ib/ft^3. DELPT = TOTAL PRESSURE D R O P IN P A C K E D B E D , i b / i n ^ 2 . FV = FRACTION V O I D S IN P A C K E D B E D . FP = FRICTION FACTOR. = SUPERFICIAL MASS VELOCITY Ib/h.ft^2. G GC = GRAVITATIONAL CONSTANT = 4.17 x 10^8 (ibm/ibf)(ft/h^2) MW = MOLECULAR WEIGHT OF FLUID. P = FLUID PRESSURE, psia. PD = PARTICLE DIAMETER, inch. PL = PARTICLE LENGTH, inch. RE = REYNOLDS NUMBER S = PACKED BED SURFACE AREA, (ft^2/ft^3 BED). T = FLUID TEMPERATURE, oR. VIS = FLUID VISCOSITY, cP. W = FLUID FLOWRATE, Ib/h. Z = COMPRESSIBILITY FACTOR ( Z=I.O) **************************************************************
PARAMETER
I00
( PI
=
READ
OPEN
FILES
TO
OPEN OPEN
(UNIT (UNIT
= =
3, i,
3.1415927, THE
FILE FILE
DATA
GC
=
AND
4.17,10,,8) TO
PRINT
='DATA38.DAT', = 'PRN')
WRITE (i, i 0 0 ) FORMAT (///, 2 5 X , ' P R E S S U R E 78(IH*))
DROP
IN A
THE
STATUS
PACKED
=
RESULTS. 'OLD',
ERR
BED',/IH
,
READ
THE
DATA
READ READ READ READ READ READ READ
THE THE THE THE THE THE THE
PACKED BED DIAMERTER, ft. : B D PACKED BED LENGTH, ft. : B L F L U I D F L O W R A T E , ib/hr.. : W PARTICLE DIAMETER, inch: PD PARTICLE LENGTH, inch: PL FRACTION OF VOIDS IN PACKED BED, inch: DENSITY OF FLUID AT FLOWING CONDITION,
=
18)
VALUES.
253
FV Ib/ft^3. : DEN
READ
THE
FLUID
READ READ READ
(3, (3, (3,
*, E R R = I 9 ) *, ERR=I9) *, E R R = I 9 )
GO TO
VISCOSITY,
cP:
VIS
BD, BL, W PD, PL, FV DEN, VIS
i0
18 ii0
W R I T E (*, ii0) F O R M A T (10X, 'DATA F I L E GO TO 999
19 120
W R I T E (*, 120) F O R M A T (10X, ' E R R O R M E S S A G E GO TO 999
I0 130
W R I T E (i, 130) BD, BL, W F O R M A T (10X, ' P A C K E D BED D I A M E T E R , ft.:', T60, F8.3, /, 10X, ' L E N G T H OF P A C K E D BED, ft.:', T60, F8.3, /, 10X, 'FLUID F L O W R A T E T H R O U G H P A C K E D BED, i b / h . : ' , T60, FI0.1)
140
150
DOES
NOT
EXIST')
IN T H E
DATA VALUE')
W R I T E (i, 140) PD, PL, FV F O R M A T (10X, ' P A R T I C L E D I A M E T E R , inch.:' T60, F8.3, /, ' P A R T I C L E L E N G T H , inch.:', T60, F8.3, /, 10X, ' F R A C T I O N A L V O I D S IN P A C K E D BED:', T60, F8.3) W R I T E (i, 150) DEN, VIS F O R M A T (10X, ' D E N S I T Y OF FLUID, 'FLUID V I S C O S I T Y , cP:',
CALCULATE A =
THE CROSS-SECTIONAL
Ib/ft^3: ' , T60, T60, F8.4)
AREA
OF BED,
F8.4,
10X,
/,
10X,
ft^2.
(PI*BD**2)/4.0
CALCULATE
THE
SUPERFICIAL
MASS
VELOCITY,
W/A
S = W/A CALCULATE AP = VP =
THE A R E A
OF P A R T I C L E S
AND THE VOLUME
(I.0/144.0)*((PI*PD**2)/2.0 + (PI*PD*PL)) (I.0/1728.0)*(((PD**2)*PI*PL)/4.0)
CALCULATE
THE
S = AP*(I
- FV)/VP
CALCULATE
THE
PACKED
BED
EFFECTIVE
SURFACE
PARTICLE
AREA,
THE
FLUID
REYNOLDS
(G*DP)/(2.419*VIS*(I.0
ft^2/ft^3.
DIAMETER,
DP = 6 . 0 * ( I - F V ) / S CALCULATE RE =
OF P A R T I C L E S .
NUMBER, - FV))
254
RE
ft.
BED.
160
W R I T E (i, 160) A, G F O R M A T (10X, ' C R O S S - S E C T I O N A L A R E A OF BED, ft^2: ' , T60, F8.4, /, 10X, ' S U P E R F I C I A L M A S S V E L O C I T Y , i b / h . f t ^ 2 : ' , T60, F8.1)
170
W R I T E (i, 170) AP, VP F O R M A T (10X, 'AREA OF P A R T I C L E S , ft^2: ' , T60, E12.4, ' V O L U M E OF P A R T I C L E S , ft^3: " , T60, E12.4)
180
W R I T E (i, 180) S, DP F O R M A T (10X, 'THE P A C K E D B E D S U R F A C E AREA, f t ^ 2 / f t ^ 3 BED:', T60, F8.3, /, 1 0 X , ' E F F E C T I V E P A R T I C L E D I A M E T E R , f t . : ' , T 6 0 , F8.4)
190
W R I T E (i, 190) RE F O R M A T (10X, 'FLUID R E Y N O L D S
DETERMINE TURBULENT IF
(RE
THE FRICTION FLOW.
.LT.
1.0)
FACTOR
NUMBER:',
T60,
FOR LAMINAR,
/,
10X,
FI0.0)
INTERMEDIATE
OR
THEN
FP = 1 5 0 . 0 / R E
200
W R I T E (I, 200) FP F O R M A T (IOX, ' F R I C T I O N F A C T O R F O R L A M I N A R FLOW:' , T60, E L S E I F (RE .GT. 1.0 .AND. RE .LT. 10"'4) T H E N
F8.4)
FP = 1 5 0 . 0 / R E + 1 . 7 5
210
W R I T E (i, 210) FP F O R M A T (10X, ' F R I C T I O N F8.4) E L S E I F (RE FP = 1.75
220
.GT.
10"'4)
W R I T E (I, 220) FORMAT (10X,'FRICTION
FACTOR
FOR
INTERMEDIATE
FLOW: ', T60,
THEN
FACTOR
FOR TURBULENT
FLOW:',
T60,
F8.2)
ENDIF
CALCULATE
THE TOTAL
PRESSURE
DROP
IN P A C K E D
BED,
DELTP.
VALI = ( B L * ( I - F V ) * G * * 2 ) / ( 1 4 4 . 0 * ( F V * * 3 ) * D P * G C * D E N ) VAL2 = ( ( 1 5 0 . 0 * 2 . 4 1 9 * V I S * ( I . 0 - F V ) / ( D P * G ) ) + I . 7 5 ) DELTP = VALI * VAL2
230
240
W R I T E (I, 230) D E L T P F O R M A T (10X, 'TOTAL P R E S S U R E T60, F8.3)
999
IN P A C K E D
BED,
ib/in^2: '
W R I T E (i, 240) F O R M A T (78(IH-)) FORM
C
DROP
FEED THE
PRINTING
WRITE
(i,
*) C H A R ( 1 2 )
CLOSE CLOSE
(3, (i)
STATUS
=
PAPER
TO T O P OF T H E N E X T
'KEEP')
STOP END
255
PAGE.
CHAPTER 4
Equipment Sizing INTRODUCTION The process engineer is often required to design separators or knockout drums for removing liquids from process gas streams. This chapter reviews the design of horizontal and vertical separators and the sizing of partly filled horizontal and cylindrical vessels. The chapter concludes by reviewing the sizing of a cyclone and a solid-desiccant gas dryer. Vessels used for processing in the chemical process industries (CPI) are principally of two kinds: those that are without internals and those with internals. Empty separators are drums that provide intermediate storage or surge of a process stream for a limited or extended period. Alternatively, they provide phase separation by settling. The second category comprises equipment such as reactors, mixers, distillation columns, and heat exchangers. In some cases, it is important to separate liquid and gas flowing simultaneously through a pipe. This is because the conditions of the flowing mixture and the efficiency of separation may vary widely. Therefore, a separator for such duty must be adequate. In addition, there are constraints due to space or weight that often affect the choice of separators, the need to handle solids or effect a three-phase separation, and the requirements for liquid hold-up. In practice, most separation problems are solved by the following types of separating equipment.
Knockout or Surge Drums (Figures 4-1 and 4-2). A knockout drum is suitable for a bulk separation of gas and liquid, particularly when the liquid volume fraction is high with stratified or plug flow in the pipe. Also, it is useful when vessel internals are required to be kept to a 256
Equipment Sizing
257
minimum, e.g., in relief systems or in fouling service. It is unsuitable if a mist is being separated or if high separating efficiency is required.
Cyclones (Figure 4-3). These are robust and not susceptible to fouling or wax. Multicyclones are compact and are reasonably efficient for foam, but not for slugs. The efficiency of a cyclone decreases with increasing diameter, and cyclones are not applicable above 5 ft. diameter. They possess a good efficiency for smaller flow rates. However, cyclones are expensive to operate, especially under vacuum conditions, because they have a higher pressure drop than either a knockout drum or a demister separator.
Demister Separators. A demister separator is fitted either with a vane demister package or with a wire mesh demister mat. The latter type is much preferred, although it is unsuitable for fouling service. The wire mesh demister is a widely applied type of separator, and is adequate for all gas-liquid flow regimes over a wide range of gas flow rates. A knockout drum or demister separator may be either a vertical or a horizontal vessel. A vertical vessel is generally preferred because its efficiency does not vary with the liquid level. Alternatively, a horizontal T L
TL
L (>I 2.5D)
d:
~i
i~ 1!
b'! I d3
Vortex breaker
Note: TL = Tangent line
Figure 4-1. Horizontal knock-out drum.
A-A
d2
~,
i~
Tangent ..
line D
0.g D (rain. 0.g m)
I
F
1
I
A
dt 0.3 D I (rain. 0.3 m)
LZA (HH)
--_~--
Vortex br ~
l
,-----..
'
d~
Figure 4-2. Vertical knock-outdrum. 258
Equipment Sizing Dc
L.
f
259
,.J
-t '
S
h
a
-..I
B ! Figure 4-3. A cyclone: design configurations.
vessel is chosen when it offers a clear size advantage, if the headroom is restricted or if a three-phase separation is required. Knockout drums and cyclones are recommended for waxy and coking feeds. Demister mats are not suitable because of the danger of plugging. Vane demister packages are used as alternatives, but provision should be made for cleaning. S I Z I N G OF V E R T I C A L AND H O R I Z O N T A L S E P A R A T O R S Vertical Separators
Vertical liquid-vapor separators are used to disengage a liquid from a vapor when the volume of liquid is small compared with that of vapor volume. The maximum allowable vapor velocity in a vertical separator that reduces the liquid carryover is dependent on the following: 9 liquid and vapor densities. 9 a constant K based on surface tension, droplet size, and physical characteristics of the system.
Fortran Programs for Chemical Process Design
260
The proportionality constant, K, is 0.35 for oil and gas systems with at least 10-inch disengaging height between the mist eliminator bottom and gas liquid interface. For vertical vessels, K can vary between 0.1 and 0.35, if mist eliminators (demisters) are used to enhance disentrainment. The value of K also depends on the operating pressure of the vessel. At pressures above 30 psig, the K value decreases with pressure with an approximate value of 0.30 at 250 psig and 0.275 at 800 psig. Watkins [1] has developed a correlation between the separation factor and K. Figure 4-4 illustrates Watkin's vapor velocity factor chart, based on five percent of the liquid being entrained with the vapor. Blackwell [2] has developed a polynomial equation using Watkin's data to calculate the K value for a range of separation factors between 0.006 and 5.0. Watkins proposed a method for sizing reflux drums based upon several factors, as illustrated in Tables 4-1 and 4-2. Table 4-1 gives the recommended design surge times. Table 4-2 gives the multiplying factors for various operator efficiencies. The operating factor is based upon the external unit and its operation, its instrumentation and response to control, the efficiency of labor, and chronic mechanic problems, and the possibility of short or long term interruptions [ 1]. The multiplying factors F~ and F 2 represent the instrument and the labor factors.
0.6
0.4
~
r
/ 0.?.
Kv
0.1 0.08
-
0.06 0.04,
O.OZ I L 0.006 8 0.01
~ .... Z
I
I
I
4
6
8 0.1
I
2
4
6
8 1.0
Z
4
6
(.,/.v)( e v/e,) ~ s Figure 4-4. Design vapor velocity factor for vertical vapor-liquid separators at 85% of flooding.
Equipment Sizing
261
Table 4-1 Design Criteria for Reflux Distillate Accumulators
Minutes Instrument Factor F1
Operation
w/Alarm
w/o Alarm
Good
Fair
Poor
1.5
FRC 1 •2
LRC TRC
Labor Factor F2
1
12
1.5 1.5
Table 4-2 Operation Factors for External Units
Operating Characteristics
Under good control Under fair control Under poor control Feed to or from storage
Factor F3
2 3 4 1.25
Factor F4
Board mounted level recorder Level indicator on board Gauge glass at equipment only
1.0 1.5 2.0
A multiplying factor, F3, is applied to the net overhead product going downstream. F 4 depends on the kind and location of level indicators. It is recommended that 36 inches plus one-half the feed nozzle, OD, (48 inches minimum) be left above the feed nozzle for vapor. Below the feed nozzle, allowance of 12 inches plus one-half the feed nozzle, OD, is required for clearance between the maximum liquid level and the feed nozzle (minimum of 18 inches). At some value between L/D ratios of 3 and 5, a minimum vessel weight will occur resulting in minimum costs for the separator. Figure 4-5 shows the dimensions of a vertical separator.
262
FortranPrograms for Chemical Process Design
f k36" * 1/2 (FEED NOZZLE .O.D) HV
48" MIN.
FEED NOZZLE ,,
12"+ 1/2 (FEED NOZZLE .O.D) 18" MIN.
MAX. LEVEL
HL 4------- D - - - - . - ~
Figure 4-5. Dimensionof a vertical separator. Calculation Method for a Vertical D r u m The following steps are used to size a vertical drum.
/0.5
Step 1. Calculate the vapor-liquid separation factor. S. F a c -
WL
w--V
9v
(4-1)
Step 2. From Blackwell's correlation, determine the design vapor velocity factor, K v, and the m a x i m u m design vapor velocity. X - In (S. Fac)
(4-2)
K v - exp(B + DX + E X 2 + F X 3 + G X 4)
(4-3)
where B D E F G
=-1.877478 = -0.814580 = -0.187074 = -0.014523 = -0.001015
Equipment Sizing
263
)0.5 V max __
Kv PL - Pv Pv
(4-4)
Step 3. Calculate the minimum vessel cross-sectional area. Qv =
ww 3600. Pv
,
Av _- ~ Q v ,
ft 3/s
ft 2
(4-5)
(4-6)
V max
Step 4. Set a vessel diameter based on 6-inch increments and calculate cross-sectional area. 4 Av) ~ D min
-
D
=
Area
"
,
ft
(4-7)
D min tO next largest 6 inch -
/1;.
]--)2 ~-" min
(4-8)
4 Step 5. Estimate the vapor-liquid inlet nozzle based on the following velocity criteria. 100 (Umax)nozzle --
05 Pmix
ft/s
(4-9)
f[/s
(4-10)
60 (gmin)nozzle
--
05
Pmix
where
9 mix --
WL + WV WL WV + - -
PL
lb m
~,,----5It
(4-11)
Pv
Step 6. From Figure 4-5, make a preliminary vessel sizing for the height above the center line of a feed nozzle to top seam. Use 36 inches + 1/2 feed nozzle, OD, or 48 inches minimum. Use 12 inches + 1/2 feed
264
Fortran Programs for Chemical Process Design
nozzle, OD, or 18 inch minimum to determine the distance below the center line of the feed nozzle to the maximum liquid level. Step 7. From Table 4-1 or 4-2, select the appropriate full surge volume in seconds. Calculate the required vessel volume. QL =
WL 3600. p L
ft3/s
(4-12)
V - (QL)(design time to fill),
ft 3 (4-13)
= (60.0)(QL)(T),
ft 3
The liquid height is:
"L V(4) rt'D 2 ,
ft
(4-14)
Step 8. Check geometry. (H E + Hv)/D must be between 3 and 5. For small volumes of liquid, it may be necessary to provide more liquid surge than is necessary to satisfy the L/D > 3. If the required liquid surge volume is greater than that obtained in a vessel having L/D < 5, a horizontal drum must be provided. Calculation M e t h o d for a H o r i z o n t a l D r u m
Horizontal vessels are used for substantial vapor-liquid separation where the liquid holdup space must be large. Maximum vapor velocity and minimum vapor space are determined as in the vertical drum, except that K H for horizontal separators is generally set at 1.25K v. The following steps are carried out in sizing horizontal separators. Step 1. Calculate the vapor-liquid separation factor by Equation 4-l, and K v by Equations 4-2 and 4-3. Step 2. For horizontal vessels K H = 1.25K v Step 3. Calculate the maximum design vapor velocity.
(4-15)
Equipment Sizing
265
)O.5 (U)
v max
-K.
9L-Pv PV
ft/s
(4-16)
Step 4. Calculate the required vapor flow area.
(Av)mi. -'-
Qv (Uv)max
ft 2
(4-17)
Step 5. Select appropriate design surge time from Table 4-1 or Table 4-2, and calculate full liquid volume by Equations 4-12 and 4-13. The remainder of the sizing procedure is carried out by trial and error as follows: Step 6. When the vessel is full, the separator vapor area can be assumed to occupy only 15 to 25 percent of the total cross-sectional area. Here, a value of 20 percent is used and the total cross-sectional area is'expressed as" (Atotal)min -- ( A v )min 0.2
Dmin
-
(4-18)
4 (A total) min "~0"5 "
)
(4-19)
Step 7. Assume the length-to-diameter ratio of 3 (i.e, L/D = 3). Calculate the vessel length. L = (3)(D min)
(4-20)
Step 8. Because the vapor area is assumed to occupy 20 percent of the total cross-sectional area, the liquid area will occupy 80 percent of the total cross-sectional area. A L - (0.8)(Atota 1 )min'
ft2
(4-21)
Step 9. Calculate the vessel volume. VVES -- (Atotal)rain(L),
ft 3
(4-22)
Step 10. Calculate liquid surge time. T-
(60"0)(AL)(L)(gL) min. WL
(4-23)
266
Fortran Programs for Chemical Process Design
Liquid Holdup and Vapor Space Disengagement The dimensions of both vertical and horizontal separators are based on rules designed to provide adequate liquid holdup and vapor disengaging space. For instance, the desired vapor space in a vertical separator is 1 at least 1 ~ times the diameter, with 6 inches as the minimum above the top of the inlet nozzle. In addition, a 6-inch minimum is required between the maximum liquid level and the bottom of the inlet nozzle. For a horizontal separator, the minimum vapor space is equal to 20 percent of the diameter or 12 inches.
Wire Mesh Pad Pads of fine wire mesh induce coalescence of impinging droplets into larger ones, which then separate freely from the gas phase. No standard equations have been developed for the pressure drop across wire mesh because there are no standardized mesh pads. However, as a rule of thumb, the pressure drop of a wire mesh is AP = 1.0 in H20. Every manufacturer makes a standard high efficiency, very-high efficiency, or high-throughput mesh under various trade names, each for a specific requirement.
Standards for Horizontal Separators The following specifications are generally standard in the design of horizontal separators [3]: 1. The maximum liquid level shall provide a minimum vapor space height of 15 inches, but should not be below the center line of the separator. 2. The volume of dished heads is not considered in vessel sizing calculations. 3. The inlet and outlet nozzles shall be located as closely as practical to the vessel tangent lines. Liquid outlets shall have anti-vortex baffles.
Piping Requirements Pipes that are connected to and from the process vessels must not interfere with the good working of the vessels. Therefore, the following guidelines should be observed: 9 There should be no valves, pipe expansions or contractions within 10-pipe diameters of the inlet nozzle.
Equipment Sizing
267
9 There should be no bends within 10-pipe diameters of the inlet nozzle except: for knockout drums and demisters, a bend in the feed pipe is permitted if this is in a vertical plane through the axis of the feed nozzle. for cyclones, a bend in the feed pipe is allowed if this is in a horizontal plane and the curvature is in the same direction as the cyclone vortex. 9 A pipe reducer may be used in the vapor line leading from the separator, but it should be no nearer to the top of the vessel than twice the outlet pipe diameter. 9 A gate or ball type valve that is fully opened in normal operation should be used, where a valve in the feed line near the separator cannot be avoided. 9 High pressure drops that cause flashing and atomization should be avoided in the feed pipe. 9 If a pressure reducing valve in the feed pipe cannot be avoided, it should be located as far upstream of the vessel as practicable.
Nomenclature A = cross-sectional area of vertical separator, f t 2 A L = cross-sectional area of horizontal vessel occupied by liquid phase, fff A T - total cross-sectional area of horizontal vessel, f t 2 A v = minimum cross-sectional area of vertical separator, f t 2 D = vessel diameter, ft H L = liquid height, ft H v - vapor height, ft K = proportionality constant K H = vapor velocity factor for horizontal separator K v = vapor velocity factor for vertical separator L = horizontal vessel level, ft S.Fac = separation factor QL = liquid volumetric flow, ft3/s Qv = vapor volumetric flow, ft3/s T - liquid surge time, min. Vma x -- maximum vapor velocity, ft/s VVEs = horizontal vessel volume, ft 3 WL = liquid flow rate, lb/h WV = vapor flow rate, lb/h
268
Fortran Programs for Chemical Process Design
X = In (S.Fac) 9L = liquid density, lb/fl 3 9v = vapor density, lb/ft 3
SIZING OF PARTLY FILLED VESSELS AND TANKS Cylindrical vessels and horizontal tanks are used for the storage of fluids in the chemical process industries. Various level instruments are employed to determine the liquid level in process vessels. The exact liquid volume can be obtained either by calibration of the vessels or by tedious calculations. Partial volumes for horizontal, cylinders with flat, dished, elliptical, and hemispherical ends, and for vertical cylinders are employed for storing process fluids. Kowal [4] presented charts that allow designers to determine the volume of vessels for different dimensions. In addition, parameters for tray designs and tray layout in distillation columns, such as chord length and circle area, are computed in this chapter. The Equations Calculate the area of the segment of a circle from Figure 4-6: Cos(c~) =
R-H R
or-C~
(4-24)
(4-25)
Area of the triangle: Area of A = (R - H ) ( 2 R H - H 2)
(4-26)
Therefore, area of the segment of a circle from Figure 4-6 is: A~ - R 2 C o s - ' ( R - H / - ( R - H ) ( 2 R H - H 2 ) ~
(4-27)
Figure 4-7 is a nomograph based upon the area of the segment of a circle [5]. The nomograph converts the height (rise) over diameter ratios directly to percent of area. The procedure in using the nomograph is: 1. Start at the left-hand side of the nomograph with the trial diameter.
269
Equipment Sizing
--
I
R _H
R
H Figure 4-6. Area of the segment.
2. Align the internal diameter with the height of the vapor space and then with the rise of the minimum liquid level. Read the area occupied by these segments. 3. Subtract the sum of these segments from 100%. The difference is the area available for liquid holding time. Chord length of segmental area, CL: CL = 2(DH - H 2)~
(4-28)
Partial volume of a horizontal cylinder: VHC = A~.L
(4-29)
Partial volume of dished heads: VDH -- 0.215483H 2(1.5D - H)
(4-30)
Partial volume of elliptical heads: VECL -- 0. 52360H 2 (1.5D - H)
(4-31)
270
Fortran Programs for Chemical Process Design I 0.04
12--
z
u
I I ""
'~
m
I0" m
9--
/
0.06
~
3
0:
4 O.OB z "~ 5~/t.i 1-~
m
/
i
---7 m
f
/
--s
"-'8 m
--'9 m
"-
I0
8-m
I
7"-"
f
.=
I
=m
- 0.2~,,, w I
=:" 6 - w
/
t G // //
5-"
,~.
20.,,: , , ~ . --0.3
//~
30-
_j 4 0 - -
~
"
W
--0.4
v~
,=
"-- 20 ,= W
U
z
== 70
W
4-"
o=
w 90 I00
Z m
==
SEGMENTAL AREA
=E .n,
,~
3--
0.6
m
3O
B U')
0.8 I
~--4o ~
5o
"-60
7O -:-- 8 0
2
I 1'-6" -
~
9O IIX)
--
150
Figure 4-7. Nomograph to find segmental area available for liquid holding time.
Partial volume of hemispherical heads: VHs = 2VEL L
(4-32)
The total volume VT: V T = VHc q - V
where
VH=
H
(4-33)
head volume /~.D 2
Area
=
(4-34) 4
Equipment Sizing
271
Volume of a vertical tank: (4-35)
VvT - 0.25rtD2H Conversions: ft 3
--"
in 3/1728
gal - (in 3)(0. 004329) bbl = (in 3)(0. 00010307)
Nomenclature Area = A~ = CL = bbl = d= H = L = R = VD~ = VELL = VHVHC = Vus = VT= VvT =
circle area, in 2 segmental area of a circle, in 2 chord length of segmental area, inch volume in barrels vessel tank, or circle diameter, inch chord or liquid height, inch vessel length, inch radius of vessel or tank, inch volume of dished head, in 3 volume of elliptical heads, in 3 head volumes, in 3 volume of horizontal cylinder, in 3 volume of hemispherical heads, in 3 total volume of horizontal vessel, in 3 volume of vertical tank, in 3
PRELIMINARY VESSEL DESIGN Columns and towers are the most essential aspects of the refinery system in the petrochemical or in the process chemical industries. They are divided into three separate functions" distillation, fractionation, and chemical operations. Stills are cylindrical chambers in which the application of heat to the charge stock changes from a liquid to a vapor. The vapor is then condensed in another vessel. Columns and towers are stills that increase the degree of separation that can be obtained during the distillation of crude oil. Fractionation towers are used for light end products. Generally, towers are large cylindrical vessels that have plates
272
Fortran Programs for Chemical Process Design
(trays spaced inside the shell) to promote mixing of the downward flow of liquid with the upward flow of the vapors. These vessels require self-supporting, especially when they are exposed to high winds or to seismic risk. Process conditions in the CPI often change, and a tower that is initially designed for vacuum operation may at a later stage be employed at pressure greater than atmospheric. Therefore, thin-walled vessels are often rated for both pressure and vacuum conditions. If the vessel is thick-walled and designed for high pressure service, no vacuum rating will be required. Tall vessels have one of a number of closures such as hemispherical, ellipsoidal, torispherical, conical, or flat ends. The ellipsoidal shape is usual for closures of vessels that are six feet in diameter or greater. The hemispherical shape is preferred for vessels of a lesser diameter. The basic relationships for thin cylindrical shells under internal pressure assume that circumferential stress is dependent on the pressure and vessel diameter, but independent of the shell thickness. That is: f -
P.D
(4-36)
2t
or
t -
P.D 2f
(4-37)
Equation 4-36 is for membrane shells with a negligible thickness. As the pressure and the shell thickness increase, the stress distribution across the thickness is non-uniform. Therefore, some correction to the membrane theory is required. The modified code equation as given by the ASME Unfired Pressure Code, Section VIII, Division 1 is" t -
P.R
S.E- 0.6P
+ c
(4-38)
where c is the corrosion allowance For a hemispherical head: t.. =
P.R
2S.E- 0.2P
For ellipsoidal dished head:
(4-39)
Equipment Sizing t ELL
P.D --
2S.E- 0.2P
"1-
c
273 (4-40)
For torispherical head" 0.885P R c t TOR =
"
S . E - 0.1P
+ C
(4-41)
The weight of the vessel shell is: WTS
=
(t)
Z(OD--~-t)(rt)(SL) ~ 12
(gs)
(4-42)
The head blank diameter is: BD - {(OD)(H. Fac) + 2SF} 12
(4-43)
Weight of head: WT.
-
It/
0.25(BD) z(rt) ~
(ps)(2)
(4-44)
The total weight" (4-45)
WTOT -- Wvs + WTH
The total weight excludes the nozzles, attachments, and vessel internals. Table 4-3 shows the head blank diameter factor for different types of head. Nomenclature
B D = head blank diameter, inch c = corrosion allowance, inch D - inside diameter of shell or head, inch E = joint efficiency H.Fac = head blank diameter factor OD - outside diameter of head, inch P - internal design pressure, psig R = inside radius, inch R c = crown radius of torispherical head, inch S = allowable stress, lb/in 2
274
Fortran Programs for Chemical Process Design Table 4-3 Head Blank Diameter Factor (H.Fac)
Head Type
OD/t
H.Fac
Torispherical
>50 30-50 20-30
1.09
1.11 1.15
Ellipsoidal
>20 10-20
1.24 1.30
Hemispherical
>30 18-30 10-18
1.60 1.65 1.70
SF = SL = t= tELL = tHH = tToR = WTH = WTs = WToT = P~-
straight flange length, inch shell length, ft shell thickness, ft ellipsoidal head thickness, inch hemispherical head thickness, inch torispherical head thickness, inch weight of head, lb weight of vessel shell, lb total weight of vessel, lb density of vessel material, lb/ft 3 CYCLONE DESIGN Introduction
Cyclones are widely used for the separation and recovery of industrial dusts from air or process gases. Pollution and emission regulations have compelled designers to study the efficiency of cyclones. Cyclones are the principal type of gas-solids separators using centrifugal force. They are simple to construct, of low cost, and are made from a wide range of materials with an ability to operate at high temperatures and pressures. Cyclones are suitable for separating particles where agglomeration occurs. These types of equipment have been employed in the cement industry, and with coal gases for chemical feedstock, and gases from
Equipment Sizing
275
fluidized-bed combustion, as well as in the processing industry for the recovery of spray-dried products, and recently, in the oil industry for separating gas from liquid. Cyclone reactors permit study of flow pattern and residence time distribution [6,7]. See for example, the studies by Coker [8,9] of synthetic detergent production with fast reaction. Reactor cyclones are widely used to separate a cracking catalyst from vaporized reaction products. Reverse flow cyclones, in which the dust-laden gas stream enters the top section of the cylindrical body either tangentially or via an involute entry, are the most common design. The cylindrical body induces a spinning, vortexed flow pattern to the gas-dust mixture. Centrifugal force separates the dust from the gas stream; the dust travels to the walls of the cylinder and down the conical section to the dust outlet. The spinning gas also travels down the wall toward the apex of the cone, then reverses direction in an air-core and leaves the cyclone through the gas outlet tube at the top. This tube consists of a cylindrical sleeve and the vortex finder, whose lower end extends below the level of the feed port. Separation depends on particle settling velocities, which are governed by size, density, and shape. Stairmand [10], Strauss [11 ], Koch and Licht [12] have given guidelines for designing cyclones. The effects of feed and cyclone parameters on the efficiency are complex, because many parameters are interdependent. Figure 4-3 shows the design dimensions of a cyclone and Table 4-4 gives the effects on cyclone performance in the important operating and design parameters.
Cyclone Design Procedure The computation of a cyclone fractional or grade efficiency depends on cyclone parameters and flow characteristics of particle-laden gases. The procedure involves a series of equations containing exponential and logarithmic functions. Koch and Licht [12] described a cyclone using seven geometric ratios in terms of its diameter as: a
b
Dc
S
h
H
B
Dc
Dc
Dc
Dc
Dc
Dc
Dc
They further stated that certain constraints are observed in achieving a sound design. These are: a<S
to prevent short circuiting
276
Fortran Programs for Chemical Process Design Table 4-4 Effects of Variables on Cyclone Performance
Effect
Variable
Pressure drop increases
Cut size (diameter of particles of which 50% are collected) decreases, flow rate increases; sharpness increases.
Solids content of feed increases
Cut size increases (large effect above 15-20% v/v).
(Pp- Of) increases
Cut size decreases.
Viscosity of liquid phase increases
Little effect below 10 mPas.
Cyclone diameter (D c) increases
Cut size increases; pressure drop usually decreases.
Cyclone inlet (a) diameter increases
Gravitational force in cyclone decreases; cut size increases; capacity falls; pressure drop decreases.
Overflow diameter increases
Cut size increases; risk of coarse sizes appearing.
Underflow diameter increases
Brings excess fines from liquid phase into underflow.
Cyclone shape becomes longer
Decreases cut size; sharpens separation.
1 b < - ( D c - De) 2
S+I
to avoid sudden contraction
to keep the vortex inside the cyclone
S
to prevent reentrainment
Vi/V s ~ 1.25
for optimum efficiency
Equipment Sizing The
277
Equations
Natural length, 1:the distance below the gas outlet where the vortex turns.
/1/3 1-2
3D e --~ D~ 9
(4-46)
For 1 < (H- S), the cyclone volume at the natural length (excluding the core) is Vn~" Vn 1 =n:D~4 ( h - S) + [TrD~4] ( 1 + $ 3 - h ) [ l +
Dcd + ~2-c2 ) d2
~D~I
(4-47)
The diameter of a central core at a point of vortex turns, d: d - D c - ( D c - B ) ( S-l-h)H-h
(4-48)
For 1 > (H- S), the cyclone volume below the exit duct (excluding the core) VH: 4 (h - S) +
3
4
B Dc
7'l~--eD2(n- S)
(4-49)
4 For a vortex exponent, n: n - 1 - { 1 - ( 1 2 D c )~~
B2 Dc
530
(4-50)
The cyclone volume constant, Kc, using Vnl or VH: + Vnl,H ) KC --- (2V s2D~
(4-51)
where Vs _
rt(S- a/2)(D 2c -De)2
r/
t
(4-52)
Fortran Programs for Chemical Process Design
278
The relaxation time (~i) for particle species i of ~i
-
diameter dpi is
pp(dpi)2
(4-53)
18la
Cyclone configuration factor G: This is specified by the geometric ratios that describe the cyclone's shape. The cyclone configuration factor G is a function only of the configuration and is specified by the seven geometrical ratios that describe its shape. G is expressed as: G -
8K c 2 2
(4-54)
KaKb
where a
K a = --,
Dc
Kb -
b
(4-55)
Dc
Substituting the values of K a, K b, and K c in Equation 4-54. Oc
(4-56)
The fractional or grade efficiency, r~i , c a n be expressed as" /(n+l)
qi - 1 - e x p
- 2 GI: ( n + l ) Dc
(4-57)
Saltation Velocity
Koch and Licht [12] expressed the saltation velocity as" 9 The minimum fluid velocity necessary to prevent the settling out of solid particles carried in the stream. 9 The necessary velocity that picks up deposited particles and transports them without settling. Zenz [ 13] has shown that the velocity given by the latter differs from the former by a factor of 2 to 2.5. Kalen and Zenz [14] have applied the saltation concept to cyclone design by assuming"
Equipment Sizing
279
9 There is no slippage between fluid and particles. The cyclone inlet width is the effective pipe diameter for calculating saltation effects. 9 Grain loading (dust concentration) is less than 10 grains/ft 3. 9 The diameter effect on the saltation velocity is proportional to the 0.4 power of the inlet width. The saltation velocity, v~, is dependent on cyclone dimensions, particle and fluid properties, v s is expressed as: V~ - 2. 0550){
b/Dc } 0.067_ 2/3 (1 - b/D c)l/3 D c vi
ft/s
(4-58)
where
_ Pf ) }1/3
4gla(9 p O) m
2
3pf
Inlet velocity, Wi "-
(4-59)
Vi: f t / s
Q
(4-60)
(ab)
Kalen and Zenz have shown that maximum cyclone collection efficiency occurs at vi/v s = 1.25, and Zenz has found experimentally that fluid reentrainment occurs at vi/v s = 1.36.
Pressure Drop (AP) Several attempts have been made to calculate the frictional loss or AP of a cyclone, although none has been very satisfactory. These are because assumptions made have not considered entrance compression, wall friction, and exit contraction, all of which have a major effect. Consequently, no general correlation of cyclone AP has been adopted. Pressure drop in a cyclone with collection efficiency is important in evaluating its cost. Correlations for the pressure drop have been empirical and are acceptable up to AP = 10 in. H20. The pressure drop (AP) or the frictional loss is expressed in terms of the velocity head based on the cyclone inlet area. The frictional loss through cyclones is from 1 to 20 inlet velocity heads and depends on the geometric ratios. AP through a cyclone is given by AP - 0 9003 9fviNn 2
(4-61)
Fortran Programs for Chemical Process Design
280
where N.-K
(ab/
(4-61)
~-7 D e
K = 16 for no inlet vane K = 7.5 with a neutral inlet vane AP depends strongly on the inlet velocity and high velocities can cause both reentrainment and high pressure drop. However, entrainmnent can be reduced to a minimum, if the cyclone has a small base angle.
Trouble Shooting Cyclone Maloperations In general, cyclones are used to separate particles from the gas stream, but recent developments have enabled cyclones to function as reactors. Some cyclone reactors can separate cracking catalyst from vaporized reaction products in the range of 950~ and 1,000~ or can function as regenerators for flue gases between 1,250~ and 1,500~ In both cases, the high particle velocities can cause rapid erosion of the cyclone material. This often results in poor performance of the cyclone. Other causes of poor cyclone performance are: 9 9 9 9 9
Hole in cyclone body Cyclone volute plugged Dipleg unsealed Dipleg plugged Dipleg failure
Lieberman [ 15] has reviewed the causes of these maloperations, which often result in loss catalyst and reduced efficiency. A deficient cyclone reactor is identified by bottom sediment and water levels in the slurry oil product. For a regenerator cyclone, problems are visibly identified by the increased opacity of the regenerator flue gas or by reduced rates of spent catalyst withdrawal.
Cyclone Collection Efficiency Many theories have been proposed to predict the performance of a cyclone, although no fundamental relationship has been accepted. Attempts have been made to predict the critical particle diameter, (Dp)crit.
Equipment Sizing
281
This is the size of the smallest particle that is theoretically separated from the gas stream with 50 percent efficiency. The critical particle diameter is defined by [ 16]
(Dp)cnt where
N t =
i
9~tDc 4 r t N , v i ( P - 98)
]0.5 (4-62)
effective number of turns made by the gas stream in the cyclone, and is defined by
2
N t - ( v i ) [ 0 . 1 0 7 9 - 0.00077v i + 1.924(10-6)vi ]
(4-63)
and v i = is the inlet linear velocity. Figure 4-8 shows the percentage removal of particles in a cyclone as a function of the ratio of the particle to the critical diameter.
Cyclone Design Factor Cyclones are designed to meet specified AP limitations. The factor that controls the collection efficiency is the cyclone diameter, and a smaller diameter cyclone at a fixed AP will have a higher efficiency. Therefore, small diameter cyclones require a multiple of units in parallel for a given capacity. Reducing the gas outlet diameter results in an increased collection efficiency and AE High-efficiency cyclones have cone lengths in the range of 1.6 to 3.0 times the cyclone diameters. Collection efficiency increases as the gas throughput increases. Kalen and Zenz [ 14] reported that collection efficiency increases with increasing gas inlet velocity to a minimum tangential velocity. This reaches the point where the dust is re-entrained or not deposited because of saltation. Koch and Licht [ 12] showed that saltation velocity is consistent with cyclone inlet velocities in the range of 50 to 90ft/sec. Cyclones offer the least expensive means of dust collection. They give low efficiency for collection of particles smaller than 5~tm. A high efficiency of 98 percent can be achieved on dusts with particle sizes of 0.1 to 0.2~tm that are highly flocculated.
Cyclone Design Procedure The following design procedures can be used to size a cyclone with a specified fluid flow rate and physical property data:
Fortran Programs for Chemical Process Design
282
JO
m
m
m
~
mmmmm(
J
6
~
~
mpm~'.;,,iNm
m~~v~mm
-
immmlm!
I
i
mm,,immm
mmmml
mmm,,Jmmm
I|
/
_
/
,
m
,
/ /i ilnl N / i i l n m i l i l l
8
i
ro U . e 4,.a
"
i
~
~
n
~
~
~
~
m
m
i
m
i
~
v
~
R
~
R
n
n
n
m
m
m
m
m
~
~
~
~
~
~
~
~
~
m
n
i
n
m
n
l
l
l
mmmmvAmmmmimmimnlm
"06
mmmmmmmmmmmmmmt
imuimnmmmiimmmil
0,4
immimilimmmmili mlimmmmmmmimmml 0.2 ~~i, -
0. I 2
5
I0
20
40
60
80
90 95 98 o.~ co. 0 % 0"~
0"%
Percent removed Figure 4-8. Percentage removal of particles as a function of particle diameter relative to the critical diameter.
1. Select either the high-efficiency or high-throughput design depending on the performance required. 2. Obtain an estimate of the particle size distribution of the solids in the stream to be treated. 3. Estimate the number of cyclones needed in parallel. 4. Calculate the cyclone diameter for an inlet velocity of 50 ft/sec.
Equipment Sizing
283
5. Calculate the scale-up factor for the transposition of grade efficiency and particle size. 6. C a l c u l a t e the c y c l o n e p e r f o r m a n c e and overall e f f i c i e n c y (recovery of solids). If unsatisfactory, try a smaller diameter. 7. Calculate the cyclone pressure drop and, if required, select a suitable blower. 8. Cost the system and optimize to make the best use of the pressure drop available or, if a blower is required, to give the lowest operating cost.
Nomenclature a= b = B = d= dpiDc = De= g= G = h= i=
inlet height, ft inlet width, ft cyclone dust-outlet diameter, ft diameter of central core at a point where vortex turns, ft diameter of particle in size range i, ft cyclone diameter, ft cyclone gas-outlet diameter, ft acceleration due to gravity, 32.2 ft/s 2 cyclone configuration factor cylindrical height of cyclone, ft subscript denotes interval in particle size range
K a = a]O c K b = b/D c
Kc = 1= n= N HAP = Q = S= T = v~ = vs = V H= Vn~ = Vs= rli = /.t9f =
cyclone volume constant natural length (distance below gas outlet where vortex turns), ft vortex exponent number of inlet velocity heads pressure drop, in H 2 0 total gas flowrate, actual ft3/s gas outlet length, ft temperature, ~ inlet velocity, ft/s saltation velocity, ft/s volume below exit duct (excluding core), ft 3 volume at natural length (excluding core), ft 3 annular volume above exit duct to middle of entrance duct, ft 3 grade efficiency for particle size at midpoint of interval i, % fluid viscosity, lbm/ft.s fluid density, lbm/ft3
284
Fortran Programs for Chemical Process Design
13p - particle density, lbm/ft3 I: = relaxation time, s = Equation 4-59
GAS DRYER (DEHYDRATION) DESIGN Liquid water and sometimes water vapor are removed from natural gas to prevent corrosion and formation of hydrates in transmission lines and to attain a water dew point requirement of the sales of gas. Many sweetening agents employ an aqueous solution for treating the gas. Therefore dehydrating the natural gas that normally follows the sweetening process involves: 9 dehydration by refrigeration 9 absorption by liquid desiccants 9 adsorption by solid desiccants Adsorption is a process that involves the transfer of a material from one phase to a surface where it is bound by intermolecular forces. The process involves the transfer from a gas or liquid to a solid surface. It could also involve the transfer from a gas to a liquid surface. The adsorbate is the material being concentrated on the surface and the material that it accumulates is defined as the adsorbent. The oil and chemical industries use the adsorption process in the cleanup and purification of wastewater streams and for the dehydration of gases. The process is also used in gas purification involving the removal of sulfur dioxide from a stack gas. In addition, adsorption is employed to fractionate fluids that are difficult to separate by other separating methods. The amount of adsorbate that is collected on a unit of surface area is negligible. Therefore, porous desiccants (adsorbent) having a large internal surface area are used for industrial applications. There are many solid desiccants that can adsorb water from natural gas. The common commercial desiccants are alumina, silica gel, and molecular sieves. The molecular sieves possess the highest water capacity, will give the lowest water dew points, and can be applied to sweeten dry gases and liquids. Figure 4-9 shows how desiccants can be used in dehydrators containing two or more towers. One of the towers operates using steam to adsorb water from the gas, while the other tower is regenerated and cooled. The regenerated gas is heated to a range of 450~ and 600~ depending on the type of solid desiccant and the nature of service [ 17].
Equipment Sizing ..,,t
REGENERATION GAS
r
REGENGAS
| w
| "~c~
~g,~'
Z
285
w~.
..............
REGENERATING COOLING -- VALVEOPEN
' - - VALVECLOSED
1
REGENERATIONGAS 600"F REGENGAS HEATER
i ~
DRY GAS
Figure 4-9. Solid desiccant dehydrator twin tower system. Courtesy: Gas Processors Suppliers Association Engineering Data Book, Tenth Edition.
The use of solid desiccant is limited to applications such as those with very low water dewpoint requirements, simultaneous control of water and hydrocarbon dewpoints, and in very sour gases. In cryogenic plant, solid-desiccant dehydration is much preferred over methanol injection to prevent hydrate and ice formation. The basic design procedures for dehydrating saturated natural gas at a specified dew point are: 1. Determine the process conditions and the dryer process flow diagrams. 2. Select a drying cycle and calculate the water load. 3. Select the type of desiccant and compute the capacity and volume required. 4. Size the dryer and check for the pressure drop. 5. Calculate the desiccant reactivation heating and cooling requirements. Here, design procedures are presented for sizing a solid desiccant dryer in removing moisture from gas streams. The process involves the following calculations. 1. the water pickup 2. desiccant volume
286
3. 4. 5. 6.
FortranPrograms for Chemical Process Design
desiccant bed gas velocity through the bed vessel weight dryer regeneration requirements
The design is based upon the following assumptions [2]" 1. The temperature difference between the heater outlet temperature and the peak vessel outlet temperature is 50~ 2. The average bed temperature is based on 75 percent of the bed at heater outlet temperature and 25 percent at the peak vessel outlet temperature Equation 4-73. 3. Specific heats: steel, 0.12 Btu/lb ~ and desiccant 0.25 Btu/lb ~ 4. Heat of water desorption 1400 Btu/lb H20 adsorbed. 5. Flat heads used on vessel ends; steel density is 480 lb/ft 3. 6. Total vessel weight increased by 10 percent for supports. 7. Heat losses to the dryer during heating period calculated at 5 percent.
The Equations The equations used for calculating these requirements are: The total water adsorbed, lb
H20 load -
(Flow)(Cycle)(H20 Cont) 24 MMstd day
ft 3 /(
( lb ) h) MMstd ft3
(4-64)
(h/day) Desiccant volume
VDES = (H20 load)(100)
(4-65)
(pickup) (9D) The calculated area based on desiccant volume ApES =
V
DES L
The bed diameter
(4-66)
Equipment Sizing
DBED- (4ADEs/0"5 71;
287
(4-67)
actual desiccant bed area
A-
(4-68)
~J~--BED 132
4 The actual gas flowrate at flowing conditions, ft3/min Q - (Flow)( P
147 l/w/( 1 +14.7
5-~
1440 (4-69)
=(Flow)
P + 1T4 . 7 )(Z)(19.6314)
Superficial gas velocity, ft/min
Q
(4-70)
VGA S = --
A
Superficial gas velocities for adequate contact time should range between 30 and 60ft/min Dryer shell thickness, inch t -
PR S E - 0.6P
(4-71)
Vessel weight W V E s --
It/
480gD ~
(L + h + R)(1.10)
(4-72)
Add an extra 2 ft (h - 2) of straight side (i.e., for 6 in. of 3/8-in. inert balls above and below the desiccant bed and 1 ft for an inlet-gas distributor). Temperature of desiccant bed, ~
TBEo -- 0.75(HT)
+ 0.25(HT - 50)
(4-73)
Total heat required to regenerate the dryer (ideal), Btu HTOT
-
{(WvEs)(0.12)(TBE
+ (H20
D -- T) + (WD)(0.25)(TBE D -- T)
load)(1400)}(1.05)
(4-74)
288
FortranPrograms for Chemical Process Design
where =
loss factor for non-steady state heating, F F-ln(HT- T/50
(4-75)
Heat added to regeneration gas to regenerate the desiccant bed HREG
=
(4-76)
HTOT.F
The total regeneration gas requirement, lb HGA s =
(4-77)
HREG - H 2
Hl
Standard cubic feet of regeneration gas SCF = HGAS(380) MW
(4-78)
Pressure Drop (AP) The pressure drop is estimated from the desiccant manufacturer's data and correlations. In addition, AP can be calculated by Wunder's [18] graphical correlation of gas superficial velocity against AP in ft water per ft bed. Wunder used a factor of 1.6 for a fouled bed. AP through a new desiccant bed is initially low. After a short time in service, AP rises because of bed settling and then slowly increases over the active life of the desiccant because of more settling and some attrition. Figure 4-10 shows AP for an 8-inch silica gel desiccant. These data are based on air. For other gases, the given values should be multiplied by (MW gas/MW air) ~ The pressure drop for a clean bed is given by: AP - ( ft) H bed 2 0~/ ( 0"ft4335psi H 20 ) ( MWgas MW air
(4-79)
Fouled bed: AP = clean bed AP x 1.6
(4-80)
Desiccant attrition due to high gas velocities is controlled by proper bed design. The superficial gas velocity is used to estimate Alcoa's
Equipment Sizing
289
Figure 4-10. Pressure drop for an 8 mesh silica gel desiccant (by permission Oil & Gas Journal).
momemtum downflow velocities [18]. However, desiccant attrition should not be a problem when the momentum number is equal to or less than 30,000. Although, this number is based on granular alumina, it can be used for silica gel, which has crushing characteristics similar to alumina. The momentum is expressed as: Momentum
-(VGAs)(MW)( P + 14.7~ \
14.7
)
where VGAs = superficial gas velocity, ft/min MW = molecular weight of gas P = system pressure in psig
< 30,000
(4-81)
290
Fortran Programs for Chemical Process Design Desiccant Reactivation
The desiccant bed is reactivated at as high a temperature as permissible to start optimum capacity and minimum dew points. In natural gas drying service, the normal reactivation temperature for silica gel is between 350~ and 400~ Because the feed gas contains high pentanes-plus materials, Wunder [ 18] suggested that reactivation can be carried out at 450~ to desorb the heavy hydrocarbons. At a temperature above 450~ the attrition rate for silica gel is high. However, occasionally at 600~ reactivation will restore some desiccant's initial activity thus extending the life of the silica gel. Therefore, the reactivation procedure is designed to periodically heat the desiccant to 600~ [ 18].
Nomenclature A = actual desiccant bed area, ft 2 ApE s = calculated area based on desiccant volume, ft 2 Cycle - drying cycle, h DBE D -" calculated bed diameter, ft E - joint efficiency F = loss factor for non-steady state heating Flow = gas flow rate, 106 std ft3/day h - additional shell height for desiccant supports and distributor, ft H~, H 2 - enthalpy of regeneration gas before and after regeneration heater, Btu/lb HaA s -" total regeneration gas requirement, lb H R E G -- heat added to regeneration gas to regenerate desiccant bed HToT = heat required to regenerate dryer (ideal), Btu HT = heater temperature, ~ H20 load = total water adsorbed, lb H 2 0 Cont - water content of gas, lb/106 std ft 3 L = desiccant bed length, ft M W = molecular weight of regeneration gas P - dryer operating pressure, psig PICKUP = useful design capacity of desiccant, % Q - actual gas flow rate at flowing conditions, ft3/min R - radius of desiccant bed, ft S - allowable stress, lb/in 2 SCF - standard cubic feet of regeneration gas
Equipment Sizing
291
t = dryer shell thickness, inch T = gas flowing temperature, ~ TB = temperature of desiccant bed, ~ VDES = desiccant volume, ft 3 VGAs -- superficial gas velocity, ft/min W D = desiccant weight, lb WS = steel weight of shell and heads, lb WvEs = vessel weight, lb Z - compressibility factor 9D = desiccant density, lb/ft3
PROBLEMS AND SOLUTIONS Problem 4-1 Size a vertical separator under the following conditions: WL = 5000 lb/h
WV = 37,000 lb/h
9L = 61.87 lb/ft 3
Pv = 0.374
lb/ft 3
The liquid surge time is five minutes. Size a horizontal separator for the following conditions: WL = 56,150 lb/h
WV = 40,000 lb/h
PL = 60.0 lb/ft 3
9v = 1.47 lb/ft 3
The liquid surge time is six minutes. Use L/D = 3.0
Solution The computer program PROG41 sizes both the vertical and horizontal separators. Table 4-5 shows the input data and computer output for both separators. From the computed output, the diameter of the vertical separator with the given flow data and physical properties is 2.88 ft, the liquid height is 1.03 ft and the vessel volume is 6.74 ft 3. The computer output for the horizontal separator gives its diameter as 4.13 ft, the vessel length is 12.39 ft, and volume is 165.82 ft 3. Figure 4-7 gives a nomograph of the vapor rise in horizontal vessels. A check of the vapor area with 20 percent of the total cross-sectional
Fortran Programs for Chemical Process Design
292
Table 4-5 Input Data and Computer Output for Vertical and Horizontal Separators DATA41.DAT 1 5000.0 61.87 5.0 2 56150.0 60.0 3.0
37000.0 0.374
40000.0 1.47
6.0
VERTICAL SEPARATOR SIZING ***************************************************************************** L I Q U I D FLOWRATE, ib/hr.: V A P O R FLOWRATE, ib/hr.: LIQUID DENSITY, ib/ft^3.: V A P O R DENSITY, ib/ft^3.: LIQUID V O L U M E T R I C RATE, ft^3/sec.: V A P O R V O L U M E T R I C RATE, ft^3/sec.: L I Q U I D SURGE TIME, min.: S E P A R A T I O N FACTOR: V A P O R V E L O C I T Y FACTOR: M A X I M U M V A P O R VELOCITY, ft/s.: V E S S E L DIAMETER, ft: M I N I M U M V A P O R - L I Q U I D N O Z Z L E VELOCITY, M A X I M U M V A P O R - L I Q U I D N O Z Z L E VELOCITY, R E Q U I R E D V E S S E L VOLUME, ft^3: L I Q U I D HEIGHT, ft.:
ft/s.: ft/s.:
5000. 37000. 61.870 .374 92.1232 .0224 5.0 .0105 .329 4.213 2.882 27.481 153.539 6.735 1.032
HORIZONTAL SEPARATOR SIZING ***************************************************************************** L I Q U I D FLOWRATE, ib/hr.: V A P O R FLOWRATE, ib/hr.: L I Q U I D DENSITY, Ib/ft^3.: V A P O R DENSITY, ib/ft^3.: L I Q U I D V O L U M E T R I C RATE, ft^3/sec.: V A P O R V O L U M E T R I C RATE, ft^3/sec.: L I Q U I D SURGE TIME, min.: L E N G T H TO D I A M E T E R R A T I O (L/D): S E P A R A T I O N FACTOR: V A P O R V E L O C I T Y FACTOR: V A P O R V O L U M E T R I C RATE, ft^3/s.: M A X I M U M V A P O R VELOCITY, ft/s.: V E S S E L DIAMETER, ft.: V E S S E L LENGTH, ft.: V E S S E L VOLUME, ft^3.: C A L C U L A T E D L I Q U I D SURGE TIME, min.:
56150. 40000. 60.000 1.470 .2600 7.5586 6.000 3.0 .220 .447 7.559 2.823 4.129 12.386 165.815 8.5O5
area and the computed diameter of 4.13 ft shows that the vapor rise is approximately 12 inches. Problem 4-2 Estimate the liquid volume in a horizontal storage tank that has a diameter of 120 inches, a length of 200 inches, and contains 40 inches of liquid. Calculate the liquid volume for a vertical tank and for tanks with either flat heads, dished heads, elliptical and hemispherical.
Equipment Sizing
293
Solution
The computer program PROG42 calculates the liquid volume in a horizontal tank and for tanks with flat, dished, elliptical and hemispherical heads. Table 4-6 shows the input data and computer output for a vertical tank and tanks with flat, dished, elliptical and hemispherical heads. Problem 4-3
Estimate the weight of a pressure vessel with hemispherical heads. The vessel is 2 ft 6 in ID x 10 f t - 0 in T/T and has a design pressure of 1000 psig. 2SF - 4 in
Eshen = 0.85
c = 0.125 in
Ehead ---- 1.0
P~ = 489.024 lb/ft3
S = 17,500 lb/in2 Solution
The computer program PROG43 determines the vessel weight of the pressure vessel with hemispherical, elliptical, and torispherical heads. Table 4-7 gives input data and computer output for 2 ft 6 in.-diameter vessel. The output gives the shell and head thicknesses, the weights of the shell and head, and the total weight of the vessel with hemispherical, elliptical and torispherical heads. Problem 4-4
Determine the efficiency and pressure drop (AP) based on cyclone dimensions and the gas flow rate at 516.7 ft3/s, and a density of 0.075 lb/ft 3 containing particles with density of 62.43 lb/ft 3. The dimensions and data required are: Cyclone Cyclone Cyclone Cyclone Cyclone Cyclone Cyclone
gas inlet height, ft gas inlet width, ft gas outlet length, ft gas outlet diameter, ft overall height, ft cylindrical height, ft diameter, ft
4.5 1.896 3.448 3.792 26.333 8.552 6.333 (text continued on page 296)
Table 4-6 Input Data and Computer Outputs for Tank Volume with Flat, Dished, Elliptical and Hemispherical Heads, and Vertical Tank Volume DATA42.DAT 1 120. 2 120. 3 120. 4 120. 5 120.
40.
200.
40.
200.
40.
200.
40.
200.
40.
200.
TANK VOLUME WITH FLAT HEADS ***************************************************************************** T A N K D I A M E T E R , in.: L I Q U I D DEPTH, in.: T A N K LENGTH, in.: T A N K VOLUME, in.^3: T A N K VOLUME, ft.^3: T A N K VOLUME, gal: T A N K VOLUME, bbl:
120.000 40.000 200.000 .660017E+06 .381954E+03 .285721E+04 .680279E+02
TANK VOLUME WITH DISHED HEADS ***************************************************************************** T A N K D I A M E T E R , in.: L I Q U I D DEPTH, in.: T A N K LENGTH, in.: T A N K VOLUME, in^3: T A N K V O L U M E , ft.^3: T A N K VOLUME, gal: T A N K V O L U M E , bbl: __
120.000 40.000 200.000 .662430E+06 .383351E+03 .286766E+04 .682767E+02
TANK VOLUME WITH ELLIPTICAL HEADS ***************************************************************************** T A N K DIAMETER, in.: L I Q U I D DEPTH, in.: T A N K LENGTH, in.: T A N K VOLUME, in.^3: T A N K VOLUME, ft.^3: T A N K V O L U M E , gal: T A N K VOLUME, bbl:
120.000 40.000 200.000 .894589E+06 .517702E+03 .387268E+04 .922053E+02
TANK VOLUME WITH HEMISPHERICAL HEADS ***************************************************************************** T A N K D I A M E T E R , in.: L I Q U I D DEPTH, in.: T A N K LENGTH, in.: T A N K V O L U M E , in.^3: T A N K V O L U M E , ft.^3: T A N K VOLUME, gal: T A N K VOLUME, bbl:
120.000 40.000 200.000 .I12916E+07 .653450E+03 .488814E+04 .I16383E+03
VERTICAL
TANK VOLUME
*****************************************************************************
T A N K D I A M E T E R , in.: L I Q U I D DEPTH, in.: T A N K L E N G T H , in.:
120.000 40.000 200.000
294
Table 4-6 (continued) TANK TANK TANK TANK
VOLUME, VOLUME, VOLUME, VOLUME,
in.^3: ft.^3: gal: bbl:
.452389E+06 .261799E+03 .195839E+04 .466278E+02
Table 4-7 Input Data and Computer Outputs for Vessel Design with Hemispherical, Ellipsoidal and Torispherical Heads DATA43.DAT 1 30.0 2.0 0.85 2 30.0 2.0 0.85 3 30.0 2.0 0.85
i0.0 0.125 1.0
i000.0 489.024 17500.
i0.0 0.125 1.0
i000.0 489.024 17500.0
i0.0 0.125 1.0
i000.0 489.024 17500.0
2.0
VESSEL DESIGN WITH HEMISPHERICAL HEADS ***************************************************************************** I N T E R N A L D I A M E T E R , in.: S H E L L L E N G H T , ft.: I N T E R N A L D E S I G N P R E S S U R E , psig: S T R A I G H T F L A N G E L E N G T H , in.: C O R R O S I O N A L L O W A N C E , in.: D E N S I T Y OF V E S S E L M A T E R I A L , I b / f t ^ 3 . : J O I N T E F F I C I E N C Y OF SHELL: J O I N T E F F I C I E N C Y OF HEAD: ALLOWABLE STRESS, ib/in^2.: C A L C U L A T E D S H E L L T H I C K N E S S , in.: C A L C U L A T E D H E A D T H I C K N E S S , in.: W E I G H T OF V E S S E L SHELL, ib: W E I G H T OF V E S S E L HEAD, ib: T O T A L V E S S E L W E I G H T , ib:
30.000 I0.000 i000.000 2.000 .125 489.024 .85O 1.000 17500.000 1.176 .431 4205.77 595.80 4801.58
VESSEL DESIGN WITH ELLIPSOIDAL HEADS ***************************************************************************** I N T E R N A L D I A M E T E R , in.: S H E L L L E N G T H , ft.: I N T E R N A L D E S I G N P R E S S U R E , psig.: S T R A I G H T F L A N G E L E N G T H , in.: C O R R O S I O N A L L O W A N C E , in.: D E N S I T Y OF V E S S E L M A T E R I A L , i b / f t ^ 3 . : J O I N T E F F I C I E N C Y OF SHELL: J O I N T E F F I C I E N C Y OF HEAD: A L L O W A B L E STRESS, i b / i n ^ 2 . : C A L C U L A T E D S H E L L T H I C K N E S S , in.: C A L C U L A T E D H E A D T H I C K N E S S , in.: W E I G H T OF V E S S E L SHELL, ib: W E I G H T OF V E S S E L HEAD, ib: T O T A L V E S S E L W E I G H T , ib:
VESSEL
DESIGN
30.000 i0.000 i000.000 2.000 .125 489.024 .850 1.000 17500.000 1.176 .987 4205.77 853.98 5059.75
WITH TORISPHERICAL
HEADS
(table continued on next page)
295
296
Fortran Programs for Chemical Process Design Table 4-7 (continued)
***************************************************************************** I N T E R N A L DIAMETER, in.: 30.000 SHELL LENGTH, ft.: i0.000 I N T E R N A L D E S I G N PRESSURE, psig.: i000.000 S T R A I G H T F L A N G E LENGTH, in.: 2.000 C O R R O S I O N A L L O W A N C E , in.: .125 D E N S I T Y OF V E S S E L MATERIAL, ib/ft^3.: 489.024 J O I N T E F F I C I E N C Y OF SHELL: .850 J O I N T E F F I C I E N C Y OF HEAD: 1.000 17500.000 A L L O W A B L E STREES, Ib/in.^2: 1.176 C A L C U L A T E D S H E L L THICKNESS, in.: .227 C A L C U L A T E D H E A D THICKNESS, ft.: W E I G H T OF V E S S E L SHELL, ib: 4205.77 W E I G H T OF V E S S E L HEAD, ib: 155.37 T O T A L V E S S E L WEIGHT, ib: 4361.15
(text continued from page 293)
Cyclone dust-outlet diameter, ft Gas rate, ft3/s Gas density, lb/ft 3 Gas viscosity, lb/ft s Temperature, ~ Particle size, ft
2.533 516.7 0.075 1.28 x 10 -5
110 3.281 x 10-5
Solution
The computer program PROG44 calculates the pressure drop and the efficiency of the cyclone using the cyclone geometry, fluid and particle specifications. Table 4-8 gives the input data and computer results with an efficiency of 63.305%, and a pressure drop of 7.834 in H20. The calculated ratio of the particle diameter relative to the critical diameter is 0.51. From Figure 4-8, the percentage removal of the particle is 23%. Problem 4-5
Size a dryer to operate under the following conditions as shown in Table 4-9 using silica gel as the adsorbent. Solution
The computer program PROG45 calculates the size of the dryer using silica gel, and Table 4-10 illustrates the input data and computer output. The total regeneration flow is 44649.0 lb and the momentum is 30,584. The heat requirement for dryer regeneration is 5.6 x 108 Btu. The calculated superficial gas velocity is 34.95ft/min.
Equipment Sizing
297
Table 4-8 Input Data and Computer Output for Cyclone Design DATA44.DAT 26.333 4.5 516.7 ii0.0
8.552 6.333 1.896 3.448 62.43 0.075 0.00003281
2.533 3.792 0.0000128
CYCLONE
DESIGN
C Y C L O N E O V E R A L L H E I G H T , ft: C Y C L O N E C Y L I N D R I C A L H E I G H T , ft.: C Y C L O N E D I A M E T E R , ft.: C Y C L O N E D U S T - O U T L E T D I A M E T E R , ft: C Y C L O N E G A S I N L E T L E N G T H , ft: C Y C L O N E GAS I N L E T W I D T H , ft: C Y C L O N E GAS O U T L E T L E N G T H , ft: C Y C L O N E GAS O U T L E T D I A M E T R , ft: G A S RATE, f t ^ 3 / s . : PARTICLE DENSITY, ib/ft^3: GAS DENSITY, ib/ft^3: GAS VISCOSITY, Ib/ft.s.: GAS T E M P E R A T U R E , oF: PARTICLE SIZE (EQUIVALENT DIA.),ft.: VORTEX EXPONENT: R E L A X A T I O N TIME, s: I N L E T F L U I D V E L O C I T Y , ft/s.: S A L T A T I O N V E L O C I T Y , ft/s.: CYCLONE CONFIGURATION FACTOR: C Y C L O N E P R E S S U R E DROP, in H20: R A T I O OF T H E I N L E T TO T H E S A L T A T I O N V E L O C I T I E S : C Y C L O N E E F F I C I E N C Y , %: E F F E C T I V E N U M B E R OF T U R N S : C R I T I C A L P A R T I C L E D I A M E T E R , ft.: CRITICAL PARTICLE DIAMETER, microns: R A T I O OF P A R T I C L E DIA. TO C R I T I C A L DIA.:
26.333 8.552 6.333 2.533 4.500 1.896 3.448 3.792 516.70 62.430 .075 .128000E-04 ii0.000 .328100E-04 .7276 .291691E-03 60.560 22.108 89.728 7.834 2.739 63.305 3.71 .643700E-04 .196200E+02 .51
Table 4-9 Dryer Parameters F l o w = 65 M M std ft3/day
D e s i c c a n t H 2 0 cap = 8%
P = 7 0 0 psig
D e s i c c a n t density = 50 l b / f t 3
T = 80~
D e s i c c a n t bed length = 15ft
Z = 0.9228
Heater outlet = 5 0 0 ~
H 2 0 Cont = 47 l b / M M std ft 3
MW=
S = 1 5 , 5 0 0 lb/in 2
H ~ = 4 9 0 B tu/lb
E = 1.0
H 2 = 225 Btu/lb
C y c l e = 12h
h = 2.0ft
18
298
FortranPrograms for Chemical Process Design
From Figure 4-10, Superficial gas velocity = 35 ft/min Desiccant bed length = 15.0 ft System pressure = 700 psig The clean bed AP using Equation 4-79 is AP - 0.87 ft H20 ( 0.4335psi ftbed ~, ftH20
)(15.0 ft bed) /18) ~ -~
= 3.68psi Table 4-10 Input Data and Computer Output for Gas Dryer Design DATA45.DAT 65.0 0.9228 15500.0 50.0 18.0
700.0 12.0 1.0 15.0 490.0
80.0 47.0 8.0 500.0 225.0
GAS DRYER DESIGN ****************************************************************************** G A S F L O W RATE, 10^6 std. f t ^ 3 / d a y : D R Y E R O P E R A T I N G P R E S S U R E , psig.: G A S F L O W I N G T E M P E R A T U R E , oF: GAS COMPRESSIBILITY FACTOR: D R Y I N G C Y C L E , hr.: W A T E R C O N T E N T O F GAS, i b / 1 0 ^ 6 s t d . f t ^ 3 : A L L O W A B L E S T R E S S , psi: JOINT EFFICIENCY: U S E F U L D E S I G N C A P A C I T Y O F D E S I C C A N T , (%): DESICCANT DENSITY, ib/ftA3: H E A T E R O U T L E T T E M P E R A T U R E , oF: M O L E C U L A R W E I G H T O F R E G E N E R A T I O N GAS: ENTHALPY OF GAS BEFORE REGENERATION HEATER, Btu/Ib: E N T H A L P Y OF G A S A F T E R R E G E N E R A T I O N H E A T E R , B t u / I b : T O T A L W A T E R A D S O R B E D , ib/h.: D E S I C C A N T V O L U M E , ftA3.: C A L C U L A T E D C R O S S - S E C T I O N A L AREA, ftA2.: B E D D I A M E T E R , ft.: B E D R A D I U S , ft.: B E D L E N G T H , ft.: A C T U A L G A S F L O W RATE, f t ^ 3 / m i n . : SUPERFICIAL GAS VELOCITY, ft./min.: D R Y E R S H E L L T H I C K N E S S , in.: V E S S E L W E I G H T , lb.: D E S I C C A N T W E I G H T , lb.: T E M P E R A T U R E O F D E S I C C A N T BED, oF: T O T A L H E A T R E Q U I R E D T O R E G E N E R A T E DRYER, Btu: LOSS FACTOR: H E A T A D D E D T O R E G E N E R A T I O N GAS: T O T A L R E G E N E R A T I O N G A S R E Q U I R E M E N T , ib: S T A N D A R D C U B I C F E E T OF R E G E N E R A T I O N GAS, s t d . f t ^ 3 : MOMENTUM:
65.000 700.000 80.0 .9228 12.0 47. 15500.0 1.0 8.0 50.0 500.0 18.0 490.0 225.0 1527.500 381.8750 25.4583 5.6934 34.1603 15.00 889.697 34.947 1.5857 24767. 19094. 487.500 .555954E+07 2.1282 .I18320E+08 .446490E+05 .942590E+06 .305838E+05
Equipment Sizing
299
Fouled A P - 3.68 x 1.6 = 5.89 psi The actual regeneration flow rate (lb/h) will depend upon the length of the heating cycle used. References
1. Watkins, R. N., "Sizing Separators and Accumulators," Hydrocarbon Process, Vol. 46, No. 11, Nov. 1967, pp. 253-256. 2. Backwell, W. W., "Chemical Process Design on a Programmable Calculator," McGraw-Hill, Inc., New York, 1984. 3. Gerunda, A., "How to Size Liquid-Vapor Separators," Chem. Eng., May 4, 1981, pp. 81-84. 4. Kowal, G., "Quick Calculations for Holdups In Horizontal Tanks," Chem. Eng., June 11, 1973, pp. 130-132. 5. Evans, E L., Equipment Design Handbook for Refineries and Chemical Plants, Vol. 2, Gulf Publishing Co., Houston, 1980. 6. Kelsall, M. A., A Study of the Motion of Solids Particles in a Hydraulic Cyclone, Trans. Inst. Chem. Engrs., Vol. 30, 1952, pp. 87-108. 7. Coker, A. K., and G. V. Jeffreys, "Flow Patterns and Residence Time Distribution in Nozzle-Type Reactors," Inst. Chem. Symp. Ser. No. 108, Fluid Mixing III, 1987, p. 105. 8. Coker, A. K., "A Study of Fast Reactions in Nozzle-Type Reactors," Ph.D. Thesis, Aston University, U.K., 1985. 9. Coker, A. K., G. V., Jeffreys, and C. J. Mumford, "Mechanisms of Nozzle-Type Reactor Operations with Gas Removal," Scientific Research, Vol. 49, 1992, pp. 67-81. 10. Stairmand, C. J., "Design and Performance of Cyclone Separators," Trans. Inst. Vol. 29, 1951, p. 356. 11. Strauss, N., Chapter 6, Industrial Gas Cleaning, Pergamon Press, N.Y., 1966. 12. Koch, W.H. and Licht, W. L., "New Design Approach Boosts Cyclone Efficiency," Chem. Eng., Nov. 1977, pp. 80-88. 13. Zenz, E A., Ind & Eng. Chem. Fund., Vol. 3, 1964, p. 65. 14. Kalen, B. and Zenz, E A., AIChE. Symp. Ser. Vol. 70, No. 137, 1974, p. 388. 15. Lieberman, N. R, Troubleshooting Process Operations, 2nd. Ed., PennWell Books, Oklahoma, 1985. 16. Walas, S. M., Chemical Process Equipment~Selection and Design, Butterworths Series in Chemical Engineering, 1988.
300
Fortran Programs for Chemical Process Design
17. Engineering Data Book, 10th Ed., Vol. 2, Gas Processors Suppliers Association, Tulsa, Oklahoma, 1987. 18. Wunder, J. W., "How to Design a Natural Gas Drier," Oil Gas J., Aug. 6, 1962, pp. 137-148.
PROGRAM
PROG41
THIS PROGRAM USES THE WELL-KNOWN SOUDERS AND BROWN CORRELATION COUPLED WITH LIQUID SURGE CAPACITY TO SIZE LIQUID-VAPOR SEPARATORS. THE PROGRAM SIZES BOTH VERTICAL AND HORIZONTAL SEPARATORS HL = SFac(SF)= KV = VM = WL = WV = DENL = DENV = QV = D = A = AV = QL = T = KH = AT = L = AL =
L I Q U I D H E I G H T , ft. SEPARATION FACTOR VAPOR VELOCITY FACTOR FOR VERTICAL SEPARATORS MAXIMUM VAPOR VELOCITY, ft/s LIQUID FLOW RATE, ib/hr. VAPOR FLOW RATE, ib/hr. LIQUID DENSITY, ib/ft^3. VAPOR DENSITY, ib/ft^3 VAPOR VOLUMETRIC FLOW, ft^3/s V E S S E L D I A M E T E R , ft CROSS-SECTIONAL AREA OF VERTICAL SEPARATOR, ft^2 MINIMUM CROSS-SECTIONAL AREA OF VERTICAL SEPARATOR, ft^2 LIQUID VOLUMETRIC FLOW, ft^3/s LIQUID SURGE TIME, min. VAPOR VELOCITY FACTOR FOR HORIZONTAL SEPARATORS TOTAL CROSS-SECTIONAL AREA OF HORIZONTAL VESSEL, ft^2 H O R I Z O N T A L V E S S E L L E N G T H , ft CRDSS-SECTIONAL AREA OF HORIZONTAL VESSEL OCCUPIED BY LIQUID PHASE, ft^2 X = in(S.Fac) **********************************************************************
R E A L KH, K V l , L C O M M O N B, D, E, F, COMMON/DATA1/ COMMON/DATA2/ COMMON/DATA3/
G,
PI
COMMON~DATA4~ COMMON~DATA5~
WLI, SFI, UMAX, WL2, SF2,
OPEN OPEN
FILE='DATA41.DAT', FILE='PRN ' )
PI
(UNIT=3, (UNIT=l,
= = = = =
VAPOR
VELOCITY
FACTOR
-1.877478 -0.814580 -0.187074 -0.014523 -0.001015
READ GO TO READ
FOR
(3,
*,
(ii, LIQUID
ERR=I9)
I
22),I FLOW
RATE,
WLI:
L,
STATUS='OLD',
= 3.1415927
CONSTANTS B D E F G
WVI, DENLI, DENVI, T1 K V l , V M A X I , D1 U M I N , Q L I , Q V l , V, H L WV2, DENL2, DENV2, RATIO KH, Q L 2 , Q V 2 , V M A X 2 , D2,
ib/hr.
301
VESVOL,
ERR=I8)
T2,
CALT2
II
READ READ READ READ
V A P O R F L O W R A T E , WVI: ib/hr. LIQUID DENSITY, DENLI: ib/ft^3. VAPOR DENSITY, DENVI: ib/ft^3. L I Q U I D S U R G E TIME, TI: min.
READ READ READ
(3, *, E R R = I 9 ) (3, *, E R R = I 9 ) (3, *, E R R = I 9 )
WLI, W V I DENLI, D E N V I T1
GO TO 33
22
READ READ READ READ READ READ
L I Q U I D F L O W RATE, WL2: Ib/hr. V A P O R F L O W RATE, WV2: ib/hr. L I Q U I D D E N S I T Y , DENL2: i b / f t ^ 3 . V A P O R D E N S I T Y , DENV2: i b / f t ^ 3 . L I Q U I D S U R G E TIME, T2: min. LENGTH-TO-DIAMETER RATIO, RATIO.
READ READ READ
(3, *, E R R = I 9 ) (3, *, E R R = I 9 ) (3, *, E R R = I 9 )
WL2, W V 2 DENL2, DENV2, RATIO
T2
GO TO 44 18
20
19 21
W R I T E (*, 20) F O R M A T (6X, ' D A T A F I L E D O E S N O T E X I S T ' ) GO T O 999 W R I T E (*, 21) F O R M A T (6X, ' E R R O R M E S S A G E GO T O 999 COMPUTE
C 33
S I Z I N G OF T H E V E R T I C A L
SEPARATOR
CALL VERT OUTPUT
C
THE
IN T H E D A T A V A L U E ' )
THE RESULTS
OF T H E V E R T I C A L
SEPARATOR
CALL OUTV GO TO 5 COMPUTE
C 44
T H E S I Z I N G OF T H E H O R I Z O N T A L
OUTPUT THE RESULTS CALL OUTH
C
SEPARATOR
CALL HORIZ OF T H E H O R I Z O N T A L
SEPARATOR
GO TO 999 CLOSE CLOSE 999
C C
(3, S T A T U S = ' K E E P ' ) (i)
STOP END *************************************************************** THIS PROGRAM
SIZES VERTICAL
LIQUID-VAPOR
302
SEPARATORS
*************************************************************** SUBROUTINE VERT R E A L KVl C O M M O N B, D, E, F, G, PI COMMON~DATA1~ WLI, WVl, DENLI, C O M M O N / D A T A 2 / SFI, KVI, VMAXI, C O M M O N / D A T A 3 / UMAX, UMIN, QLI,
DENVl, T1 D1 QVI, V, H L
CALCULATE THE SEPARATION FACTOR SFI = ( W L I / W V I ) * S Q R T ( D E N V l / D E N L I ) X1 = A L O G ( S F I ) VALI = B + ( D * X I ) + ( E * ( X I * * 2 ) ) + ( F * ( X I * * 3 ) ) + ( G * ( X I * * 4 ) ) CALCULATE THE VAPOR VELOCITY
FACTOR,
ft./s.
KVI = E X P ( V A L I ) CALCULATE THE MAXIMUM VAPOR VELOCITY, VMAXI
=
ft./s.
KVI*SQRT((DENLI-DENVI)/DENVI)
C A L C U L A T E T H E V O L U M E T R I C RATE,
ftA3/sec.
QVI = W V l / ( D E N V I * 3 6 0 0 . 0 ) AVI = Q V I / V M A X I C A L C U L A T E T H E D I A M E T E R OF T H E VESSEL,
ft.
D1 = S Q R T ( ( 4 . 0 * A V I ) / P I ) AREA = (PI*DI**2)/4.0 C A L C U L A T E THE V A P O R - L I Q U I D
INLET NOZZLE VELOCITIES.
DENM = (WLI+WVl)/((WLI/DENLI)+(WVI/DENVI)) UMAX = IO0.O/(DENM**0.5) UMIN = 60.O/(DENM**0.5) C A L C U L A T E THE L I Q U I D V O L U M E T R I C RATE,
ft^3/sec.
QLI = W L I / ( D E N L I * 3 6 0 0 . )
C A L C U L A T E THE R E Q U I R E D V E S S E L VOLUME, V =
ft^3.
(QLI*TI*60~
C A L C U L A T E THE L I Q U I D HEIGHT,
ft.
HL = V/AREA RETURN END *************************************************************** THIS PROGRAM SIZES HORIZONTAL LIQUID-VAPOR SEPARATOR *************************************************************** SUBROUTINE HORIZ R E A L L, KH, KV2 C O M M O N B, D, E, F, G, PI C O M M O N / D A T A 4 / WL2, WV2, DENL2, DENV2, R A T I O C O M M O N / D A T A 5 / SF2, KH, QL2, QV2, VMAX2, D2, L, V E S V O L ,
303
T2,
CALT2
CALCULATE
THE VAPOR-LIQUID
SEPARATION
FACTOR
SF2 = ( W L 2 / W V 2 ) * S Q R T ( D E N V 2 / D E N L 2 ) X2 = A L O G ( S F 2 ) VAL2 = B+(D*X2)+(E*(X2**2))+(F*(X2**3))+(G*(X2**4)) KV2 = EXP(VAL2) CALCULATE
THE VAPOR
VELOCITY
FACTOR
FOR HORIZONTAL
SEPARATOR
KH = 1.25"KV2 VMAX2
= KH*SQRT((DENL2-DENV2)/DENV2)
CALCULATE QL2
VOLUMETRIC
RATE,
ft^3/sec.
THE VAPOR
VOLUMETRIC
RATE,
ft^3/sec.
= WV2/(DENV2*3600.0)
CALCULATE AV2
LIQUID
= WL2/(DENL2*3600.0)
CALCULATE QV2
THE
THE VAPOR
FLOW AREA,
ft^2.
= QV2/VMAX2
CALCULATE THE TOTAL CROSS-SECTIONAL OF H O R I Z O N T A L V E S S E L , ft^2.
AREA
AT = A V 2 / 0 . 2 CALCULATE
THE
DIAMETER,
ft.
D2 = S Q R T ( ( 4 . 0 * A T ) / P I ) ASSUMING THE LENGTH TO DIAMETER RATIO = 3 T H E L E N G T H T O D I A M E T E R R A T I O , (i.e. R A T I O = L / D = 3 ) L = RATIO*D2 T H E S E P A R A T O R V A P O R A R E A IS A S S U M E D T O O C C U P Y 20% OF T H E T O T A L CROSS-SECTIONAL AREA. T H E R E F O R E T H E L I Q U I D A R E A W I L L O C C U P Y 80% OF THE TOTAL CROSS-SECTIONAL AREA.
CALCULATE
THE
FILL
LIQUID
VOLUME,
ft^3.
AL = 0.8*AT CALCULATE VESVOL
VOLUME,
ft^3.
= AT*L
CALCULATE CALT2
THE VESSEL
=
THE LIQUID
SURGE
TIME,
min.
(AL*L*DENL2*60.)/WL2
RETURN END *********************************************************** THIS PROGRAM PRINTS THE RESULTS OF THE VERTICAL SEPARATOR *********************************************************** SUBROUTINE REAL
OUTV
KVl
COMMON~DATA1~ COMMON/DATA2/ COMMON/DATA3/
i00
WLI, WVl, D E N L I , D E N V I , T1 SFI, KVl, V M A X l , D1 U M A X , QLI, QVI, U M I N , V, H L
W R I T E (i, i00) FORMAT (///,25X,
'VERTICAL
SEPARATOR
304
SIZING',/,78(IH*))
ii0 1 2 3 4 5 6
WRITE (i, ii0) WLI, WVl, DENLI, DENVI, QLI, QVI, T1 FORMAT (SX,'LIQUID FLOWRATE, Ib/hr.:', T60, FI0.0,/, 5X,'VAPOR FLOWRATE, ib/hr.:', T60, FI0.0,/, 5X,'LIQUID DENSITY, ib/ft^3.: ' , T60, F9.3,/, 5X,'VAPOR DENSITY, ib/ft^3.: ' , T60, F9.3,/, 5X 'LIQUID VOLUMETRIC RATE ft^3/sec.: ' T60, F9.4,/, 5X,'VAPOR VOLUMETRIC RATE, ftA3/sec.: ' , T60, F9.4,/, 5X,'LIQUID SURGE TIME, min.:', T60, F6.1)
3
WRITE (i, 120) SFI, KVI, VMAXI, D1 FORMAT (5X,'SEPARATION FACTOR:', T60, F8.4,/, 5X,'VAPOR VELOCITY FACTOR:', T60, F8.3,/, 5X,'MAXIMUM VAPOR VELOCITY, ft/s.:',T60, F8.3,/, 5X,'VESSEL DIAMETER, ft:', T60,FS.3)
1 2 3
WRITE (i, 130) UMIN, UMAX, V, HL FORMAT ( 5 X , ' M I N I M U M V A P O R - L I Q U I D NOZZLE VELOCITY, ft/s.:', T60, F8.3,/,5X,'MAXIMUM VAPOR-LIQUID NOZZLE VELOCITY, ft/s.:',T60, F8.3,/,5X,'REQUIRED VESSEL VOLUME, ftA3:',T60,FS.3,/, 5X,'LIQUID HEIGHT, ft.:',T60, F8.3)
120 1 2
130
WRITE (I, 140) FORMAT (78 (IH- ) )
140
RETURN END ************************************************************ THIS PROGRAM PRINTS THE RESULTS OF THE HORIZONTAL SEPARATOR ************************************************************ SUBROUTINE OUTH REAL L, KH COMMON/DATA4/ COMMON/DATAS/ WRITE(I,
160 1 2 3 4 5 6 7
180
190
T2, CALT2
150)
FORMAT(//,25X,'HORIZONTAL
150
170
WL2, WV2, DENL2, DENV2, RATIO SF2, KH, QL2, QV2, VMAX2, D2, L, VESVOL,
SEPARATOR SIZING',/78(IH*))
WRITE (i, 160) WL2, WV2, DENL2, DENV2, QL2, QV2, T2, RATIO FORMAT (5X,'LIQUID FLOWRATE, Ib/hr.:', T60, FI0.0,/, 5X,'VAPOR FLOWRATE, ib/hr.:', T60, FI0.0,/, 5X,'LIQUID DENSITY, ib/ft^3.: ' , T60, F9.3,/, 5X,'VAPOR DENSITY, ib/ft^3.: ' , T60, F9.3,/, 5X,'LIQUID VOLUMETRIC RATE, ftA3/sec.: ' , T60, F9.4,/, 5X,'VAPOR VOLUMETRIC RATE, ft^3/sec.: ' , T60, F9.4,/, 5X,'LIQUID SURGE TIME, min.:', T60, F9.3,/, 5X,'LENGTH TO DIAMETER RATIO (L/D):', T60, F6.1) WRITE (i, 170) SF2, KH, QV2, VMAX2 FORMAT (5X,'SEPARATION FACTOR:',T60,F8.3,/, 5X,'VAPOR VELOCITY FACTOR:',T60,FS.3,/, 5X,'VAPOR VOLUMETRIC RATE, ftA3/s.: ' , T60, F9.3,/, 5X,'MAXIMUM VAPOR VELOCITY, ft/s.:',T60, F8.3) WRITE (i, 180) D2, L, VESVOL, CALT2 FORMAT (5X,'VESSEL DIAMETER, ft.:',T60, F8.3,/, 5X,'VESSEL LENGTH, ft.:', T60, F8.3,/, 5X,'VESSEL VOLUME, ft^3.: ' , T60, F9.3,/, 5X,'CALCULATED LIQUID SURGE TIME, min.:',
T60, F8.3)
WRITE (i, 190) FORMAT (78(IH-)) FORM FEED THE PRINTING PAPER TO THE TOP OF THE NEXT PAGE. WRITE
(i, *) CHAR(12)
RETURN END
305
PROGRAM
PROG42
******************************************************************** T H I S P R O G R A M C A L C U L A T E S T H E S E G M E N T A L A R E A OF A C I R L C E C O U P L E D W I T H A M O D I F I E D D O O L I T T L E F O R M U L A F O R D I S H E D H E A D S TO C A L C U L A T E P A R T I A L V O L U M E S OF H O R I Z O N T A L V E S S E L S . THE PROGRAM WILL CALCULATE PARTIAL VOLUMES FOR HORIZONTAL C Y L I N D R I C A L V E S S E L S W I T H FLAT, D I S H E D , E L L I P T I C A L A N D H E M I S P H E R I C A L HEADS, AND VERTICAL CYLINDRICAL TANKS. ******************************************************************** CL AC VHC VDH VELL VHS VT D H R L VH BBL AREA
= = = = = = = = = = = = = =
C H O R D L E N G T H OF S E G M E N T A L A R E A , in. A R E A OF C H O R D , in^2. V O L U M E OF H O R I Z O N T A L C Y L I N D E R , in^3. V O L U M E OF D I S H E D H E A D S , in^3. V O L U M E OF E L L I P T I C A L H E A D S , in^3. V O L U M E OF H E M I S P H E R I C A L H E A D S , in^3. T O T A L V O L U M E OF H O R I Z O N T A L V E S S E L , in^3. V E S S E L , TANK, O R C I R C L E D I A M E T E R , in. C H O R D O R L I Q U I D H E I G H T , in. R A D I U S OF V E S S E L O R TANK, in. V E S S E L L E N G T H , in. H E A D V O L U M E S , in^3. V O L U M E IN B A R R E L S C I R C L E AREA, in^2.
R E A L LI, L2, C O M M O N PI
L3,
COMMON/DATA1/ COMMON/DATA2/
L4,
L5
COMMON/DATA5/
DI, D2, D3, D4, D5,
COMMON/PROGI/ COMMON/PROG2/ COMMON/PROG3/ COMMON/PROG4/ COMMON/PROG5/
VHC, V H C C F T , V H C G A L , V H C B B L VT, V T C F T , V T G A L , V T B B L VTELL, VTECFT, VTEGAL, VTEBBL VTHS, V T H C F T , V T H G A L , V T H B B L VVT, V V C F T , V V G A L , V V B B L
OPEN OPEN
FILE='DATA42.DAT', FILE='PRN')
COMMON~DATA3~ COMMON~DATA4~
(UNIT=3, ( U N I T =l,
HI, H2, H3, H4, H5,
L1 L2 L3 L4 L5
STATUS='OLD' , ERR=I8 )
PI = 3 . 1 4 1 5 9 2 7 READ GO TO
ii
(3,
*,
(ii,
ERR=I9) 22,
33,
I 44,
55),
READ READ READ
T A N K D I A M E T E R , DI: in. L I Q U I D D E P T H , HI: in. T A N K L E N G T H , LI: in.
READ
(3,
GO TO
*,
ERR=I9)
DI,
HI,
I
L1
66
306
C C C 22
READ READ READ
T A N K D I A M E T E R , D2: in. L I Q U I D DEPTH, H2: in. T A N K L E N G T H , L2: in.
READ
(3,
GO T O C C C 33
44
H2,
T A N K D I A M E T E R , D3: in. L I Q U I D DEPTH, H3: in. T A N K L E N G T H , L3: in.
READ
(3,
*, E R R = I 9 )
D3,
H3,
T A N K D I A M E T E R , D4: in. L I Q U I D DEPTH, H4: in. T A N K L E N G T H , L4: in.
READ
(3,
READ GO T O
*, E R R = I 9 )
D4,
H4,
L4
(3,
*, E R R = I 9 )
D5,
H5,
L5
Iii
W R I T E (*, 12) F O R M A T (6X, " D A T A GO T O 999
19 13
W R I T E (*', 13) FORMAT(6X, 'ERROR MESSAGE GO T O 999 CALCULATE
66
CALL PRINT
C
CALL GO T O C
CALL PRINT
C
CALL GO T O C
CALL
THE VOLUME
DOES
NOT
IN T H E
OF T H E
TANK
EXIST')
DATA VALUE')
WITH
FLAT
HEADS
THE RESULTS
OF T H E T A N K W I T H
FLAT
HEADS
OFLAT 5 THE VOLUME
OF T H E T A N K
WITH
DISHED
HEADS
DISHED THE RESULTS
OF T H E T A N K
WITH
DISHED
HEADS
ODISH 5
CALCULATE 88
FILE
FLAT
CALCULATE 77
L3
99
18 12
C
L2
88
READ READ READ
GO TO 55
D2,
READ READ READ
GO T O C C C
*, E R R = I 9 )
77
THE VOLUME
OF T H E T A N K
WITH
ELLIP
307
ELLIPTICAL
HEADS
PRINT CALL GO
THE
99
CALL
CALL GO
iii
THE
THE
CALL GO
999
ELLIPTICAL
HEADS.
VOLUME
OF
THE
TANK
WITH
HEMISPHERICAL
HEADS
RESULTS
OF
THE
TANK
WITH
HEMISPHERICAL
HEADS.
5 THE
PARTIAL
VOLUME
OF
A VERTICAL
TANK
VERT
PRINT THE VESSEL
C C
WITH
OHEMIS
TO
CALL
TANK
HEMISP
CALCULATE
C
THE
5
PRINT
C
OF
OELLIP
TO
CALCULATE
C
RESULTS
RESULTS
OF
THE
PARTIAL
VOLUME
OF
A VERTICAL
OVERT
TO
999
CLOSE CLOSE
(3, (i)
STATUS='KEEP')
STOP END
THIS PROGRAM CALCULATES CYLINDRICAL VESSEL WITH
SUBROUTINE
THE PARTIAL FLAT HEADS
VOLUME
FOR
A HORIZONTAL
FLAT
R E A L L1 C O M M O N PI
COMMON~DATA1~ COMMON/PROGI/
D I , HI, L1 VHC, VHCCFT,
VHCGAL,
VHCBBL
R1 = D I / 2 . CLI = 2.*SQRT(DI*HI-(HI**2)) VALI = (RI-HI)/RI VAL2 = (RI-HI)*SQRT(2.*RI*HI-(HI**2)) ACI = ((RI**2)*ACOS(VALI))-VAL2 AREAl = (0.25*PI*DI**2) VHC = ACI*LI CONVERT CALL
THE
CONVT
RESULTS (VHC,
TO
VHCCFT,
FT^3,
GALLONS
VHCGAL,
AND
VHCBBL)
RETURN
308
BARRELS
END *************************************************************** THIS PROGRAM CALCULATES THE PARTIAL VOLUME FOR A HORIZONTAL CYLINDRICAL VESSEL WITH DISHED HEADS ************************************************************** SUBROUTINE
DISHED
REAL L2 C O M M O N PI COMMON/DATA2/
COMMON/PROG2/
D2, VT,
H2, L2 VTCFT,
VTGAL,
VTBBL
R2 = D 2 / 2 . CL2 = 2.*SQRT(D2*H2-(H2**2)) VAL3 = (R2-H2)/R2 VAL4 = (R2-H2)*SQRT(2.*R2*H2-(H2**2)) AC2 = ((R2**2)*ACOS(VAL3))-VAL4 VHC2 = AC2*L2 VDH = 0.215483*H2*(I.5*D2-H2) VT = 2.*VDH+VHC2 CONVERT CALL
THE
CONVT
RESULTS (VT,
TO
VTCFT,
CUBIC VTGAL,
FEET,
GALLONS
AND
BARRELS.
VTBBL)
RETURN END *************************************************************** THIS PROGRAM CALCULATES THE PARTIAL VOLUME FOR A HORIZONTAL CYLINDRICAL VESSEL WITH ELLIPTICAL HEADS *************************************************************** SUBROUTINE
ELLIP
R E A L L3 C O M M O N PI COMMON/DATA3/
D3,
H3,
L3
COMMON/PROG3/VTELL,VTECFT,VTEGAL,VTEBBL R3 = D 3 / 2 . CL3 = 2.*SQRT(D3*H3-(H3**2)) VAL5 = (R3-H3)/R3 VAL6 = (R3-H3)*SQRT(2.*R3*H3-(H3**2)) AC3 = ((R3**2)*ACOS(VAL5))-VAL6 VHC3 = AC3*L3 VELL = 0.5236*(H3**2)*(I.5*D3-H3) VTELL = 2.*VELL+VHC3
CONVERT CALL
THE
CONVT
RESULTS (VTELL,
TO
CUBIC
VTECFT,
FEET,
GALLONS
VTEGAL,
VTEBBL)
AND
BARRELS.
RETURN END *************************************************************
309
THIS PROGRAM CALCULATES CYLINDRICAL VESSEL WITH
SUBROUTINE
THE PARTIAL VOLUME FOR A HORIZONTAL HEMISPHERICAL HEADS
HEMISP
R E A L L4 C O M M O N PI COMMON/DATA4/ COMMON/PROS4/
D4, H4, L4 VTHS, VTHCFT,
VTHGAL,
VTHBBL
R4 = D4/2. CL4 = 2 . * S Q R T ( D 4 * H 4 - ( H 4 * * 2 ) ) VAL7 = (R4-H4)/R4 VAL8 = (R4-H4)*SQRT(2.*R4*H4-(H4**2)) AC4 = ((R4**2)*ACOS(VAL7))-VAL8 VHC4 = AC4*L4 YELL4 = 0.5236*(H4**2)*(I.5*D4-H4) VHS = 2.*VELL4 VTHS = 2.*VHS+VHC4
CONVERT CALL
THE RESULTS
CONVT
(VTHS,
TO CUBIC
VTHCFT,
FEET,
VTHGAL,
GALLONS
AND
BARRELS.
VTHBBL)
RETURN END
THIS PROGRAM CALCULATES CYLINDRICAL VESSEL
SUBROUTINE
PARTIAL
VOLUME
FOR A VERTICAL
VERT
C O M M O N PI COMMON/DATA5/ COMMON/PROG5/ VVT
THE
D5, H5, L5 VVT, V V C F T ,
VVGAL,
VVBBL
= 0.25*PI*(D5**2)*H5
CONVERT CALL
THE RESULTS
CONVT
(VVT,
TO CUBIC
VVCFT,
FEET,
VVGAL,
GALLONS
AND
BARRELS.
VVBBL)
RETURN END
THIS PROGRAM BARRELS.
SUBROUTINE VLFT3
CONVERTS
CONVT
(VOL,
THE RESULTS
VLFT3,
TO CUBIC
VLGAL,
= VOL/1728.0
310
VLBAR)
FEET,
GALLONS,
AND
VLGAL = VOL*O.004329 VLBAR = VOL*0.00010307 RETURN END *************************************************************** THIS P R O G R A M PRINTS THE R E S U L T S OF THE TANK V O L U M E WITH FLAT HEADS *************************************************************** SUBROUTINE
OFLAT
R E A L L1 COMMON/DATA1/ COMMON/PROGI/
W R I T E (i, i00) FORMAT (//,25X,
i00
VHCGAL,
'TANK V O L U M E
VHCBBL
WITH FLAT H E A D S ' , / , 7 8 ( I H * ) )
1 2
W R I T E (i, ii0) DI, HI, L1 FORMAT (5X,'TANK DIAMETER, in.:', T60, F9.3,/, 5 X , ' L I Q U I D DEPTH, in.:', T60, F9.3,/, 5 X , ' T A N K LENGTH, in.:', T60, F9.3)
1 2 3
W R I T E (i, 120) VHC, VHCCFT, VHCGAL, V H C B B L FORMAT (5X,'TANK VOLUME, in.^3: ' , T60, E14.6,/, 5 X , ' T A N K VOLUME, ft.^3: ' , T60, E14.6,/, 5 X , ' T A N K VOLUME, gal:', T60, E14.6,/, 5 X , ' T A N K VOLUME, bbl:', T60, E14.6)
ii0
120
130
DI, HI, L1 VHC, VHCCFT,
W R I T E (i, 130) F O R M A T (78(IH-))
RETURN END *************************************************************** THIS P R O G R A M PRINTS THE R E S U L T S OF THE T A N K V O L U M E W I T H D I S H E D HEADS. *************************************************************** SUBROUTINE
ODISH
REAL L2 COMMON/DATA2/ COMMON/PROG2/
140
150
D2, H2, L2 VT, VTCFT, VTGAL,
WRITE(I, 140) FORMAT (//,25X,'TANK
VOLUME
VTBBL
WITH DISHED
HEADS',/,78(IH*))
W R I T E (I, 150) D2, H2, L2 FORMAT (5X,'TANK DIAMETER, in.:', T60, F9.3,/, 5 X , ' L I Q U I D DEPTH, in.:', T60, F9.3,/, 5 X , ' T A N K LENGTH, in.:', T60, F9.3)
311
160 1 2 3
170
W R I T E (i, 160) VT, VTCFT, F O R M A T ( 5 X , ' T A N K VOLUME, 5 X , ' T A N K VOLUME, 5 X , ' T A N K VOLUME, 5 X , ' T A N K VOLUME,
VTGAL, V T B B L in^3: ' , T60, E14.6,/, ft.^3: ' , T60, E14.6,/, gal:', T60, E14.6,/, bbl:', T60, E14.6)
W R I T E (I, 170) F O R M A T (78(IH-))
RETURN END *************************************************************** THIS P R O G R A M P R I N T S THE R E S U L T S OF THE T A N K V O L U M E W I T H ELLIPTICAL HEADS *************************************************************** SUBROUTINE
OELLIP
R E A L L3 COMMON/DATA3/
D3, H3,
L3
COMMON/PROG3/ VTELL, VTECFT, VTEGAL, V T E B B L 180
190
200
210
W R I T E (i, 180) F O R M A T (//,25X,
'TANK V O L U M E W I T H E L L I P T I C A L
HEADS',/,78(IH*))
W R I T E (i, 190) D3, H3, L3 F O R M A T ( 5 X , ' T A N K DIAMETER, in.:', T60, F9.3,/, 5 X , ' L I Q U I D DEPTH, in.:', T60, F9.3,/, 5 X , ' T A N K LENGTH, in.:', T60, F9.3) W R I T E (i, 200) VTELL, VTECFT, VTEGAL, V T E B B L F O R M A T ( 5 X , ' T A N K VOLUME, in.^3: ' , T60, E14.6,/, 5 X , ' T A N K VOLUME, ft.^3: ' , T60, E14.6,/, 5 X , ' T A N K VOLUME, gal:', T60, E14.6,/, 5 X , ' T A N K VOLUME, bbl:', T60, E14.6)
W R I T E (i, 210) F O R M A T (78(IH-)) RETURN END *************************************************************** T H I S P R O G R A M P R I N T S THE R E S U L T S OF THE T A N K V O L U M E FOR H E M I S P H E R I C A L HEADS. *************************************************************** SUBROUTINE
OHEMIS
R E A L L4
COMMON~DATA4~ D4, H4, L4 COMMON/PROG4/
220
VTHS,
W R I T E (i, 220) FORMAT ( / / , 2 5 X , ' T / ~ I K
VTHCFT,
VTHGAL,
VTHBBL
VOLUME WITH HEMISPHERICAL H E A D S ' , / , 7 8 ( 1 H * ) )
312
230
240
250
WRITE (i, 230) D4, H4, L4 FORMAT (SX,'TANK DIAMETER, in.:', T60, F9.3,/, 5X,'LIQUID DEPTH, in.:', T60, F9.3,/, 5X,'TANK LENGTH, in.:', T60, F9.3) WRITE (i, 240) VTHS, VTHCFT, VTHGAL, VTHBBL FORMAT (5X,'TANK VOLUME, in.^3: ' , T60, E14.6,/, 5X,'TANK VOLUME, ft.^3: 9 , T60, E14.6,/, 5X,'TANK VOLUME, gal:', T60, E14.6,/, 5X,'TANK VOLUME, bbl:', T60, E14.6) WRITE (i, 250) FORMAT (78(IH-)) RETURN END *************************************************************** THIS PROGRAM PRINTS THE RESULTS OF THE PARTIAL VOLUME FOR A VERTICAL CYLINDRICAL VESSEL ***************************************************************
SUBROUTINE OVERT REAL L5
COMMON~DATA5~ D5, H5, L5 COMMON/PROG5/ VVT, W C F T , 260 270
280
290
WGAL,
VVBBL
WRITE (i, 260) FORMAT (//,25X,'VERTICAL TANK VOLUME',
/, 78(IH*))
WRITE (r, 270) DS, HS, L5 FORMAT (SX,'TANK DIAMETER, in.:', T60, F9.3,/, 5X,'LIQUID DEPTH, in.:', T60, F9.3,/, 5X,'TANK LENGTH, in.:', T60, F9.3) WRITE (I, 280) VVT, VVCFT, VVGAL, W B B L FORMAT (5X,'TANK VOLUME, in.^3: ' , T60, E14.6,/, 5X,'TANK VOLUME, ft.^3: ' , T60, E14.6,/, 5X,'TANK VOLUME, gal:', T60, E14.6,/, 5X,'TANK VOLUME, bbl:', T60, E14.6) WRITE (i, 290) FORMAT (78(IH-)) FORM FEED THE PRINTING PAPER TO THE TOP OF THE NEXT PAGE. WRITE
(i, *) CHAR(12)
RETURN END
313
PROGRAM
PROG43
***************************************************************** A PROGRAM FOR PRELIMINARY VESSEL DESIGN. THIS PROGRAM WILL ESTIMATE SHELL THICKNESS AND WEIGHT, HEAD THICKNESS AND WEIGHT FOR CYLINDRICAL PRESSURE VESSELS. IN A D D I T I O N , H E A D T H I C K N E S S A N D W E I G H T A R E C A L C U L A T E D F O R HEMISPHERICAL, ELLIPSOIDAL AND TORISPHERICAL HEADS. TOTAL VESSEL W E I G H T IS C A L C U L A T E D ( S H E L L A N D H E A D S ) E X C L U S I V E O F N O Z Z L E S , ATTACHMENTS AND VESSEL INTERNALS. ***************************************************************** TKS = S H E L L T H I C K N E S S , in. TKHH = H E M I S P H E R I C A L H E A D T H I C K N E S S , in. TKELL = E L L I P S O I D A L H E A D T H I C K N E S S , in. TKTOR = T O R I S P H E R I C A L H E A D T H I C K N E S S , in. P = I N T E R N A L D E S I G N P R E S S U R E , psig. R = I N S I D E R A D I U S , in. S = ALLOWABLE STRESS, ib/in^2. E = JOINT EFFICIENCY C = C O R R O S I O N A L L O W A N C E , in. ID = I N S I D E D I A M E T E R OF S H E L L O R H E A D , in. RC = C R O W N R A D I U S O F T O R I S P H E R I C A L H E A D , in. LN = S H E L L L E N G T H , ft. DENV = DENSITY OF VESSEL MATERIAL, ib/ft^3. OD = O U T S I D E D I A M E T E R OF H E A D , in. HFAC = HEAD BLANK DIAMETER FACTOR SF = S T R A I G H T F L A N G E L E N G T H , in. BD = H E A D B L A N K D I A M E T E R , in. WTH = W E I G H T O F H E A D , ib WTS = W E I G H T OF V E S S E L S H E L L , lb. TOTWT = T O T A L V E S S E L W E I G H T , lb. *************************************************************** REAL
LNI,
COMMON
LN2,
LN3,
IDI,
ID2,
ID3
PI
C O M M O N / D A T A 1 / IDI, COMMON/RESI/ TKSI,
LNI, PI, SFI, Cl, TKHI, W T S I , W T H I ,
ESI,
EHI,
S1
C O M M O N / D A T A 2 / ID2, C O M M O N / R E S 2 / TKS2,
LN2, P2, SF2, C2, D E N S 2 , ES2, TKHS2, WTS2, WTH2, TOTWT2
EH2,
$2
COMMON~DATA3~ ID3, COMMON/RES3/ TKS3,
LN3, P3, SF3, C3, D E N S 3 , ES3, TKHS3, WTS3, WTH3, TOTWT3
EH3,
$3,
OPEN OPEN
(UNIT=3, (UNIT=l,
FILE='DATA43.DAT', FILE='PRN')
DENS1, TOTWTI
STATUS='OLD',
PI = 3 . 1 4 1 5 9 2 7 READ GO TO READ READ READ READ
(3,
*, E R R = I 9 )
(ii,
22,
33),
I I
I N T E R N A L D I A M E T E R , IDI: in. S H E L L L E N G T H , LNI: in. I N T E R N A L D E S I G N P R E S S U R E , PI: psig. S T R A I G H T F L A N G E L E N G T H , SFI: in.
314
ERR=IS)
RC
ii
READ READ READ READ READ
C O R R O S I O N A L L O W A N C E , CI: in. D E N S I T Y OF V E S S E L M A T E R I A L , D E N S 1 : J O I N T E F F I C I E N C Y OF SHELL, ESI J O I N T E F F I C I E N C Y OF HEAD, EHI A L L O W A B L E S T R E S S , SI: I b / i n ^ 2 .
READ READ READ
(3, * , E R R = I 9 ) (3, * , E R R = I 9 ) (3, * , E R R = I 9 )
IDI, SFI, ESl,
ib/ft^3.
LNI, P1 CI, D E N S l EHI, Sl
GO T O 44
22
READ READ READ READ READ READ READ READ READ
I N T E R N A L D I A M E T E R , ID2: in. S H E L L L E N G T H , LN2: in. I N T E R N A L D E S I G N P R E S S U R E , P2: psig. S T R A I G H T F L A N G E L E N G T H , SF2: in. C O R R O S I O N A L L O W A N C E , C2: in. D E N S I T Y OF V E S S E L M A T E R I A L , DENS2: I b / f t ^ 3 . J O I N T E F F I C I E N C Y OF SHELL, ES2: J O I N T E F F I C I E N C Y OF HEAD, EH2: A L L O W A B L E S T R E S S , $2: i b / i n ^ 2 .
READ READ READ
(3, * , E R R = I 9 ) (3, * , E R R = I 9 ) (3, * , E R R = I 9 )
ID2, SF2, ES2,
LN2, P2 C2, D E N S 2 EH2, $2
GO TO 55 READ READ READ READ READ READ READ READ READ
I N T E R N A L D I A M E T E R , ID3: in. S H E L L L E N G T H , LN3: in. I N T E R N A L D E S I G N P R E S S U R E , P3: psig. S T R A I G H T F L A N G E L E N G T H , SF3: in. C O R R O S I O N A L L O W A N C E , C3: in. D E N S I T Y OF V E S S E L M A T E R I A L , DENS3: i b / f t ^ 3 . J O I N T E F F I C I E N C Y OF SHELL, ES3: J O I N T E F F I C I E N C Y OF HEAD, EH3: C R O W N R A D I U S OF T O R I S P H E R I C A L HEAD, RC: in.
33
READ READ READ
(3, *, E R R = I 9 ) (3, *, E R R = I 9 ) (3, *, E R R = I 9 )
18
W R I T E (*, 13) F O R M A T (6X, ' D A T A F I L E D O E S N O T E X I S T ' ) GO TO 999
ID3, SF3, ES3,
LN3, P3 C3, D E N S 3 EH3, S3, RC
GO TO 66
13
19 14
W R I T E (*, 14) F O R M A T (6X, ' E R R O R M E S S A G E GO T O 999
IN T H E D A T A V A L U E ' )
CALCULATE THE SHELL THICKNESS, HEMISPHERICAL HEADS. 44
WEIGHT AND HEAD THICKNESS
CALL HEMISP
315
FOR
PRINT CALL GO
THE
RESULTS
OF
55
CALL
CALL GO
THE
CALL
999
THICKNESS,
WEIGHT
AND
HEAD
THICKNESS
RESULTS
OF
THE
VESSEL
WITH
ELLIPSOIDAL
HEADS.
SHELL THICKNESS, HEADS.
WEIGHT
AND
HEAD
THICKNESS
TORIS THE
RESULTS
OF
THE
VESSEL
WITH
TORISPHERICAL
HEADS.
OTORIS
TO
999
CLOSE CLOSE
(3, (i)
STATUS='KEEP')
STOP END ************************************************************** VESSEL DESIGN WITH HEMISPHERICAL HEADS ************************************************************** SUBROUTINE
HEMISP
REAL LNI,IDI,ODI C O M M O N PI COMMON~DATA1/ IDI, COMMON/RESl/ TKSI,
CALCULATE
SHELL
LNI, PI, SFI, CI, TKHI, WTSI, WTHI,
THICKNESS,
DENS1, TOTWTI
in
R1 = IDI/2. TKSl = (PI*RI)/(SI*ESI-0.6*PI)+CI ODI = IDI + 2.0*TKSl CALCULATE WTSl
=
=
WEIGHT
OF
VESSEL
SHELL,
ib
((ODI+TKSl)*PI*LNI*TKSI*DENSl)/144.
CALCULATE TKHI
FOR
5
PRINT
GO
HEADS.
OELLIP
TO
CALL
HEMISPHERICAL
ELLIP
CALCULATE THE TORISPHERICAL 66
WITH
5
PRINT
C
VESSEL
OHEMISP
TO
CALCULATE THE SHELL ELLIPSOIDAL HEADS.
C C
THE
WEIGHT
OF
HEAD,
ib
(PI*RI)/(2.*SI*EHI-0.2*PI)
316
ESl,
EHI,
S1
FOR
RAT1
= ODI/TKHI
IF ( ( O D I / T K H I ) .GE. i 0 . 0 .AND. ( O D I / T K H I ) .LT. 1 8 . 0 ) T H E N HFAC = 1.70 ELSEIF ((ODI/TKHI) .GE. 1 8 . 0 .AND. ( O D I / T K H I ) .LT. 3 0 . 0 ) T H E N HFAC = 1.65 ELSEIF ((ODI/TKHI) .ST. 3 0 . 0 ) T H E N HFAC = 1.60 ENDIF BDI = (ODI*HFAC+2.*SFI)/12. WTHI = (0.25*(BDI**2)*PI*TKHI*DENSI*2.)/12.
CALCULATE TOTWTI
TOTAL
= WTSI
VESSEL
WEIGHT
+ WTHI
RETURN END ************************************************************** VESSEL DESIGN WITH ELLIPSOIDAL HEADS ************************************************************** SUBROUTINE
ELLIP
REAL LN2,ID2,OD2 C O M M O N PI COMMON/DATA2/ ID2, COMMON/RES2/ TKS2, CALCULATE
SHELL
L N 2 , P2, SF2, C2, TKH2, WTS2, WTH2,
THICKNESS,
DENS2, TOTWT2
ES2,
EH2,
S2
in
R2 = ID2/2. TKS2 = (P2*R2)/(S2*ES2-0.6*P2)+C2 OD2 = ID2 + 2.0*TKS2 CALCULATE WTS2
=
=
OF
VESSEL
SHELL,
ib
((OD2+TKS2)*PI*LN2*TKS2*DENS2)/144.
CALCULATE TKH2
WEIGHT
WEIGHT
OF
HEAD,
Ib
(P2*ID2)/(2.*S2*EH2-0.2*P2)+C2
RAT2 = OD2/TKH2 IF ( ( O D 2 / T K H 2 ) .GE. i 0 . 0 .AND. ( O D 2 / T K H 2 ) HFAC = 1.30 ELSEIF ((OD2/TKH2) .GT. 2 0 . 0 ) T H E N HFAC = 1.24 ENDIF
BD2 = (OD2*HFAC+2.*SF2)/12. WTH2 = (0.25*(BD2**2)*PI*TKH2*DENS2*2.)/12.0
CALCULATE
TOTAL
WEIGHT
317
.LT.
20.0)
THEN
TOTWT2
= WTS2
+ WTH2
RETURN END ************************************************************** VESSEL DESIGN WITH TORISPHERICAL HEADS ************************************************************** SUBROUTINE
TORIS
REAL LN3,ID3,OD3 C O M M O N PI COMMON/DATA3/ ID3, COMMON/RES3/ TKS3, CALCULATE
SHELL
L N 3 , P3, SF3, C3, TKH3, WTS3, WTH3,
THICKNESS,
DENS3, TOTWT3
ES3,
EH3,
S3,
RC
in
R3 = I D 3 / 2 . TKS3 = (P3*R3)/(S3*ES3-0.6*P3)+C3 OD3 = ID3 + 2.0*TKS3 CALCULATE WTS3
=
WEIGHT
OF
VESSEL
SHELL,
ib
((OD3+TKS3)*PI*LN3*TKS3*DENS3)/144.
CALCULATE
WEIGHT
TKH3
=
RAT3
= OD3/TKH3
OF
HEAD,
ib
((0.885*P3*RC)/(S3*EH3-0.1*P3))+C3
IF ( ( O D 3 / T K H 3 ) .GE. 2 0 . 0 .AND. ( O D 3 / T K H 3 ) .LT. 3 0 . 0 ) T H E N HFAC = [.15 ELSEIF ((OD3/TKH3) .GE. 3 0 . 0 .AND. ( O D 3 / T K H 3 ) .LT. 5 0 . 0 ) T H E N HFAC = i.ii ELSEIF ((OD3/TKH3) .ST. 5 0 . 0 ) T H E N HFAC = 1.09 ENDIF BD3 = (OD3*HFAC+2.0*SF3)/12. WTH3 = (0.25*(BD3**2)*PI*TKH3*DENS3*2.)/12.
CALCULATE TOTWT3
TOTAL
= WTS3
WEIGHT
+ WTH3
RETURN END
THIS PROGRAM HEMISPHERICAL
SUBROUTINE REAL
IDI,
PRINTS THE HEADS.
RESULTS
OF
OHEMISP LNI
318
THE
VESSEL
WITH
COMMON/DATA1/ IDI, LNI, PI, SFI, CI, DENS1, ESI, EHI, S1 COMMON/RESI/ TKSl, TKHI, WTSI, WTHI, TOTWTI WRITE (i, i00) FORMAT (//,25X,
i00
'VESSEL DESIGN WITH HEMISPHERICAL HEADS',
/,78(1H*) ) WRITE (i, ii0) IDI, LNI, P1 FORMAT (5X,'INTERNAL DIAMETER, in.:', T60, F9.3,/, 5X,'SHELL LENGHT, ft.:', T60, F9.3,/, 5X,'INTERNAL DESIGN PRESSURE, psig:', T60, F9.3)
ii0
WRITE (i, 120) SFI, Cl, DENS1 FORMAT (SX,'STRAIGHT FLANGE LENGTH, in.:', T60, F9.3,/, 5X,'CORROSION ALLOWANCE, in.:', T60, F9.3,/, 5X,'DENSITY OF VESSEL MATERIAL, ib/ft^3.: ' , T60, F9.3)
120
WRITE (i, 130) ESI, EHI, S1 FORMAT (5X,'JOINT EFFICIENCY OF SHELL:', T60, F9.3,/, 5X,'JOINT EFFICIENCY OF HEAD:', T60, F9.3,/, 5X,'ALLOWABLE STRESS, Ib/in^2.: ' , T60, F9.3)
130
140 1 2 3 4
150
WRITE (i, 140) TKSl, TKHI, WTSI, WTHI, TOTWTI FORMAT (5X,'CALCULATED SHELL THICKNESS, in.:', T60, F9.3,/, 5X,'CALCULATED HEAD THICKNESS, in.:', T60, F9.3,/, 5X,'WEIGHT OF VESSEL SHELL, ib:', T60, F12.2,/, 5X,'WEIGHT OF VESSEL HEAD, ib:', T60, F12.2,/, 5X,'TOTAL VESSEL WEIGHT, ib:', T60, F12.2) WRITE (i, 150) FORMAT (78(IH-)) RETURN END *************************************************************** THIS PROGRAM PRINTS THE RESULTS OF THE VESSEL WITH ELLIPSOIDAL HEADS. *************************************************************** SUBROUTINE OELLIP REAL ID2, LN2 COMMON/DATA2/ID2, COMMON/RES2/TKS2,
160
170
LN2, P2, SF2, C2, DENS2, ES2, EH2, $2 TKH2, WTS2, WTH2, TOTWT2
WRITE (i, 160) FORMAT (//,25X, 'VESSEL DESIGN WITH ELLIPSOIDAL HEADS', /,78(1H*)) WRITE (i, 170) ID2, LN2, P2 FORMAT (5X, "INTERNAL DIAMETER, in.:', T60, F9.3,/, 5X,'SHELL LENGTH, ft.:', T60, F9.3,/, 5X,'INTERNAL DESIGN PRESSURE, psig.:', T60, F9.3)
319
WRITE (i, 180) SF2, C2, DENS2 FORMAT (5X,'STRAIGHT FLANGE LENGTH, in.:', T60, F9.3,/, 5X,'CORROSION ALLOWANCE, in.:', T60, F9.3,/, 5X,'DENSITY OF VESSEL MATERIAL, ib/ft^3.:',T60,
180
F9.3)
WRITE (i, 190) ES2, EH2, $2 FORMAT (5X,'JOINT EFFICIENCY OF SHELL:', T60, F9.3,/, 5X,'JOINT EFFICIENCY OF HEAD:', T60, F9.3,/, 5X,'ALLOWABLE STRESS, ib/in^2.: ' , T60, F9.3)
190
200 1 2 3
4
WRITE (i, 200) TKS2, TKH2, WTS2, WTH2, TOTWT2 FORMAT (5X,'CALCUI2~TED SHELL THICKNESS, in.:', T60, F9.3,/, 5X,'CALCULATED HEAD THICKNESS, in.:', T60, F9.3,/, 5X,'WEIGHT OF VESSEL SHELL, ib:', T60, F12.2,/, 5X,'WEIGHT OF VESSEL HEAD, Ib:', T60, F12.2,/, 5X,'TOTAL VESSEL WEIGHT, ib:', T60, F12.2) WRITE (i, 210) FORMAT (78(IH-))
210
RETURN END *************************************************************** THIS PROGRAM PRINTS THE RESULTS OF THE VESSEL WITH TORISPHERICAL HEADS. *************************************************************** SUBROUTINE OTORIS REAL ID3, LN3 COMMON/DATA3/ ID3, LN3, P3, SF3, C3, DENS3, ES3, EH3, $3, RC COMMON/RES3/ TKS3, TKH3, WTS3, WTH3, TOTWT3 220 z
DESIGN WITH TORISPHERICAL
HEADS',
2
WRITE (i, 230) ID3, LN3, P3 FORMAT (5X,'INTERNAL DIAMETER, in.:', T60, F9.3,/, 5X,'SHELL LENGTH, ft.:', T60, F9.3,/, 5X,'INTERNAL DESIGN PRESSURE, psig.:', T60, F9.3)
1 2
WRITE (i, 240) SF3, C3, DENS3 FORMAT (5X,'STRAIGHT FLANGE LENGTH, in.:', T60, F9.3,/, 5X,'CORROSION ALLOWANCE, in.:', T60, F9.3,/, 5X,'DENSITY OF VESSEL MATERIAL, Ib/ft^3.: ' , T60,
230 1
240
250 1
2
260
WRITE (I, 220) FORMAT (//,25X,'VESSEL /,78(1H*))
F9.3)
WRITE (i, 250) ES3, EH3, S3 FORMAT (SX,'JOINT EFFICIENCY OF SHELL:', T60, F9.3,/, 5X,'JOINT EFFICIENCY OF HEAD:', T60, F9.3,/, 5X,'ALLOWABLE STREES, ib/in.^2: ' , T60, F9.3) WRITE (i, 260) TKS3, TKH3, WTS3, WTH3, TOTWT3 FORMAT (5X,'CALCULATED SHELL THICKNESS, in.:',
T60, F9.3,/,
5X,'CALCULATED HEAD THICKNESS, ft.:', T60, F9.3,/, 5X,'WEIGHT OF VESSEL SHELL, ib:', T60, F12.2,/, 5X,'WEIGHT OF VESSEL HEAD, ib:', T60, F12.2,/, 5X,'TOTAL VESSEL WEIGHT, ib:', T60, F12.2)
270
WRITE (I, 270) FORMAT (78(IH-)) FORM FEED THE PRINTING PAPER TO THE TOP OF THE NEXT PAGE. WRITE
(i, *) CHAR(12)
RETURN END
320
PROGRAM
PROG44
*************************************************************** T H E P R O G R A M C A L C U L A T E S C Y C L O N E E F F I C I E N C Y B A S E D ON C Y C L O N E D I M E N S I O N S A N D ON F L U I D A N D P A R T I C L E C H A R A C T E R I S I T I C S . IN A D D I T I O N , T H E P R O G R A M C A L C I T E S T H E C Y C L O N E P R E S S U R E DROP. *************************************************************** A1 B B1 DC DE DENF DENP DPI H HI Q S T VIS
C Y C L O N E G A S I N L E T L E N G T H , ft C Y C L O N E D U S T - O U T L E T D I A M E T E R , ft C Y C L O N E G A S I N L E T W I D T H , ft C Y C L O N E D I A M E T E R , ft C Y C L O N E G A S O U T L E T D I A M E T E R , ft. GAS DENSITY, ib/ft^3. PARTICLE DENSITY, ib/ft^3. P A R T I C L E S I Z E E Q U I V A L E N T , ft. C Y C L O N E O V E R A L L H E I G H T , ft C Y C L O N E C Y L I N D R I C A L H E I G H T , ft. TOTAL GAS FLOWRATE, ft^3./sec. C Y C L O N E G A S O U T L E T L E N G T H , ft T E M P E R A T U R E , oF FLUID VISCOSITY, ibm/ft.sec.
= = = = = = = = = = = = = =
***************************************************************
REAL
L,
NH,
NT
COMMON/RESI/ COMMON/RES2/
20
G,
(UNIT=3, (UNIT=l,
READ READ READ READ READ READ READ READ READ READ READ READ READ READ
C Y C L O N E O V E R A L L H E I G H T , H: ft. C Y C L O N E C Y L I N D R I C A L H E I G H T , HI: ft. C Y C L O N E D I A M E T E R , DC: ft. C Y C L O N E D U S T - O U T L E T D I A M E T E R , B: ft. C Y C L O N E G A S I N L E T L E N G T H , AI: ft. C Y C L O N E G A S I N L E T W I D T H , BI: ft. C Y C L O N E G A S O U T L E T L E N G T H , S: ft. C Y C L O N E G A S O U T L E T D I A M E T E R , DE: ft. T O T A L G A S F L O W R A T E , Q: f t ^ 3 / s e c . P A R T I C L E D E N S I T Y , DENP: I b / f t ^ 3 . G A S D E N S I T Y , DENF: i b / f t ^ 3 . G A S V I S C O S I T Y , VIS: i b / f t . s e c . G A S T E M P E R A T U R E , T: oF. P A R T I C L E S I Z E E Q U I V A L E N T , DPI: ft.
READ READ READ READ
(3, (3, (3, (3,
*, *, *, *,
FILE='DATA44.DAT', FILE='PRN')
RATIO, RATIO1
OPEN OPEN
GO T O 18
L, D, NH, VI, VSA, NT, D P C R I T , D P M I C ,
ERR=I9) ERR=I9) ERR=I9) ERR=f9)
STATUS='OLD',
H, HI, DC, B AI, BI, S, DE Q, DENP, DENF, T, DPI
VIS
i0
W R I T E (*, 20) F O R M A T (6X, ' D A T A F I L E
DOES
NOT
VE,
EXIST')
321
RT,
EFF,
ERR=IS)
DELP
GO TO 19
25
GO T O
i0
999
W R I T E (*, 25) F O R M A T (6X, " E R R O R M E S S A G E
IN T H E
DATA VALUE')
999
CALCULATE
THE
CALL
(H,HI,DC,B,AI,BI,S,DE,Q,DENP,DENF,VIS,T,DPI)
PRINT CALL
CALC
CYCLONE
THE RESULTS OUTPUT
PRESSURE
DROP AND
OF T H E C Y C L O N E
EFFICIENCY
DESIGN.
(H,HI,DC,B,AI,BI,S,DE,Q,DENP,DENF,VIS,T,DPI)
GO TO 9 9 9 CLOSE CLOSE 999
(3, (i)
STATUS='KEEP')
STOP END
THIS
PROGRAM
CALCULATES
THE
CYCLONE
PRESSURE
DROP
AND
EFFICIENCY
SUBROUTINE CALC(H,HI,DC,B,AI,BI,S,DE,Q,DENP,DENF,VIS,T,DPI) PARAMETER (PI=3.1&I5927, GC=32.2)
R E A L L, NH, NT C O M M O N / R E S l / L, D, NH, VI, VSA, COMMON/RES2/ NT, D P C R I T , D P M I C ,
RATIO, RATIO1
C A L C U L A T E L- N A T U R A L L E N G T H i.e. T H E O U T L E T W H E R E T H E V O R T E X T U R N S , ft.
G, VE,
DISTANCE
RT,
EFF,
DELP
BELOW
THE
GAS
WHERE
VORTEX
L = 2.3*DE*(((DC**2)/(AI*BI))**(I.0/3.0)) CALCULATE
D-DIAMETER
OF C E N T R A L
CORE
AT POINT
D = DC-((DC-B)*((S+L-HI)/(H-HI))) CALCULATE
VOLUME
AT NATURAL
LENGTH
EXCLUDING
THE
CORE,
ft^3
VN = (PI*(DC**2)*(HI-S))/4.0 VN = V N + ( P I * ( D C * * 2 ) * ( L + S - H I ) * ( I . O + ( D / D C ) + ( D * * 2 / D C * * 2 ) ) ) / 1 2 . 0 VN = VN-(PI*(DE**2)*L)/4.0 CALCULATE
THE VOLUME
BELOW
EXIT
DUCT
EXCLUDING
THE
CORE,
VH = (PI*(DC**2)*(HI-S))/4.0 VH = VH+(PI*(DC**2)*(H-HI)*(I.O+(B/DC)+(B**2/DC**2)))/12.0 VH = VH-(PI*(DE**2)*(H-S))/4.0
322
ft^3
TURNS
CALCULATE VE
=
CALCULATE RT
=
VAL
VORTEX
EXPONENT
1.0-(1.0-(((12.0*DC)**0.14)/2.5))*(((T+460.0)/530.0)**0.3) RELAXATION
TIME,
RT
in
sec.
(DENP*(DPI)**2)/(18.0*VIS)
=
S+L
I F ( V A L .GT. H) T H E N VS = VH ELSEIF ( V A L .LE. H) T H E N VS = VN ENDIF CALCULATE NH
=
CALCULATE VI
THE
NUMBER
OF
INLET
VELOCITY
HEADS,
NH
(16.0*Al*B1)/DE**2 THE
INLET
VELOCITY,
VI:ft/s.
= Q/(AI*BI)
CALCULATE DELP
=
THE
CYCLONE
PRESSURE
DROP,
in
H20
(0.003*DENF*(VI**2)*NH)
CALCULATE
SALTATION
VELOCITY,
VSA:
ft/s.
W = ((4.0*GC*VIS*(DENP-DENF))/(3.0*DENF**2))**(I.0/3.0) VAL1 = B1/DC VAL2 = (VALI/(I.O-VALI)**(I.0/3.0)) VSA = 2.055*W*VAL2*(DC**0.067)*(VI**0.667)
CALCULATE RATIO
CALCULATE GEOMETRIC
G =
= =
RATIO,
VI/VSA
CYCLONE CONFIGURATION RATIOS THAT DESCRIBE
FACTOR SPECIFIED BY THE CYCLONE'S SHAPE
THE
CYCLONE
EFFICIENCY
1.0-EXP(-2.0*((G*RT*Q*(VE+I.0))/(DC**3))**(0.5/(VE+I.0))) 100.0*EFF
CALCULATE
NT NT
OPTIMAL
(2.0*(PI*(S-(AI/2.0))*((DC**2)-(DE**2)))+4.0*VS)* (DC/((AI**2)*(BI**2)))
CALCULATE EFF EFF
THE
= VI/VSA
THE
EFFECTIVE
NUMBER
OF
TURNS
= (0.1079-(0.00077*VI)+(I.924*(10**(-6)))*(VI**2)) = NT*VI
323
CALCULATE
THE C R I T I C A L
PARTICLE
SIZE,
ft.
DPCRIT = (9.0*VIS*DC)/(4.0*PI*NT*VI*(DENP D P C R I T = SQRT (DPCRIT)
CALCULATE
THE C R I T I C A L
PARTICLE
SIZE,
- DENF))
microns
DPMIC = DPCRIT*0.3048*(10**6)
C A L C U L A T E THE R A T I O OF THE P A R T I C L E P A R T I C L E SIZE, R A T I O 1 RATIO1
SIZE TO THE C R I T I C A L
= DPI/DPCRIT
USE THE R E S U L T TO D E T E R M I N E PARTICLES.
THE P E R C E N T A G E
R E M O V A L OF THE
RETURN END
THIS P R O G R A M
SUBROUTINE R E A L L, NH,
PRINTS
THE R E S U L T S
OF THE C Y C L O N E
DESIGN
OUTPUT(H,HI,DC,B,AI,BI,S,DE,Q,DENP,DENF,VIS,T,DPI) NT
COMMON/RESI/L,D,NH,VI,VSA,RATIO,G,VE,RT,EFF,DELP COMMON/RES2/NT, DPCRIT, DPMIC, R A T I O 1
W R I T E (i, i00) F O R M A T ( / / / , 2 5 X , 'CYCLONE
i00
Ii0 1 2
3
DESIGN',/78(IH*) )
W R I T E (i, ii0) H, HI, DC, B F O R M A T ( 5 X , ' C Y C L O N E O V E R A L L HEIGHT, ft:', T60, F9.3,/, 5 X , ' C Y C L O N E C Y L I N D R I C A L HEIGHT, ft.:', T60, F9.3,/, 5 X , ' C Y C L O N E DIAMETER, ft.:', T60, F9.3,/, 5 X , ' C Y C L O N E D U S T - O U T L E T DIAMETER, ft:', T60, F9.3)
3
W R I T E (i, 120) AI, BI, S, DE F O R M A T ( 5 X , ' C Y C L O N E GAS INLET LENGTH, ft:', T60, F9.3,/, 5 X , ' C Y C L O N E GAS INLET WIDTH, ft:', T60, F9.3,/, 5X,'CYCLONE GAS O U T L E T LENGTH, ft:', T60, F9.3,/, 5 X , ' C Y C L O N E GAS O U T L E T DIAMETR, ft:', T60, F9.3)
1 2 3
W R I T E (1, 130) Q, DENP, DENF, VIS F O R M A T (5X,'GAS RATE, ft^3/s.: ' , T60, FI0.2,/, 5 X , ' P A R T I C L E DENSITY, ib/ft~3: ' , T60, F9.3,/, 5 X , ' G A S DENSITY, ib/ft^3: ' , T60, F9.3,/, 5 X , ' G A S V I S C O S I T Y , ib/ft.s.:', T60, E12.6)
120 1
2
130
WRITE
(i, 140)
T, DPI,
VE,
RT
324
FORMAT
140 1 2 3
150 1 2 3
'GAS TEMPERATURE, oF:', T60, F9.3,/, 'PARTICLE SIZE (EQUIVALENT DIA.),ft.:',T60,EI2.6,/, 'VORTEX EXPONENT:', T60, F9.4,/, 'RELAXATION TIME, s:', T60, E12.6)
WRITE (I, 150) VI, VSA, G, DELP FORMAT (SX, 'INLET FLUID VELOCITY, ft/s.:', T60, F9.3,/, 5X,'SALTATION VELOCITY, ft/s.:', T60, F9.3,/, 5X,'CYCLONE CONFIGURATION FACTOR:', T60, F9.3,/, 5X,'CYCLONE PRESSURE DROP, in H20:', T60, F9.3) WRITE (i, 160) RATIO, EFF FORMAT (5X, 'RATIO OF THE INLET TO THE SALTATION VELOCITIES:' T60, F9.3,/,5X,'CYCLONE EFFICIENCY, %:', T60, F9.3)
160
170 1
2 3
180
(5X, 5X, 5X, 5X,
WRITE (i, 170) NT, DPCRIT, DPMIC, RATIO1 FORMAT (5X,'EFFECTIVE NUMBER OF TURNS:', T60, F8.2,/, 5X,'CRITICAL PARTICLE DIAMETER, ft.:', T60, E14.6,/, 5X,'CRITICAL PARTICLE DIAMETER, microns:',T60,El4.6,/, 5X,'RATIO OF PARTICLE DIA. TO CRITICAL DIA.:',T60,F8.2) WRITE (i, 180) FORMAT (78(IH-)) FORM FEED THE PRINTING PAPER TO THE TOP OF THE NEXT PAGE. WRITE
(i, *) CHAR(12)
RETURN END
325
PROGRAM
PROG45
THE DESIGN OF A GAS DRYER. THIS PROGRAM WILL PROVIDE A PRELIMINARY DESIGN FOR A SOLIDDESICCANT DRYER USED FOR THE REMOVAL OF MOISTURE FROM GAS STREAMS. THE PROGRAM WILL CALCULATE WATER PICKUP, DESICCANT VOLUME, DESICCANT BED (TOWER) DIAMETER, GAS VELOCITY THROUGH THE BED, VESSEL WEIGHT, DRYER REGENERATION REQUIREMENTS AND MOMENTUM FOR MAXIMUM DOWNFLOW VELOCITIES. H2OL FLOW CYCLE H2OC DESVOL DDEN AREAl BL BD AREA
= = = = = = = = = =
Q T P Z VEL TC H
= = = = = = =
R S E THEAT WS WD TB HT F REGENH
= = = = = = = = = =
HI,H2
=
REGENG MW SCF PICKUP
= = = =
REAL
MW,
TOTAL WATER ADSORBED, ib/hr. GAS FLOW RATE, 10^6 std ft^3/day. D R Y I N G C Y C L E , hr. WATER CONTENT OF GAS, ib/10^6 std ft^3. DESICCANT VOLUME, ft^3. DESICCANT DENSITY, ib/ft^3. CALCULATED AREA BASED ON DESICCANT VOLUME, ft^3. DESICCANT B E D L E N G T H , ft. CALCULATED B E D D I A M E T E R U S I N G A R E A l , ft. ACTUAL DESSICANT BED AREA USING BD CALCULATED OR MODIFIED BY THE USER, ft^2. ACTUAL GAS FLOW RATE AT FLOWING CONDITIONS, ftA3/min. GAS FLOWING TEMPERATURE oF. DRYER OPERATING PRESSURE, psig. COMPRESSIBILITY FACTOR GAS VELOCITY, ft/min. DRYER SHELL THICKNESS, in. ADDITIONAL SHELL HEIGHT FOR DESICCANT SUPPORTS AND DISTRIBUTOR, ft. RADIUS OF DESICCANT B E D , ft. ALLOWABLE STRESS, ib/in^2. JOINT EFFICIENCY. TOTAL HEAT REQUIRED TO REGENERATE D R Y E R ( I D E A L ) , Btu. S T E E L W E I G H T O F S H E L L A N D H E A D S , lb. D E S I C C A N T W E I G H T , lb. TEMPERATURE O F D E S I C C A N T B E D , oF. HEATER TEMPERATURE, oF. LOSS FACTOR FOR NON-STEADY STATE HEATING. HEAT ADDED TO REGENERATION GAS TO REGENERATE DESICCANT BED. ENTHALPY OF REGENERATION GAS BEFORE AND AFTER REGENERATION, Btu/ib TOTAL REGENERATION GAS REQUIREMENT, ib MOLECULAR WEIGHT OF REGENERATION GAS STANDARD CUBIC FEET OF REGENERATION GAS DESICCANT WATER CAPACITY, %
MOMEN
COMMON/DRY1/
COMMON~DRY2~ COMMON/DRY3/ COMMON/DRY4/
COMMON~DRY5~ COMMON/RESl/ COMMON/RES2/
F L O W , P, T Z, C Y C L E , H 2 O C S, E, P I C K U P D D E N , BL, H T MW, HI, H 2 H2OL, DESVOL, BD, R, Q, V E L
AREAl
326
COMMON/RES3/ TC, V E S W T , W D COMMON/RES4/ TB, T H E A T , F COMMON/RES5/ OPEN OPEN READ READ READ READ READ READ READ READ READ READ READ READ READ READ HI: READ H2:
(UNIT=3, (UNIT=l,
19 12
(3, (3, (3, (3, (3,
*, *, *, *, *,
CALL
CALL
999
MOMEN
FILE='DATA45.DAT', FILE='PRN')
ERR=f9) ERR=I9) ERR=I9) ERR=I9) ERR=I9)
W R I T E (*, 12) F O R M A T (6X, 'DATA GO T O 999
PRINT
C
SCF,
STATUS='OLD',
ERR=I8)
CLOSE CLOSE STOP END
HEATER, HEATER,
FLOW, P, T Z, C Y C L E , H 2 O C S, E, P I C K U P DDEN, BL, HT MW, HI, H2
G O TO i0 W R I T E (~, ii) F O R M A T (6X, ' E R R O R M E S S A G E GO TO 999
CALCULATE
i0
REG,
G A S F L O W RATE, FLOW: 10^6 s t d f t ^ 3 / d a y . D R Y E R O P E R A T I N G P R E S S U R E , P: psig. G A S F L O W I N G T E M P E R A T U R E , T: oF. G A S C O M P R E S S I B I L I T Y F A C T O R , Z. D R Y I N G C Y C L E , C Y C L E : hr. W A T E R C O N T E N T OF GAS, H2OC: I b / M M s t d ft^3. A L L O W A B L E S T R E S S , S: i b / i n ^ 2 . J O I N T E F F I C I E N C Y , E: 1.0 DESICCANT WATER CAPACITY, PICKUP: % D E S C I C C A N T D E N S I T Y , DDEN: i b / f t ^ 3 . D E S I C C A N T B E D L E N G T H , BL: ft. H E A T E R T E M P E R A T U R E , HT: oF. M O L E C U L A R W E I G H T OF R E G E N E R A T I N G GAS, MW: E N T H A L P Y OF R E G E N E R A T I O N G A S B E F O R E R E G E N E R A T I O N Btu/ib. E N T H A P L Y OF R E G E N E R A T I O N G A S A F T E R R E G E N E R A T A I O N Btu/ib.
READ READ READ READ READ
18 ii
REH,
FILE
DOES
THE REQUIREMENTS
IN T H E
NOT
DATA VALUE')
EXIST')
FOR A GAS
DRYER
DRYER THE RESULTS. OUTPUT (UNIT=3, (i)
STATUS='KEEP')
THIS PROGRAM SIZES THE GAS DRYER WITH THE GIVEN DATA VALUES ***************************************************************
327
SUBROUTINE
DRYER
PARAMETER (PI=3.1415927) R E A L MW, M O M E N COMMON/DRY1/
COMMON~DRY2~ COMMON/DRY3/ COMMON/DRY4/ COMMON/DRY5/ COMMON/RESI/ COMMON/RES2/
COMMON/RES3/ COMMON/RES4/
COMMON/RES5/ CALCULATE H2OL
=
=
CALCULATE AREAl
H2OL, D E S V O L , A R E A l BD, R, Q, V E L TC, V E S W T , W D TB, T H E A T , F REH, REG, SCF, M O M E N
TOTAL
WATER
ADSORBED,
H2OL.
(FLOW*CYCLE*H20C)/24.0
CALCULATE DESVOL
FLOW, P, T Z, C Y C L E , H 2 O C S, E, P I C K U P DDEN, BL, H T MW, HI, H2
DESICCANT
VOLUME,
DESVOL
(H2OL*IOO.O)/(PICKUP*DDEN) DESICCANT
CROSS-SECTIONAL
AREA,
AREAl.
= DESVOL/BL
CALCULATE
BED
DIAMETER,
BD.
BD = S Q R T ( ( 4 . 0 * A R E A I ) / P I )
CALCULATE AREA
=
THE
B E D AREA,
AREA.
(PI*BD**2)/4.
T1 = T + 4 6 0 . R = (12.*BD)/2. P1 = P + 1 4 . 7 CALCULATE Q =
THE ACTUAL
GAS
FLOW RATE
AT
FLOWING
CONDITIONS,
ft^3/min.
(FLOW*TI*Z*I9.6314)/PI
CALCULATE
THE
SUPERFICIAL
GAS
VELOCITY,
DRYER
THICKNESS,
ft./min.
VEL = Q/AREA CALCULATE TC =
THE
SHELL
in.
(P*R)/(S*E-0.6*P)
ASSUME
H=2.0
ft.
ADDITIONAL
SHELL
328
HEIGHT
FOR DESICCANT
SUPPORT
AND
DISTRIBUTOR. H = 2.0 R1 = B D / 2 . 0 CALCULATE
THE VESSEL
WEIGHT.,
lb.
VESWT = (480.*PI*BD*(TC/12.0)*(BL+H+RI)*I.I) TB = 0 . 7 5 * H T + O . 2 5 * ( H T - 5 0 . ) WD = DDEN*DESVOL THEAT = 1.05*(VESWT*0.12*(TB-T)+WD*O.25*(TB-T)+H2OL*I400.) F = ALOG((HT-T)/50.) CALCULATE TOTAL REGENERATION FEET OF REGENERATION GAS
GAS
REQUIREMENT
AND
STANDARD
CUBIC
REH = THEAT*F REG = REH/(HI-H2) SCF = ( R E G * 3 8 0 . 0 ) / M W CALCULATE ALCOA'S MOMENTUM FOR MAXIMUM DOWNFLOW V E L O C I T I E S i.e. D E S I C C A N T A T T R I T I O N S H O U L D N O T BE A P R O B L E M IF T H E M O M E M T U M IS E Q U A L T O O R L E S S T H A N 3 0 , 0 0 0 . M O M E N T U M = ( V ) ( M O L . W T ) (P. A t m s ) MOMEN
= VEL*MW*(PI/14.7)
RETURN END
THIS
PROGRAM
SUBROUTINE REAL
PRINTS
THE OUTPUT
OF T H E R E S U L T S
OUTPUT
MOMEN,
MW
COMMON~DRY1~ FLOW, P, T COMMON~DRY2~ Z, C Y C L E , H 2 O C COMMON/DRY3/ COMMON/DRY4/ COMMON/DRY5/
S, E, P I C K U P DDEN, BL, HT MW, HI, H2
COMMON/RESl/ COMMON/RES2/
H2OL, D E S V O L , A R E A l BD, R, Q, V E L TC, V E S W T , W D TB, T H E A T , F REH, REG, SCF, M O M E N
COMMON/RES3/ COMMON/RES4/ COMMON/RES5/ C
i00
W R I T E (i, i00) FORMAT (///,35X,
'GAS D R Y E R
DESIGN',/IH
329
,78(IH*))
WRITE (i, ii0) FLOW, P, T FORMAT (5X, 'GAS FLOW RATE, 10^6 std. ft^3/day: ' , T60, F12.3,/, 5X,'DRYER OPERATING PRESSURE, psig.:', T60, F12.3,/, 5X,'GAS FLOWING TEMPERATURE, oF:', T60, FI2.1)
ii0
WRITE (i, 120) Z, CYCLE, H2OC FORMAT (5X,'GAS COMPRESSIBILITY FACTOR:', T60, F12.4,/, 5X,'DRYING CYCLE, hr.:', T60, FI2.1,/, 5X,'WATER CONTENT OF GAS, Ib/10^6 std.ft^3:',T60,Fl2.0)
120
130 * *
WRITE (i, 150) MW, HI, H2 FORMAT (5X, 'MOLECULAR W E I G H T OF R E G E N E R A T I O N GAS:',T60,FI2.1,/, *5X,'ENTHALPY OF GAS BEFORE R E G E N E R A T I O N HEATER, Btu/Ib:',T60, *FI2.1,/,5X,'E NTHALPY OF GAS AFTER R E G E N E R A T I O N HEATER, Btu/ib:', *T60, FI2.1)
WRITE (i, 160) H2OL, DESVOL, AREAl FORMAT (SX,'TOTAL WATER ADSORBED, ib/h.:', T60, F12.3,/, 5X,'DESICCANT VOLUME, ft^3.: ' , T60, F12.4,/, 5X,'CALCULATED C R O S S - S E C T I O N A L AREA, ft^2.: " , T60,
160
170 * *
* *
F12.4)
WRITE (i, 170) BD, R, BL, Q, VEL FORMAT (5X,'BED DIAMETER, ft.:', T60, F8.4,/, 5X,'BED RADIUS, ft.:', T60, F8.4,/, 5X,'BED LENGTH, ft.:', T60, F8.2,/, 5X,'ACTUAL GAS FLOW RATE, ft^3/min.: 9 , T60, F12.3,/, 5X,'SUPERFICIAL GAS VELOCITY, ft./min.:', T60, F12.3) WRITE (i, 180) TC, VESWT, WD FORMAT (5X,'DRYER SHELL THICKNESS, in.:', T60, F12.4,/, 5X,'VESSEL WEIGHT, lb.:', T60, FI2.0,/, 5X,'DESICCANT WEIGHT, lb.:', T60, FI2.0)
180
WRITE (i, 190) TB, THEAT, F FORMAT (5X,'TEMPERATURE OF DESICCANT BED, oF:', T60, 5X,'TOTAL HEAT REQUIRED TO R E G E N E R A T E DRYER, E14.6,/, 5X, 'LOSS FACTOR:', T60, F12.4)
190
200 * * *
210
FI2.1)
WRITE (i, 140) DDEN, HT FORMAT (SX, 'DESICCANT DENSITY, Ib/ft^3: ' , T60, FI2.1,/, 5X, 'HEATER OUTLET TEMPERATURE, oF:', T60, FI2.1)
140
150
WRITE (i, 130) S, E, PICKUP FORMAT (5X,'ALLOWABLE STRESS, psi:', T60, FI2.1,/, 5X,'JOINT EFFICIENCY:', T60, FI2.1,/, 5X,'USEFUL DESIGN CAPACITY OF DESICCANT, (%):', T60,
F12.3,/, Btu:', T60,
WRITE (i, 200) REH, REG, SCF, MOMEN FORMAT (5X,'HEAT ADDED TO R E G E N E R A T I O N GAS:', T60, E14.6,/, 5X,'TOTAL R E G E N E R A T I O N GAS REQUIREMENT, ib:',T60, E14.6, / , 5 X , ' S T A N D A R D CUBIC FEET OF R E G E N E R A T I O N GAS, std.ft^3: " , T60, EI4.6,/,5X,'MOMENTUM:', T60, E14.6) WRITE (i, 210) FORMAT (76(IH-)) FORM FEED THE PRINTING
WRITE
PAPER TO THE TOP OF THE NEXT PAGE.
(i, *) CHAR(12)
RETURN END
330
CHAPTER 5
Instrument Sizing INTRODUCTION Instruments are used to monitor the pertinent process variables during plant operation. They may be part of automatic control loops or used for the manual monitoring of the process operation. Instruments that monitor critical process variables are fitted with automatic alarms to alert the operators to critical and hazardous situations. Miller [ 1] and Perry [2] provide details of process instruments and control equipment. This chapter considers orifice sizing for liquid and gas flows, control valve design for liquid, vapor, steam services, and two-phase flow. The chapter further reviews relief valve sizing for vapor, steam, liquid, air, and fire conditions. The effect of the pressure drop (AP) on pipework design, noise suppression, discharge reactive forces, and relief valve location is considered. In addition, the chapter discusses two-phase flow relief sizing involving runaway reactions. For all the sizing procedures, the chapter develops the engineering equations for ease in preparing computer programs.
Orifice Sizing For Liquid and Gas Flows In process design, an orifice or a nozzle is usually sized for known flow rate and pressure drop (AP). Nozzles and orifices are used to restrict the flow of fluids. Thus, a reduction in cross-sectional area can cause significant changes in the pressure and temperature of a compressible fluid as it flows through the constriction. The magnitude of the change depends on the linear velocity of the fluid or the Mach number at the constriction. An orifice is usually designed to develop a full-scale pressure differential at maximum flow. Alternatively, it can be designed to a square-edged or sharp-edged cut. 331
Fortran Programs for Chemical Process Design
332
A square-edged or sharp-edged orifice is a clean cut square-edge hole with straight walls perpendicular to the flat upstream face of a thin plate placed crosswise of the channel. The stream issuing from such an orifice attains its minimum cross section (vena-contracta) at a distance downstream of the orifice. This varies with the ratio, [3, of the orifice to the pipe diameter. All measurements of the distance from the orifice are made from the upstream face of the plate for the corner, radius, pipe, and vena contracta taps.
Corner Taps. Static holes are drilled, one in the upstream and the other in the downstream flange. The opening is as close as possible to the orifice plate. Radius Taps. Static holes are located one pipe diameter upstream and one-half diameter downstream from the plate. 1
Pipe Taps. Static holes are located 2 ~ pipe diameters upstream and 8 pipe diameters downstream from the plate. 1
Vena-Contracta Taps. The upstream static hole is ~ to 2 pipe diameters from the plate; the downstream tap is located at the position of minimum pressure. Flange Taps. Static holes are located 1 inch upstream and 1 inch downstream of the plate. Figure 5-1 shows the locations and names of the orifice taps. The true mass flow rate for both liquids and gases is obtained by multiplying the theoretical mass flow equation by the discharge coefficient, the gas expansion factor, and the thermal-expansion factor. This is expressed as: W
true
- 0.52502(
CDYd2Fa ) )0.5 ~/1 - - ~ 4 (pAP
(5-1)
where the coefficient of discharge, C D, is CD =
true flow rate theoretical flow rate
(5-2)
C D for a given orifice type is a function of the Reynolds number (NRe) and the diameter ratio ]3. CD is constant at Reynolds number greater than 30,000. For square-edged or sharp-edged concentric circular
Instrument Sizing 2 1/2 D
and
8D taps ( p i p e taps)
2 1/2
I_..,
1 in.
8 D .~1~.
1 in.
LI~
Ill
Ill
il
333
//
I
i
!I
!
Flow Corner
I
Ill
// v
taps
/
,
\\
I, I
---,
il
I
D/2
D and D/2 taps Figure 5-1. Orifice
pressure tap locations. 2 1/2D and 8D pipe taps are not recommended in ISO 5167 or ASME fluid meters. D and D/2 taps are now used in place of vena-contracta taps.
orifices, C Dfalls between 0.595 and 0.62. The discharge coefficient corrects the theoretical equation for the influence of velocity profile (NRe), assuming no energy loss between the taps and pressure-tap location. The thermal expansion factor Fa: The material of primary element and pipe expands or contracts with temperature. The pipe and bore diameters are measured at room temperature, but will be larger or smaller when used at other temperatures. F~ is introduced to correct for these differences. The Expansion Factor Y. This corrects for density changes between taps. Y depends on the adiabatic exponent (k - Cp/Cv), absolute pressure ratio (AP/P,), and the ratio, 13, between restriction diameter and the inside pipe diameter. For liquid flow, Y = 1.0. For gas flow, Buckingham derived the equation [3]: AP Y - 1 - (0.41 + 0.35134 ) -Pk
(5-3)
334
Fortran Programs for Chemical Process Design Orifice Sizing For Liquid Flows
For liquid sizing, Y= 1.0, and the following assumptions are F a - 1.0, C D - 0.62 [4] Equation 5-1 is re-arranged in the form
~Jl--~ 4
0.52502(CD)
W
d2
(pAP) ~
(5-4)
true
where O. 52502 (C D) Z
~.
W
(pAP) ~
(5-5)
true
and -
d D
(5-6)
Equation 5-4 is expressed by
1E (d4]~
d2 1 -
~
- Z
(5-7)
squaring both sides of Equation 5-7 1 1 d) 4 d4I -(~ 1
1
d4-
1
D4
= Z2
1 = Z2 +
d4
22
(5-8)
(5-9)
1
(5-10)
D4
The orifice size, d, is expressed by
D4 d -
1+ D4Z 2
) 0.25 (5-11)
Instrument Sizing
335
Orifice Sizing For Gas Flows
Using Equations 5-1 and 5-3 That is, CDYd2Fa / ~]1_~4 (PAp)~
Wtrue -- 0" 52502
(5-1)
and Y = 1 - (0.41 +
0.35[34 ) AP Pk
(5-3)
The following substitutions are made: y-J3 4
(5-12)
W true 0.52502(D 2 )(pAP)~ n= 1-0.41
(5-13)
AP P.k
(5-14)
AP t = 0.35~ P.k
(5-15)
Equation 5-1 and Equation 5-3 are modified and combined to give 1 - ( ny'/2 - ty3/2 ) ( 1 - y)l/2
(5-16)
Squaring both sides and dividing by t2, Equation 5-16 is expressed in cubic form as: y3 -
2 n . y2 n 2 + 12 t + --------F--t y
12 t2 = 0
(5-17)
Equation 5-17 is solved for y by finding roots of the cubic equation using the following substitutions. Let p =
2n
t
(5-18)
336
Fortran Programs for Chemical Process Design
+,2)
q - ( n2
(5-19)
t~
12 r-
(5-20)
t2
y3 _ 2py2 + qy _ r - 0
(5-21)
and a -
3q-p
312 _ n 2
(5-22)
3t 2
b - (2p3 - 9pq + 27r) 27 ( 2 n 3 + 18nl 2 + 27tl 2)
(5-23)
27t 3 The solution to Equation 5-17 yielding a real number is: y -
{b2 / b2 a3/"2}"3 __+
+
4
27
{b (b2 a3/"2}"32n +
-2--
4- + 2 7
3t
(5-24)
the orifice diameter, d, is expressed by d-
Dy I/4
(5-25)
Conversions: AP - 0 . 0 3 6 1 3 ( h w )
(5-26)
Wtru e _ (Q.P)60.0
(5-27)
Instrument Sizing
337
The orifice sizing applies to corner, flange, vena-contracta and 1/2diameter taps. Nomenclature C Dd= D = Fa =
coefficient of discharge orifice diameter for full scale AP, inch internal pipe diameter, inch area thermal-expansion factor. Takes into account the expansion of the orifice with temperature changes h w = full-scale orifice pressure differential, in. H20 at 68~ k - specific heat ratio (constant pressure to constant volume Cp/Cv) P = upstream pressure, psia AP = full-scale orifice pressure-differential, psi Q = full-scale flow rate at upstream conditions, ft3/min Wtrue = true full-scale flow rate, lb/s Y = expansion factor ]3 = d/D, ratio of orifice diameter to pipe I.D. 9 = upstream fluid density, lb/ft 3 C O N T R O L VALVE SIZING Introduction Valves and piping represent about 25 percent of the total capital expenditure for materials and equipment in the chemical process industries (CPI). These industries employ valves in a wide range of flowing media from granula solids to industrial wastes. The most important characteristics in the selection of valves are viscosity, corrosiveness, and abrasiveness. In addition, a designer must consider the process parameters. These may be predictable short-term upset conditions, handling more than one fluid with the same valve, or potentially high pressures resulting from a fluid being entrapped in a valve body that then vaporizes due to heat gain. Selecting the right control valve for an application involves four basic styles of throttling: cage-style globe valves, ball valves, eccentric-disk valves, and butterfly valves. Globe valves are the standards of the control valves. These may be hand operated or power actuated types for automatic control. The common feature of these valves is their internal construction, which consists of a disc or plug reciprocating within the valve body. Figure 5-2A shows a typical globe valve, and Figure 5-2B shows a globe valve with cage-style trim.
Figure 5-2B. A globe valve with cage-style trim. 338
Instrument Sizing
339
Langford [5] has reviewed the installation, maintenance and troubleshooting of control valves, while Driskell [6] studied the various aspects of two-phase flow, non-turbulent, non-Newtonian and flashing liquids. Recently, Collins [7] listed the main basic conditions for selecting control valves. These include (1) characteristics of the controlled fluid, (2) system pressures, (3) maximum differential pressure, (4) fluid operating temperature and range, (5) line size, (6) valve size, (7) valve type, (8) valve C v, (9) allowable leakage, (10) end connections, (11) valve environment (outside temperature and range), (12) seat material, body material, (13) actuation medium, (14) flow characteristics, and (15) rangeability. Correctly sized control valves achieve a high quality of control. A valve that is too small will not allow the required flow, and a valve that is too large will cost more than a correctly sized smaller valve and the flow will be uncontrollable because its full control range will not be used. The procedure for sizing a control valve is [8]: 1. Calculate the required valve sizing coefficient, Cv, based on process data and manufacturers' valve data. 2. Consult valve manufacturers' table of C v against size. Then select the smallest valve with a C~ rating greater than or equal to the required C v. 3. Check that the reducers required installing the valve will not change the valve selection. Choose a new valve with a greater C v if necessary. 4. Check that the flow through the valve is not choked. When the liquid flow is turbulent, and the effects of choked flow and reducers are ignored, the expression for C~ reduces to C = q v KD
SpGrf AP
)0.5
(5-28)
Pressure Drop For Sizing The pressure drop (APsizing) used for sizing the control valve is the actual pressure drop across the valve at the sizing flow rate. This is obtained by starting with the system pressure drop (APsystem).The pressure drop at the sizing flow rate of all pipe, fittings, and equipment in the flow system is subtracted from APsystem.The remainder is the actual pressure drop across the control valve at the sizing flow rate.
340
Fortran Programs for Chemical Process Design
Choked Flow As the flow of liquid passes the point of greatest restriction inside the control valve, its velocity reaches a maximum and its pressure falls to a minimum. If the pressure falls below the vapor pressure of the liquid, vapor bubbles form within the valve. Increasing APsizing across the valve beyond the point where vapor bubbles form would not alter the flow. This suggests choked flow. The AP at which choked flow begins is called the terminal, AP T. APT is used instead for sizing the control valve when APsizing across the valve is greater than AP T.
Flashing and Cavitation Choked flow produces either flashing or cavitation. Flashing occurs when the pressure downstream of the valve is below the vapor pressure of the liquid, AP v. Pipe and internal valve erosion often occur because the velocity of flashing the vapor-liquid stream is higher than the inlet liquid velocity. A cavitation will occur if the downstream pressure is above the liquid's vapor pressure. This results in the collapse of the vapor bubbles as they leave the point of greatest restriction in the valve. The shock waves and noise caused by the collapsing bubbles cause rapid and severe damage to the valve or piping. C O N T R O L VALVE SIZING F O R LIQUID, GAS, STEAM, AND T W O - P H A S E F L O W The valve flow coefficients,C v for a given valve depend on the internal dimensions of the valve and the smoothness of the valve's internal surface. Control valve manufacturers establish the C vfor their valves through a series of tests using water or air at a given pressure differential across the valve. Manufacturers define C v as the capacity index. This indicates the flow of water (gpm at 60~ that will pass through a completely open valve under a pressure differential between the inlet and outlet flanges. Control valve coefficients for single and double seated valves are given in Table 5-1 [9].
Liquid Sizing The equation for sizing valve for liquid service is given by
Cv-Q,
( / SpGr~ i~-~- 2
(5-29)
Instrument Sizing
341
Table 5-1 Flow Coefficients for Control Val~es
Flow Coefficient Single-Seat
Size, in. 3/4 1 1 1/4 1 1/2
2 2 1/2 3 4 6 8 10 12 14 16
Cv Double-Seat 8 12
9 14
18
21 36 54 75 124 270 480 750 1080 1470 1920
28 48 72 110 195 450 750 1160 1620 2000 2560
Alternatively, for a given C v, the liquid flow rate can be defined by
/ 0.5 Q1
C v( PIspG~P2
(5-3o)
Equation 5-29 is valid for liquid flowing below its saturation temperature in the turbulent zone with a viscosity value that is close to that of water and size of pipe. Also, the control valve must be the same. Equation 5-29 can also be applied, if the vapor pressure of the liquid at the flowing temperature is equal to or less than one-half the upstream pressure. For this case, the vapor pressure of the liquid is substituted for downstream pressure, P2, and the valve coefficient is calculated. The calculated Cv must be corrected by a critical flow factor, Cf, where Cvcorr is defined by
Cvcorr --
Cvcalc
Cf
(5-31)
The value of Cf is between 0.85 and 0.98. Flow capacity of a control valve placed between pipe reducers is slightly decreased. In subcritical
342
FortranPrograms for Chemical Process Design
flow, this is accounted for by a correction factor, R. In critical flow, the correction factor is Cfr. This replaces Cf in the sizing calculations. In addition, R, Cf, and Cf~ depend on the ratio between pipe size and valve size. Table 5-2 lists values of R, Cf, and Cfr for single-seated and doubleseated control valves [9].
Gas Sizing The following equations are used for sizing control valves for gas and steam conditions. These equations apply to both subcritical and critical flow conditions [10]. For subcritical condition, C v, is defined by 0.5
C
= v
Qg{(SpGrg)(T) )}0.5 1360{(P, - P2)(P2
(5-32)
Table 5-2 Correction Factors for Control Valve Flow Coefficient
Single
Seat
Double
V-Port
EqualPercentage
Seat
Condition
Factor
EqualPercentage
Critical flow line size control valve
Cf
0.98 or .85
0.98
0.98
0.98
Critical flow (control valve between pipe reducers)
Cfr
0.86
0.94
0.86
0.94
Subcritical flow D/d = 1.5
R
0.96
0.96
0.96
0.94
Subcritical flow D/d = 2 (Control valve between pipe reducers)
R
0.94
0.94
0.94
0.94
V-Port
Instrument Sizing
343
The gas flow rate is computed for a given C v, and is defined by
Qg -
C v(1360){(P, - P 2 })o!P2)}~ {(Sparg )(T)
(5-33)
Critical Condition For critical flow, the downstream pressure of the control valve is less than one-half the upstream pressure. Therefore, the term {(P~- Pz)(P2)}0.5 reduces to 0.5P~ in Equations 5-32 and 5-33. Cv is then defined by Cv
=
Q {(SpGrg)(T)} ~ g 1360(0.5P~)
(5-34)
The gas flow rate is: Q : C v(1360)(0.~P~) g {(Sparg)(T)
(5-35)
Steam Sizing The following equations are used to size control valves for saturated and superheated steam flow. For saturated steam flow, a value of zero is used for ~ superheat. Subcritical Condition. The control valve coefficient, C v, is defined by Cv =
(W)(K) 3{(P1 - P: )(P2 )}0.5
(5-36)
The steam flow rate, W, is defined by W = (3)(Cv){(P' - Pz)(P2)}05 K
(5-37)
Critical Condition. The control valve coefficient and the steam flow rate are expressed as: Cv = ( W ) ( K ) 1.5P I
(5-38)
344
FortranPrograms for Chemical Process Design
and W - 1.5(P. )(C v ) K
(5-39)
where K = 1 + (0.0007 x ~ superheat)
(5-40)
Two-Phase Flow Sizing a control valve for liquid-gas mixtures introduces incorrect valve coefficient, C v, if C v for each of the two fractions is calculated separately, and then added. This method assumes that the liquid and gas are passing through the valve orifice independently and at greater different velocities. Driskell [6] has given a plausible assumption that the two fluids travel through the throttling orifice as a homogeneous mixture at approximately the same velocity. He applied the gas expansion factor to the gas fraction only, and not to the total mixture. C v for liquid-gas mixtures can be expressed as follows: Divide the specific volume of the inlet gas, Vg, by the square of the expansion factor Y. This gives an effective incompressible specific volume, while the liquid specific volume, Vl, is unaffected. That is,
Vg y2 + v ! where
Vg =
(5-41) 1/pg and v~ =
1/p~
Add the effective volumes of the two fluids in proportion to their mass fraction, f, in the mixture to obtain the effective specific volume of the stream, v e. Ve =
fg. Vg y2 + fl'vl
(5-42)
where the expansion factor is: Y = 1-
x (3FkXT)
(5-43)
Instrument Sizing
345
and x = AP/P 1 x T = pressure drop ratio factor (from manufacturer) F k = ratio of specific heats factor (k/1.40) k = ratio of specific heats (Cp/Cv) AP = P1 - P 2 , psi P~ = inlet pressure, psia P2 = outlet pressure, psia The valve coefficient, C v, is: Cv =
W
0.5
(5-44)
63.3( A__p_P)ve Alternatively, for a given Cv, the flow rate in lb/h is:
/0.5 W - 63.3(C v) AmP
(5-45)
Ve
Installation
Control valves form an important equipment item in process plants, and therefore, a lot of money can be saved by ensuring that the right valves are installed. Selecting the right control valve for any application starts with defining the valve's functions. For example, if an on-off interlock valve is to be used, then the primary criteria for selection are reliability and simplicity. If very fast and precise modulation is required, such as for a compressor antisurge vent, a high quality valve is chosen. Factors that affect the selection of control valves are: 9 Defining the type o f fluid. This includes the physical properties (density and viscosity), corrosive properties, and the nominal pressures, temperatures and flow rate. In the case of fluids, it is necessary to know the vapor pressures to check for flashing and cavitation. Also a high temperature increase can severely damage some types of gaskets and packings. 9 The valve size. This can be defined using standard calculation methods. The operating conditions and calculations may eliminate cer-
346
FortranPrograms for Chemical Process Design
tain valve styles from consideration. Cavitation is more evident with the high-recovery rotary type valves and sometimes can be avoided by selecting a globe valve. In addition, a valve that is too small will not permit the required amount of flow. Alternatively, a valve that is too large will be expensive and may create trim wear and control problems. 9 A c c e s s f o r m a i n t e n a n c e . This must be provided during the design phase, retained during construction, and considered during the revision stage. Maintenance can be both problematic and expensive if a valve is difficult to reach or to work on. A substantial change in the fluid-momentum (e.g., a flow through an angle valve or a large fluid-velocity change) causes high reaction forces. This can cause serious damage to the valves. The valve should be installed between one and three feet above the grade or platform to control the process. 9 E x c e s s i v e stress o n a valve body. This can cause leakage and prevent normal operation of the moving parts resulting in the breakage of the flange or valve body. Poor pipe alignment is the most probable cause of excess stress. Also, heavy valves require support in order to reduce the stress and to make removal and reinstallation easier. Noise C a v i t a t i o n refers to the formation and subsequent collapse of vapor bubbles in the flowing liquid stream at a point of higher pressure. This causes erosion of the valve parts. It generates extremely high pressure shock waves that hammer against the valve outlet and piping. Pressures in these collapsing cavities can be as high as 500,000 psi in magnitude, and often result in severe and rapid damage to the valve and piping. Noise from control valves is often caused by pressures, flows, and temperatures involving compressible flow. Valves control flow by causing turbulence, thereby converting much of the energy to heat and a small fraction to sound. The control valve manufacturers have developed noise reducing valve trims and high-capacity valve configuration. Langford [5] suggested that noise may be reduced by as much as 20 dB by installing acoustic insulation at the valve and downstream, or alternatively by using heavier wall pipe downstream.
Nomenclature
C v = capacity coefficient for fully open control valve f g - mass fraction in the gas phase
Instrument Sizing
347
f~ = Fk = kK= K D= P~ =
mass fraction in the liquid phase ratio of specific heats factor (k/1.40) ratio of specific heats (Cp/C v) superheat correction factor coefficient of discharge inlet pressure, psia P 2 = outlet pressure, psia AP = pressure drop, psi q = fluid flow rate QI = liquid flow rate, gpm Qg - gas flow rate,ft3/h at 14.7 psia and 60~ SpGrf = specific gravity of fluid SpGr~ = specific gravity of liquid SpGrg -specific gravity of gas - M Wt of gas/M Wt of air T = flowing temperature, ~ (~ + 460) V e = effective specific volume of the stream V g - specific volume of the inlet gas V~ = specific volume of the inlet liquid X T - pressure drop ratio factor (from manufacturer) W = steam flow, lb/h
R E L I E F VALVE S I Z I N G Introduction Safety relief valves serve a valuable function in protecting against overpressure of pipework and process equipment. This may occur due to operational malfunction, such as equipment failure, fire or human error. Proper sizing of a relief system is therefore essential. This requires the determination of proper relieving conditions (e.g., flows, pressures ,and temperatures) so that relief valves and their associated pipework can be properly sized for the worst scenario. Designers are responsible to obviate all conceivable conditions, and good judgment must be exercized in setting the relief requirements (set pressure, for example) in all design facets during hazard and operability studies. Here, five relief conditions are considered [ 11 ]: 9 gas or vapor 9 steam 9 liquid
348
Fortran Programs for Chemical Process Design
9 air 9 fire In addition, noise suppression, preferred location of relief valves, and pressure drop requirements for stable operation involving inlet pipe to the valve and tail pipe are reviewed.
Typical Relief Valves There are two main types of safety relief valves. The conventional type is shown in Figure 5-3. A balanced safety relief valve shown in Figure 5-4 is designed to limit the effect of back pressure on opening pressure, closing pressure, lift capacity, and relieving capacity. The balanced valves are mainly the piston type and the bellows type. Because of its design, a conventional relief valve encounters any back pressure accumulated in the discharge header so that the relieving pressure is affected. For example, a relief valve set at 450 psig relieving into a closed header system with 10 psig back pressure caused by loads from other units will not open until the vessel is at 460 psig. Normal practice allows only 10 percent of the set pressure "buildup" in a unit for most emergencies. Conventional relief valves, therefore, may often force the designer to increase the header size to limit back pressure. The balanced relief valve does not encounter the accumulated pressure and can relieve at design rates even when back pressure is 30-50 percent of its set pressure. Therefore, for services with high back pressure in the header, the balanced relief valve is much preferred.
Gas or Vapor Sizing The expression used to determine the relief area for vapor discharge when the back pressure is less than the critical flow pressure is: A-
I
W T. ( C ) ( K ) ( P ) ( K b) M
(5-46)
where C can be expressed as:
C-520
I ( /(k+l10.) 5 k
2 k+l
(5-47)
CONVENTIONAL SAFETY-RELIEF VALVE
Figure 5-3. Conventional safety relief valve. (Reprinted courtesy of the American Petroleum Institute.)
349
BALANCED SAFETY-RELIEF VALVE
Figure 5-4. Balanced safety-relief valve. (Reprinted courtesy of the American Petroleum Institute.)
350
Instrument
Sizing
351
The values of k for some gases are given in Chapter Three. K b is the back pressure correction factor due to back pressure and is dependent on the type of relief used. Figure 5-5 gives K b for conventional spring reliefs and Figure 5-6 for balanced bellows reliefs, repectively. Steam Sizing The equation for steam service is a modification of Napier steam flow given in the ASME Boiler and Pressure Vessel Code. ASME Power Boiler Code applications permit 3 percent overpressure. The equation for steam relief is [ 12]: A
W (51.5)(P, )(K d )(K N)(Ks. )
-
(5-48)
Liquid Sizing The requisite orifice area for a safety relief valve used in liquid service (nonviscous) requiring liquid capacity certification is" )0.5
A -
W (38)(K a)(K w)(K~)
SGL PI - P2
(5-49)
I -
ILl (./3 I.IJ
k:1.5
.~. ~, ~
~._e
I--3= I---
i"" I!
e~
I II
e~
0
I !
,, 0
10
20
30
40
50
60
70
80
90
100
% ABSOLUTEBACK PRESSURE = BACK PRESSURE + 14.7 (SET PRESSURE + OVER PRESSURE + 14"7) x 100 Figure 5-5. Constant back pressure sizing factor, K b, for conventional safety relief valves in vapor or gas service. (API Recommended Practice 520, Sizing, Selection and Installation of Pressure Relieving Devices in Refineries, Part 1, 5th ed., 1990. Reprinted courtesy of the American Petroleum Institute.)
352
FortranPrograms for Chemical Process Design
Oercent
'~
LIJ r IX.
'
~reSSure
r
",t
CC3 "1" p-
N
\
I-"
II
0.50 0
5
10
15
2O
25
30
% GAUGEBACKPRESSURE = BACK PRESSURE, PSIG SET PRESSURE, PSIG
35
40
45
x 100
Figure 5-6. Back pressure sizing factor, K b, for balanced-bellows pressure relief valves in vapor or gas service. (API Recommended Practice 520, Sizing, Selection and Installation of Pressure Relieving Devices in Refineries, Part 1, 5th ed., 1990. Reprinted courtesy of the American Petroleum Institute.)
K w is the capacity correction factor due to back pressure on balancedbellow relief valves. If the back pressure is atmospheric K w = 1. This correction factor is given is Figure 5-7. When sizing a relief valve for viscous liquid service, the orifice area is first calculated for nonviscous service to obtain a preliminary discharge area. The next standard orifice size is used to calculate the Reynolds number. The K v factor is then calculated and applied to correct the preliminary required discharge area. The Reynolds number is expressed as [10]: Re - Q ( 2 8 0 0 ) ( S G L ) g(ADES) ~
(5-50)
where K v - - 2 . 3 8 8 7 8 + 1.2502(ln Re) + 0 . 1 7 5 1 ( l n Re) 2 + 0 . 0 1 0 8 7 (ln Re)3 _ 0 . 0 0 0 2 5 (ln Re)4
(5-51)
Air Sizing The required orifice area for a relief valve sizing for air at constant back pressure is"
50
Instrument Sizing
353
w
1.00 ILl
~.
0.90 I--
0.85
I.a.I
,1,,,
\\
0.95
=
9
=
,.
~
1. . . . .
L t.,
!
,
-
-
\,,,.
I--
X
I.a. Q
0.70
I.-l.a.I
0.65 Q
0.60
0.55 - - - - - - - - - - - - - - - -
3=
'
'
0.50
0
10
2O
3O
40
5O
% GAUGE BACK PRESSURE = BACK PRESSURE, PSIG x 100 SET PRESSURE, PSIG Figure 5-7. Capacity correction factor, Kw, due to back pressure on balanced-bellows pressure relief valves in liquid service. (API Recommended Practice 520, Sizing, Selection and Installation of Pressure Relieving Devices in Refineries, Part 1, 5th e d . , 1 9 9 0 . Reprinted courtesy of the American Petroleum Institute.)
A
(V)(T) ~
-
~
(5-52)
(418)(K d)(P)(K b) Fire Sizing In the case of a fire, there is a pressure buildup and the required relief capacity can be determined provided that the heat absorbed can be estimated. API 520 gives recommendations for heat of absorption during vapor relief [ 12]. Not all the causes will happen simultaneously, but the pressure relief or safety relief should be sized for conditions that require the greatest relief.
354
FortranPrograms for Chemical Process Design
Inconsistencies for sizing relief valves for fire emergencies arise among published codes. This is because of varying interpretations of the heat flux caused by fire exposure. These variations are based on the area in which the heat flux applies and the protection factors used to characterize the installations. Crozier [13] has summarized these variations and evaluated the pertinent correlations. Here, the API 520 correlation is used because it contains an implied protection factor of 0.5 for good drainage. Liquid in liquid-filled vessels exposed to direct or radiated heat from a fire will vaporize. The heat required to accomplish this will limit the shell temperature of the tank to only a slight rise. The amount of liquid vaporized depends on the rate of heat input from the fire and the relieving temperature. This can be determined by calculating the heat input to the wetted surface of the vessel and dividing this by the latent heat of vaporization. Qr -- 21,000(FI)(Aw) ~
(5-53)
and W = Qr
(5-54)
The vapor to be relieved is the vapor in equilibrium with the liquid (that is, saturated vapor at the conditions existing when the valve is relieving at the rated capacity). Table 5-3 shows environmental factors for bare and insulated vessels. For a multicomponent mixture, )~m~can be determined from ~' mix -
~ . ~iYiMi i--I
M
(5-55)
To determine y~, it is necessary to know the equilibrium liquid-phase mole fraction, x~, at the bubble point corresponding to the accumulated relieving pressure. The wetted surface area depends on the diameter and length of the vessel. For working storage tanks, the wetted surface is obtained on the average inventory. Surge drums usually operate about half full; thus the wetted surface will be calculated at 50 percent of the total vessel surface.
Instrument Sizing
355
Table 5-3 Environmental Factor
Type of Equipment
Factor
Bare vessel
1.0
Insulated vessel (These arbitrary insulation conductance values are in Btu/hrft 2 ~ 0.3 0.15 0.075 0.67
0.05
0.5
0.0376
0.4
0.03
0.33
0.026
Water-application facilities on bare vessel
1.0
Depressurizing and emptying facilities
1.0
For approved water spray with approved insulation
0.15
For drainage
0.5
For approved water spray
0.3
Effect of Back Pressure The maximum allowable back pressure (gauge) for a conventional safety relief valve is 10% of the set pressure (gauge). If the maximum allowable back pressure is exceeded during any relief situation, the size of the relief lines or headers should be increased until the back pressures are sufficiently reduced.
Noise Suppression Expansion of gas or vapor usually gives rise to an unacceptable noise level. However, this is not a problem with liquid relief. There are two sources of noise:
356
Fortran Programs for Chemical Process Design
1. Noise due to turbulence at the point where the gas mixes with the atmosphere. Suppression of this type of noise involves the fitting of a silencer. 2. Noise due to pressure letdown (that is, relief valve) when sonic or near sonic velocities are generated. This is transmitted through the wall of pipe and, if the discharge is short, it is transmitted through the open end. Noise from this can be reduced by lengthening the discharged pipe and by insulation. Suppression of the noise can also be overcome by fitting a silencer. Such silencers are often installed in an exposed environment and are likely to accumulate dirt, vapor, or products from minor leakage of safety devices.
Effect of Pressure Drop (AP) on Pipework The pipework should be designed with the following considerations: 9 The frictional AP through the inlet pipework, inlet fittings, and valves at the maximum possible relief rate should not exceed 3% of the set gauge pressure (psig). The calculation of AP should include the entrance loss of the inlet pipework. The discharge pipework must be such that AP is less than 10% of the relieving pressure (that is, set pressure plus overpressure in gauge). The discharge pipework should withstand the internal pressure and high velocities, the reaction forces, and the sudden transient loading that occur when a relief device suddenly comes into operation. 9 The inlet pipework should be of a size at least equal to the relief valve, with its length minimized to reduce AP. It should also be equal to the bending moments resulting from the forces that develop when the valve or disc is discharging at full capacity. 9 A relief device should be installed vertically and preferably on a nozzle at the top of the equipment (for example, vessel) or on a tee connected to a pipeline. When discharging a gas or vapor, the fluid reaches sonic velocity when passing through a relief device. Thus, the gas flow rate or AP can be determined by a method as described in Chapter Three. For liquid discharges, the design of the pipework may be complex. If the liquid is subcooled, the discharge pipework is sized by standard liquid pressure formulae. If the liquid in the equipment is at or near its saturation pressure, the relief device and discharge pipework should be sized for two-phase flow. As the liquid flows through the relief valve,
Instrument Sizing
357
the AP will cause it to flash. Therefore, the size of the valve and discharge pipework must be increased to accommodate the larger volume. Further flashing in the downstream piping will increase the gas-liquid mixture through the two-phase regimes. If this is not arrested, slug flow will develop along the pipeline resulting in the mechanical damage to the pipework.
Discharge Reactive Forces The total stress imposed on a safety valve or its piping is a result of the sum of the following: 9 9 9 9 9
internal pressure dead weight of piping thermal expansion or contraction of either the discharge line the equipment upon which the valve is mounted the bending moment caused by the reaction thrust at the discharge
The discharge reactive force is based on the assumption that critical flow of the gas or vapor is obtained at the outlet of the relief device and the discharge is horizontal to the atmosphere. For any gas or vapor, the reactive force can be expressed as: W F -_
I
kT (k + 1)M w 366
10.5
(5-56)
Relief Valve Location The location of a relief device often influences its size and material of construction. Relief devices must be sited so that the risk of blockage by debris is minimized. It is poor practice to mount relief valves at the end of long horizontal pipe through which there is no flow. The possibility of liquid phase entering a vapor relief system must also be avoided. Locating a relief device upstream of equipment that has AP due to flow allows the relief valve to be smaller because increased AP is available. Reduced costs of a relief system may be obtained by installing relief valves in a more conducive position with regard to temperature and corrosion. Figure 5-8 shows alternative positions. Position 1 is preferred when the relief valve is tied into a closed relief system because of ease of maintenance. It assures a relatively short line to the relief header and
358
Fortran Programs for Chemical Process Design /
f,
/
Z
| i
ii
i|
|
I
(
i
)
(b
(b
Figure 5-8. Alternative positions for a relief valve.
lower temperature for relief when air fan coolers are used. Position 2 is preferred for relief to atmosphere. Position 3 is used on low pressure towers designed for the same top and bottom pressure. Figure 5-9 illustrates key areas for design verification of relief system. Manufacturers' orifice areas and corresponding valve sizes are shown in Table 5-4.
Nomenclature A - valve discharge area, sq in. A w - wetted surface area of the vessel, sq ft ADES - next largest valve orifice, sq. in, from the manufacturer's standard orifice area
6
7 Header System
Piping
,if i, 4
~
_f-h_ A
....
5 Protective Device Xs) 5a ~Relief Requirement 3
Isolation
2 ected Equipment
I or System
1 ~
"
Source of Overpressure 1
I
BASIC
KEY AREA i .
2.
Sources
Which
of O v e r p r e s s u r e
Equipment protected stream
(i)
or S y s t e m by Relief
have
CONSIDERATIONS been
considered?
All e q u i p m e n t identified.
(ii) D e s i g n press, limits cannot D e s i g n codes e q u i p m e n t and compatible. 3.
Require
4.
Isolation
5.
Protective
5a.
6.
Relief
Devices
What
Rate
is
and temp. be exceeded. for p r o t e c t e d d e v i c e s are
is it?
Is any fitted? If so, h o w is c o n t i n u i t y assured? Device(s)
Under or o v e r s i z e d ? S u i t a b i l i t y of device(s).
in Series
Correct ~ P maintained across devices. Interspace moni t o r e d / a l a r m e d C o r r e c t l y sized. P r e s s u r e drop O.K. S u p p o r t s O.K for r e a c t i o n loads. S u i t a b l e for fluid.
Piping
Drainage/blockage. 7.
Headers
or C o m m o n
Is there one? Sized for all streams. Back p r e s s u r e O.K. Damage t o / f r o m other streams.
Vents
Figure 5-9. Pressure relief design verification. 359
360
Fortran Programs for Chemical Process Design Table 5-4 Orifice Sizes for Relief Valves
Orifice Designation
Orifice Area (sq. in.)
Valve Size (in.)
D E F G H J K L M N P Q R T
0.110 0.196 0.307 0.503 0.785 1.287 1.838 2.853 3.600 4.340 6.379 11.050 16.000 26.000
1-2 1-2 1.5-2 1.5-2.5 1.5-3 or 2-3 2-3 or 2.5-4 3-4 3-4 or 4-6 4-6 4-6 4-6 6-8 6-8 or 6-10 8-10
C = coefficient determined by ratio of specific heats of the gas or vapor at standard conditions F = reaction force at the point of discharge to the atmosphere, lb FI = factor for insulation (for non-insulated vessel FI is 1.0) K = effective coefficient factor due to backpressure (0.975 for vapor flow) K b = capacity correction factor due to backpressure is 1.0, when backpressure is 55% of absolute relieving pressure K d = coefficient of discharge (0.953) K N = correction factor for Napier equation, K N, is 1.0, where P < 1515 psia Kp - overpressure correction factor for direct spring-operated valves only, Kp is 1.0 KsH = correction factor due to amount of superheat in the steam. Values range from 0.88 (maximum superheat) to 1.0 for saturated steam. Kv = viscosity correction factor K w = backpressure correction factor for balanced-bellows springoperated valves only (K w is 1.0) k = ratio of specific heat capacities (Cp/C~)
Instrument Sizing
361
M = molecular weight M w = molecular weight of vapor (or process fluid) P = upstream relieving pressure, psia Pb = total backpressure, psig Pi = set pressure at which relief valve begins to open, psig Q = flow rate, in U.S. gallons per min Qr = rate of heat input due to fire, Btu/hr SGL = specific gravity of liquid at flowing temperature referred to water as 1.0 at 70~ T = absolute temperature of inlet vapor ~176 + 460) V, = required air capacity, standard ft3/min W = flow of any gas or vapor, lb/hr Z = compressibility factor = latent heat of vaporization at the boiling point of the liquid, Btu/ib = absolute viscosity at the flowing temperature, cP
T W O - P H A S E F L O W R E L I E F SIZING FOR RUNAWAY REACTION
Introduction Many methods have been used to size relief systems: area/volume scaling, mathematical modeling using reaction parameters and flow theory, and empirical methods by the Factory Insurance Association (FIA). The Design Institute for Emergency Relief Systems (DIERS) of the AIChE has carried studies of sizing reactors undergoing runaway reactions. Intricate laboratory equipment and analysis have resulted in better vent sizes. A selection of relief venting as the basis of safe operation is based upon the following considerations [14]: 9 compatibility of relief venting with the design and operation of the plant/process 9 identifying the worst scenarios 9 type of reaction 9 means of measuring the reaction parameters during the runaway reaction 9 relief sizing procedure 9 design of the relief system including discharge ducting and safe discharge area
362
Fortran Programs for Chemical Process Design
Runaway Reactions A runaway reaction occurs when an exothermic system becomes uncontrollable. The reaction leads to a rapid increase in the temperature and pressure, which if not relieved can rupture the containing vessel. A runaway reaction happens because the rate of reaction and therefore the rate of heat generation increases exponentially with temperature. Alternatively, the rate of cooling increases only linearly with temperature. Once the rate of heat generation exceeds available cooling, the rate of increase in temperature becomes progressively faster. Runaway reactions nearly always result in two-phase flow reliefs. Runaway reactions are generally classified into three systems.
Vapor Systems Boiling is attained before potential gaseous decomposition, that is, the heat of reaction is removed by the latent heat of vaporization. The reaction is tempered, and the total pressure in the reactor is equal to the vapor pressure. The principal parameter determining the vent size is the rate of the temperature rise at the relief set pressure.
Gassy Systems Gaseous decomposition reaction occurs without tempering. The total pressure in the reactor is equal to the gas pressure. The principal parameter determining the vent size is the maximum rate of pressure rise.
Hybrid Systems Gaseous decomposition reaction occurs before boiling. The reaction is still tempered by vapor stripping. The total pressure in the reactor is the summation of the gas partial pressure and the vapor pressure. The principal parameters determining the vent size are the rates of temperature and pressure rise corresponding to the tempering condition. A tempered reactor contains a volatile fluid that vaporizes or flashes during the relieving process. This vaporization removes energy via the heat of vaporization and tempers the rate of temperature rise due to the exothermic reaction.
Adiabatic Calorimetry Two-phase flow calculations are complex when conditions change rapidly as in runaway reactions. Because of this complexity, several
Instrument Sizing
363
experimental and analytical techniques have been developed over the past decade to obtain the relevant data for the relief vent calculations. The data required for the runaway calculations are determined with laboratory tools such as the Differential Scanning Calorimetry (DSC), the accelerating rate calorimeter (ARC), the vent sizing package (VSP), and recently, the laboratory calorimetric Reactive System Screening Tool (RSST). The RSST determines the type of reaction and principal parameters required for sizing reactor vents for vapor, hybrid, and gassy systems. Figures 5-10A and 5-10B show the principal features of the RSST. The principal data for relief sizing calculations are shown in Figures 5-11A, 5-11B, 5-11 C, and 5-11D, the temperature rate at the set (text continued on page 366)
Figure 5-10A. The
RSST vessel.
Figure 5-10B. The test cell and associated equipment.
~0
i 'atmax,mumJ
~
IT at relief set
s
I
(~ E
permittedpressure/ ~
r |
t t+5 t+10 t+151t+20t+25 Time L ~ (min) Venting time for vapour system j during which time the entire J i0 vessel content is discharged J r
0
1000
2000 3000 Time (rain)
400(3
Figure 5-11A. Temperature against time for an abiabatic system.
364
CD
4-
J 0
-
!
0
!
1000
.
2000 30()0 Time (rain)
40C)0
5-11B. Pressure against time for an abiabatic system.
Figure
100
Slope = E _ T1T21n(-~12) ~
R
''~
7"2T 1 /
10 -Average rate of temperature rise/ "between relief set pressure and T at "maximum permitted pressure/' maximum ............. .~ permitted 1.0 /]pressure ,, ....~/ I T at = ,,',2 J/1 Irelief "~ /I set r~ ressure E 0.11 5 Q) K
o.o~
M' --',,.t 1
•
/ '
T2
T,
/I
0.001 20
Figure
/ t"-- Onset temperature for " / I a l m 3 reactor charge '
f.
~,
40
.
,
9
,
.
,
.... , .
60 80 100 Temperature (~
TF
,~. ,
120 140
5-11C. Rate of temperature rise against temperature for an abiabatic system.
365
366
Fortran Programs for Chemical Process Design
00
10 #_
100 Maximum //~dp l d t tmax .. permitted pressure 1/ /~-----' AP (vapour A-T systems) /I AP = ~ ;v / systew,,~)10 R e l ~ A T / -
/(gassy,
1[ 20
40
60 I I 80
I &O
120 140
Temperature(~ Figure 5-11D. Pressureand rate of pressure rise against temperaturefor an abiabatic system. (text continued from page 361)
pressure and the temperature increase, corresponding to the overpressure. In addition, the heat of reactions can be determined from the temperature vs. time data of the heat capacities if the monomers and products are available. Table 5-5 lists formulae for computing the area of the three systems.
Simplified Nomograph Method Boyle [15] and Huff [16] first accounted for two-phase flow with relief system design for runaway chemical reactions. A computer simulation approach to vent sizing involves extensive thermokinetic and thermophysical characterization of the reaction system. Fisher [ 17] has provided an excellent review of emergency relief system design involving runaway reactions in reactors and vessels. Fauske [18] has developed a simplified chart to the two-phase calculation. He expressed the relief area as: A~ = VPr GAt v
(5-57)
E ii, ii
.=
ii
¢i II
=,'6
¢i
E G)
03 .r11-
E
O3 o3
E O3 QI
f
f
i
o X
II
<
f
"N
j
~2
,~
x II
<
X
,---t
t¢"~
II
<
~
~q
367
II
N
II
II
II
II
II
II
II
II
II
II
II
II
II
c ; ~ c ; ~
II
II
H
II
II
II
II
II
--
II
II
II
~ d c f II
II
II
II
II
II
Fortran Programs for Chemical Process Design
368
The mass flux can either be expressed as" AP G'~0.9F l-~
gcT~ Cp
/0.5 (5-58)
or
/0.5 G-
0 . 9 F AHv
! Vfg
gc
(5-59)
CpT~
The venting time is given by At v _=_
(AT)(Cp)
(5-60)
qs
Combining Equations 5-58, 5-59, and 5-60, the area, A, is given by A
-
Vpq~ (gcC Ts) -~ AP P "
(5-61)
Equation 5-61 gives a conservative estimate of the vent area and the simple design method represents overpressure (AP) between 10 and 30 percent. For a 20 percent absolute overpressure, a liquid heat capacity of 2510 J/kg.K for most organics, and considering that a saturated water relationship exists, the vent size area per 1,000 kg of reactants is:
A ~ ( m2 / 1,000 kg
0.00208 P,
(aT) dt
~ bar
(5-62)
Figure 5-12 shows a nomograph of determining the vent size. The vent area is calculated from the heating rate, the set pressure, and the mass of reactants. The nomograph is used for obtaining quick vent sizes and checking the results of the more rigorous computation. Crowl and Louvar [ 19] have expressed that the nomograph data of Figure 5-12 applies for a discharge coefficient of F = 0.5, representing a discharge L/D of 400.0. However, use of the nomograph at other discharge pipe lengths and different F requires a suitable conversion.
Figure 5-12. A vent sizing nomogram for tempered (high vapor pressure) runaway chemical reactions. (Courtesy of the American Institute of Chemical Engineers.)
369
370
Fortran Programs for Chemical Process Design
Vent Sizing Methods Vents are usually sized on the assumption that the vent flow is: 9 all vapor or gas 9 all liquid 9 a two-phase mixture of liquid and vapor or gas The first two cases represent the smallest and largest vent sizes required for a given rate at increased pressure. Between these cases, there is a two-phase mixture of vapor and liquid. It is assumed that the mixture is homogeneous, that is, that no slip occurs between the vapor and liquid. Furthermore, the ratio of vapor to liquid determines whether the venting is closer to the all vapor or all liquid case. As most relief situations involve a liquid fraction of over 80 percent, the idea of homogeneous venting is more to all liquid than all vapor. Table 5-6 shows vent area for different flow regimes.
Vapor Pressure Systems These systems are called "tempering" (that is, to prevent temperature rise after venting) systems because sufficient latent heat is available to remove the heat of reaction and to temper the reaction at the set pressure. The vent requirements for such systems are estimated from the Leung's Method [20,21 ].
Table 5-6 Vent Areas for Different Flow Regimes
Type of flow
All vapor Two-phase: churn turbulent Bubbly Homogeneous All liquid
Required vent area as a multiple of all vapor vent area
1 2-5 7 8 l0
Instrument Sizing A -
M~ G
V dP ~o-oT~ d-~
371 (5-63)
)o.5 +(CAT
Alternatively, the vent area can be expressed as" A -
M~ G
I( / V hfg
M 0 Vfg
(5-64) + (CAT
)o.5
1
The vapor pressure systems obey the Antoine relationships"
B
In P - A + -T
(5-65)
differentiating Equation 5-65 yields,
1 dP
B
P dT
T2
B
dP = dT
(5-66)
p
(5-67)
T2
Fauske's Method Fauske represented a nomograph for tempered reactions as shown in Figure 5-12. This accounts for turbulent flashing flow and requires information about the rate of temperature rise at the relief set pressure. This approach also accounts for vapor disengagement and frictional effects including laminar and turbulent flow conditions. For turbulent flow, the vent area is
(aT)
1 M~ -dt
(~D--C~0)
s
A - F2 ~
(5-68)
AP(1 - cxo )
Figure 5-13 shows a sketch of temperature profile for high vapor pressure systems.
372
Fortran Programs for Chemical Process Design
~ T V 4 0 - P 1 4
,ou::;:,u. NON
I
;
3
-
?
W-F
ASE FLOW
~~P .,t(+)
3
0
COMPLETE VAPOR DISENGAGEMENT
LU .-
..~.-
~,
/ n
-,
~1/ VENTING/- at=.'dT
.
I i01 3 lifo r
RUNAWAY REACTION
m~ (0,,-
a,) = W a t
(1-.9) 4
, mo(dT/dt), (ao-ao) A = ~ F(T/C),/2Lxp(I_ao)
1
T i ,
J Figure 5-13. Vent sizing model for high vapor pressure systems. Due to non-equilibrium effects, turnaround in temperature is assumed to coincide with the onset of complete vapor disengagement. Gassy Systems
The major method of vent sizing for gassy system is two-phase venting to keep the pressure constant. This method was employed before DIERS with an appropriate safety factor [22]. The vent area is expressed by: A - Qg (1 -
Gl
DE)Of _-
QgM
GV
(5-69)
Instrument Sizing
373
Unlike systems with vapor present, gassy systems do not have appreciable latent heat to temper the reaction. The system pressure increases as the rate of gas generation with temperature increases, until it reaches the maximum value. The vent area could be underestimated if sizing is dependent on the rate of gas generated at the set pressure. Therefore, it is more plausible to size the vent area on the maximum rate of gas generation. Homogeneous two-phase venting is assumed even if the discharge of liquid during venting could reduce the rate of gas generation even further. The vent area is defined by
A-3.6•
M0 -3Qg VPm
10.5
(5-70)
The maximum rate of gas generation during a runaway reaction is proportional to the maximum value of dP/dt and can be calculated from
M0/vt dP/
Qgl - MI pm d-~
(5-71)
Homogeneous Two-Phase Venting Until Disengagement Imperial Chemical Industry (ICI) [22] developed a method for sizing a relief system that accounts for vapor-liquid disengagement. They proposed that homogeneous two-phase venting occurs that increases to the point of disengagement. Furthermore, they based their derivations upon the following assumptions: 9 vapor phase sensible heat terms may be neglected. 9 vapor phase mass is negligible. 9 heat evolution rate per unit mass of reactants is constant (or average value can be used). 9 mass vent area per unit area is approximately constant. 9 physical properties can be approximated by average values. The vent area is given by the following equation. A -
q~V(o~ - o%)
} Glve{ ve hfgVf(O~--O~o) + CAT (1 0)(1 - cx)
(5-72)
374
FortranPrograms for Chemical Process Design
Equation 5-72 is valid if disengagement occurs before the pressure would have turned over during homogeneous venting; otherwise, Equation 5-72 gives an unsafe (too small) vent size. Therefore, it is necessary to verify that q >
GiAhfgve2
(5-73)
Vvfg (1 _ ~ ) 2
is satisfied at the point of disengagement. Two-Phase Flow Through An Orifice
Sizing formulae for flashing two-phase flow through relief devices were obtained through DIERS, which is based upon Fauske's equilibrium rate model (ERM) and assumes frozen flow (non flashing) from a stagnant vessel to the relief device throat. This is followed by flashing to equilibrium in the throat. The orifice area, A, is given by, A
-
W
xV G
C D
kPi
+
(V G _ VL )2 CLT~ ~2
(5-74)
The theoretical rate can be expressed as: W-
Af(2AP. p) ~
(5-75)
For a simple sharp-edged orifice, the value of C D, the coefficient of discharge, is well established (about 0.6). For safety relief valves, its value depends upon the shape of the nozzle and other design features. In addition, the value C Dvaries with the conditions at the orifice. For saturated liquid at the inlet, Equation 5-74 simplifies to the following expression. A - W ( V G -- V L ) ( C L T ' ) ~
=
W
(5-76)
<) Equations 5-72 to 5-76 are based upon the following assumptions: 9 vapor phase behaves as an ideal gas. 9 liquid phase is an incompressible fluid. 9 turbulent Newtonian flow is present.
Instrument Sizing
375
9 critical flow. This is usually the case because the critical pressure ratios of flashing liquid approach the value of 1.0. Duxbury and Wilday [22] recommend that a safety factor of at least 2.0 be used. In certain cases, lower safety factors may be employed. However, the designer should consult the appropriate process safety section in the engineering department for advice.
Discharge System Design of the Vent Pipe. The nature of the discharging fluid is necessary in determining the relief areas. DIERS and ICI techniques can analyze systems that exhibit "natural" surface active foaming and those that do not. DIERS further found that small quantities of impurities can affect the flow regime in the reactor. In addition, a variation in impurity level could arise by changing the supplier of a particular raw material. Therefore, care is needed in sizing emergency relief on homogeneous vessel behavior, that is, two-phase flow. In certain instances, pressure relief during a runaway reaction can result in a three-phase discharge if solids are suspended in the reaction liquors. Solids can also be entrained by turbulence caused by boiling or gassing in the bulk of the liquid. Caution is required in sizing this type of relief system, especially where there is a significantly static head of fluid in the discharge pipe. Another aspect in the design of the relief system includes the possible blockage in the vent line. This could arise from the process material being solidified in cooler sections of the reactor. It is important to consider all discharge regimes when designing the discharge pipe work. Safe Discharge Reactors or storage vessels are fitted with overpressure protection vent directly to roof level. Such devices (e.g., relief valves) protect only against common process maloperations and not runaway reactions. The quantity of material ejected and the rate of discharge are low, resulting in good dispersion. The rise of bursting disc can result in large quantities of materials (95% of the reactor contents) being discharged for foaming systems. The discharge of copious quantities of chemicals directly to atmosphere can give rise to secondary hazards, especially if the materials are toxic and can form flammable atmosphere in air (e.g., vapor or mist). In such cases, the provision of a knock-out device (scrubber, dump tank) of adequate size to contain the aerated/foaming fluid will be required.
376
Fortran Programs for Chemical Process Design
Conditions of Use 9 If Fauske's method yields a significantly different vent size, then the calculation should be reviewed. 9 The answer obtained from the Leung's method should not be significantly smaller than that from Fauske's method. 9 ICI recommends a safety factor of 1-2 on flow or area. The safety factor associated with the inaccuracies of the flow calculation will depend on the method used, the phase nature of the flow, and the pipe friction. For two-phase flow, use a safety factor of two to account for friction and static head. 9 Choose the smaller of the vent size from the two methods. A systematic evaluation of venting requires information on: 9 9 9 9
the reaction~vapor, gassy, or hybrid. flow r e g i m e ~ f o a m y or nonfoamy. vent f l o w ~ l a m i n a r or turbulent. vent sizing parameters, such as dT/dt, AP/AT, AT.
It is important to ensure that all factors (e.g., long vent lines) are accounted for, independent of the methods used. Designers should ascertain that a valid method is chosen rather than the most convenient or the best one. For ease of use, the Leung's method for vapor pressure systems are rapid and easy. Different methods should give vent sizes with a factor of two. Nomographs give adequate vent sizes for long lines to L/D of 400, but sizes are divisible by two for nozzles. Table 5-6A lists the applicability of both Leung and Fauske's methods.
Nomenclature A = A~ = Ar = C = CD = CLCpd= F = F~ =
vent area, m 2 relief vent area flow area, m 2 specific heat of the material, J/Kg.K coefficient of discharge (CD = 0.6) average liquid specific heat capacity, J/Kg.K specific heat at constant pressure, J/Kg.K vent diameter, mm flow reduction factor correction factor, and for a length of pipe zero, F~= 1.0. As the pipe length increases, the value of F~ decreases.
Instrument Sizing
377
Table 5-6A Applicability of Recommended Vent Sizing Methods
Fauske's Method
Leung's Method 1. The overpressures are limited in the range 0-50% of absolute set pressure, i.e., 0 < AP _<0.5Ps
The overpressures are limited in the range of 10-30% of absolute set pressure, i.e., 0 < AP < 0.3P S. It assumes that flow is turbulent and that the vapor behaves as an ideal gas.
2. The method includes the mass unit vent flow capacity per unit area, G. This allows the user to select any applicable vent capacity calculation method.
The method incorporates the equilibrium rate model for vent flow capacity when friction is negligible. In addition, a correction factor is used for longer vent lines of constant diameter and with negligible static head change.
3. The heat evolution rate per unit mass, the vent capacity per unit area, physical properties (e.g., latent heat of fluid, specific heat and vapor/liquid specific volumes) are constant.
It allows for total vapor-liquid disengagement of fluids that are not "natural" surface active foamers.
4. A hand calculation method that can be used to take account of twophase relief when the materials in the vessel are "natural" surface active foamers.
To account for disengagement, the vessel void fraction at disengagement should be evaluated (i.e., the point at which the vent flow would cease to be two-phase and start to be vapor only).
5. The methods use drift-flux levelswell calculation models to take account of more vapor being in the inlet stream to relief device than the average for the vessel.
The method is potentially unsafe if early disengagement (before the pressure would otherwise have turned over during two-phase venting) occurs.
6. Methods are given for the bubbly and churn-turbulent flow regimes within the vessel.
The criterion for safe use to take account of disengagement is q<
GAhfg vf2 V V f g ( l _ (XD)2 "
However, when disengagement is not accounted for, then otD - 1.0, and the above equation is not required.
378
FortranPrograms for Chemical Process Design F2 GG~ g~ hfg AH v kM Mom~-
flow reduction factor for turbulent flow mass flux through the relief mass vent capacity per unit area, kg/mZs dimensional gravitational constant, 1.0 kg m / N s 2 latent heat, J/kg heat of vaporization of the fluid, J/kg isentropic coefficient mass of liquid in vessel, kg initial mass of liquid in vessel, kg mass of the sample in the RSST, kg Pm- m a x i m u m allowable pressure during venting, bar PMAP-m a x i m u m allowable vessel pressure, psia P~ - relief set pressure, psia P~ - pressure in the upstream vessel, N/m2abs AP - overpressure, bar AP~ - difference between the (reduced) set pressure and the maxim u m pressure allowable, N / m 2 AP 2 - pressure difference, N / m 2 dP/dt - m a x i m u m rate of pressure rise in the test vessel, bar/s dP/dt - measured m a x i m u m rate of pressure rise in the RSTT, lb/in 2 min Q g - volumetric gas generation rate of temperature and pressure in reactor during relief, m3/s Q g l - m a x i m u m rate of gas generation, m3/s q~ - self-heat rate, W / k g q - rate of heat production (W/kg) at the relief set pressure, or an average value between the relief set pressure and the maxim u m permitted pressure if this is more than 120% of the relief set pressure T - temperature corresponding to relief actuation, K T s - absolute saturation temperature of the fluid at the set pressure, K AT - temperature rise corresponding to the overpressure, K A T ~ - temperature difference between that at the m a x i m u m pressure allowable, and that at the redefined set pressure, k. Atv - venting time (dT/dt)~- rate of temperature rise corresponding to the relief set pressure, K/s V - reactor volume, m 3 = total vessel volume, m 3 Vfg - difference between vapor and liquid specific volume, m3/kg
Instrument Sizing vf = V G= VLW = x= cz = ~D ~o = 9 = 9f = Pr =
379
liquid specific volume, m3/kg. specific volume of gas, m3/kg. specific volume of liquid, m3/kg. required relief rate, kg/s mass fraction of vapor at inlet void fraction in vessel vessel void fraction corresponding to complete vapor disengagement initial free board volume density, kg/m 3 liquid density, kg/m 3 density of the reactants, kg/m 3 P R O B L E M S AND S O L U T I O N S
Problem 5.1 Orifice Sizing for Liquid Flow Calculate the size of an orifice for the bore of a flange-tapped orifice required to measure 12.84 ft3/min of gasoline in a 2-inch schedule 80 pipe. Design data: Internal pipe diameter (I.D.) = Normal differential pressure = Flowing temperature = Density of gasoline = Viscosity of gasoline = Assuming the coefficient of discharge C D Fa -
1.939 inches 64 in H 2 0 80.5~ 42.26 lb/ft 3 0.6 cP 0.62 1.0
Orifice Sizing for Gas Flow Determine the size of an orifice to give a full-scale reading of 20 in. H20 for 0.25 lb/s flow of gas through a 4-inch (I.D = 4.026) schedule 40
pipe. The upstream gas density is 0.075 lb/ft 3, viscosity of the gas is 0.0219 cP, the specific heat ratio, k, is 1.4, and the upstream pressure is 14.7 psi.
Solutions The computer program P R O G 5 1 calculates the orifice size for liquid and gas services. Tables 5-7 and 5-8 show the input data and results of the liquid and gas orifice calculations. For the liquid service of gasoline,
380
Fortran Programs for Chemical Process Design Table 5-7 Orifice Sizing for Liquid Flow: Program Inputs and Outputs
DATA51.DAT LIQUID INCH-H20 1.939 64.0 42.26 12.84
0.6 ORIFICE
SIZING
FOR LIQUID
FLOW
T Y P E OF FLOW: T Y P E OF P R E S S U R E DROP: I N T E R N A L P I P E D I A M E T E R , inch: O R I F I C E P R E S S U R E DROP, i n c h - H 2 0 : O R I F I C E P R E S S U R E DROP, psi: LIQUID DENSITY, ib/ft^3: L I Q U I D V I S C O S I T Y , cP: L I Q U I D V O L U M E T R I C RATE, f t ^ 3 / m i n . : L I Q U I D M A S S RATE, ib/sec.: O R I F I C E SIZE, inch: REYNOLDS NUMBER:
LIQUID INCH-H20 1.939 64.000 2.308 42.260 .6000 12.840 9.044 1.501 176582.
Table 5-8 Orifice Sizing for Gas Flow: Program Inputs and Outputs DATA51.DAT GAS INCH-H20 4.026 14.7 1.4 0.075 0.0219 20.0 0.25 ORIFICE
SIZING
FOR GAS FLOWS
T Y P E OF FLOW: T Y P E OF P R E S S U R E DROP: I N S I D E P I P E D I A M E T E R , inch: U P S T R E A M P R E S S U R E , psia.: O R I F I C E P R E S S U R E DROP, I N C H - H 2 0 : O R I F I C E P R E S S U R E DROP, psi.: S P E C I F I C H E A T R A T I O (k=Cp/Cv): U P S T R E A M F L U I D D E N S I T Y , ib/ft^3: G A S V I s c O s I T Y , cP: G A S F L O W RATE, f t ^ 3 / m i n . : G A S M A S S RATE, i b / s e c . : EXPANSION FACTOR: O R I F I C E D I A M E T E R , inch: F U L L S C A L E G A S F L O W R A T E , ib/sec.: REYNOLDS NUMBER:
GAS INCH-H20 4.026 14.700 20.000 .721 1.4000 .075 .0219 200.000 .250 .0409 1.811 .25O 64410.
the orifice diameter at the liquid flow rate of 12.84 ft3/min and pipe diameter of 1.939 in. is 1.501 in. For the gas flow rate of 0.25 lb/s and pipe internal diameter of 4.026 in., the orifice size is 1.811 in. Problem 5.2 ( 1) Determine the control valve capacity coefficient, C v, for the following liquid flow conditions"
Instrument Sizing F l o w - 400 gpm
P 1 - 150 psia
P 2 - 125 psia
381
SpGr~- 1.0
(2) Calculate the control valve coefficient for gas flow under the following conditions" Flow - 1200 ft3/h P~ - 550 psia P2 - 150 psia SpGrg - 0.6 T - 100~ (3) Calculate the steam flow through a valve with a capacity coefficient, C v - 75, under the following conditions" ~ superheat - 0
P~ - 70 psia
P2 - 60 psia
Solutions The computer program PROG52 calculates the control valve capacity coefficient (Cv) or the maximum flow rate that will pass through the valve. Table 5-9 shows the input data and results of the control valve calculations for liquid, gas, and steam conditions. For the liquid service, at a flow rate of 400 gpm and the control valve pressure drop of 25 psi, the control valve capacity coefficient (Cv) is 80. The gas service with a flow rate of 1200 ft3/h, and control valve pressure drop of 400 psi gives the control valve capacity coefficient (Q) of 0.059. For the steam condition of capacity coefficient (Q) = 75, and the control valve pressure drop of 10 psi, the maximum steam flow rate through the valve is 5511.4 lb/hr. Problem 5.3 (1) In a biological plant, ammonia is used to control the pH during fermentation to obtain maximum yield of the product. For this purpose, liquid ammonia is vaporized by passing steam through a coil in a vaporizer. A relief valve from the vaporizer is set at a pressure of 290 psig. If the relieving rate of ammonia vapor is 620 lb/hr, determine the size of the relief valve required to relieve ammonia vapor during an emergency. Design data are: Ratio of specific heat capacities ( C p / C v ) Molecular weight of ammonia Critical Pressure, Pc Critical Temperature, T c Constants in Antoine's equation: A B C
-
= = = = =
1.33 17.03 111.3 atm 405.6 K 16.9481 2132.5 -32.98
382
Fortran Programs for Chemical Process Design Table 5-9 Control Valve Sizing for Liquid, Gas and Steam Conditions- Program Inputs and Outputs
DATA52.DAT LIQUID 4OO.0 0.0 150.0 125.0 1.0 GAS 1200.0 0.0 550.0 150.0 0.6 STEAM 75.0 70.O 6O.O 0.0
i00.0
C O N T R O L V A L V E S I Z I N G FOR L I Q U I D S E R V I C E **************************************************************************** F L U I D SERVICE: L I Q U I D F L O W R A T E , gpm: LIQUID SPECIFIC GRAVITY: I N L E T P R E S S U R E , psia: O U T L E T P R E S S U R E , psia: C O N T R O L V A L V E P R E S S U R E DROP, psi: CONTROL VALVE CAPACITY COEFFICIENT:
LIQUID 400.00 1.000 150.000 125.000 25.000 80.000
C O N T R O L V A L V E S I Z I N G FOR GAS S E R V I C E *************************************************************************** FLUID SERVICE: GAS F L O W RATE, f t ^ 3 / h r . : SPECIFIC GRAVITY: I N L E T P R E S S U R E , psia: O U L E T P R E S S U R E , psia: C O N T R O L V A L V E P R E S S U R E DROP, psi: I N L E T T E M P E R A T U R E , oF: CONTROL VALVE CAPACITY COEFFICIENT:
GAS 1200.000 .600 550.000 150.000 400.000 i00.000 .059
CONTROL VALVE SIZING FOR STEAM SERVICE *************************************************************************** F L U I D SERVICE: STEAM C A L C U L A T E D S T E A M F L O W RATE, ib/hr.: 5511.352 D E G R E E OF S U P E R H E A T , oF: .000 I N L E T P R E S S U R E , psia: 70.000 O U T L E T P R E S S U R E , psia: 60.000 C O N T R O L V A L V E P R E S S U R E DROP, psi: i0.000 CONTROL VALVE CAPACITY COEFFICIENT: 75.000
(2) A bellow style pressure relief valve is required to protect a vessel containing an organic liquid. The required relieving capacity is 310 gpm. Inlet temperature is 170~ Set pressure is 100 psig. Allowable overpressure is 25%. Built-up back pressure is 25 psig. Specific gravity is 1.45 and viscosity is 3,200 cE Determine the orifice size of the valve. The correction factors are: Kv - l . 0
Kw - 0 . 9 2 5
Kd - 0 . 6 5
Instrument Sizing
383
(3) Calculate the required area for the relief valve for a horizontal, noninsulated storage tank exposed to fire and containing liquid vinyl chloride monomer. The tank dimensions are shown in Figure 5-14, with the design pressure of 100 psig. Discharge from the relief valve will be vented to a gas holder operating at 0.5 psig. A 20% accumulation is assumed over the design pressure. Average inventory of the tank contents will equal 75% of the vessel's inside diameter.
Solutions The computer program PROG53 sizes relief valves for vapor, steam, liquid, air, and fire conditions. Tables 5-10 and 5-11 show the input data and results of the vapor and liquid services. The results of the relief valve sizing of an ammonia vaporizer at the relieving rate of 620 lb/hr and a set pressure of 290 psig, indicate that the calculated orifice area is 0.030 in 2. The nearest standard orifice size is D with an orifice area of 0.110 in 2. The relief valve calculations for the organic liquid at the relieving rate of 310 gpm and a set pressure of 100 psig give the calculated orifice area of 2.233 in 2. The nearest standard orifice size is L, with an orifice area of 2.853 in 2.
[. . . . [-
20ft
:
:[
I
V e n t to gas holder Valve
10ft.
Uninsulated tank
Grade
\\ Figure 5-14. A horizontal, non-insulated storage tank.
Table 5-10 Relief Valve Sizing for Vapor Service" Program Inputs and Outputs DATA53.DAT VAPOR 620.0 i0.0 0.84 1.31
290.0 133.4 17.03 VAPOR RELIEF
VALVE
SIZING
B A S I S OF S E L E C T I O N : R E Q U I R E D V A P O R RATE, ib/hr.: V A L V E S E T P R E S S U R E , psig: P E R C E N T A G E IN O V E R P R E S S U R E , (%): U P S T R E A M F L U I D T E M P E R A T U R E , DEG. F: C O M P R E S S I B I L I T Y FACTOR: M O L E C U L A R W E I G H T OF V A P O R : R A T I O OF S P E C I F I C H E A T S OF FLUID: G A S C O N S T A N T D E T E R M I N E D BY R A T I O OF Cp/Cv: C A L C U L A T E D V A L V E O R I F I C E AREA, in^2: N E A R E S T S T A N D A R D O R I F I C E AREA, in^2: N E A R E S T S T A N D A R D O R I F I C E SIZE: P R E F E R R E D V A L V E B O D Y SIZE: (IN-OUT) inches: M A X I M U M V A P O R F L O W R A T E W I T H STD. O R I F I C E , Ib/hr.: R E A C T I O N FORCE, ib:
VAPOR 620. 290.000 i0.000 133.400 .8400 17.030 1.310 347.913 .030 .ii0 1-2 2302. 28.
Table 5-11 Relief Valve Sizing for Liquid Service" Program Inputs and Outputs DATA53.DAT LIQUID 310.0 i00.0 25.0 1.45 3200.0 1.0 0.925 0.65 RELIEF
VALVE
SIZING
FOR L I Q U I D
B A S I S OF S E L E C T I O N : L I Q U I D F L O W R A T E , US gpm: V A L V E SET P R E S S U R E , psig: B A C K P R E S S U R E O N VALVE, psig: FLUID SPECIFIC GRAVITY: F L U I D V I S C O S I T Y , cP: V I S C O S I T Y C O R R E C T I O N F A C T O R , Kv: B A C K P R E S S U R E C O R R E C T I O N FACTOR, Kw: E F F E C T I V E C O E F F I C I E N T OF D I S C H A R G E , Kd: C A L C U L A T E D V A L V E O R I F I C E AREA, in^2: N E A R E S T S T A N D A R D O R I F I C E AREA, in^2: N E A R E S T S T A N D A R D O R I F I C E SIZE: P R E F E R R E D V A L V E B O D Y SIZE, (IN-OUT) inches: M A X I M U M L I Q U I D F L O W R A T E W I T H STD. O R I F I C E , gpm: V I S C O S I T Y C O R R E C T I O N FACTOR: REYNOLDS NUMBER: C A L C U L A T E D V A L V E O R I F I C E AREA, in^2: N E A R E S T S T A N D A R D O R I F I C E AREA, in^2: N E A R E S T S T A N D A R D O R I F I C E SIZE: P R E F E R R E D V A L V E B O D Y SIZE, (IN-OUT) inches: M A X I M U M L I Q U I D F L O W R A T E W I T H STD. O R I F I C E , gpm:
384
LIQUID 310. i00.000 25.O0O 1.450 3200.0000 1.0000 .9250 .650 1.772 1.838 3-4 322. .794 290. 2.233 2.853 3-4 or 4-6 396.
Instrument Sizing
385
Fire Relief Valve Sizing The wetted surface for the vessel equals the wetted area of the two heads plus that of the cylindrical section. Thus: 2
Aw _- 27t(yD~ 4
+ D2L//;
where y = the fraction of the vessel's internal diameter (ID) that is equivalent to average liquid inventory. D~ = diameter of circular blank from which head is shaped (D 1will depend on the type of head). D 2 = y times the ID of the tank. L = tangent-to-tangent length of the cylindrical section. Dl= llft Therefore, the wetted surface area is" 2rt[(0.75)(11)] 2 A
w
-
+ rt(0.75)(10)(20)
A w - 578.15ft 2 The relieving temperature at the set pressure plus 20% accumulation plus 14.7 psia = 135~ At this temperature, the latent heat of vaporization is 116 Btu/lb. Molecular weight of vinyl chloride, M w = 62.5. Ratio of specific heat capacities, k = 1.17. The critical properties of vinyl chloride are: Pc - 809 psia T c - 313.7~ Pr -
P/Pc - 134.7/809 - 0.165
T r - T/T c - (135 + 460)/(313.7 + 460) - 0.77 From a compressibility factor chart, Z = 0.86. The rate of heat input due to fire and flow rate of the vapor release can be determined by Equations 5-53 and 5-45. Table 5-12 gives the input data and results of vinyl chloride monomer. The results show that the calculated relief valve orifice area is 2.172 in 2. The nearest standard orifice size is L, with an orifice area of 2.853 in 2.
386
Fortran Programs for Chemical Process Design
Table 5-12 Relief Valve Sizing for Fire Service- Program Inputs and Outputs DATA53.DAT FIRE 1.0 578.15 116.0 100.0 20.0 135.0 0.86 62.5 1.17 FIRE RELIEF
VALVE
SIZING
BASIS OF SELECTION: ENVIRONMENTAL FACTOR: W E T T E D S U R F A C E A R E A O F V E S S E L , ft^2: LATENT HEAT OF VAPORIZATION, Btu/ib: V A L V E S E T P R E S S U R E , psig: PERCENTAGE OF OVERPRESSURE, (%): F L U I D T E M P E R A T U R E , DEG. F: FLUID COMPRESSIBILITY FACTOR: FLUID MOLECULAR WEIGHT: RATIO OF SPECIFIC HEATS OF FLUID: G A S C O N S T A N T D E T E R M I N E D BY R A T I O O F C p / C v : VAPOR RELIEF FLOW RATE, ib/h.: C A L C U L A T E D V A L V E O R I F I C E A R E A , in^2: N E A R E S T S T A N D A R D O R I F I C E A R E A , in^2: N E A R E S T S T A N D A R D O R I F I C E SIZE: P R E F E R R E D V A L V E B O D Y S I Z E , ( I N - O U T ) inches: M A X I M U M V A P O R F L O W R A T E W I T H STD. O R I F I C E ib/hr.: R E A C T I O N F O R C E , ib:
FIRE 1.000 578.150 116.000 I00.000 20.000 135.000 .860 62.500 1.170 334.173 33315. 2.172 2.853 3-4 o r 4-6 43760. 271.
Problem 5.4 Determine the vent size for a vapor pressure system using the following data and physical properties. Reactor Parameters Volume, V - 10 m 3 Mass, M - 8,000 kg Vent opening pressure- 15 bara = 217.5 psia Temperature at set pressure T ~ - 170~ = 443.15K Overpressure allowed above operating pressure- 10% = 1bar (105 Pa) Material Properties Specific heat, C p - 3000 J/kg.K Slope of vapor pressure and temperature curve dP/dT - 20,000 Pa/K
Instrument Sizing
387
Rate of Reaction
AT - dP/20,000 - 105/20,000 - 5K Rate at set pressure, (dT/dt) s - 6.0 K/min Rate at maximum pressure - 6.6 K/min Average rate - 6.3 K/min = 0.105 K/s Solution
Using Fauske's nomograph of Figure 5-12 at a self heat rate of 6.3 K/ min. and a set pressure of 217.5 psia, the corresponding vent area per 1,000 kg of reactants = 0 . 0 0 0 8 m 2. The vent area of 8,000 kg reactants = 0.0064m 2 The vent size d
-
(4Area) ~
-
90.27 mm
( 3 . 6 in. )
If Figure 5-12 is applicable for F=0.5, then for F= 1.0, the area is A-(0.0064m2)
~0 " 5
_0.0032
m 2
The area assumes a 20% absolute overpressure. The result can be adjusted for other overpressures by multiplying the area by a ratio of 20/(new absolute percent overpressure). Using the Leung's method: Assuming L/D - 0, F - 1.0 Two-phase mass flux from Equation 5-58 G-(0.9)(1.0)(20,000)(
= 6918.1
1" 0 ~x 443" 15)
kg m.s 2
Rate of heat generation: q dT( J.K q - Cp-~ ~
)
W_315W - (3,000)(0.105) kg k---g
Fortran Programs for Chemical Process Design
388
From Equation 5-63, the vent area, A, is: 8,000 x 315
A .__
0.5
6918.1{( 10 8,000
x 443.15 x 20,000 /
/ 2
+ (3' 000 x 5.0)~
A = 7.024 x 10 -3 m2 d = 9 4 . 5 6 m m (3.72 in. ) The vent size is about 4.0 in. Using the Fauske's method: Assuming ~z = 1.0, ~0 = 0.0, F = 1.0 AP = 1 bar = 105N/m 2 From Equation 5-68, the vent area, A, is 1
A --- ~ 9
(8, ooo)(o. o5)(1 - o)
2
(1.0)
443.15 / 0.5 05 31()-0-6 ( 1 ) ( 1
- 0)
A = 1 0 . 9 2 7 x 1 0 -3m 2 d = 117.95mm (4.64 in. ) References
1. Miller, R.W., "Flow Measurement Engineeing Handbook," McGrawHill Book Co., New York, 1983. 2. Perry, R.H., et. al., Perry's Chemical Engineers'Handbook, 6th ed., McGraw-Hill Book, Co., 1984. 3. Buckingham, E., "Notes on the Orifice Meter: the Expansion Factor for Gases," J. Res. Nat. Burr, Stand., 1932, Vol 9., p. 61. 4. Mink, W.H., "Program Calculates Orifice Sizes for Gas Flows," Chem. Eng., Aug. 25, 1980, Vol. 87, No. 17, p. 91. 5. Langford, C.G., "Installing, Maintaining and Troubleshooting Control Valves," Chem. Eng., September 5, 1983, pp. 101-103.
Instrument Sizing
389
6. Driskell, L., "Predicting Flow Through Control Valves," Chem. Eng. September 5, 1991, pp. 94-28. 7. Collins, S., "How to Size, Specify and Apply Control Valves," Power, January, 1991, pp. 25-28. 8. Monsen, J.F., "Program Sizes Control Valves for Liquids," Chem. Eng. May 18, 1981, pp. 159-163. 9. Kern, R., "Control Valves in Process Plants," Chem. Eng., April 14, 1975, pp. 85-93. 10. Blackwell, W.W., "Chemical Process Design on a Programmable Calculator," McGraw-Hill Book Co., N.Y., 1984. 11. Coker, A.K., "Size Relief Valves Sensibly," Chem. Eng. Prog., August, 1992, pp. 20-27. 12. Sizing, Selection, and Installation of Pressure-Relieving Devices in Refineries: Part l~Sizing and Selection, API Recommended Practice 520 5th ed., American Petroleum Institute, Washington, D.C., 1990. 13. Crozier, Jr., R.A., "Sizing Valves for Fire Emergencies," Chem. Eng., Oct 28, 1985, p. 49. 14. Coker, A.K., "Size Relief Valves Sensibly~Part 2," Chem. Eng. Prog., Nov., 1992, pp. 94-102. 15. Boyle, W.J., "Sizing Relief Area for Polymerization Reactors," Chem. Eng. Prog., 63 (8), 1967, p. 61. 16. Huff, J.E., "C.E.E Loss Prevention Technical Manaul," 7, 1973. 17. Fisher, H.G., "An Overview of Emergency Relief System Design Practice," Plant/Operations Progress, 10 (1), Jan. 1991, pp. 1-12. 18. Fauske, H.K., "Generalized Vent Sizing Monogram for Runaway Chemical Reactions," Plant~Operations Progress, Vol. 3, No.4, October 1984. 19. Crowl, D.A. and J.E, Louvar, Chemical Process Safety Fundamental with Applications, Prenctice-Hall, Inc., New Jersey, 1990. 20. Leung, J.C., "Simplified Vent Sizing Equations for Emergency Relief Requirements in Reactors and Storage Vessels," AIChEJ., 32 (10), 1986, pp. 1622-1633. 21. Leung, J.C. and H.K. Fauske, Plant~Operations Progress, 6 (2), 1987, pp. 77-83. 22. Duxbury, H.A. and A.J. Wilday, "The Design of Reactor Relief Systems," Trans. IChemE., Vol 68, Part B, Feb, 1990, pp. 24-30.
PROGRAM
PROG51
ORIFICE SIZING FOR FLUID FLOWS. THIS PROGRAM CALCULATES AN ORIFICE DIAMETER FOR BOTH LIQUID AND GAS FLOWS USING FULL-SCALE FLOWRATES IN E I T H E R I b / s . O R f t ^ 3 / m i n . A N D T H E FULL-SCALE P R E S S U R E D R O P S IN E I T H E R PSI. OR INCH-H20. THE PROGRAM APPLIES TO CORNER, FLANGE, VENA-CONTRACTA, AND 1/2 DIAMETER TAPS.
ACFM CD D OD FA
= = = = =
FULL-SCALE FLOWRATE AT UPSTREAM CONDITIONS, ft^3/min. COEFFICIENT OF DISCHARGE. INSIDE PIPE DIAMETER, inch. ORIFICE DIAMETER FOR FULL-SCALE PRESSURE DROP, inch. AREA THERMAL-EXPANSION FACTOR. ACCOUNTS FOR THE EXPANSION OF THE ORIFICE WITH TEMPERATURE CHANGES. Hw = FULL-SCALE ORIFICE PRESSURE-DIFFERENTIAL. INCH-H20 AT 68oF. K = SPECIFIC HEAT RATIO (CONSTANT PRESSURE TO CONSTANT VOLUME). G = FULL-SCALE FLOWRATE, ib/s. UP = UPSTREAM PRESSURE, psia. DELP = FULL-SCALE ORIFICE PRESSURE-DIFFERENTIAL, psi. Y = EXPANSION FACTOR. BETA = RATIO OF ORIFICE DIAMETER TO PIPE INTERNAL DIAMETER. DEN = UPSTREAM FLUID DENSITY, Ib/ft^3. CHOICE = DETERMINES W H E T H E R T H E O R I F I C E P R E S S U R E D R O P IS P S I OR INCH-H20. FLOW = CHECKS WHETHER THE FLOW CONDITION IS L I Q U I D O R G A S . *********************************************************************** CHARACTER*I0 REAL
K,
ID,
CHOICE, OD,
COMMON/DATAI/FLOW,
L, F M A S S CHOICE
OPEN OPEN
='DATA51.DAT', ='PRN')
(UNIT=3, (UNIT=l,
FILE FILE
CHECK WHETHER INCH-H20. CHOOSE
TYPE
R E A D (3, 5, FORMAT (A)
i0
IF
(FLOW
GO
TO
N,
FLOW
THE
OF
DATA
FLOW
ERR=I9)
.EQ.
FOR
FOR
THE
SIZING
STATUS
ORIFICE
='OLD',
PRESSURE
ERR=IS)
DROP
(LIQUID/GAS)
FLOW
'LIQUID'
.OR.
FLOW
.EQ.
'liquid')
THEN
20
ELSEIF ENDIF
(FLOW
CHOOSE
TYPE
R E A D (3, I0, F O R M A T (A)
.EQ.
OF
'GAS'
PRESSURE
ERR=I9)
.OR.
FLOW
DROP.
CHOICE
390
.EQ.
'gas')
THEN
IS P S I .
OR
= = = = =
D UP K DEN VISG
READ READ READ
IF
(3, (3, (3,
P I P E I N T E R N A L D I A M E T E R , inch. THE UPSTREAM PRESSURE, psia. T H E R A T I O OF S P E C I F I C H E A T C A P A C I T I E S , THE GAS DENSITY, ib/ft^3. T H E G A S V I S C O S I T Y , cP.
*, E R R = I 9 ) *, E R R = I 9 ) *, E R R = I 9 )
(CHOICE
.EQ.
THE ORIFICE IN Ib/s.
READ
(3,
PRESSURE
*, E R R = I 9 )
CALCULATE CALCULATE
D, U P K, D E N VISG
'INCH-H20'
READ RATE
Cp/Cv.
.OR. DROP
DELP2,
CHOICE
.EQ.
IN I N C H - H 2 0
'inch-H20') AND THE
FLUID
THEN FLOW
G2
T H E O R I F I C E P R E S S U R E D R O P IN PSI. T H E G A S F L O W R A T E IN f t ^ 3 / m i n .
DELPI=0.036063*DELP2 Sl = ( G 2 * 6 0 . 0 ) / D E N GO TO
25
ELSEIF
'PSI'
.OR.
CHOICE
.EQ.
READ THE ORIFICE PRESSURE F L O W R A T E IN f t ^ 3 / m i n .
DROP
IN PSI.
AND THE GAS
READ
(CHOICE
(3,
.EQ.
*, E R R = f 9 )
DELPI,
'psi')
THEN
G1
G A S F L O W R A T E , (G2) IN I b / s e c . O R I F I C E P R E S S U R E D R O P (DELP2)
IN I N C H - H 2 0
G2 = ( G I * D E N ) / 6 0 . 0 DELP2 = 27.72925*DELPI ENDIF G O TO
20 30
25
R E A D (3, 30, F O R M A T (A) IF
(CHOICE
ID DELP DEN Q VISL
= =
= = =
ERR=I9)
.EQ.
CHOICE
'INCH-H20'
.OR.
CHOICE
.EQ.
P I P E I N T E R N A L D I A M E T E R , inch. O R I F I C E P R E S S U R E DROP, I N C H - H 2 0 LIQUID DENSITY, ib/ft^3. LIQUID FLOWRATE, ft^3/min. L I Q U I D V I S C O S I T Y , cP.
391
'inch-H20')
THEN
READ READ
(3, (3,
*, *,
CALCULATE CALCULATE DELPI FMASS CALL
ERR=I9) ERR=I9)
ID, D E L P DEN, Q, V I S L
THE ORIFICE PRESSURE THE LIQUID FLOW RATE
D R O P IN PSI. IN I b / s e c .
= O.036063*DELP = (Q*DEN)/60.O
LIQUIDF
(ID,
DELP,
DELPI,
DEN,
Q,
FMASS,
VISL)
G O T O 999 ELSEIF
(CHOICE
ID DELPI DEN FMASS VISL
READ READ
= = = = =
(3, (3,
CALCULATE CALCULATE
.EQ.
'PSI'
.OR.
CHOICE
.EQ.
P I P E I N T E R N A L D I A M E T E R , inch. ORIFICE DIFFERENTIAL PRESSURE, LIQUID DENSITY, ib/ft.^3. LIQUID FLOW RATE, ib/sec. L I Q U I D V I S C O S I T Y , cP.
*, E R R = I g ) *, E R R = I 9 )
ID, D E L P I DEN, F M A S S ,
THE ORIFICE PRESSURE THE LIQUID FLOW RATE
'psi')
THEN
PSI.
VISL D R O P IN I N C H - H 2 0 IN f t ^ 3 / m i n .
DELP = 27.72925*DELPI Q = (FMASS*60.0)/DEN
CALL
LIQUIDF
(ID,
DELP,
DELPI,
DEN,
Q,
FMASS,
ENDIF GO TO
999
i00
W R I T E (*, i00) FORMAT (3X,'DATA
19 ii0
G O T O 999 W R I T E (*, 1107 FORMAT (3X,'ERROR
18
FILE
DOES
MESSAGE
NOT
EXIST')
IN T H E
G O T O 999
25
N = 1.0-(0.41*DELPI)/(UP*K) T = (0.35*DELPI)/(UP*K)
S R T = ( D E N * D E L P I )* ' 0 . 5 L = G2/(0.3255*(D**2)*SRT) P = (2.0*N)/T Q =
(N**2+L**2)/(T*T)
392
DATA VALUE')
VISL)
R=-(L**2)/(T*T) A = B =
(3.0*Q-(P*P))/3.0 ((2.0*(P**3))-(9.0*P*Q)+(27.0*R))/27.0
SUM1
=
(((B**2)/4.0)+((A**3)/27.0))**0.5
VALI
=
(-B/2.0+SUMI)**(I.0/3.0)
Y = VALI
+
((-B/2-SUMI)**(I.0/3.0))
Y = ABS(Y-(2.0*N)/(3.0*T)) OD = D * ( Y * * 0 . 2 5 ) USING THE ORIFICE DIAMETER, CHECK WHETHER R A T E IS THE SAME AS T H E I N I T I A L GAS RATE. CALCULATE BETA Y1 = FA = CD =
THE E X P A N S I O N
FACTOR,
THE C A L C U L A T E D
GAS
Y1
= OD/D 1.0-(0.41+0.35*(BETA**4))*(DELPI/(UP*K)) 1.0 0.62
VALI = ( 1 . 0 - ( B E T A * * 4 ) ) * * 0 . 5 G = 0.52502*CD*YI*(OD**2)*FA*SRT GR = G / V A L I
CALCULATE REG =
THE R E Y N O L D S
NUMBER
(6.31*3600.0*G2)/(D*VISG)
120
W R I T E (i, 120) FORMAT (25X,'ORIFICE
130
W R I T E (i, 1 3 0 ) F L O W F O R M A T ( 5 X , ' T Y P E OF FLOW:',
140
W R I T E (i, 140) C H O I C E F O R M A T ( 5 X , ' T Y P E OF P R E S S U R E
150 * *
* * * * * *
160
SIZING
FOR GAS
T65,
FLOWS',
/IH
,76(IH*))
A)
DROP:',
T65,
A)
W R I T E (i, 150) D, UP, DELP2, DELPI, K, DEN, VISG, GI, G2 F O R M A T ( 5 X , ' I N S I D E P I P E D I A M E T E R , inch:', T65, F8.3,/, 5 X , ' U P S T R E A M P R E S S U R E , p s i a . : ' , T65, F8.3,/, 5 X , ' O R I F I C E P R E S S U R E DROP, I N C H - H 2 0 : ' , T65, F8.3,/, 5 X , ' O R I F I C E P R E S S U R E DROP, p s i . : ' , T65, F8.3,/, 5 X , ' S P E C I F I C H E A T R A T I O ( k = C p / C v ) : ' , T65, F8.4,/, 5 X , ' U P S T R E A M F L U I D D E N S I T Y , ib/ft^3: ' , T65, F8.3,/, 5 X , ' G A S V I S C O S I T Y , cP:', T65, F8.4,/, 5 X , ' G A S F L O W RATE, f t ^ 3 / m i n . : ' , T65, F8.3,/, 5 X , ' G A S M A S S RATE, i b / s e c . : ' , T65, F8.3) W R I T E (i, 160)Y, OD, GR, R E G F O R M A T ( 5 X , ' E X P A N S I O N F A C T O R : ' , T65, F8.4,/, 5 X , ' O R I F I C E D I A M E T E R , inch:', T65, F8.3,/, 5 X , ' F U L L S C A L E GAS F L O W R A T E , i b / s e c . : ' , T65,
393
F8.3,/,
5X, ' R E Y N O L D S
170
FI2.0)
W R I T E (i, 170) F O R M A T (IH , 7 6 ( I H - ) )
FORM
999
N U M B E R : ' , T65,
FEED
THE *)
PRINTING
WRITE
(i,
CLOSE CLOSE
(UNIT=3, (I)
PAPER
TO T H E
TOP
OF N E X T
PAGE.
CHAR(12) STATUS='KEEP')
STOP END ************************************************************ THE FORMULA F L O W IS:
FOR
CALCULATING
THE
ORIFICE
PLATE
FOR
LIQUID
M = 0.52502((Cd.Y.d^2.Fa)(SQRT(DEN.DELP)/(SQRT(I-(DO/D)^4) WHERE FOR LIQUID FLOW, Cd=0.62, Fa=l.0 AND Y=I.0 DO = ORIFICE DIAMETER D = PIPE INTERNAL DIAMETER DEN = D E N S I T Y OF L I Q U I D , I b / f t ^ 3 . D E L P = P R E S S U R E D R O P A C R O S S T H E O R I F I C E , i n c h - H 2 0 O R psi. M = M A S S F L O W R A T E , ib/s. ************************************************************ SUBROUTINE
LIQUIDF
(ID,
CHARACTER*I0 FLOW, COMMON/DATAI/FLOW, R E A L ID, O D
CALCULATE
THE
DELP,
DELPI,
DEN,
Q,
FMASS,
VISL)
CHOICE CHOICE
ORIFICE
DIAMETER,
inch.
PRESSURE DROP ACROSS THE ORIFICE (DELPI), LIQUID FLOW RATE (FMASS), ib/sec.
PSI.
Z = (0.52502*0.62*(DEN*DELPI)**0.5)/FMASS RATIO = (ID**4)/(I+((ID**4)*(Z**2))) OD = RATIO**0.25 CALCULATE REL
=
PRINT
THE
REYNOLDS
NUMBER,
REL
(6.31*3600.0*FMASS)/(ID*VISL) THE
RESULTS
OF
ORIFICE
180
W R I T E (i, 180) F O R M A T (20X, ' O R I F I C E
190
W R I T E (I, 190) F L O W F O R M A T ( L X , ' T Y P E OF
200
W R I T E (i, 2 0 0 ) C H O I C E F O R M A T ( L X , ' T Y P E OF P R E S S U R E
SIZING
FLOW:',
SIZING
FOR
T65,
FOR
LIQUID
FLOW.
LIQUID
FLOW',
/IH
A)
DROP:',T65,
394
A)
,76(IH*))
210 * *
* *
* * * *
220
WRITE (i, 210) ID, DELP, DELPI, DEN, VISL, Q, FMASS, OD, REL FORMAT (SX,'INTERNAL PIPE DIAMETER, inch:', T65, F8.3,/, 5X,'ORIFICE PRESSURE DROP, inch-H20:',T65,F8.3,/, 5X,'ORIFICE PRESSURE DROP, psi:', T65, F8.3,/, 5X,'LIQUID DENSITY, ib/ft^3: ' , T65, F8.3,/, 5X,'LIQUID VISCOSITY, cP:', T65, F8.4,/, 5X,'LIQUID VOLUMETRIC RATE, ft^3/min.:',T65,FS.3,/, 5X,'LIQUID MASS RATE, ib/sec.:', T65, F8.3,/, 5X,'ORIFICE SIZE, inch:',T65, F8.3,/, 5X,'REYNOLDS NUMBER:', T65, FI2.0) WRITE (i, 220) FORMAT (IH ,76(IH-)) FORM FEED THE PRINTING PAPER TO TOP OF THE NEXT PAGE. WRITE (i, *) CHAR(12) RETURN END
395
PROGRAM
PROG52
THIS PROGRAM CALCULATES THE CONTROL VALVE CAPACITY COEFFICIENT (Cv) O R M A X I M U M F L U I D R A T E F O R L I Q U I D , V A P O R A N D S T E A M IN P R O C E S S OPERATIONS. IF T H E C O N T R O L - V A L V E COEFFICIENT(Cv) IS A L R E A D Y K N O W N , THE PROGRAM WILL CALCULATE THE MAXIMUM FLUID FLOW RATE (LIQUID, VAPOR OR STEAM) THAT CAN PASS THROUGH THE VALVE FOR A GIVEN SET OF PROCESS CONDITIONS. TO C O M P U T E T H E F L U I D F L O W F O R L I Q U I D , G A S A N D S T E A M C O N D I T I O N S , V A L U E S O F T H E V A L V E C A P A C I T Y C O E F F I C I E N T M U S T BE K N O W N (i.e. Cv>0) ******************************************************************* Cv DELP V SPL Q SPG P1 P2 T W K
= = = = = = = = = = =
CAPACITY COEFFICIENT FOR FULLY OPEN VALVE C O N T R O L V A L V E P R E S S U R E DROP, psi. LIQUID FLOW, GPM S P E C I F I C G R A V I T Y OF L I Q U I D G A S F L O W , f t ^ 3 / h @ 1 4 . 7 p s i a a n d 60 oF S P E C I F I C G R A V I T Y OF G A S = (M.W. g a s / M . W , air) INLET PRESSURE, psia OUTLET PRESSURE, psia FLOWING TEMPERATURE, oF STEAM FLOW, ib/h SUPERHEAT CORRECTION FACTOR
CHARACTER*I0 COMMON/DATA1/
CHOICE
COMMON/DATA3/
V, Q, W,
OPEN OPEN
FILE='DATA52.DAT', FILE='PRN')
COMMON~DATA2~
(UNIT=3, (UNIT=l,
PI, P2, D E L P L , SPL, C V L P21, P22, D E L P G , SPG, T, P31, P32, D E L P S , F, C V S
CVG
STATUS='OLD',
ERR=I8)
R E A D (3, 6 ) C H O I C E F O R M A T (A) IF ( C H O I C E .EQ. ' L I Q U I D ' .OR. C H O I C E .EQ. " l i q u i d ' ) T H E N G O T O ii E L S E I F ( C H O I C E .EQ. 'GAS' .OR. C H O I C E .EQ. 'gas') T H E N G O T O 22 E L S E I F ( C H O I C E .EQ. ' S T E A M ' .OR. C H O I C E .EQ. ' s t e a m ' ) T H E N G O T O 33 ENDIF ii
READ(3,*,ERR=IO) READ(3,*,ERR=I0) GO
22
TO
SPL
44
READ(3,*,ERR=IO) READ(3,*,ERR=I0) GO TO
33
V, C V L PI, P2,
Q, C V G P21, P22,
SPG,
T
55
READ(3,*,ERR=I0)
CVS
396
READ(3,*,ERR=I0)
P31,
P32,
F
GO TO 66 WRITE(I,12) F O R M A T ( 3 X , ' F I L E DOES NOT EXIST') WRITE(I,13) GO TO 999 F O R M A T ( 3 X , ' E R R O R MESSAGE IN THE DATA VALUE') GO TO 999
18
12 i0 13 44 I00
WRITE (I, i00) FORMAT (//,20X,'CONTROL IH ,76(1H*)) CALCULATE
VALVE SIZING FOR LIQUID SERVICE',/,
THE CONTROL VALVE FOR LIQUID SERVICE
CALL LIQUID WRITE (i, ii0) CHOICE FORMAT (5X,'FLUID SERVICE:',
ii0
IF (CVL
T60, A)
.GT. 0.0) THEN
WRITE (I, 1 20) V, SPL, PI, P2, DELPL, CVL FORMAT (5X, 'LIQUID FLOWRATE, gpm:', T60, F9.2,/, 5X, 'LIQUID SPECIFIC GRAVITY:', T60, F9.3,/, 5X, 'INLET PRESSURE, psia:', T60, F9.3,/, 5X, 'OUTLET PRESSURE, psia:', T60, F9.3,/, 5X, 'CONTROL VALVE PRESSURE DROP, psi:', T60, F9.3,/, 5X, 'CONTROL VALVE CAPACITY COEFFICIENT:', T60, F9.3)
120
WRITE (I, 130) FORMAT ( 76 ( IH- ) )
130
ELSE 140 * *
* *
* 150
WRITE (i, 140) V, SPL, PI, P2, DELPL, CVL FORMAT (SX,'LIQUID FLOWRATE, gpm:', T60, F9.2,/, 5X,'LIQUID SPECIFIC GRAVITY:', T60, F9.3,/, 5X,'INLET PRESSURE, psia:', T60, F9.3,/, 5X,'OUTLET PRESSURE, psia:', T60, F9.3,/, 5X,'CONTROL VALVE PRESSURE DROP, psi:', T60, F9.3,/, 5X,'CONTROL VALVE CAPACITY COEFFICIENT:', T60, F9.3) WRITE ( i, 150) FORMAT (76 ( IH- ) ) ENDIF GO TO 5
55 160
WRITE (I, 160) FORMAT (//,20X,'CONTROL VALVE SIZING FOR GAS SERVICE',/,76(IH*)) CALCULATE
THE CONTROL VALVE FOR GAS SERVICE.
397
CALL GAS WRITE (I, 170) CHOICE FORMAT (5X,'FLUID SERVICE:',
170
IF (CVG 180 * * *
* *
*
T60, A)
.GT. 0.0) THEN
WRITE (i, 180) Q, SPG, P21, P22, DELPG, T, CVG FORMAT (5X,'GAS FLOW RATE, ft^3/hr.: ' , T60, F9.3,/, 5X,'SPECIFIC GRAVITY:', T60, F9.3,/, 5X,'INLET PRESSURE, psia:', T60, F9.3,/, 5X,'OULET PRESSURE, psia:', T60, F9.3,/, 5X,'CONTROL VALVE PRESSURE DROP, psi:', T60, F9.3,/, 5X,'INLET TEMPERATURE, oF:', T60, F9.3,/, 5X,'CONTROL VALVE CAPACITY COEFFICIENT:', T60, F9.3) ELSE
190 * * *
* *
*
WRITE (i, 190) Q, SPG, P21, P22, DELPG, T, CVG FORMAT (5X,'GAS FLOW RATE, ft^3/hr.: ' , T60, F9.3,/, 5X,'SPECIFIC GRAVITY:', T60, F9.3,/, 5X,'INLET PRESSURE, psia:', T60, F9.3,/, 5X,'OUTLET PRESSURE, psia:', T60, F9.3,/, 5X,'CONTROL VALVE PRESSURE DROP, psi:', T60, F9.3,/, 5X,'INLET TEMPERATURE, oF:', T60, F9.3,/, 5X,'CONTROL VALVE CAPACITY COEFFICIENT:', T60, F9.3) ENDIF WRITE (I, 200) FORMAT ( 76 ( IH- ) )
200
GO TO 5 66 210
WRITE (i, 210) FORMAT (//,20X, 'CONTROL VALVE SIZING FOR STEAM SERVICE', /, 76( IH* ) ) CALCULATE
THE CONTROL VALVE FOR STEAM SERVICE.
CALL STEAM WRITE (i, 220) CHOICE FORMAT (SX,'FLUID SERVICE:',
220
IF (CVS 230 * *
* * *
T60, A)
) THEN
WRITE (I, 230) W, F, P31, P32, DELPS, CVS FORMAT (5X,'CALCULATED STEAM FLOW RATE, ib/hr.:', T60, F9.3,/, 5X,'DEGREE OF SUPERHEAT, oF:', T60, F9.3,/, 5X,'INLET PRESSURE, psia:', T60, F9.3,/, 5X,'OUTLET PRESSURE, psia:', T60, F9.3,/, 5X,'CONTROL VALVE PRESSURE DROP, psi:', T60, F9.3,/, 5X,'CONTROL VALVE CAPACITY COEFFICIENT:', T60, F9.3) WRITE
240
.GT. 0.0
FORMAT
(I, 240) (76(IH-))
398
F O R M F E E D THE P R I N T I N G WRITE
(i,
PAPER
TO T H E T O P OF THE N E X T
PAGE.
*) C H A R ( 1 2 )
ELSE
250
260
W R I T E (I, 250) W, F, P31, P32, DELPS, CVS F O R M A T ( 5 X , ' S T E A M F L O W RATE, i b / h r . : ' , T60, F9.3,/, 5 X , ' D E G R E E OF S U P E R H E A T , oF:', T60, F9.3,/, 5 X , ' I N L E T P R E S S U R E , psia:', T60, F9.3,/, 5 X , ' O U T L E T P R E S S U R E , psia:', T60, F9.3,/, 5 X , ' C O N T R O L V A L V E P R E S S U R E DROP, psi:', T60, F9.3,/, 5 X , ' C O N T R O L V A L V E C A P A C I T Y C O E F F I C I E N T : ' , T60, F9.3)
W R I T E (i, 260) F O R M A T (76(IH-)) ENDIF F O R M F E E D THE P R I N T I N G WRITE
(i,
P A P E R TO T O P OF THE N E X T PAGE.
*)CHAR(12)
CLOSE(3,STATUS='KEEP') C L O S E (I) 999
STOP END *************************************************************** THIS PROGRAM CALCULATES THE CONTROL VALVE CAPACITY COEFFICIENT OR T H E M A X I M U M F L O W R A T E FOR F U L L Y O P E N C O N T R O L V A L V E A N D L I Q U I D FLOW CONDITIONS. *************************************************************** SUBROUTINE LIQUID COMMON/DATA1/
V,
PI,
P2,
CHECK WHETHER COMPUTATION M A X I M U M L I Q U I D F L O W RATE. CALCULATE DELPL
THE PRESSURE
DELPL,
SPL,
REQUIRES
DROP ACROSS
COEFFICIENT
THE CONTROL
= P1 - P2
IF (CVL .GT. GO TO i0 ELSE CALCULATE
0.0)
THEN
THE VALVE
CAPACITY
COEFFICIENT
CVL = V * S Q R T ( S P L ) / S Q R T ( D E L P L ) ENDIF GO TO
CVL
CAPACITY
30
399
(Cv)
VALVE,
OR
psi.
C
CALCULATE
THE
MAXIMUM
LIQUID
i0
V = CVL*SQRT(DELPL)/SQRT(SPL)
30
RETURN END
FLOW
RATE,
gpm.
THIS PROGRAM CALCULATES THE CONTROL VALVE CAPACITY THE MAXIMUM GAS FLOW RATE FOR GAS FLOW CONDITIONS
SUBROUTINE
COEFFICIENT
GAS
COMMON~DATA2~
Q,
P21,
P22,
DELPG,
SPG,
T,
CVG
T = T+460.0 CALCULATE DELPG VALG
THE
= P21
CONTROL
VALVE
PRESSURE
DROP,
psi.
- P22
= P22*DELPG
CHECK WHETHER COMPUTATION MAXIMUM GAS FLOW RATE. I F ( C V G .GT. G O T O i0 ELSE ENDIF CHECK
WHETHER
IF ((P21/2.) G O T O 15 ELSE CALCULATE
THE
0.0)
CAPACITY
COEFFICIENT
OR
THEN
FLOW .GE.
REQUIRES
IS
CRITICAL
P22)
VALVE
OR
SUBCRITICAL
THEN
CAPACITY
COEFFICIENT
FOR
SUBCRITICAL
FOR
CRITICAL
FLOW
CVG = Q*SQRT(SPG*T)/(1360.0*SQRT(VALG)) ENDIF GO
TO
2O
CALCULATE 15 25
THE
VALVE
CAPACITY
W R I T E (*, 25) FORMAT (3X,'CRITICAL
GAS
COEFFICIENT
FLOW.
FLOW')
pause CVG GO
= Q*SQRT(SPG*T)/(1360.0*O.5*P21) TO
2O
CALCULATE FLOW. i0
IF
THE
((P21/2.0)
MAXIMUM
.GE.
GAS
P22)
FLOW
RATE,
THEN
400
ftA3/hr.
FOR
SUBCRITICAL
OR
,
G O T O 35 ELSE Q = (CVG*I360.0*SQRT(VALG))/SQRT(SPG*T) ENDIF GO TO
2O
CALCULATE
C 35 45
THE
MAXIMUM
W R I T E (*, 45) FORMAT(3X,'CRITICAL
GAS
GAS
FLOW
RATE,
ftA/hr.
FOR CRITICAL
FLOW
FLOW')
pause
20
Q =
(CVG*I360.0*0.5*P21)/SQRT(SPG*T)
T
T-
=
460.0
RETURN END ***************************************************************** THIS PROGRAM CALCULATES THE CONTROL VALVE CAPACITY COEFFICIENT OR THE MAXIMUM STEAM FLOW RATE FOR FULLY OPEN CONTROL VALVE AND FLOW CONDITIONS. ****************************************************************** SUBROUTINE
STEAM
REAL K COMMON/DATA3/
W,
P31,
P32,
DELPS,
F,
CVS
K = 1.0+.0007*F CALCULATE DELPS VALS
THE
= P31
CONTROL
VALVE
DROP,
psi.
= P32*DELPS
CHECK WHETHER COMPUTATION MAXIMUM FLOW RATE.
IF ( C V S .GT. G O T O I0 ELSE ENDIF CHECK
WHETHER
IF ( ( P 3 1 / 2 . ) G O T O 15 ELSE ENDIF CALCULATE CVS
PRESSURE
- P32
=
THE
0. O)
FLOW .GE.
REQUIRES
CAPACITY
COEFFICIENT
THEN
IS C R I T I C A L P32)
CAPACITY
OR
SUBCRITICAL
THEN
COEFFICIENT
(W*K)/3.*SQRT(VALS)
401
FOR
SUBCRITICAL
FLOW
OR
GO TO 15 25
20
WRITE(*,25) FORMAT(3X,'CRITICAL
STEAM
FLOW')
pause CALCULATE CVS
=
GO TO
THE
COEFFICIENT
FOR
CRITICAL
FLOW.
20
CHECK WHETHER CALCULATE THE i0
CAPACITY
(W*K)/(I.5*P31)
IF ( ( P 3 1 / 2 . ) G O T O 35
F L O W IS C R I T I C A L FLOW. .GE.
P32)
OR
SUBCRITICAL
FLOW
THEN
ELSE CALCULATE
THE
MAXIMUM
FLOW
RATE
FOR
CRITICAL
FLOW.
FOR
CRITICAL
FLOW.
W = 3.0*CVS*SQRT(VALS)/K ENDIF
GO 35 45
TO
20
W R I T E ( * , 45) FORMAT(3X,'CRITICAL
STEAM
FLOW')
pause CALCULATE
THE
MAXIMUM
FLOW
RATE
W=(I.5*P31*CVS)/K 20
RETURN END
402
AND
PROGRAM
PROG53
R E L I E F - V A L V E S I Z I N G FOR VAPOR, STEAM, LIQUID, A I R A N D FIRE. T H E P R O G R A M U S E S T H E E Q U A T I O N S AND C O R R E L A T I O N S P R E S E N T E D IN ~ 4 E R I C A N P E T R O L E U M I N S T I T U T E (API) 520 RECO~DIENDED P R A C T I C E S F O R T H E D E S I G N A N D I N S T A L L A T I O N OF P R E S S U R E - R E L I E V I N G S Y S T E M S IN R E F E R I N E R I E S FOR THE S I Z I N G OF R E L I E F V A L V E S IN VAPOR, S T E A M , LIQUID, A I R AND F I R E SERVICES.
CHARACTER COUNT(14),REGIME(14),REG(14),REGI(14) CHARACTER*I4 COUNTI(14),ACOUNT(14),COUNLL(14),ACONT(14) CHARACTER*I0 CHOICE REAL REAL REAL REAL REAL
OPI, MWI, N1 OP2, KSH, MW2, N2 KV, KVI, KW, KD OP4 LAT, OP5, MW5, N5
D I M E N S I O N Y(14) COMMON/NAME/I,Y,IJK COMMON/DATA/REGI,ACONT COMMON/DATAI/WGMAX,ADESI,ACALI,CI COMMON/DATA2/WSMAX,ADES2,ACAL2,C2 COMMON/DATA3/GPIMAX,GP2MAX,ADES3,ACAL3,ACAL31,ADES31,RE COMMON/DATA4/COUNT,REGIME,COUNT!,COUNLL,REG, ACOUNT COMMON/DATA5/FORCE COMMON/DATA6/ADES4,VAMAX,ACAL4,C4 COMMON/DATA7/Q,WF COMMON/DATA8/KVI COMMON CHOICE D A T A C O U N T / ' D ' s 'E' 9 'F' 9 'G 9 n 'H' 'P','Q','R','T'/ DATA
COUNT1/'
'K'
9
'L'
,
'M'
'9'
1-2
',
" , '
1.5-2
' ,
* * * *
' 1.5-3 ' 3-4 ' 4-6 ' 4-6
~:
'
6-8
or 2-3
or
',' '9 9 9' ' '
6-10
' 9 '
(UNIT=3 9 F I L E = ' D A T A 5 3 . D A T ' 9 (UNIT =i 9 F I L E = ' P R N ' )
R E A D ( 3 , 59 E R R = I 9 ) F O R M A T (A) ( C H O I C E .EQ. GO TO i0 ELSEIF (CHOICE GO TO 20 ELSEIF (CHOICE G O T O 30 ~LSEIF (CHOICE GO TO 4O ELSEIF (CHOICE
n
1-2
9
IF
'J'
1.5-2
*
OPEN OPEN
9
'N'
s
n
2-3 or 2.5-4', 3-4 or 4-6 ', 4-6 ', 6-8 ' 8-i0
'
>
STATUS='OLD' 9
ERR=I8)
CHOICE
'VAPOR'
.OR.
CHOICE
.EQ.
.EQ.
'STEAM'
.EQ.
' L I Q U I D 9 .OR. C H O I C E
.EQ.
9
.EQ.
'FIRE'
.OR. C H O I C E
.OR. C H O I C E .OR. C H O I C E
403
'vapor') .EQ.
'steam')
.EQ.
.EQ. .EQ.
THEN
9
THEN 9) THEN
'air 9 ) T H E N 'fire')
THEN
GO TO
50
ENDIF CALCULATE RELIEF VALVE FOR VAPOR INPUT DATA FOR VAPOR CONDITION WG SPI OPI T1 Z1 MWI N1 i0
= = = = = : =
READ READ READ READ
( 3, (3, (3, (3,
V A P O R F L O W RATE, Ib/hr. R E L I E F V A L V E SET P R E S S U R E , psiq. ALLOWABLE OVERPRESSURE, (%). R E L I E V I N G T E M P E R A T U R E OF T H E I N L E T COMPRESSIBILITY FACTOR. M O L E C U L A R W E I G H T OF V A P O R . R A T I O OF T H E S P E C I F I C H E A T S . *, *, *, *,
DETE~4INE CALL
CALL GO
TO
(WG,
DATA
(3, (3, (3, (3,
*, *, *, *,
STEAM
PRINT
GO
TI,
ZI,
AREA }~i,
FOR V A P O R
CONDITION
NI]
OPI,
TI,
ZI,
~Z~I, NI)
STEAM
RELIEF
CONDITION.
ERR=f9) ERR:Ig) EB_R=Ig) ERR=I9)
THE
WS, SP2 OP2, K S H T2, M W 2 N2
RELIEF
(WS,
VALVE
SP2,
OP2,
ORIFICE KSH,
T2,
AREA
FOR
STEAM
M%~2, N2)
RESULTS OUT2
TO
INPUT GPM SP3 PB
OPI,
ORIFICE
S T E A M F L O W R A T E , !b/hr. R E L I E F V A L V E S E T P R E S S U R E , psig. ALLOWABLE OVERPRESSURE (%). SUPERHEAT STEAM CORRECTION FACTOR. RELIEF TEMPERATURE, oF. H O L E C U L ~ R W E I G H T OF S T E A M . R A T I O OF T H E S P E C I F I C H E A T S .
DETERMINE
CALL
SPI,
SPI,
FOR
= = = = = = =
CALL
VALVE
60
INPUT
READ READ READ READ
(oF).
WG, SPI OPI, T1 ZI, ~Z
RELIEF
(WG,
VAPOR
RESULTS OUT1
WS SP2 OP2 KSH T2 HW2 N2 20
ERR:I9 ) ERR=Ig) ERR:f9) ERR=f9)
THE
VAPOR
PRINT
CONDITION
(WS,
SP2,
OP2,
KSH,
T2,
MW2,
N2)
60 DATA = = =
FOR
LIQUID
RELIEF
L I Q U I D F L O W R A T E , U.S. gpm. UPSTREAM RELIEVING SET PRESSURE, T O T A L B A C K PRESSU?.E, psig.
404
psig.
CONDITION
SPL VISL KV KW KD 30
READ READ READ READ
S P E C I F I C G R A V I T Y OF T H E L I Q U I D . V I S C O S I T Y OF L I Q U I D , cP. C O R R E C T I O N F A C T O R D U E TO V I S C O S I T Y . C O R R E C T I O N F A C T O R DUE TO B A C K P R E S S U R E . E F F E C T I V E C O E F F I C I E N T OF D I S C H A R G E .
= = = = = *, *, *, *,
(3, (3, (3, (3,
DETERMINE CALL PRINT IF
CALL
CALL GO TO
THE RELIEF
LIQUID
(GPM,
VALVE
SP3,
PB,
ORIFICE SPL,
AREA
VISL,
FOR LIQUID
KV,
KW,
CONDITION
KD)
RESULTS
(VISL
G O TO ELSE
ERR =19) GPM, SP3 E R R = 19) PB, S P L E R R = I 9 ) V I S L , KV E R R = I 9 ) KW, KD
.LT.
OUT3
i0.0)
(GPM,
THEN
SP3,
PB,
SPL,
VISL,
KV,
KW,
KD)
60
OUT32
(VISL)
60
ENDIF INPUT
DATA
VA T P SP4 40
READ READ
= = = = (3, (3,
PRINT CALL GO TO
AIR
THE RELIEF (VA,
T,
P,
VA, T P, SP4 VALVE
ORIFICE
AREA
FOR AIR CONDITION
ORIFICE
AREA FOR FIRE
SP4)
RESULTS OUT4
(VA,
T,
P,
SP4)
60
DETERMINE F A LAT SP5 OP5 T Z MW5
RELIEF
REQUIRED AIR CAPACITY, ft^3/min. I N L E T T E M P E R A T U R E , oF. R E L I E V I N G P R E S S U R E , psia. RELIEF VALVE SET PRESSURE, psig. *, E R R = I 9 ) *, E R R = I 9 )
DETERMINE CALL
FOR AIR
= = = = = = = =
THE RELIEF
VALVE
ENVIRONMENTAL FACTOR. T O T A L W E T T E D S U R F A C E A R E A , ft^2. LATENT HEAT OF VAPORIZATION, Btu/ib. RELIEF VALVE SET PRESSURE, psig. ALLOWABLE OVERPRESSURE, (%). R E L I E V I N G T E M P E R A T U R E , oF. COMPRESSIBILITY FACTOR. FLUID MOLECULAR WEIGHT.
405
CONDITION.
C
N5
=
INPUT DATA
C 50
READ READ READ READ READ
R A T I O OF T H E S P E C I F I C FOR FIRE R E L I E F
(3, *, ERR=Ig) (3, *, ERR=f9) (3, *, ERR=f9) (3, *, ERR=I9) (3, *, ERR=Ig)
CONDITION.
F, A LAT, SP5 OPL, T Z, MW5 N5
DETERMINE
THE RELIEF
CALL
(F, A, LAT,
FIRE
HEATS.
VALVE ORIFICE
AREA FOR FIRE C O N D I T I O N
SPL,
OPL,
T,
Z, MWL,
NL)
SPL,
OPL,
T, Z, MWL,
NL)
PRINT RESULTS CALL OUT5
(F, A, LAT,
GO TO 60
750
W R I T E (*, 750) F O R M A T (3X, 'DATA F I L E
19 800
W R I T E (*, 800) F O R M A T (3X, 'ERROR M E S S A G E
18
DOES NOT EXIST')
GO TO 60
IN THE DATA VALUE')
GO TO 60 CLOSE CLOSE 60
(3, S T A T U S (i)
= 'KEEP')
STOP END
THIS PROGRAM
SUBROUTINE
SIZES T H E R E L I E F V A L V E
VAPOR
(WG,
SPI,
OPI,
TI,
FOR V A P O R C O N D I T I O N S
El, MWI,
NI)
C H A R A C T E R C O U N T ( 1 4 ) , R E G I M E ( 1 4 ) , REG(14) CHARACTER*I4 COUNT1(14), COUNLL(14), ACOUNT(14) REAL K,KB,MWI,NI,OPI
COMMON/NAME/I,Y,IJK COMMON/DATAI/WGMAX,ADESI,ACALI,CI COMMON/DATA4/COUNT,REGIME,COUNTI,COUNLL,REG, COMMON/DATAL/FORCE D I M E N S I O N Y(14) CALCULATE
T H E GAS C O E F F I C I E N T
ACOUNT
(CI) AND THE O R I F I C E
K=0.975 KB=I.0 TI=TI+460.0 PI=SPI+(SPI*OPI/100.0)+I4.7 VALI=NI*(2.0/(NI+I.O))**((NI+I.0)/(NI-I.0)) CI=520.0*SQRT(VALI) VAL2=CI*K*PI*KB*SQRT(MWI)
406
AREA.
ACALI=WG*SQRT(TI*ZI)/VAL2
22
DO 22 I=l, 14 IF (Y(I) .ST. GO TO 25 ELSE ENDIF CONTINUE
25
ADESI=Y(I)
ACALI)
CALCULATE THE MAXIMUM ORIFICE AREA
C C
THEN
FLOWRATE
FROM THE M A N U F A C T U R E R ' S
CALL MANUF(ADESI) WGMAX=ADESI*VAL2/SQRT(TI*ZI) CALCULATE
THE REACTIVE
FORCE
CALL REACTF(WGMAX,NI,TI,MWI) T1 = T I - 4 6 0 . 0 RETUR~ END
THIS
PROGRAM
SIZES
THE RELIEF-VALVE
FOR S T E A M
CONDITION
S U B R O U T I N E S T E A M (WS, SP2, OP2, KSH, T2, MW2, N2) CHARACTER COUNT(14),REGIME(14), REG (14) CHARACTER*I4 COUNTI(14),COUNLL(14), ACOUNT(14) COMMON/NAME/I,Y,IJK COMMON/DATA2/WSMAX,ADES2,ACAL2,C2 COMMON/DATA4/COUNT,REGIME,COUNTI,COUNLL,REG, ACOUNT D I M E N S I O N Y(14) REAL KSH,OP2,MW2,N2,KN,KD KD = T H E E F F E C T I V E C O E F F I C I E N T OF D I S C H A R G E (KD=0.975) KN = C O R R E C T I O N F A C T O R FOR N A P I E R E Q U A T I O N (KN=I) CALCULATE
T H E GAS
COEFFICIENT
(C2)
AND T H E O R I F I C E
AREA
KN = 1.0 KD = 0.975 T2 = T 2 + 4 6 0 , 0 P2=SP2+(SP2*OP2/100.O)+I4.7 VAL3=N2*(2.0/(N2+I.0))**((N2+I.0)/(N2-1.0)) C2=520.O*SQRT(VAL3) ACAL2=WS/(51.5*P2*KSH*KD*KN) DO
33 C C
33 I = i , 1 4 IF (X(I) GO TO 25 ELSE ENDIF CONTINUE CALCULATE AREA.
.ST.
THE MAXIMUM
ACAL2)
THEN
FLOWRATE
F R O M THE M A N U F A C T U R E R ' S
407
ORIFICE
25
ADES2=Y(I) CALL MANUF(ADES2) WSMAX=51.5*P2*KSH*KN*KD*ADES2 CALCULATE
THE R E A C T I V E
FORCE.
CALL REACTF(WSMAX,N2,T2,MW2) T2 = T 2 - 4 6 0 . 0 RETURN END **************************************************************** THIS P R O G R A M SIZES THE RELIEF VALVE FOR LIQUID CONDITION. SIZING FOR LIQUID R E L I E F VALVES REQUIRING LIQUID CAPACITY CERTIFICATION. **************************************************************** SUBROUTINE DIMENSION
LIQUID
(GPM,
SP3,
PB, SPL, VISL,
KV, KW, KD)
Y(14)
CHARACTER COUNT(14),REGIME(14),REG(14),REGI(14) CHARACTER*I4 COUNTI(14),ACO~T(14),COUNLL(14),ACONT(14) R E A L KD, KW, K~,
KVl
COMMON/DATA3/GPIMAX,GP2MAX,ADES3,ACAL3,ACAL31,ADES31,RE C O M M O N / N A M E / I , Y , IJK COMMON/DATA4/COUNT,REGIME,COUNTI,COUNLL,
REG,
ACOUNT
COMMON/DATAS/KVl COMMON/DATA/REGI,ACONT CALCITE
THE O R I F I C E AREA FOR LIQUID CAPACITY
CERTIFICATION.
SP3 = S P 3 + ( 0 . 1 * S P 3 ) VAL3 = (SP3-PB) VAL4=38.0*KD*KW*KV*SQRT(VAL3) ACAL3=GPM*SQRT(SPL)/VAL4
44
DO 44 I =i, 14 IF (Y(I) .GT. ACAL3) GO TO 25 ELSE ENDIF CONTINUE
25
ADES3=Y(I)
THEN
IJK=I
C A L C U L A T E THE M A N U F A C T U R E R ' S L I Q U I D FLOWRATE.
ORIFICE AREA AND THE M A X I M U M
CALL MANUF(ADES3 ) GPIMAX=( A D E S 3 * V A L 4 )/SQRT(SPL) C A L L OUT3
(GPM,
SP3,
PB,
SPL, VISL,
408
KV, KW, KD)
C
CHECK WHETHER THE VISCOSITY
IF
(VISL .GE. GO TO 3O ELSE ENDIF GO TO 90 30
IS EQUAL TO OR GREATER THAN
10.0cP
I0.) THEN
CALL AMANU(ADES3) REGI(I)=REG(I) ACONT(I)=ACOUNT(I) GPIMAX=(ADES3*VAL4)/SQRT(SPL) CALL O U T 3 1 ( G P M , S P 3 , P B , S P L , V I S L , K V , k ~ , K P ) RE=(GPM*2800.0*SPL)/(VISL*SQRT(ADES3)) VAL6=(I.2502*ALOG(RE))-(0.17510*(ALOG(RE))**2) VAL7=(0.01087*(ALOG(RE))**3)-(0.00025*(ALOG(RE))**4) KVI=-2.38878+VAL6+VAL7 VAL8=38.0*KD*KW*KVI*SQRT(VAL3) ACAL31=GPM*SQRT(SPL)/VAL8
66 77
90
DO 66 I=i,14 IF (Y(I) GO TO 77 ELSE ENDIF CONTINUE
.ST. ACAL31)
THEN
ADES31=Y(I) CALL MANUFL(ADES3,ADES31) GP2MAX=(ADES31*VAL8)/SQRT(SPL) RETURN END ***************************************************************** THIS P R O G R A M PRINTS THE RESULTS OF VAPOR RELIEF SIZING ONTO A PRINTER ***************************************************************** S U B R O U T I N E OUT1 (WG, SPI, OPI, TI, Zl, MWI, Nl) C H A R A C T E R COUNT( 14 ) ,REGIME( 14 ) ,REG( 14 ) ,REGI (14 ) C H A R A C T E R * I 4 COUNT1 ( 14 ) ,ACOUNT( 14 ) ,COUNLL( 14 ) ,ACONT(14 ) C H A R A C T E R * I 0 CHOICE COMMON/NAME/I, Y, IJK
COMMON/DATAI/WGMAX,ADESI,ACALI,CI COMMON/DATA4/COUNT,REGIME,COUNTI,COUNLL, COMMON/DATA5/FORCE C O M M O N CHOICE R E A L OPI,MWI,N1 D I M E N S I O N Y(14)
I00
WRITE(I, I00) FORMAT(20X,'VAPOR WRITE(l, ii0)
RELIEF VALVE
SIZING')
409
REG,
ACOUNT
105 ii0 120
130 140
WRITE (i, 105)CHOICE FORMAT (3X,'BASIS OF SELECTION:', T65, A) FORMAT(IH ,76(IH*)) WRITE(l, 120)WG FORMAT(3X,'REQUIRED VAPOR RATE, ib/hr.:',T65,
FI2.0)
WRITE(I, 130) SPI FORMAT(3X,'VALVE SET PRESSURE, psig:',T65, F9.3) WRITE(l, 140) OPI FORMAT(3X,'PERCENTAGE IN OVERPRESSURE, (%):',T65,
F9.3)
160
WRITE(I, 150)TI FORMAT(3X,'UPSTRE~M FLUID TEMPERATURE, DEG. F:',T65, WRITE(l, 160)Zl FORMAT(3X,'COMPRESSIBILITY FACTOR:',T65, F9.4)
170
WRITE(I, 170) HWI FORMAT(3X,'MOLECULAR
180
WRITE(l, 180)NI FORMAT(3X,'RATIO
190
WRITE(l, 190) Cl FORMAT(3X,'GAS CONSTANT DETERMINED BY RATIO OF Cp/Cv:',T65,F9.3)
200
WRITE(I, 200) ACALI FORMAT(3X,'CALCULATED
VALVE ORIFICE AREA,
in^2:',T65,
F9.3)
210
WRITE(I, 210) ADESI FORMAT(3X,'NEAREST STANDARD ORIFICE AREA,
in^2:',T65,
F9.3)
220
WRITE(l, 220) REGIME(I) FORMAT(3X, 'NEAREST STANDARD ORIFICE SIZE:', T65, A)
230
WRITE(l, 230) COUNT1 (I) FORMAT(3X, 'PREFERRED VALVE BODY SIZE:
150
240
WEIGHT OF VAPOR:',
T65, F9.3)
OF SPECIFIC HEATS OF FLUID:',
(IN-OUT)
T65, F9.3)
inches: ' ,T65,AI4)
WRITE(l, 240) WGMAX FORMAT(3X, 'MAXIMUM VAPOR FLOWRATE WITH STD. ORIFICE, T65,FI2.0)
250
WRITE(I, 250) FORCE FORMAT(3X,'REACTION FORCE,
260
WRITE ( i, 260) FORMAT (76 ( IH- ) )
Ib:',T65,
F9.3)
Ib/hr. :',
F9.0)
FORM FEED THE PRINTING PAPER TO THE TOP OF THE NEXT PAGE.
C
WRITE
20
(i, *)CHAR(12)
RETURN STOP END THIS PROGRAM PRINTS THE RESULTS OF LIQUID RELIEF CONDITION
410
ONTO A PRINTER **************************************************************** SUBROUTINE OUT3 (GPM, SP3, PB, SPL, VISL, KV, KW, KD) DIMENSION Y(14) CHARACTER COUNT(14),REGIME(14),REG(14),REGI(14) CHARACTER*I4 COUNTI(14),ACOUNT(!4),COUNLL(i4),ACONT(14) CHARACTER*!0 CHOICE CO~.~ON/N~4E/I, Y, IJK COMMON/DATA/REG 1, ACONT CO~HION/DATA]/GPIMAX, GP2MAX, ADES3, ACAL3, ACAL31, ADES31, RE COMMON/DATA4/COUNT, REGIME, COUNT1, COUNLL, REG, ACOUNT
COMMON/DATA8/KVI C O ~ O N CI{OICE REAL KV,KW,KD,KVI 270 280
~ I T E ( I , 270) FOR}IAT(20X,'RELIEF VALVE SIZING FOR LIQUID') WRITE(l, 280) FORMAT(1H ,76(IH*))
320
WRITE (i, 285)CHOICE FORMAT (3X,'BASIS OF SELECTION:', T65, A) ~{RITE(I, 290) GPM FORMAT(3X,'LIQUID FLOWRATE, US gpm:',T65, FI2.0) W~ITE(I, 300) SP3 FORMAT(3X,'VALVE SET PRESSURE, psig:',T65, F9.3) I~RITE(I,310) PB FORMAT(3X,'BACK PRESSURE ON VALVE, psig:',T55, F9.3) WRITE(I, 320) SPL FORMAT(3X,'FLUID SPECIFIC GRAVITY:', T65, F9.3)
330
WRITE(I,330) VISL FO~4AT(3X,'FLUID VISCOSITY,
340
~RITE(I, 340) KV FORMAT(3X,'VISCOSITY
350
WRITE(l, 350) KW FORMAT(3X,'BACKPRESSURE
285 290 300 310
cP:', T65, F9.4)
CORRECTION FACTOR, Kv:',T65,
F9.4)
CORRECTION FACTOR, Kw:',T65,
F9.4)
370
WRITE(l, 360) KD FORMAT(3X,'EFFECTIVE COEFFICIENT OF DISCHARGE, Kd:', T65, F9.3) WRITE(l, 370) ACAL3 FORMAT(3X,'CALCULATED VALVE ORIFICE AREA, in^2:',T65,F9.3)
380
W~ITE(I, 380) ADES3 FORMAT(3X,'NEAREST STANDARD ORIFICE AREA, in^2: ' , T65,F9.3)
390
WRITE(l, 390) REGIME (I) FORMAT(3X,'NEAREST STANDARD ORIFICE SIZE:', T65, A)
400
Z~ITE(I, 400) COUNLL(I) FORMAT(3X,'PREFERRED VALVE BODY SIZE,
410
WRITE(l, 410) GPIMAX F O R ~ T ( 3 X , ' ~ X I } K I M LIQUID FLOW~-RATE WITH STD. ORIFICE, gpm:', T65,FI2.0)
360
411
(IN-OUT)
inches:',T65,A14)
FORM FEED THE PRINTING PAPER TO TOP OF THE NEXT PAGE. RETURN END ********************************************************** SUBROUTINE OUT31 (GPM, SP3, PB, SPL, VISL, KV, KW, KD) CHARACTER COUNT(14),REGIME(14),REG(14),REGI(!4) CHARACTER*I4 COUNTI(14),ACOUNT(14),COUNLL(14),ACONT(14) CHARACTER*I0 CHOICE DIMENSION Y(14) COMMON/NAME/I,Y,IJK
COMMON/DATA/REGI,ACONT COMMON/DATA3/GPIMAX,GP2MAX,ADES3,ACAL3,ACAL31,ADES31,RE COMMON/DATA4/COUNT,REGIME,COUNTI,COUNLL, COMMON/DATA8/KVI COMMON CHOICE REAL KV,KW,KD,KVI
REG, ACOUNT
450
WRITE(l, 420) FORMAT(20X,'RELIEF VALVE SIZING FOR LIQUID') WRITE(l, 430) FORMAT(IH ,76(IH*)) WRITE (I, 440)CHOICE FORMAT (3X,'BASIS OF SELECTION:', T65, A) WRITE(l, 450) SPS FORMAT(3X,'LIQUID FLOW RATE, U.S gpm:',T65,F12.0)
460
WRITE(l, 460) SP3 FORMAT(3X,'VALVE SET PRESSURE, psig:',T65,F9.3)
420 430 440
490
WRITE(I,470) SPL F O ~ A T ( 3 X , ' F L U I D SPECIFIC GRAVITY:',T65, F9.3) WRITE(l, 480) KV FORMAT(3X,'VISCOSITY CORRECTION FACTOR Kv=I.0:',T65,F9.3) WRITE(l, 490) KW FORMAT(3X,'BACK PRESSURE CORRECTION FACTOR Kw=I.0:',T65,F9.3)
500
WRITE(l, 500)KD FORMAT(3X,'COEFFICIENT OF DISCHARGE Kd=0.65:',T65,
510
WRITE(l, 510) ACAL3 FORMAT(3X,'CALCULATED VALVE ORIFICE AREA,
in^2:',T65,F9.3)
520
WRITE(l, 520) ADES3 FORMAT(3X,'NEAREST STANDARD ORIFICE AREA,
in^2: ' , T65,F9.3)
530
WRITE(l, 530) REGI(I) FORMAT(BX,'NEAREST STANDARD ORIFICE SIZE:',T65, A)
470 480
F9.3)
540
WRITE(l, 540) ACONT(I) FORMAT(3X,'PREFERRED VALVE BODY SIZE, T65,AI4)
550
WRITE(l, 550) GPIMAX FORMAT(3X,'MAXIMUM LIQUID FLOWRATE WITH STD. ORIFICE, gpm:', T65,FI2.0) WRITE(l,
560)
412
(IN-OUT) inches:',
560 C
FOR/4AT (76 ( IH- ) ) FORM
FEED THE P R I N T I N G
WRITE
( i, * ]CHAR( 12 )
P A P E R TO THE TOP OF THE NEXT PAGE.
RETURN END ******************************************************** T H I S P R O G R A M P R I N T S THE R E S U L T S OF L I Q U I D R E L I E F S I Z I N G WITH V I S C O S I T Y G R E A T E R THAN 10cP.
VALVE
S U B R O U T I N E OUT32 (VISL) D I M E N S I O N Y(14) CHARACTER COUNT(!4),REGIME(14),REG(14),REGI(14) CHARACTER*I4 COUNTI(14),ACOUNT(!4),COUNLL(14),ACONT(!4) C O ~ M O N / N A M E / I , Y , IJK COMMON/DATA3/GPIMAX,GP2MAX,ADES3,ACAL3,ACAL31,ADES31,RE COMMON/DATA4/COUNT,REGIME,COUNTI,COUNLL, REG, ACOU~[T COMMON/DATA8/KVI R E A L KVI
570
W R I T E ( I , 570) KVI FORMAT(3X, 'VISCOSITY
580
W R I T E ( I , 580) RE F O R M A T ( 3 X , 'REYNOLDS
590
W R I T E ( l , 590) A C A L 3 1 FORMAT(3X,'CALCULATED
600
W R I T E ( l , 600) A D E S 3 1 FORMAT(3X,'NEAREST STANDARD
610
W R I T E ( l , 610) R E G I M E (I) FORMAT(3X,'NEAREST STANDARD
620
W R I T E ( I , 620) C O U N L L (I) FORMAT(3X, 'PREFERRED VALVE
630
640 C
CORRECTION
FACTOR: ', T65,
NUMBER: ', T65,
VALVE ORIFICE
W R I T E ( l , 630) G P 2 M A X FORMAT(3X,'}~XIMUM LIQUID T65,FI2.0)
F9.3)
FI2.0)
AREA,
in^2:',T65,F9.3)
ORIFICE
~EA,
in^2: ' , T65,F9.3)
ORIFICE
SIZE:',
BODY SIZE,
T65,
(IN-OUT)
F L O W R A T E W I T H STD.
A)
inches: ' ,T65,AI4)
ORIFICE,
gpm:',
W R I T E (I, 640) F O R M A T ( 76 ( IH- ) ) FORM
FEED THE P R I N T I N G
WRITE
( i, * )CHAR( 12 ]
P A P E R TO T H E TOP OF THE NEXT PAGE.
RETURN END
413
THIS PROGRAM PRINTS TI{E RESULTS OF STE~! RELIEF SIZING ONTO A PRI~$TER *************************************************************** S U B R O U T I N E OUT2 (WS, SP2, OP2, KSH, T2, MW2, N2) C H A R A C T E R COUNT(14),REGIME(14), REG(14) CHARACTE}{*!4 COUNT1 ( 14 ), COUNLL( 14 ), ACOUNT( 14 ) CHARACTER* i0 CHOICE COMbiON/NAME/I, Y, IJK COHHON/DATA2/WSMAX, ADES2, ACAL2, C2 COMMON/DATA4/COUNT,REGIME,COUNTI,COUNLL,REG, ACOUNT
CObN.[ON/DATAS/FORCE COI.H~ON CHOICE D I M E N S I O N Y(!4) REAL KSI[,MW2,N2
650 660 665 670 680 690 700
710 720 730 740 750 760 770 780 790
800 810 C
WRITE( l, 650) FOP~T(20X,'RELIEF VALVE SIZING FOR STEAM CONDITION') WRITE(l, 660) F O R M A T ( I N ,76(IH*)) WRITE (i, 665)CHOICE FORMAT (3X, 'BASIS OF SELECTION:', T65, A) WRITE(l, 670) WS F O R M A T ( 3 X , ' R E Q U I R E D STE~]{ RATE, ib/hr.:',T65,F12.0) WRITE(l, 680)SP2 F O R M A T ( 3 X , ' V A L V E SET PRESSURE, psig:',T65,F9.3) WRITE(l, 690) OP2 F O R M A T ( 3 X , ' P E R C E N T A G E OF OVERPRESSURE, (%)'',T65,F9.9) WRITE(I, 700) KSH F O R M A T ( 3 X , ' F A C T O R FOR SUPERHEATED KSH:0.88/SATL<~t%TED KSH=I:', T65,F9.3) WRITE(I, 710) T2 F O R M A T ( 3 X , ' S T E A M TEMPERATURE, DEG. F:',T65,F9.3) WRITE(l, 720) ~.~42 F O ~ 4 A T ( 3 X , ' M O L E C U L A R WEIGHT:', T65, F9.3) 9~ITE(I, 730) N2 F O ~ - ~ T ( 3 X , ' R A T I O OF SPECIFIC HEATS OF STE~{:', T65, F9.3) WRITE(l, 740) C2 F O R M A T ( 3 X , ' G A S CONSTANT DETERMINED BY ~hTIO OF Cp/Cv:',T65,F9.3) WRITE(I, 750) ACAL2 F O R M A T ( 3 X , ' C A L C U L A T E D VALVE ORIFICE AREA, in^2: ' , T65, F9.3) WRITE(l, 760) ADES2 F O P ~ A T ( 3 X , ' N E A R E S T STANDARD AR~%, in^2: ' , T65, F9.3) WRITE(l, 770) REGII4E (I) F O R M A T ( 3 X , ' N E A R E S T STANDARD ORIFICE SIZE:', T65, A) WRITE(l, 780) COUNTI(I) F O R M A T ( 3 X , ' P R E F E R R E D VALVE BODY SIZE, (IN-OUT) inches:',T65,A14) WRITE(l, 790) WSI,~X F O R M A T ( 3 X , ' M A X I M U M STEAM FLOWRATE WITH STD. ORIFICE, ib/hr.:', T65,FI2.0) WRITE(I, 800)FORCE F O R M A T ( 3 X , ' R E A C T I O N FORCE, Ib:',T65,FI2.0) WRITE (I, 810) FORY~T (76(1H-)) FORM
FEED THE PRINTING
PAPER TO THE TOP OF THE NEXT PAGE.
WRITE (i, *)CHAR(12) RETURN END
414
****************************************************************
THIS PROGRAM SIZES THE R E L I E F VALVE FOR AIR-CONDITION **************************************************************** S U B R O U T I N E AIR (VA, T4, SP4, OP4) REAL OP4,N,MW,KB,KD C H A R A C T E R C O U N T ( 1 4 ) , R E G I M E ( 1 4 ) , REG(14) C H A R A C T E R * I 4 COUNT1(14), C O U N L L ( 1 4 ) , A C O U N T ( 1 4 ) C O M M O N / N A M E / I , Y, IJK C O M M O N / D A T A 4 / C O U N T , R E G I M E , C O U N T I , C O U N L L , REG, ACOUNT COMMON/DATA5/FORCE COMMON/DATA6/ADES4,VAMAX,ACAL4,C4 D I M E N S I O N Y(14) CALCULATE
THE ORIFICE A R E A AND THE GAS COEFFICIENT.
KB =I.0 KD=0.953 T = T4+460.0 MW=28.97 N=I.40 P4=SP4+(SP4*OP4/100.0)+I4.7 R H O = (MW*P4)/(I0.72"T) ACAL4=(VA*SQRT(T))/(41S.0*KB*KD*P4)
VAL4=N*(2.0/(N+I.0))**((N+I.0)/(N-I.0)) C4=520.O*SQRT(VAL4)
44
C
DO 44 I=I,14 IF (Y (I) .ST. ACAL4) GO TO 30 ELSE ENDIF CONTINUE CALCULATE
30
THEN
THE M A N U F A C T U R E R ' S
AREA AND M A X I M U M AIR RATE.
ADES4=Y(I) C A L L MANUF(ADES4) VAMAX=(418.0*ADES4*P4*KB*KD)/SQRT(T) WAMAX=(60.0*VAMAX*RHO) CALCULATE
THE R E A C T I V E
FORCE.
FORCE = W A M A X / 1 5 . 9 RETURN END
THIS P R O G R A M PRINTS THE RESULTS OF AIR RELIEF VALVE SIZING ONTO A PRINTER **************************************************************** S U B R O U T I N E OUT4 (VA, T4, SP4, OP4) C H A R A C T E R * I 4 COUNT1(14), COUNLL(14), ACOUNT(14) C H A R A C T E R * I 0 CHOICE C H A R A C T E R C O U N T ( 1 4 ) , R E G I M E ( 1 4 ) , REG (147 COMMON/NAME/I,Y,IJK COMMON/DATA4/COUNT,REGIME,COUNTI,COUNLL, REG, ACOUNT COMMON/DATA5/FORCE COMMON/DATA6/ADES4,VAMAX,ACAL4,C4 COMMON C H O I C E
415
DIMENSION Y(14) REAL OP4
1300
WRITE(l, 820) FORMAT(20X,'RELIEF VALVE SIZE FOR AIR CONDITION') WRITE(I, 830) FORMAT(IH ,76(IH*)) WRITE (i, 835)CHOICE FORMAT (3X,'BASIS OF SELECTION:', T65, A) WRITE(l, 840)VA FORMAT(3X,'REQUIRED AIR FLOWRATE, S.ft^3/min:',T65,F12.0) WRITE(l, 850) T4 FORMAT(3X,'AIR TEMPERATURE, DEG. F:',T65,F9.3) WRITE(l, 860) SP4 FORMAT(3X,'VALVE SET PRESSURE, psig:',T65,F9.3) WRITE(l, 870) OP4 FORMAT(3X,'PERCENTAGE OF OVERPRESSURE, (%):',T65,Fg.3) WRITE(l, 880) C4 FORMAT(3X,'GAS CONSTANT DETERMINED BY RATIO OF Cp/Cv:',T65,F9.3) WRITE(l, 890) ACAL4 FORMAT(3X,'CALCULATED VALVE ORIFICE AREA, in^2:',T65,F9.3) WRITE(l, 900) ADES4 FORMAT(3X,'NEAREST STANDARD AREA, in^2: ' , T65, F9.3) WRITE(l, i000) REGIME (I) FORMAT(3X,'NEAREST STANDARD ORIFICE SIZE:',T65,A) WRITE(l, ii00) ACOUNT(I) FORMAT(3X,'PREFERRED VALVE BODY SIZE, (IN-OUT) inches:',T65,A14) WRITE(l, 1200) VAMAX FORMAT(3X,'MAXIMUM AIR FLOWRATE WITH STD. ORIFICE, ft^3/min: ' , T65,FI2.0) WRITE(l, 1300) FORCE FORMAT(3X,'REACTION FORCE, Ib:',T65,FI2.0)
1400
WRITE (i, 1400) FORMAT (76(iH-))
820 830 835 84O 85O 860 870 880 890 900 i000 ll00 1200
C
FORM FEED THE PRINTING PAPER TO THE TOP OF THE NEXT PAGE. WRITE
(i, *)CHAR(12)
RETURN END THIS PROGRAM SIZES THE RELIEF VALVE FOR FIRE CONDITION SUBROUTINE FIRE (F, AREA, LAT, SP5, OP5, T5, Z5, MW5, N5) REAL LAT,OP5,MW5,N5 CHARACTER COUNT(14),REGIME(14), REG (14) CHARACTER*I4 COUNTI(14),COUNLL(14), ACOUNT(14) COMMON/NAME/I,Y,IJK COMMON/DATAI/WGMAX,ADESI,ACALI,CI COMMON/DATA4/COUNT,REGIME,COUNTI,COUNLL,REG, ACOUNT COMMON/DATA5/FORCE COMMON/DATA7/Q,WF DIMENSION Y(14) CALCULATE THE TOTAL HEAT ABSORBED Q=21000.0*F*(AREA)**0.82
416
CALCULATE
THE VAPOR RATE
WF=Q/LAT CALCULATE CALL VAPOR RETURN END
THE ORIFICE (WF, SP5,
AREA FOR FIRE CONDITIOn[. OP5,
TS,
ZS, MWS,
NS)
***************************************************************
THIS PROGRAH PRINTER
PRINTS THE RESULTS
OF FIRE RELIEF
SIZING ONTO A
SUBROUTINE OUT5 (F, AREA, LAT, SPS, OP5, T5, ZS, MW5, C}IARACTER COUNT(14),REGIME(14), REG(14) C}IARACTER* 14 COUNT1 ( 14 ), COU~[LL ( 14 ), ACOUNT ( ! 4 ) CHARACTER* i0 CHOICE COMMON/NAME/I, Y, IJK COMMON/DATAI/WGMAX,ADESI,ACALI,CI COHMON/DATAg/COUNT,REGIME,COUNTI,COUNLL,REG,ACOUNT COMMON/DATA5/FORCE CO~4ON/DATAT/Q,WF C O M M O N CHOICE D I M E N S I O N Y(14) REAL LAT,OPS,MWS,N5
N5)
C 1500 1600 1650 1700 1800 1900 2000 2100 2200 2300 2400 2500 2600 2700 2800 2900
WRITE(I, 1500) F O R M A T ( 2 0 X , ' F I R E RELIEF VALVE SIZING') WRITE(I, 1600) FOFdiAT(IH ,76(iH*)) WRITE (I, 1650)CHOICE FORMAT (3X,'BASIS OF SELECTION:', T65, A) WRITE(I, 1700) F F O R M A T ( 3 X , ' E N V I R O N M E N T A L FACTOR:',T65,Fg.3) ~ITE(I, 1800) AREA F O R M A T ( 3 X , ' W E T T E D SURFACE AREA OF VESSEL, ft^2:',T65,Fg.3) h~ITE(I, 1900) LAT F O R M A T ( 3 X , ' L A T E N T HEAT OF VAPORIZATION, Btu/Ib:',T65,F9.3) WRITE(l, 2000) SP5 F O R M A T ( 3 X , ' V A L V E SET PRESSURE, psig:',T65,F9.3) WRITE(I, 2100) OP5 F O R M A T ( 3 X , ' P E R C E N T A G E OF OVERPRESSURE, (%):',T65,Fg.3) ~TRITE(I, 2200) T5 FOR~T(3X,'FLUID TEMPERATURE, DEG. F:',T65,F9.3) WRITE(I, 2300) Z5 F O R M A T ( 3 X , ' F L U I D C O M P R E S S I B I L I T Y FACTOR:',T65,F9.3) WRITE(I, 2400) }~5 F O R M A T ( 3 X , ' F L U I D M O L E C U L A R WEIGHT:',T65,F9.3) WRITE(l, 2500) N5 F O R M A T ( 3 X , ' R A T I O OF SPECIFIC HEATS OF FLUID:',T65,F9.3) WRITE(l, 2600) CI FORMAT(3X,'GAS CONSTANT DETERMINED BY RATIO OF Cp/Cv:',T65,F9.3) WRITE(l, 2700) WE F O R M A T ( 3 X , ' V A P O R RELIEF FLOW RATE, ib/h.:',T65,F12.0) WRITE(l, 2800) ACALI F O R M A T ( 3 X , ' C A L C U L k T E D VALVE ORIFICE AREA, in^2: ' , T65,F9.3) WRITE(l, 2900) ADESI F O R M A T ( 3 X , ' N E A R E S T STANDARD ORIFICE AREA, in^2: ' , T65,F9.3)
417
3000 3100
WRITE(l, 3000) REGIME(I) FORMAT(3X,'NEAREST STANDARD ORIFICE SIZE:',T65,A) WRITE(l, 3100) COUNTI(I) FORMAT(BX,'PREFERRED VALVE BODY SIZE, (IN-OUT) inches:',T65,A14)
3300
WRITE(l, 3200) WGMAX FORMAT(3X,'MAXIMUM VAPOR FLOWRATE WITH STD. ORIFICE ib/hr.:', T65,FI2.0) WRITE(l, 3300) FORCE FORMAT(3X,'REACTION FORCE, Ib:',T65,FI2.0)
3400
~ITE (I, 34007 FORMAT (76(iH-))
3200
FORM FEED THE PRINTING WRITE
PAPER TO THE TOP OF THE NEXT PAGE.
(i, *)CHAR(12)
RETURN STOP END
THIS PROGRAM STORES THE MANUFACTURERS' ORIFICE SIZES ****************************************************************
i0 20
SUBROUTINE MANUF (ADES) CHARACTER COUNT(14),REGIME(14),REG(14) CHARACTER*I4 COUNTI(14),ACOUNT(14),COUNLL(14) COMMON/NAME/I,Y, IJK COMMON/DATA4/COUNT,REGIME,COUNTI,COUNLL,REG, ACOUNT DIMENSION Y(14) DO I0 I=i,14 IF (ADES .EQ. Y(I)) THEN REGIME(I)=COUNT(I) COUNLL(I)=COUNTI(I) GO TO 20 ELSE ENDIF CONTINUE RETURN END
THIS PROGRAM STORES THE MANUFACTURERS'
i0
ORIFICE SIZES
SUBROUTINE AMANU (ADES3) CHARACTER COUNT(14),REGIME(14),REG(14),REGI(14) CHARACTER*I4 COUNTI(14),ACOUNT(14),COUNLL(14),ACONT(14) COMMON/NAME/I,Y,IJK COMMON/DATA/REGI,ACONT COMMON/DATA4/COUNT,REGIME,COUNTI,COUNLL, REG, ACOUNT DIMENSION Y(14) DO I0 I=i,14 IF (ADES3 .EQ. Y(I)) THEN REG~I)=COUNT(I) ACOUNT(I)=COUNTI(I) ELSE ENDIF CONTINUE
418
RETURN END THIS PROGRAM
i0
2O 30
STORES THE MANUFACTURERS'
ORIFICE
SIZES
SUBROUTINE MANUEL (ADES3, ADES31) CHARACTER COUNT(14),REGIME(14),REG(14) CHARACTER*I4 COUNTI(14),ACOUNT(14),COUNLL(14) COMMON/NAME/I,Y,IJK COMMON/DATA4/COUNT,REGIME,COUNTI,COUNLL, REG, ACOUNT DIMENSION Y(14) DO i0 I=l, 14 IF (ADES3 .EQ. Y(I)) THEN REG(I)=COUNT(I) ACOUNT(I)=COUNTI(I) ELSE ENDIF CONTINUE DO 20 I=i,14 IF (ADES31 .EQ. Y(I)) REGIME(I)=COUNT(I) COUNLL(I)=COUNTI(I) GO TO 30 ELSE ENDIF CONTINUE RETURN END
THEN
THIS PROGRAH DETERMINES THE REACTION FORCES IN ~ OPEN DISCHARGE SYSTEM *************************************************************** S U B R O U T I N E REACTF (WG, N, T, MW) R E A L N,MW COMMON/DATAS/FORCE VALI=(N*T)/((N+I.0)*MW) FORCE=(WG*SQRT(VALI))/366.0 RETURN END *************************************************************** BLOCK DATA R E A L Y(14) COMMON/NAME/I,Y,IJK DATA Y(1)/O.II/,Y(2)/O.196/,Y(B)/O.BOT/,Y(4)/0.503/ DATA Y(B)/O.785/,Y(6)/I.287/,Y(7)/I.838/,Y(8)/2.853/ DATA Y(9)/B.60/,Y(IO)/4.B4/,Y(II)/6.38/,Y(12)/II.05/ DATA Y ( I B ) / 1 6 . 0 0 / , Y ( 1 4 ) / 2 6 . 0 0 / END
419
CHAPTER 6
Compressors INTRODUCTION Compressors are gas movers and devices where mechanical work is done on the gas resulting in an ~increased pressure. Centrifugal compressors are used in a variety of chemical process industries (CPI). Their performance often varies with changes in process conditions. Sometimes the performance curves supplied by the manufacturer as discharge pressure and power requirement against an inlet volumetric flow may not be valid for variations in process conditions. Lapina [1] has provided a technique of obtaining a usable performance curve that is valid for the actual process conditions. Gas compressor applications are employed in the following duties: 9 9 9 9 9
refrigeration gas injection gas transmission gas lift wellhead separator boosting
There is no single type of compressor that can be adapted to a particular application. The operating conditions, space, and weight restrictions must be reviewed before the appropriate compressor is selected. In addition, the type of driver requires selection because its selection and process conditions are interrelated. Compressors can be classified into two basic types: reciprocating and centrifugal. The reciprocating compressor is well suited for high pressures and low volume flow rates, while the centrifugal is preferred for lower pressures and high volume flow rates. A centrifugal compressor 420
Compressors
421
uses the relationship between the velocity and pressure to increase the gas pressure. The gas enters a rotating impeller at the eye. The vanes force the gas to the outside rim, and subsequently throw it away from the rim at a high velocity. The gas is flung into the surrounding diffuser and volute passageways with a large volume, resulting in a reduced velocity. The velocity energy is thus changed into pressure energy and subsequently increases the gas pressure.
CENTRIFUGAL COMPRESSORS In a centrifugal compressor, at least half the driver power (e.g., an electric gas or a steam turbine or a gas engine) is changed into gas velocity energy. The increased velocity can be carried forward to the next impeller for further increase in the velocity. A centrifugal compressor uses the impeller to furnish rotational pressure, which squeezes the gas outward and closer together, resulting in some pressure increase. As the impeller is rotated faster, more energy is expended from the driver. Figure 6-1 shows the flow of gas in a centrifugal compressor. The amount of pressure a compressor impeller can develop depends on its speed and diameter. Increased velocity and pressure are required for .high speed, large diameter impellers. The impeller metal will have the same centrifugal force as the gas flowing through it. Also the impeller metal can tear apart if the diameter is too large or the impeller turns too rapidly. Therefore, the pressure that is developed with a single impeller is CENTRIFUGAL
FORCE
Gas Outlet
F7Z,
Figure 6-1. Gas flow in centrifugal compressor.
422
Fortran Programs for Chemical Process Design
limited by the strength of used where one impeller sure. The gas leaving one consequently boosting its
the impeller metal. An additional impeller is is incapable of providing the required presrim enters the next stage eye of the impeller, pressure.
RECIPROCATING COMPRESSORS Reciprocating compressors are furnished as single stage or multistage with ratings from fractional to more than 20,000 horsepower per unit. The pressures range from a low vacuum at suction to 30,000 psi and higher at discharge. The number of stages depends on the overall compression ratio. The compression ratio per stage is limited by the discharge temperature and does not exceed four [2]. Multistage compressors are provided with intercoolers between stages and with an aftercooler at the compressor discharge. These are heat exchangers that remove the heat of compression from the gas and reduce its temperature to approximately the temperature existing at the compressor intake. In certain cases, aftercooling and interstage cooling are not always beneficial. If the gas must be heated before entering a reactor, downstream heaters can be designed for a lower duty if the heat of compression is not removed. Multistage compressors are intercooled when the inlet temperature of the gas and the required compression ratio are such that the discharge temperature of the gas exceeds 300~ The coolers reduce the actual volume of gas flowing to the high pressure cylinders, the horsepower requirement, and keep the temperature within safe operating limits. In instances where a compressor with intercoolers is used to compress gases with condensable vapors, the combined effect of compression and cooling can condense out the liquid. Therefore, the liquid condensate must be removed by installing a knockout pot after the intercooler. This will prevent damage to the downstream of the compressor. T H E EQUATIONS Compressors are rated in feet of compression head developed. This is the energy conveyed to a gas stream by a compressor. It is observed by the increase in gas pressure as the gas passes through the compressor. Centrifugal compressors more nearly follow polytropic operation and are widely used to handle large volumes of gas at pressure ranges of 0.5 to several hundred psi.
Compressors
423
There are two ways to carry out the thermodynamic calculations for compression, namely by assuming: 1. An adiabatic (isentropic) reversible path: A process during which there is no heat added or removed from the system. The entropy is constant. That is pV k -
Constant
(6-1)
2. A polytropic reversible path: A process in which changes in gas characteristics during compression are reviewed. That is pV n - Constant
(6-2)
The constant temperature process is a case when n= 1, which is equivalent to isothermal compression, the constant pressure process n = 0; and the constant volume process n = ~,. Generally, it is impractical to build sufficient heat transfer equipment into the design of most compressors to convey the bulk of the heat of compression. Therefore most machines tend to operate along a polytropic path that approaches the adiabatic. Most compressor calculations are based on the adiabatic curve [3]. Relationships may be developed between the temperature, pressure, and volume for a polytropic process between state 1 and state 2. The ideal gas law states that: p V - RT
(6-3)
That is p,V~ - pzg2 Pl =
RT 1
,
(6-4) P2 -
V 1
RT 2
(6-5)
V 2
Rearranging p~ and P2 in Equation 6-5 Pl
Tl
V2
For a polytropic process between states 1 and 2,
(6-6)
Fortran Programs for Chemical Process Design
424
Pl
V2
p; -(~
/n (6-7)
Substituting Equation 6-6 into Equation 6-7
T~
V2
(6-8)
Therefore Tl _
V2
)n-I
Y~- 7,
(6-9)
or 1
(6-10) Substituting Equation 6-10 into Equation 6-7 n
In-'
(6-11)
The compression work can be calculated from the pressure-volume relationship as follows" W-
s
(6-12)
and pV n -
W-
C
for a polytropic process
ffl C dV V"
(6-13)
Integrating Equation 6-13
W -- C fj2 V-ndv
-
I CV'2-in--n CVll-n 1
(6-14)
Compressors n
425
n
C - P2V2 - plVl
Therefore Equation 6-14 can be expressed as W-[
p2V21-n-plV' ]
(6-15)
Using the ideal gas laws,
p2V2-
mRT 2
and
PlV1 -
mRT~
Equation 6-15 is given by W = mR(T2 - Tl ) 1-n
(6-16)
For the polytropic compression, work done is defined by W = nR(T2 - Tl ) 1-n
(6-17)
The polytropic compression work can be expressed as:
n
W = ~[plVl n-1
- P2V2]
(6-18)
Since the process from 1 to 2 is polytropic, then n
plVl
n
-
P2V2
(6-19)
and 1
V2
Pl )n
(6-20)
From Equation 6-18
w: n -nl P l V l [1 p2V2] P[-VI
(6-21)
426
Fortran Programs for Chemical Process Design
and
n-I
p2v2/p2/
(6-22)
pTV7- 7
Substituting Equation 6-22 into Equation 6-21
W
.__
n-1
p,v,I 1 -
P2
1
(6-23)
where R c = pz/pl = compression ratio Equation 6-23 is given by
I
n-l]
W _ ~n _ R~ n n - 1 pjV~ 1
(6-24)
Polytropic Compressor Real compression processes operate between adiabatic and isothermal compression. Actual compression processes are polytropic processes. This is because the gas being compressed is not at constant entropy as in the adiabatic process, or at constant temperature as in the isothermal processes. Generally, compressors have performance characteristics that are analogous to those of pumps. Their performance curves relate flow capacity to head. The head developed by a fluid between states 1 and 2 can be derived from the general thermodynamic equation. H-
IpP:VdP
where H = head, ft of fluid p = pressure, psi V = specific volume of the fluid, ft3/lb For polytropic compression, the pressure-volume relationship is
pVn= constant or
(6-25)
Compressors V-
C,1 p"
427 (6-26)
where V = mole volume, ft3/(lb mol) For the polytropic head, Hp, V can be substituted in Equation 6-25. The polytropic head is defined by
Hp - fpP:C__~_~ dP
(6-27)
pn Integrating Equation 6-27, Hp becomes
n En-' n-,n
Hp - C 1
n-1
P2 n
(6-28)
-- Pl
__tinn - 1 )!~/ p
p2 n
-1
1
(6-29)
where 1
I
p~'V~ - p~V 2 - C~
and
Rc = P__z_2 Pl
(6-30)
Substituting these into Equation 6-29, to eliminate C~ gives n
Hp -
--
n - 1 PlVI Rcn -- 1
(6-31)
Using the gas law relationship p l V i --- ZIRTI Mw where Z~ = T~ = M w= R=
compressibility factor at suction absolute temperature at suction, ~ molecular weight, (lb/lb mol) gas constant
(6-32)
Fortran Programs for Chemical Process Design
428
Substituting Equation 6-32 into Equation 6-31, the polytropic head, Hp, becomes" Z~RT~ Mw
Hp -
n n-1
-Re n - 1
(6-33)
If the compressibility factor, Z2, for the gas at discharge conditions is significantly different from that of the suction, then the average compressibility factor, Zavg' is used to calculate the polytropic head. Z
-_ avg
Z~ + Z 2
(6-34)
2
The polytropic head is defined by Z avgRTl Mw
Hp =
n n-1
R n -- 1 c
(6-35)
This can also be expressed as: 1545. Z~vg. Tl Mw
Hp
n n-1
Re
n
-1
(6-36)
The discharge temperature, ~ is given by (Hp)(Mw) ( n -
t2= (Zavg~R ~
l/+ t n
(6-37) '
There is a limit on the temperature as in the olefin or butadiene plants to prevent polymerization. At temperatures greater than 450 - 500~ the approximate mechanical limit, problems of sealing and casing growth could occur. High temperature requires a special, high machine cost. Therefore, multistage compressors are designed within the temperature range of 2 5 0 ~ 300~ In addition, a single-stage polytropic compressor can handle 7,000 to 11,000 feet of liquid, depending on the gas properties and inlet temperature [4]. The gas horsepower is expressed as m
w.H
P
Ghp - 1.98 x 106. gp
(6-38)
Compressors
429
The polytropic efficiency is used to compare adiabatic with polytropic performance. This is defined by
n /k/E n
1
k
1
(6-39) P
Figure 6-2 shows the relationship between the polytropic efficiency and adiabatic (isentropic) efficiency of a perfect gas.
Adiabatic Compressor The performance of reciprocating (piston) compressors with large valve area, or where valve losses are evaluated, is considered as close to
Figure 6-2. The relationship between the polytropic efficiency and the adiabatic efficiency for a perfect gas (Z = 1). (Source: A. K. Escoe, Mechanical Design of Process Systems, Volume 2, Gulf Publishing Company.)
Fortran Programs for Chemical Process Design
430
adiabatic behavior as can be measured. The thermodynamic definition of an adiabatic process requires that no heat be added or removed from a system in which a change of state occurs. The adiabatic head produces the following equation, which is similar to the polytropic head of Equation 6-33. This is expressed as: __
(z RT//k/[k: 1 avg"
Mw
Had
k - 1
Rc k
-
(6-40)
1
This can also be given by
Had
1545. Z a v g ~ T l ~IZ
--
k k- 1
R k c
--
1
(6-41)
The discharge temperature is:
T2-
(6-42)
The adiabatic gas horsepower is" Gh p
W, Had =
(6-43)
1.98 x 106 . gad
The adiabatic efficiency,
Ead ,
is:
k-l)
E a d = R -~- - 1 R
n
(6-44)
--1
where k
-
MwC MwC p -
P
(6-45)
1. 986
Generally, if the compression ratio for piston machines is less than 5 or 6, single-stage compression is used. If the total compression ratio is between 6 and 36, two-stage compression will be required. Three or more stages may be required for compression ratios greater than 36. For two-stage compression, calculate the square root of the total compression ratio. Then assume that the compression ratio per stage will be equal to the square root of the total compression [2].
Compressors
431
MechanicalLosses After the gas horsepower is calculated by either the polytropic or adiabatic compression method, horsepower losses due to friction in bearings, seal, and speed increasing gears should be added. Although, there is no accurate method in estimating mechanical losses from gas power requirements, Table 6-1 gives approximate mechanical losses as a percentage of the gas power requirement [5]. The mechanical losses can be calculated by Mechanical losses - (Ghp)(% mechanical losses)
(6-46)
The brake horsepower is: B hp - Ghp + mechanical losses
(6-47)
The volumetric flow rate at suction or inlet condition can be expressed as" Q~-(ICFM)-[
(MMSCFD) x 1 0x624 60
IZsl
)< 1 ~
][14"71[P~5-~T~]
(6-48)
ft 3/min
The actual mass flow rate is
G-Q. I
P,'Mw
lb/min
(6-49)
Table 6-1 Approximate Mechanical Losses as a Percentage of a Gas Power Requirement
Gas Power Requirement English (hp) Metric (kW)
0-3,000 3,000-6,000 6,000-10,000 10,000+
0-2,500 2,500-5,000 5,000-7,500 7,500+
Mechanical Losses %
3 2.5 2 1.5
432
Fortran Programs for Chemical Process Design
The accuracy of the developed polytropic head and efficiency curve may be reduced due to volume ratio effects. These effects are the influences that the performance of one impeller has on those of the impellers downstream. Lapina [ 1] stated these effects are greater as the number of impellers within a compression section increases. He proposed some guidelines to assess the volume-ratio effects for differences in the inlet conditions. An equation to calculate the value of 0 for both the old or reference inlet conditions and the proposed new inlet conditions is given by O-[(26I)(Mw)I~
(6-50)
MULTICOMPONENT GAS STREAMS
The design of a gas compressor for a gas mixture involves estimating the thermodynamic properties. The procedure for calculating the properties of a gas mixture is to use the weighted molal average of the property. These thermodynamic properties are estimated as follows: Molecular weight
Mw,mixtur e =
~ y~M~
(6-51)
i=l
Reduced temperature
(6-52)
Tr,mixture = ~ YiTr,i i=l
Reduced pressure
Pr,mixture
--
s YiPr,i
(6-53)
i--I
Molal heat capacity
MCp,mixtur~ - s
(6-54)
yiMCp,i
i=l
Ratio of molal heat capacities
k mixture =
MC p, m i x t u r e
MC v,m i x t u r e MC p, m i x t u r e
(MC p , m i x t u r e
--
1. 986)
(6-55)
Compressors Compressibility factor
Zmixtur e :
f(T~,Pr) for the mixture
433 (6-56)
where Yi = mole fraction of component i. Table 6-2 summarizes the differences between reciprocating and centrifugal compressors.
Surge Control of Compressors All dynamic compressors have a limited range of capacity for a given selection of impellers at a fixed speed. Below the minimum value of 50 to 70% of the rated flow, the compressor will surge, that is, it will become unstable in operation. Excessive vibration and possibly sudden failure or shutdown may arise. It is essential that all compressor systems be designed to avoid possible surge operation. This is done by incorporating some type of antisurge control system. This is to ensure that the flow into the compressor is sufficient to maintain stability at the required pressure drop across the compressor. The surge control system should be used only for surge control and must not be linked with other functions of the process control system; otherwise, this could result in the damage of the compressor.
Table 6-2 Comparison of Reciprocating and Centrifugal Compressors
Centrifugal Compressors
Reciprocating Compressors
1. Lower installed first cost where pressure and volume conditions are favorable.
1. Greater flexibility in capacity and pressure range.
2. Lower maintenance cost.
2. High compressor efficiency and lower power cost.
3. Greater continuity of service and dependability.
3. Capability of delivering higher pressure.
4. Less operating attention.
4. Capability of handling smaller volumes.
5. Greater volume capacity per unit of plot area.
5. Less sensitive to changes in gas composition and density.
6. Adaptability to high speed low maintenance cost drivers.
434
Fortran Programs for Chemical Process Design
Another surge control may be a blow off valve. This is automatically controlled to open or blow off excess capacity to the atmosphere if the process flow requirement is too low. In some cases, suction control valves are used. For gases that cannot be designed to atmosphere, a bypass control is the common antisurge control. This action bypasses unwanted flow back to the suction source. However, because the gas has already been compressed, its temperature is increased, and must therefore be cooled before entering the compressor a second time. In this case, a bypass cooler may be installed. The cooler may be avoided where the suction source is large or far away and the heat is dissipated by mixing or radiation. Figure 6-2A shows generalized flow characteristics of a compressor. In this figure, as the system resistance decreases, the compressor-system operating point moves to the right with a corresponding increase in the volumetric gas flow. However, the gas flow through the compressor cannot increase without a limit. This limit is known as "stonewall," and is caused by the choking of the gas as it exits from the compressor. These two operating limits are shown in Figure 6-2A. The designer should ensure that the system compressor curve-intersection point is well away from the surge or stonewall for efficient operation.
/ Surge - ~
/ Head
Normal operating zone
H
/ Stonewall
/ /
J J ,
Flow
,
ii
Q
Figure 6-2A. Generalizedflow characteristicsof a compressor.
Compressors
435
Treatment of Compressor Fluids The discharge from any compressor is a dirty corrosive liquid. Removing the sludge from a compressor air system can effect the following: 9 reduce installation costs incurred or drain traps, pipe and fittings, filters and regulators. 9 reduce the maintenance of drain trap and the failure rate of pneumatic equipment, which is caused by dirt and moisture in the supply line. 9 increase the life of pneumatic equipment. Cases of high performance equipment require high quality of clean and dry compressed air. Compressed air contains water, oil, and dirty particles, which affects the performance of pneumatic equipment. Compressed air dryers are used to remove water vapor and to dry the air. Two main types of dryers are used in the CPI: refrigerant and desiccant dryers. Desiccant dryers use an adsorbent material, such as activated alumina, or molecular sieves to remove moisture from the compressed air. Also, desiccant dryers can be either heat regenerated or heatless. The main advantage of desiccant dryers is their ability to cool the air to a very low temperature. They are more expensive in terms of both capital and running costs. They are important when higher quality air is required. These dryers are widely used in offshore oil industry, where extreme ambient conditions are required. The design of desiccant dryers for removing water vapor from a natural gas is explained in Chapter Four.
Nomenclature BhpC= CpCv = D= Ds= EadEp -
G= Ghp H=
brake or shaft horsepower, bhp constant specific heat at constant pressure, Btu/lb~ specific heat at constant volume, Btu/lb~ impeller diameter or rotor, ft specific diameter, ft adiabatic efficiency polytropic efficiency (try 0.75 for preliminary work) gas flowrate, lb/min gas horsepower, actual compression horsepower, excluding mechanical losses, hp head, (ft. lbf)/lb m
436
FortranPrograms for Chemical Process Design
adiabatic head, (ft lbf)/lb m H p - polytropic head, (ft lbf)/lb m ICFM - volume flow referred to inlet condition, ft3/min k - adiabatic (isentropic) exponent, Cp/C v MCp - molar specific heat at constant pressure, Btu/(lb tool~ M C v - molar specific heat at constant volume, Btu/(lb tool~ M w - molecular weight M M S C F D - million standard cubic feet per 24-hour day N - speed, rpm N ~ - specific speed, rpm n - polytropic exponent P - absolute pressure, psia P~ - suction pressure, psia P2 - discharge pressure, psia P ~ - suction pressure, psia Q - volume flow, ft3/s Q~= volume flow, ft3/min R - universal gas constant = 10.73(psia ft3/lb mole ~ = 1545[(lb ft 2) ft3/lb mole ~ or ft lb/lb mole ~ = 1.986(Btu/lb mole ~ R c - compression ratio, P2/P~ T~ - suction temperature, ~ T 2 - discharge temperature, ~ T ~ - suction temperature, ~ t~ - inlet temperature, ~ t 2 - discharge temperature, ~ W - workdone, Btu/lb-mole w - gas flow, lb/h Zavg -- average compressibility factor for gas from suction to discharge conditions. A value of 1.0 will give conservative results. Had-
CENTRIFUGAL PUMP HYDRAULICS Introduction Selecting the correct pump requires a knowledge of the system in which the pump must operate. In the chemical process industries (CPI), the engineer should start from the process flow sheets and schematics such as piping and instrument diagrams. The engineer must determine
Compressors
437
the optimum height and co-ordinate pump requirements, where pumps take suction from vessels or drums with the height above the pump. Where friction loss through piping forms a significant part of the total head, the designer should influence the selection of the allowable pressure drop (AP). In addition, volatile liquids, hot liquids, viscous liquids, and slurries will require a special approach and selection methods. If the pump is installed in a sump or a pit, essential factors require the correct sizing of the pit. These involve the flow requirements as the liquid flows toward the pump, and the positioning of the pump in the pit with sufficient baffles and spacing. Pump selection and troubleshooting are illustrated by Garay [6], McGuire [7], McNaughton [8], and have appeared in the literature [9,10,11 ]. This chapter considers the design of centrifugal pumps for given flow rates and physical properties. Hydraulics of the System
The required factors in pump hydraulics are: Density. The weight per unit volume of a substance, sometimes called specific weight. The density of water is 62.3 pounds per cubic foot. Specific Gravity (SpGr). The ratio of the density or specific weight of a substance to that of some standard substance. For liquids, the standard is water usually at 60~ In the petrochemical industry, API gravity use is 10 ~ API. This corresponds to a specific gravity of 1.0.
SpGr(relative to water at 60 ~ F) =
141.5 131.5+ ~ API
(6-57)
In the chemical industry, degrees Baume" are commonly used. For liquids lighter than water, SpGr -
141.5 130 + degrees Baume'
(6-58)
For liquids heavier than water, SpGr =
145 145 - degrees Baume'
(6-59)
Pressure. The force exerted per unit area of a fluid, often designated as pounds per square inch (psi).
438
Fortran Programs for Chemical Process Design
Barometric Pressure. The atmospheric pressure at the pump location. It changes with the weather conditions.
Gauge Pressure (psig). The gauge pressure is the pressure above atmospheric (or below in a vacuum). Atmospheric Pressure (psi). The force exerted on a unit area by the weight of the atmosphere. The pressure at sea level due to the atmosphere is 14.7 psi. Absolute Pressure (psia). The sum of atmospheric and gauge pressures. Absolute pressure in a perfect vacuum is 0, and at the atmosphere at sea level is 14.7 psi (0 psig). 1 atmosphere (bar) = 14.7 psi = 34 ft of water conversion factor = 34/14.7 = 2.31 psi - head in feet • SpGr 2.31
(6-60)
Vapor Pressure. The pressure at which a liquid at a specified temperature is in equilibrium with the atmosphere or with its vapor in a closed system. At pressures below the vapor pressure at a given temperature, the liquid will start to vaporize. This is due to a reduced pressure at the surface of the liquid. Head. The height of a fluid column, measured in feet, to ascertain the gauge pressure at the bottom of the column. Head, ft - 2.31 (pressure, psi) (SpGr)
(6-61)
Friction Head. The pressure to overcome the resistance to the flow in the pipe and fittings. It is expressed as lbs/sq, in. or feet of liquid. Static Head. Fluid elevation above or below the datum line. For horizontal centrifugal pumps, static head is calculated from the pump center line; with vertical pumps, it is taken from the eye of the firststage impeller. Velocity Head. The kinetic energy of a flowing fluid. It is defined by V 2
(6-62)
k =
2g
Compressors
439
Suction Lift. The manometer reading in feet of liquid at the pump suction (corrected to a datum), minus the velocity head. This term expresses the suction head when it is below atmospheric pressure. Static Suction Lift. The vertical distance from the center line of the pump down to the free level of the liquid source. Net or Dynamic Suction Lift. Static suction lift, friction head, and velocity head. Suction Head. Occurs when the source of supply is above the center line of the liquid. Static Discharge Head. The vertical elevation from the center line of the pump to the point of free discharge. Dynamic Discharge Head. The static discharge head plus dynamic suction lift or minus dynamic suction head. Total Discharge Head. The pressure reading at the pump discharge in feet of liquid, corrected to a datum, plus the velocity head. Total Head. The algebraic difference between the discharge and suction heads. A suction lift is added to the total discharge head; a positive suction head is subtracted from the discharge head. Head Losses. The frictional head losses caused by fluid flow through pipes, fittings, valves, and nozzles. NPSH. The net positive suction head is the most critical factor in a pumping system. A sufficient NPSH is essential, whether working with centrifugal, rotary, or reciprocating pumps. Marginal or inadequate NPSH will cause cavitation, which is the formation and rapid collapse of vapor bubbles in a fluid system. Collapsing bubbles place an extra load on pump parts and can remove a considerable amount of metal from impeller vanes. Cavitation often takes place before the symptoms become evident. Factors that indicate cavitation are increased noise, loss of discharge head, and reduced fluid flow.
Pump Hydraulics Calculations Pump sizing computation requires the following information on the process flow diagram or a pump calculation sheet: service, size and type, fluid, pump temperature, density at pump temperature, design capacity
Fortran Programs for Chemical Process Design
440
in gpm at pump temperature, suction head, discharge head, design differential, NPSH (net positive suction head) and power requirements. Calculating the suction condition of a pump comprises the following: 1. vessel pressure (original pressure). 2. add the suction head or minus for a suction lift, S.Hd. 3. minus the line pressure drop, L loss. That is Suction pressure = orig. pres. + S . H d . - L. loss
(6-63)
The discharge condition of a pump considers the following: 1. 2. 3. 4. 5. 6. 7. 8.
delivery pressure static head control valve pressure drop exchanger pressure drop orifice pressure drop furnace pressure drop line pressure drop other pressure drop
The NPSH = (orig. pres. - vapor pres.) + S.Hd - L. loss, ft
(6-64)
The net head at the suction of the pump impeller must not exceed a certain value to prevent formation of vapor and cause cavitation of the metal. This minimum head is called the available NPSH a, and must be greater than the required NPSH~ for a stable pump operation. Pump discharge pres. = del. pres. + Shd. + AP Cont. v. + AP exch. + AP orif. + AP furn. + AP line + AP Other.
(6-65)
Total pump AP = pump discharge p r e s . - pump suction pres. (6-66) Bhp (brake horsepower) =
(flow rate, gpm)(pump AP, psi) (1715)(EFF)
(6-67) Bhp =
(gpm)(H)(SpGr) (3960)(EFF)
(6-68)
Compressors
441
where H = total discharge head Table 6-3 shows a pump hydraulic design calculation data sheet. Centrifugal P u m p Efficiency
The design engineer must use the expected pump efficiency provided in the pump performance curve to evaluate the required brake horsepower for a centrifugal pump. In the early stages of the design, it is customary to estimate a value for the efficiency. Final values depend on the specified pump and the operating conditions that are encountered. Branan [4] has developed an equation to calculate the centrifugal pump efficiency and pump horsepower. The equation was based on pump efficiency curves of the NGPSA Engineering Data Book. These efficiency
Table 6-3 Pump Hydraulic Design Calculation Sheet Gas Oil
Fluid Viscosity at Pumping temperature (RT), cP
0.6
Vapor Pressure at pumping temperature (RT), psia
0.01
Specific gravity, (SpGr) at RT.
1.04
Density at RT., lb/ft 3
64.87
Operating flow at ET., gpm
250.0
Design Flow at ET., gpm
250.0
Discharge
Suction Vessel pressure, Orig. Pres., psia Static head S.Hd., psi - Line loss APf, psi. Suction pres. = Orig. pres. + S.Hd. - L. line
27.7
Delivery pressure, psia. 28.2
5.4
Static head S.Hd., psi 14.86
0.23
AP Control valve, psi
10.0
AP Exchanger, psi
5.0
AP Orifice, psi AP Furnace, psi
2.0
Line loss AP psi
4.38
32.78
NPSH = (orig. pres.- vapor pres.) + 32.77 S.Hd.- L.loss, psia.
Other AP, contigency, psi
442
Fortran Programs for Chemical Process Design
curves give good results with the vendor data (the range of developed heads, 50ft to 300ft, and the flow rates, 100 to 1000 gpm). The equation for calculating the pump efficiency is expressed as" EFF - ( 8 0 - 0. 2855H + 3.78 x 10 -4 HQ - 2 . 3 8 x 10 -THQ 2 + 5 . 3 9 x 10 - 4 H 2
- 6.39 x 10 -7 HZQ + 4 x 10 -'~ HZQ 2)(1/100)
(6-69)
The actual brake horsepower required for pump operation Bhp is" Bhp-
HBhp EFF
where EFF H Q HBhp B hp
(6-70)
= pump efficiency (decimal fraction) = developed pump head, ft = flow rate through pump, gpm = hydraulic brake horsepower, hp - actual brake horsepower required for pump operation, hp
Using Equation 6-69, Figure 6-3 shows typical characteristic curves for a 6-inch centrifugal pump operating at 1750 rpm. Equation 6-69 gives
160
140
120
100 EFFICIENCY
80
HEAD BHP
40
20
0
0
100
200
300
400
600
FLOWRATE
Figure 6-3. 1750 rpm.
600
700
800
900
1000
gpm
Typical characteristic curves for a 6-inch centrifugal pump operating at
Compressors
443
results within 7% of the actual pump curves for the range of applicability (H = 50 to 300 ft, Q = 100 to 1000 gpm). For flows in the range of 25 to 99 gpm, an approximate efficiency can be obtained by solving Equation 6-69 for 100 gpm and then subtracting 0.35% gpm times the difference between 100 gpm and the low flow rate in gpm. For low flow rates, near 25-30 gpm, this will give results within about 15% for the middle of the head range (pump AP) and 25% at the extremes. The horsepower at the 25-30 gpm level is normally below 10 [4].
AFFINITY LAWS The affinity laws express the mathematical relationship between the variables involved in a pump's performance. By applying the principles of dimensional analysis on the physical properties affecting pump operation, the relationship is: f{
Q NQ ~ oQD} (gcH)O.SD2,(gcH)O.7 5 , ~-~ - 0
(6-71)
where the dimensionless expressions are: n, =
Q (gcH~
2
(6-72)
N Q 0.5
n2 =
71~3 =
(gcH) ~ pQD
~D 2
(6-73)
(6-74)
For true dynamic similarity, n~, n2, and n 3 must be constant for similar pumps or for the same pump at different speeds, n 3, which is the Reynolds number, cannot be maintained constant with changes in pump speed or size if the same liquid is pumped. Therefore, for practical application, the Reynolds number can be neglected when considering the conditions for dynamic similarity. The conditions for dynamic similarity are constant values of n~ and n 2. Equation 6-71 can be altered by appropriate mathematical operation to yield
Fortran Programs for Chemical Process Design
444
ff Q
No}
(gcH)O.5D2,(gcH)O.5
- 0
(6-75)
where ND (gcH) ~
rc2 /
m
(6-76)
Therefore, for conditions of similarity of flow rt,, T[~2,and rt~ are constant. Stepanoff [12] has shown that the velocity diagrams at the impeller are geometrically similar when the pumps are operating at the same efficiency for similar pumps or for the same pump at different speeds.
Applications of Affinity Laws For the same pumps or geometrically similar pumps, Q/(gcH)~ 2, NQ~176 and ND/(g~H) ~ have unique values corresponding to each efficiency. In addition, these values remain constant despite the impeller diameter or pump speed. For the same pump operating at different speeds the impeller diameter, D, is constant. That is D - constant Therefore at any given efficiency Capacity"
Q
and
(g~H)~ D 2
ND (gcH) ~
are constant
or
Q /ND (g~H)~ D 2
(gcH) ~
= Constant
(6-77)
Therefore
Q ND 3
= Constant - K
(6-78)
But D is constant Therefore Q- K'N
(6-79)
Compressors
445
where K" and K are constants Therefore Q2 ~ N2
Ql
(6-80)
NI
Head" ND = Constant (gcH) ~
-
J
(6-81)
or N2D 2
H
= J'
where J and
J"
(6-82) are constants.
H2 _
(/2
H1 -
-~l
Therefore at a constant diameter N2
(6-83)
Break horsepower (Bhp) Bhp ~ QH c~ N 3 at constant D Therefore BhP2 _
( )3 N2
(6-84)
These laws apply only for efficiencies of the same value. For geometrically similar pumps with different impeller diameters but same speeds: From Equation 6-78 Q - KND 3 At constant speed Q - K"D 3 where K and K" are constants. or
(6-85)
Fortran Programs for Chemical Process Design
446
Q2
D2
(6-86)
Head: At constant speed from Equation 6-82
H2
D2
(6-87)
Brake horsepower (Bhp)
BhP2 _
/ D2 / 5
(6-88)
Specific Speed One dimensionless expression in the affinity laws is: NQ ~
(gcH) ~
= constant at a given efficiency
It is often used by designers in sizing and selecting the type of pump or compressor. The performance of centrifugal pumps is related to a parameter called specific speed. It is a correlation of capacity, head, and speed at optimum efficiency that classifies pump impellers with respect to their geometric similarity. Specific speed is a number expressed algebraically as: _ NQ ~ N ~ - HO.75 where N s = N = Q= H=
(6-89)
specific speed of the pump pump speed, rpm flow at optimum efficiency, gpm head per impeller, ft
The specific speed of an impeller is the rotation in rpm. This is a geometrically similar impeller that would run if it were of such size as to discharge 1 gpm against a total head of 1 ft. Specific speed is used to determine the NPSH required by a given impeller. Those that produced high total dynamic head (TDH) have low specific speeds, and conversely,
Compressors
447
low TDH impellers have high specific speeds. At a particular head and capacity, a pump of low specific speed will operate safely at lower NPSH than one with a high specific speed. Designers should ensure that the capacity or TDH is increased when recommending speeding up an existing pump. This will enable that the new NPSH does not exceed what is available. D~ =
DH0.25 Q0.5
(6-90)
Figure 6-4 shows the dimensionless parameters as presented by Balje. The figure is the graphical combination of Equations 6-89 and 6-90. Nomenclature Bhp = C= D = del. pres. = D~EFF = gpm = H= HBhp =
brake or shaft horsepower, bhp constant impeller diameter or rotor, ft pump delivery pressure, psia specific diameter, ft pump efficiency fluid flow rate through pump head, (ft lb)/lb hydraulic brake horsepower required by pump (pump efficiency = 1.0 for HBHP calculation) L. loss = pressure drop due to piping, psi or ft orig. pres. = vessel pressure on pump suction, psia pump dish. pres. = pump discharge pressure, psia Q = Volumetric flowrate, gpm vap. pres. = vapor pressure of pumped fluid at pumping temperature, psia suc. p r e s . - pump suction pressure, psia S.Hd. = static head of liquid on pump suction or discharge, ft total pump AP = pressure rise across pump, psi or ft PROBLEMS AND SOLUTIONS Problem 6.1 A centrifugal compressor is to be specified for a gas plant. The unit is to compress 18,000 lbm/hr of gas mixture at 50 psia and 150~ to 200 psia. The gas mixture consists of 30% hydrogen (H2), 45% methane (CH4),
448
Fortran Programs for Chemical Process Design
448
w
u)
c'-
vO ~m c ~IJJ
8~ Cj~ N ~
e-<
c
o'6
t-.O_
e~ Nc
~rn
.
I - - --'-~.
E~ ~
• r--
Compressors
449
15% ethane (C2H6) , 7% propane (C3H8) , and 3% n-butane ( n - C4H10 ). Assuming a polytropic efficiency of 75%, and the average compressibility factor, Zavg-- 0.95, calculate the polytropic head, total break horsepower, and the discharge temperature. Table 6-4 gives the properties of the gas mixture. The mixture specific heat ratio, k, is defined by MCp k
_
MC v k
MCp
m
m
MCp -
1. 986
10.317 8.331
k - 1.238 The average molecular weight, M w - 17.162 Solution
The computer program PROG61 calculates the polytropic and adiabatic heads of a compressor. Table 6-5 shows the input data and results of the gas mixture. The gas discharge temperature is 310.4~ and the compressor polytropic head is 76874 ft with a total break horsepower =_960 hp.
Table 6-4 Properties of the Gas Mixture
MCp
Gas H2
CH4 C2H 6
C3H8 nC4Hl0
Mole Molecular fraction weight Mw Y 0.30 0.45 0.15 0.07 0.03
2.01 16.04 30.07 44.09 58.12 Mw =
Btu
Pc
yMw
psia
0.603 7.218 4.511 3.086 1.744 17.162
188.1 666.0 707 616 551
yMCp @ 150~ @ 150~ lb,,,, mol. ~ R ~
Tc (~ 60.2 343 550 660 765
6.94 8.95 13.78 19.52 25.81 MCp=
2.082 4.028 2.067 1.366 0.774 10.317
Fortran Programs for Chemical Process Design
450
Table 6-5 Input Data and Computer Output of Polytropic Compressor Calculations DATA61.DAT POLYTROPIC 18000.0 50.0 80.0 1.238 0.95 0.75
200.0 17.162
POLYTROPIC
COMPRESSOR
CALCULATION
T Y P E OF S E R V I C E : GAS FLOWRATE, ib/hr.: S U C T I O N P R E S S U R E , psia: D I S C H A R G E P R E S S U R E , psia: COMPRESSION RATIO: I N L E T T E M P E R A T U R E , oF: R A T I O O F S P E C I F I C H E A T C A P A C I T I E S , k: M O L E C U L A R W E I G H T O F GAS, i b / i b - m o l e : A V E R A G E C O M P R E S S I B I L I T Y F A C T O R , Z: POLYTROPIC EFFICIENCY: P O L Y T R O P I C HEAD, ft: G A S D I S C H A R G E T E M P E R A T U R E , oF: G A S H O R S E P O W E R , hp: M E C H A N I C A L L O S S E S , hp: T O T A L B R A K E H O R S E P O W E R , hp: W O R K DONE, i b - m o l e / h r . :
POLYTROPIC 18000.000 50.000 200.000 4.000 80.000 1.238 17.162 .9500 .75 76873.770 310.404 931.803 27.954 959.757 735.634
Problem 6.2 Size a centrifugal pump with a 4-inch suction nozzle, and a 3-inch discharge nozzle that handles a gas oil at normal flow rate of 250 gpm through piping and component's system as shown in Figure 6-5, at the following conditions, temperature t = 555~ specific gravity = 1.04, and viscosity of the gas oil ~t = 0.6 cE Table 6-3 gives the details on a pump calculation sheet. Other piping details are shown in Table 6-6.
13.5 PSIG
I
13 PSIG
35'
! 14'
i
"-
f Figure 6-5. Gas oil transfer pump system.
[
Compressors
451
Table 6-6 Piping Details and Fittings Schedule 40
Suction Line
Discharge Line
6 6.065 39
4 4.026 156
5 4.026
20 3.068 4
Normal size, inch Inside diameter, inch Actual pipe length,ft
Fittings Long radius 90 ~ elbows Reducer, inch Gate valve Entrance exit
1 1
Solution
The line pressure drops for the suction and the discharge can be calculated by the method described in Chapter Three. The total suction pressure drop is: Total suction AP~uct = 5 . 4 0 + 27.7 - 0.23 =
Total discharge APdisch
32.87 psi "
-
-
28.2 + 14.86 + 10.0 + 5 . 0 + 2 . 0 + 4.38
= 6 4 . 4 4 psi Differential pressure AP - APdisch
-
-
APsuct
= 6 4 . 4 4 - 32.87 = 31.57 psi
The brake horsepower Bhp -
(Q, gpm)( AP, psi) (1715)(EFF) (250)(31.57) (1715)(0.7)
= 6.57 hp ~ 7 . 0 hp
452
Fortran Programs for Chemical Process Design
The computer program PROG62 sizes the centrifugal pump for the given flow rate and fluid characteristics. The program calculates the hydraulic brake horsepower required by the pump and the actual brake horsepower. In addition, the program computes the available net positive suction head (NPSH) and the pump efficiency. Table 6-7 shows the input data and results of the pump hydraulic design calculation. The available NPSH is 64 ft, and the actual brake horsepower required for the pump operation is 7.0hp, with a pump efficiency of 68%.
Table 6-7 Centrigugal Pump Sizing- Program Inputs and Outputs DATA62.DAT GAS-OIL 555.0 0.6 1.04 4.0 250.0 27.7 0.22 12.0 28.2 33.0 i0.0 5.0 2.O 0.0 4.38 0.0 0.0 CENTRIFUGAL
PUMP SIZING
F L U I D NAME: F L U I D O P E R A T I N G T E M P E R A T U R E , oF: F L U I D V I S C O S I T Y , cP: FLUID SPECIFIC GRAVITY: F L U I D V A P O R P R E S S U R E , psia: V O L U M E T R I C F L O W R A T E : , gpm: P R E S S U R E A T E Q U I P M E N T , psia: S U C T I O N L I N E L O S S E S , psi: O T H E R L O S S E S (e.g. S T R A I N E R / F I L T E R ) , psi: S U C T I O N S T A T I C HEAD, ft.: S U C T I O N S T A T I C HEAD, psi: T O T A L P U M P S U C T I O N P R E S S U R E , psig: T O T A L P U M P S U C T I O N P R E S S U R E , psia: A V A I L A B L E N E T P O S I T I V E S U C T I O N HEAD, ft.: DELIVERY PRESSURE, psia.: D I S C H A R G E S T A T I C HEAD, ft.: D I S C H A R G E S T A T I C HEAD, psi: C O N T R O L V A L V E P R E S S U R E DROP, psi.: E X C H A N G E R P R E S S U R E DROP, psi.: O R I F I C E P R E S S U R E DROP, psi.: F U R N A C E P R E S S U R E DROP, psi.: D I S C H A R G E L I N E L O S S E S , psi.: O T H E R L O S S E S , psi.: T O T A L P U M P D I S C H A R G E P R E S S U R E , psig: T O T A L P U M P D I S C H A R G E P R E S S U R E , psia: T O T A L P U M P P R E S S U R E DROP, psi.: T O T A L P U M P P R E S S U R E DROP, ft.: H Y D R A U L I C B R A K E H O R S E P O W E R R E Q U I R E D BY T H E PUMP, bhp: A C T U A L B R A K E H O R S E P O W E R R E Q U I R E D F O R P U M P O P E R A T I O N bhp: P U M P E F F I C I E N C Y , (%):
GAS-OIL 555.000 .6000 1.040 4.000 250.000 27.700 .220 .000 12.000 5.403 18.183 32.883 64.153 28.200 33.000 14.857 i0.000 5.000 2.000 .000 4.380 .000 49.737 64.437 31.555 70.O88 4.600 6.809 67.557
Compressors
453
Problem 6.3 A 6-inch pump delivers the following heads when rotating at 1750 rpm and at varying flow rates as shown in Table 6-8. For a geometrically similar 8-inch pump running at 1450 rpm, calculate" 1. 2. 3. 4.
the heads developed by the 8-inch pump. the brake horsepower for the flow rates. the pump efficiencies for the 6- and 8-inch pumps. develop the characteristic curves for the 6-inch and the 8-inch pumps.
Solution Using the affinity law (Equation 6-76), the corresponding values for the head at varying flow rates are shown in Table 6-8. The computer program PROG63 calculates both the brake horsepower and pump efficiencies of the 6- and 8-inch pumps. Tables 6-9 and 6-10 show the input data and the computer results of these pumps. The characteristic curves are shown in Figure 6-6.
Table 6-8 Total Heads and Flow Rates for the 6-inch and 8-inch Centrifugal Pumps
6 inch @ e (gpm)
1750 rpm H (ft)
8 inch @ Q (gpm)
1450 rpm H (ft)
0 100 200 300 400 500 600 700 800 900 1000
160 158 155 152 146 140 132 118 104 84 60
0 100 200 300 400 500 600 700 800 900 1000
195.3 192.8 189.2 185.5 178.2 170.9 161.1 144.0 126.9 102.5 73.2
454
Fortran Programs for Chemical Process Design
200 180 160 140 vA
120
8"
EFFICIENCY
8"
HEAD
8" BHP
100
6" HEAD
80
,~
6"
~ 6 "
60
EFFICIENCY BHP
40 20
0
100
200
300
400
500
FLOWRATE
600
700
800
900
1000
gpm
Figure 6-6. Characteristiccurves of the 6-inch and the 8-inch centrifugal pumps.
Table 6-9 Efficiency and Brake Horsepower Calculations for the 6-inch Centrifugal Pump Program Inputs and Outputs DATA63.DAT ii 0~ 160.0 i00.0 158.0 200.0 155.0 300.0 152.0 400.0 146.0 500.0 140.0 600.0 132.0 700.0 118.0 800.0 104.0 900.0 84.0 i000.0 60.O
EFFICIENCY
FLOWRATE .0 i00.0 200.0 300.0 400.0 500.0 600.0 700.0 800.0 900.0 1000.0
gpm
HEAD 160.0 158.0 155.0 152.0 146.0 140.0 132.0 118.0 104.0 84.0 60.0
ft.
AND
BRAKE
HORSEPOWER
EFFICIENCY .0 52.4 56.3 59.4 62.2 64.4 66.2 67.8 69.0 70.4 72.3
%
CALCULATIONS
BRAKE
HORSEPOWER
.0 7.6 13.9 19.4 23.7 27.4 30.2 30.8 30.5 27.1 20.9
Bhp
Compressors
455
Table 6-10 Efficiency and Brake Horsepower Calculations for the 8 inch Centrifugal Pump Program Inputs and Outputs DATA63.DAT ii 0.0 195.3 i00.0 192.8 200.0 189.2 300.0 185.5 400.0 178.2 500.0 170.9 600.0 161.1 700.0 144.0 800.0 126.9 900.0 102.5 i000.0 73.2
EFFICIENCY AND BRAKE HORSEPOWER CALCULATIONS
FLOWRATE gpm 90 I00.0 200.0 300.0 400.0 500.0 600.0 700.0 800.0 900.0 i000.0
H E A D ft. 195.3 192.8 189.2 185.5 178.2 170.9 161.1 144.0 126.9 102.5 73.2
EFFICIENCY .0 49.6 53.8 57.3 60.3 62.7 64.5 66.2 67.4 68.9 71.0
%
BRAKE HORSEPOWER Bhp .0 9.8 17.8 24.5 29.8 34.4 37.8 38.5 38.0 33.8 26.1
References 1. Lapina, R. E, "Compressor Performance, How Changes in Inlet Conditions Affect Efficiency," Chem. Eng., July 1990, pp. 110-113. 2. Engineering Data Book, Vol. 2, Gas Processors Suppliers Association, 10th Ed., 1987. 3. Perry, R. H., et. al., Perry's Chemical Engineers'Handbook, 6th Ed., McGraw-Hill Book Company, 1984. 4. Branan, C., The Process Engineer's Pocket Handbook, Gulf Publishing Company, 1976. 5. Escoe, A. K., Mechanical Design of Process Systems, Vol. 2, Gulf Publishing Company, 1986. 6. Garay, E N., Pump Application Desk Book, The Fairmont Press, Inc., 1990. 7. McGuire, J. T., Pumps for Chemical Processing, Marcel Dekker Inc., New York, 1990.
456
Fortran Programs for Chemical Process Design
8. McNaughton, K. J. and the Staff of Chemical Engineering, The Chemical Engineering Guide to Pumps, McGraw-Hill Publications Co., N.Y., 1984. 9. Schiavello, B., "Troubleshooting Centrifugal Pumps," Chem. Eng. Prog., Nov. 1992, pp. 35-42 10. Hawks, J., "Process Improvement and Pumps," Chem. Eng. Prog., Nov. 1992, pp. 26-30. 11. Hughson, R. V., "Programs Predict Pump Performance," Chem. Eng. Prog., Nov. 1992, pp. 43-46. 12. Stepanoff, A. J., Centrifugal and Axial Flow Pumps, John Wiley & Sons, Inc., New York, 1948.
PROGRAM
PROG61
****************************************************************** THIS PROGRAM CALCULATES EITHER POLYTROPIC OR ADIABATIC HEADS, THE ASSOCIATED GAS HORSEPOWER AND GAS DISCHARGE TEMPERATURE, AS LONG AS THE POLYTROPIC OR ADIABATIC EFFICIENCY IS U S E D WITH THE COMPANION HEAD CALCULATION. THE PROGRAM ALSO CALCULATES ADIABATIC EFFICIENCY FROM POLYTROPIC EXPONENT "K" F R O M T H E MOLAL HEAT CAPACITY (MCp).
Hpoly(PH) ZAV
= POLYTROPIC H E A D , ft = AVERAGE COMPRESSIBILITY FACTOR FOR GAS FROM SUCTION TO DISCHARGE CONDITIONS. A VALUE OF 1.0 WILL GIVE CONSERVATIVE RESULTS. R = GAS CONSTANT= 1544. TS = SUCTION TEMPERATURE, oF MW = MOLECULAR WEIGTH OF GAS N = POLYTROPIC EXPONENT RC = COMPRESSION RATIO (DISCHARGE PRESSURE/SUCTION PRESSURE) P2/Pl TII = INLET TEMPERATURE, oF TI2 = DISCHARGE TEMPERATURE, oF K = ADIABATIC EXPONENT, Cp/Cv Epoly (PE) = POLYTROPIC EFFICIENCY (TRY 0.75 FOR PRELIMINARY WORK) HP = GAS HORSEPOWER, bhp. W = GAS FLOW, ib/h H a d (AH) = ADIABATIC HEAD, ft T21 = SUCTION TEMPERATURE, oF T22 = DISCHARGE TEMPERATURE, oF E a d (AE) = ADIABATIC EFFICIENCY M C p (MCP) = MOLAL SPECIFIC HEAT OF GAS AT CONSTANT PRESSURE, Btu/(ib mol)(oF). P1 = SUCTION PRESSURE, psia. P2 = DISCHARGE PRESSURE, psia. CHOICE = CHOOSE WHETHER THE PROCESS IS ADIABATIC OR POLYTROPIC ********************************************************************** CHARACTER*I4 CHOICE REAL K,MW,N COMMON/PROGI/W,PI,P2,TII,TI2,T21,T22,K,MW,N,ZAV,AE,AECAL,RC COMMON/PROG2/POLYH,ADIAH,HPPOLY,HPADIA,PE,PECAL,BHPP,BHPA COMMON/PROG3/WORK,PROD OPEN OPEN
(UNIT=3,FILE='DATA61.DAT',STATUS='OLD',ERR=I8) ( U N I T =i, F I L E = ' P R N ' )
DETERMINE WHETHER OR ADIABATIC. READ 15
FORMAT IF
( 3,
15,
THE
ERR=I9)
COMPRESSOR
CALCULATION
IS
POLYTROPIC
CHOICE
(A)
(CHOICE
.EQ.
'POLYTROPIC'
.OR.
457
CHOICE
.EQ.
'polytropic')
THEN
READ READ READ
(3, * , ERR=I9) (3, * , ERR=I9) (3, * , ERR=I9)
W, PI, P2 TII, K, MW ZAV, PE
GO TO 40 ELSEIF READ READ READ
(CHOICE
.EQ.
'ADIABATIC'
(3, * , ERR=I9) (3, * , ERR=I9) (3, * , ERR=I9)
.OR. C H O I C E
.EQ.
'adiabatic')
THEN
W, PI, P2 TII, K, MW ZAV, AE
GO TO 50 ENDIF
18 I0
WRITE (*, i0) FORMAT (3X, 'FILE DOES NOT EXIST')
19 20
GO TO 999 WRITE (*, 20) FORMAT (3X, 'ERROR M E S S A G E GO TO 999
40 30
W R I T E (i, 30) FORMAT (///,26X,'POLYTROPIC C O M P R E S S O R
IN THE DATA VALUE')
CALCULATION',
/, 78(IH*))
CALL POLYTR
60
70
80
90
i00
WRITE (i, 60) CHOICE, W, PI, P2, RC FORMAT (5X,'TYPE OF SERVICE:', T60, A,/, 5X,'GAS FLOWRATE, ib/hr.:',T60, F12.3,/, 5 X , ' S U C T I O N PRESSURE, psia:', T60, F12.3,/, 5 X , ' D I S C H A R G E PRESSURE, psia:', T60, F12.3,/, 5 X , ' C O M P R E S S I O N RATIO:', T60, F12.3) WRITE (i, 70) TII, K, MW FORMAT (5X,'INLET TEMPERATURE, oF:',T60, F12.3,/, 5 X , ' R A T I O OF SPECIFIC HEAT CAPACITIES, k : ' , T 6 0 , F I 2 . 3 , / , 5 X , ' M O L E C U L A R W E I G H T OF GAS, i b / i b - m o l e : ' , T 6 0 , F l 2 . 3 ) W R I T E (i, 80) ZAV, PE FORMAT (5X,'AVERAGE C O M P R E S S I B I L I T Y FACTOR, Z:',T60, 5X,'POLYTROPIC EFFICIENCY:',T60,F8.2) W R I T E (I, 90) POLYH, TI2, HPPOLY FORMAT ( 5 X , ' P O L Y T R O P I C HEAD, f t : ' , T 6 0 , F l 2 . 3 , / , 5X,'GAS D I S C H A R G E TEMPERATURE, oF:',T60, 5X,'GAS HORSEPOWER, hp:', T60, F12.3)
F8.4,/,
F12.3,
WRITE (i, I00) PROD, BHPP, WORK FORMAT ( 5 X , ' M E C H A N I C A L LOSSES, hp:', T60, F12.3,/, 5 X , ' T O T A L BRAKE HORSEPOWER, hp:',T60, F12.3,/, 5X,'WORK DONE, Ib-mole/hr.:', T60, F12.3) WRITE
(i, 105)
458
/,
105
FORMAT
C
(78(IH-))
FORM FEED THE PRINTING WRITE
PAPER TO THE TOP OF THE NEXT PAGE.
(i, *) CHAR(12)
GO TO 999 50 ii0
WRITE (i, ii0) FORMAT ( / / / , 2 6 X , ' A D I A B A T I C
COMPRESSOR
CALCULATION',
/, 78(IH*))
CALL ADIAB
* * * *
WRITE (i, 120) CHOICE, W, PI, P2, RC FORMAT (5X,'TYPE OF SERVICE:', T60, A,/, 5X,'GAS FLOWRATE, ib/hr.:', T60, F12.3,/, 5 X , ' S U C T I O N PRESSURE, psia:', T60, F12.3,/, 5 X , ' D I S C H A R G E PRESSURE, psia:', T60, F12.3,/, 5 X , ' C O M P R E S S I O N RATIO:', T60, F12.3)
* *
WRITE (i, 130) TII, K, MW FORMAT (5X,'INLET TEMPERATURE, oF:',T60, F12.3,/, 5X,'RATIO OF SPECIFIC HEATS CAPACITIES, K:',T60,FI2.3,/, 5 X , ' M O L E C U L A R W E I G H T OF GAS, ib/ib-mole:',T60, F12.3)
*
W R I T E (i, 140) ZAV, AE FORMAT (SX,'AVERAGE C O M P R E S S I B I L I T Y FACTOR, Z:',T60, 5 X , ' A D I A B A T I C E F F I C I E N C Y : ' , T 6 0 , F12.3)
120
130
140
150 *
*
W R I T E (i, 160) PROD FORMAT ( 5 X , ' M E C H A N I C A L
160
hp:',T60,
F12.3)
*
*
WRITE (I, 180) A E C A L FORMAT ( 5 X , ' C A L C U L A T E D A D I A B A T I C E F F I C I E N C Y FROM',/, 5 X , ' P O L Y T R O P I C EFFICIENCY:',T60, F12.3)
180
C
LOSSES,
F12.3,/,
W R I T E (i, 170) BHPA, W O R K FORMAT (5X,'TOTAL BRAKE HORSEPOWER, hp:',T60, F12.3,/, 5X,'WORK DONE, f t / i b - m o l e : ' , T 6 0 , F l 2 . 3 )
170
190
WRITE (I, 150) ADIAH, T22, H P A D I A FORMAT (SX,'ADIABATIC HEAD, ft.:',T60, F12.3,/, 5X,'GAS D I S C H A R G E TEMPERATURE, oF:', T60, 5X, 'GAS HORSEPOWER, hp:', T60, F12.3)
W R I T E (i, 190) FORMAT (IH ,78(IH-)) FORM FEED THE P R I N T I N G PAPER TO TOP OF THE NEXT PAGE.
999
F8.4,/,
WRITE
(i, *) CHAR(12)
CLOSE CLOSE STOP END
(3,STATUS='KEEP') (i)
459
THIS PROGRAM CALCULATES THE HORSEPOWER AND GAS DISCHARGE
POLYTROPIC HEAD,THE ASSOCIATED GAS TEMPERATURE IN POLYTROPIC MACHINES
SUBROUTINE POLYTR REAL K,MW,N,MLOSS
COMMON/PROGI/W,PI,P2,TII,TI2,T21,T22,K,MW,N,ZAV,AE,AECAL,RC COMMON/PROG2/POLYH,ADIAH,HPPOLY,HPADIA,PE,PECAL,BHPP,BHPA COMMON/PROG3/WORK, P R O D R = 1545.0 TII = TII +
CALCULATE
460.
THE
COMPRESSION
RATIO
(DISCHARGE
PRESS./SUCTION
PRESS.)
RC = P2/Pl N = (K*PE)/(K*PE-K+I.0)
CALCULATE
THE
POLYTROPIC
HEAD,
POLYH:
ft.
VALI = (ZAV*R*TII)/MW VAL2 = (N/(N-I.0))*(RC**((N-I.0)/N)-I.0) POLYH = VALI*VAL2 CALCULATE HPPOLY
=
THE
GAS
HORSEPOWER,
CALCULATE THE APPROXIMATE POWER REQUIREMENT, PROD: CALL
MECHL
CALCULATE BHPP
=
(HPPOLY, THE
HPPOLY
CALCULATE
B
=
+
THE
MECHANICAL hp.
LOSSES
AS
BRAKE
HORSEPOWER,
BHPP:
WORK WORK
= = = =
PROD
GAS
DISCHARGE
TEMPERATURE,
TI2:.oF.
TII
THE THE
WORK DONE ib- mole/hr. BASIS IN moles.
THE
WORK
DONE
(N/(N-I.O))*(R*TII*((P2/PI)**((N-I.0)/N)-I.0)) (WORK*B)/(1.98*(10.0**6)) TII TI2
-
A
hp.
W/MW
CALCULATE
TII TI2
hp.
MLOSS)
TOTAL
VAL3 = (POLYH*MW)/(ZAV*R) TI2 = VAL3*((N-I.0)/N) + CALCULATE CALCULATE
HPPOLY:
(W*POLYH)/(I.98*(10.0**6)*PE)
460.0 460.0
RETURN END
460
PERCENTAGE
OF
GAS
THIS PROGRAM CALCULATES THE ADIABATIC HEAD,THE ASSOCIATED GAS HORSEPOWER AND GAS DISCHARGE TEMPERATURE ***************************************************************** SUBROUTINE ADIAB REAL K,MW,N,MLOSS
COMMON/PROGI/W,PI,P2,TII,TI2,T21,T22,K,MW,N,ZAV,AE,AECAL,RC COMMON/PROG2/POLYH,ADIAH,HPPOLY,HPADIA,PE,PECAL,BHPP,BHPA COMMON/PROG3/WORK, PROD PE = 0.75 R = 1545.0 T21 = TII + CALCULATE RC
460.
THE
COMPRESSION
THE
ADIABATIC
RATIO
(DISCHARGE
PRESS./SUCTION
PRESS.)
= P2/Pl
CALCULATE
HEAD,
ADIAH:
ft.
VAL4 = (ZAV*R*T21)/MW VAL5 = (K/(K-I.0))*(RC**((K-I.0)/K)-I.0) ADIAH = VAL4*VAL5 CALCULATE HPADIA
=
THE
GAS
HORSEPOWER,
CALCULATE THE APPROXIMATE POWER REQUIREMENT, PROD: CALL
MECHL
CALCULATE BHPA
T22 T22
(HPADIA, THE
= HPADIA
CALCULATE
HPADIA:
hp.
(W*ADIAH)/(I.98*(10.0**6)*AE)
THE
MECHANICAL hp.
LOSSES
PERCENTAGE
OF
GAS
MLOSS)
TOTAL
BRAKE
HORSEPOWER,
BHPA:
hp.
+ PROD GAS
DISCHARGE
TEMPERATURE,
THE
ADIABATIC
EFFICIENCY
FROM
N = (K*PE)/(K*PE-K+I.0) VAL6 = (RC**((K-I.0)/K))-I.0 VAL7 = (RC**((N-I.0)/N))-I.0 AECAL = VAL6/VAL7 CALCULATE
THE
WORK
CALCULATE
THE
BASIS
THE
WORK
=
A
oF.
= T21*(RC**((K-I.0)/K)) = T22 - 460.0
CALCULATE
B
AS
DONE, IN
hp
ib-moles
per
W/MW
CALCULATE
DONE
461
hr.
THE
POLYTROPIC
EFFICIENCY
WORK WORK
= =
(K/(K-I.0))*(R*T21)*((P2/PI)**((K-I.0)/K)-I.O) (WORK*B)/(1.98*(10.0**6))
RETURN END
THIS PROGRAM CALCULATES FRICTION IN BEARINGS.
SUBROUTINE
MECHL
(POLYL,
THE
MECHANICAL
LOSSES
DUE
TO
MLOSS)
COMMON/PROG3/WORK,PROD REAL MLOSS IF (POLYL .LT. 3 0 0 0 . 0 ) THEN MLOSS = 0.03 PROD = POLYL*MLOSS ELSEIF (POLYL .GT. 3 0 0 0 . 0 .AND. POLYL MLOSS = 0.025 PROD = POLYL*MLOSS ELSEIF (POLYL .GT. 6 0 0 0 . 0 .AND. POLYL MLOSS = 0.02 PROD = POLYL*MLOSS ELSEIF (POLYL .GT. i 0 0 0 0 . 0 ) THEN MLOSS = 0.015 PROD = POLYL*MLOSS ENDIF RETURN END
462
.LT.
6000.0)
.LT.
i0000.0)
THEN
THEN
PROGRAM
PROG62
******************************************************************** THIS PROGRAM CALCULATES ALL PUMP HEAD CALCULATIONS REQUIRED TO WRITE A PUMP SPECIFICATION SUITABLE FOR A VENDOR INQUIRY OR PURCHASE ORDER. THE PROGRAM FURTHER CALCULATES THE CENTRIFUGAL PUMP E F F I C I E N C Y A N D P U M P H O R S E P O W E R U S I N G AN E Q U A T I O N D E V E L O P E D BY BY C. B R A N A N (The P r o c e s s E n g i n e e r ' s P o c k e t H a n d b o o k , G u l f P u b l i s h i n g Company, Houston 1976.) ******************************************************************** FLUID TEMP VIS GPM SPG VP
= = = = = =
VESP SLL SSHD
= = =
NPSH DELP DSHD CVPD EXPD ORPD FURPD DLL OTLD OTLS DELTAP DELPHT HBHP
= = = = = = = = = = = = =
EFF F G BHP psi ft
= = = = = =
FLUID NAME FLUID OPERATING TEMPERATURE, oF. F L U I D V I S C O S I T Y , cP. FLOWRATE, gpm S P E C I F I C G R A V I T Y OF L I Q U I D VAPOR PRESSURE OF PUMPED FLUID AT PUMP SUCTION TEMPERATURE, psia. P R E S S U R E A T E Q U I P M E N T O N P U M P S U C T I O N , psia. S U C T I O N L I N E L O S S E S ( P R E S S U R E D R O P IN P I P I N G ) , psi. SUCTION STATIC HEAD OF LIQUID ON PUMP SUCTION OR D I S C H A R G E , ft. N E T P O S I T I V E S U C T I O N H E A D O N PUMP, ft. P R E S S U R E A T E Q U I P M E N T ON P U M P D I S C H A R G E , p s i a . D I S C H A R G E S T A T I C H E A D , ft. C O N T R O L V A L V E P R E S S U R E DROP, psi. H E A T E X C H A N G E R P R E S S U R E DROP, psi. O R I F I C E P R E S U R E DROP, psi. F U R N A C E P R E S S U R E DROP, psi. D I S C H A R G E L I N E L O S S E S ( P R E S S U R E D R O P IN P I P I N G ) , psi. OTHER LOSSES (DISCHARGE:-e.g. F U R N A C E ) , psi. O T H E R L O S S E S ( S U C T I O N : - e.g. S T R A I N E R / F I L T E R ) , psi P R E S S U R E D R O P A C R O S S PUMP, psi. P R E S S U R E D R O P A C R O S S PUMP, ft. H Y D R A U L I C B R A K E H O R S E P O W E R R E Q U I R E D BY PUMP, bhp. (FOR H B H P C A L C U L A T I O N , A S S U M E P U M P E F F I C I E N C Y = I . 0 ) PUMP EFFICIENCY (%). D E V E L O P E D P U M P H E A D , ft. F L O W R A T E T H R O U G H PUMP, gpm. ACTUAL BRAKE HORSEPOWER REQUIRED FOR PUMP OPERATION ft(0.433 x sp.gr.) psi/(0.433 x sp.gr.)
CHARACTER*f4 FLUID REAL NPSH, ORPD, OTLD, COMMON/DATA1/ COMMON/DATA2/ COMMON/DATA3/ COMMON/DATA4/ COMMON/DATA5/ COMMON/DATA6/
OTLS
F L U I D , T E M P , VIS, SPG, V P GPM, V E S P , SLL, SSHD, S S H D P D E L P , DSHD, D S H D P , CVPD, E X P D O R P D , F U R P D , DLL, O T L S , O T L D SP, S P G A G E , N P S H , DISP, D I S P G DELTAP,DELPHT,HBHP,BHP,EFF
OPEN(UNIT=3,FILE='DATA62.DAT',STATUS='OLD',ERR=I8) O P E N ( U N I T =1, F I L E = ' P R N ' )
463
READ (3, 5, ERR=I9) FORMAT (A) READ (3, *, ERR=I9) READ(3, *, ERR=I9) READ(3, *, ERR=I9) READ(3, *, ERR=I9) READ(3, *, ERR=I9) READ(3, *, ERR=I9)
FLUID TEMP, VIS, SPG VP, GPM VESP, SLL, SSHD DELP, DSHD,CVPD EXPD, ORPD, FURPD DLL, OTLS, OTLD
GO TO 15 WRITE(*, Ii) FORMAT(6X,'FILE GO TO 999
18
ii 19 12
DOES NOT EXIST')
WRITE(*, 12) FORMAT(6X,'ERROR MESSAGE GO TO 999
15
CALL PUMPHA
i0
WRITE(l, i0) FORMAT(26X,'CENTRIFUGAL
PUMP SIZING',/,IH
,78(IH*))
* * * *
WRITE (i, 20) FLUID, TEMP, VIS, SPG, VP, GPM FORMAT (5X,'FLUID NAME:', T65, A,/, 5X,'FLUID OPERATING TEMPERATURE, oF:', T65, F9.3,/, 5X,'FLUID VISCOSITY, cP:', T65, F9.4,/, 5X,'FLUID SPECIFIC GRAVITY:', T65, F9.3,/, 5X,'FLUID VAPOR PRESSURE, psia:', T65, F9.3,/, 5X,'VOLUMETRIC FLOWRATE:, gpm:', T65, F9.3)
* * *
WRITE (i, 30) VESP, SLL, OTLS, SSHD FORMAT (5X,'PRESSURE AT EQUIPMENT, psia:', T65, F9.3,/, 5X,'SUCTION LINE LOSSES, psi:', T65, F9.3,/, 5X,'OTHER LOSSES (e.g. STRAINER/FILTER), psi:',T65,F9.3, /,5X,'SUCTION STATIC HEAD, ft.:', T65, F9.3)
20 *
30
WRITE (i, 40) SSHDP, SPGAGE, SP FORMAT (5X,'SUCTION STATIC HEAD, psi:', T65, F9.3,/, 5X,'TOTAL PUMP SUCTION PRESSURE, psig:', T65, F9.3,/, 5X,'TOTAL PUMP SUCTION PRESSURE, psia:', T65, F9.3)
40
WRITE (i, 5 0 ) NPSH FORMAT (5X, 'AVAILABLE NET POSITIVE SUCTION HEAD,
50 60 *
* * 70
IN THE DATA VALUE')
ft. : ' , T65,
WRITE (i, 60) DELP, DSHD, DSHDP, CVPD FORMAT (5X,'DELIVERY PRESSURE, psia.:', T65, F9.3,/, 5X,'DISCHARGE STATIC HEAD, ft.:', T65, F9.3,/, 5X,'DISCHARGE STATIC HEAD, psi:', T65, F9.3,/, 5X,'CONTROL VALVE PRESSURE DROP, psi.:', T65, F9.3) WRITE (i, 70) EXPD, ORPD, FURPD, DLL, OTLD FORM_AT (5X,'EXCHANGER PRESSURE DROP, psi.:', T65, F9.3,/, 5X,'ORIFICE PRESSURE DROP, psi.:', T65, F9.3,/, 5X,'FURNACE PRESSURE DROP, psi.:', T65, F9.3,/,
464
F9.3)
5 X , ' D I S C H A R G E LINE LOSSES, psi.:', T65, 5 X , ' O T H E R LOSSES, psi.:', T65, F9.3)
F9.3,/,
80
WRITE(l, 8 0 ) D I S P G , D I S P F O R M A T ( 5 X , ' T O T A L PUMP D I S C H A R G E PRESSURE, 5 X , ' T O T A L PUMP D I S C H A R G E PRESSURE,
90
WRITE(I, 9 0 ) D E L T A P , D E L P H T F O R M A T ( 5 X , ' T O T A L PUMP P R E S S U R E DROP, 5X,'TOTAL PUMP P R E S S U R E DROP,
i00
WRITE(I, 100)HBHP F O R M A T ( 5 X , ' H Y D R A U L I C BRAKE H O R S E P O W E R R E Q U I R E D BY THE PUMP,'\, 9 bhp:', T65, F9.3)
ii0
WRITE(I, II0)BHP F O R M A T ( 5 X , ' A C T U A L BRAKE H O R S E P O W E R R E Q U I R E D FOR PUMP OPERATION', \,' bhp:', T65, F9.3)
120
WRITE FORMAT
(i, 120) EFF (5X, 'PUMP EFFICIENCY,
130
W R I T E (i, 130) FORMAT (IH ,78(IH-) )
psig:', psia:',
T65, T65,
F9.3,/, F9.3)
psi.:', T65, F9.3,/, ft.:', T65, F9.3)
(%) : ', T65,
F9.3)
FORM FEED THE P R I N T I N G PAPER TO TOP OF THE NEXT PAGE. WRITE
(i, *) CHAR(12)
CLOSE(3,STATUS='KEEP') CLOSE (I) 999
STOP END ******************************************************************** THIS P R O G R A M C A L C U L A T E S THE SUCTION P R E S S U R E AND THE NET P O S I T I V E SUCTION HEAD ******************************************************************** S U B R O U T I N E PUMPHA CHARACTER*I4 REAL NPSH,
FLUID
OTLS,
OTLD,
ORPD
COMMON~DATA1~ FLUID, TEMP, VIS, SPG, VP COMMON/DATA2/ COMMON/DATA3/ COMMON/DATA4/
GPM, VESP, SLL, SSHD, SSHDP DELP, DSHD, DSHDP, CVPD, EXPD ORPD, FURPD, DLL, OTLS, OTLD COMMON/DATAS/ SP, SPGAGE, NPSH, DISP, DISPG C O M M O N / D A T A 6 / DELTAP, DELPHT, HBHP, BHP, EFF
VALI = 0 . 4 3 2 9 * S P G SSHDP = SSHD*VALI SP = V E S P + SSHDP- SLL- OTLS
465
SPGAGE
=
SP-14.7
AVAILABLE
NET
POSITIVE
SLLI = SLL/VALI VESPI = VESP/VALI VPI = VP/VALI DEF = VESPI-VPI NPSH = DEF + SSHD
PUMP
DISCHARGE
-
SUCTION
HEAD
SLLI
PRESSURE
DSHDP = DSHD*VALI DISP = DELP+DSHDP+CVPD+EXPD+ORPD+FURPD+DLL+OTLD DISPG = DISP-14.7
TOTAL
PUMP
DELTAP DELPHT
= =
DELTAP
HYDRAULIC BRAKE PUMP EFFICIENCY HBHP
=
=
PUMP
DISCH.
PRES.
-
PUMP
SUC.
PRES.
DISP-SP DELTAP/VALI HORSEPOWER IS ASSUMED
REQUIRED = 1.0
BY
PUMP
(DELTAP*GPM)/(1715.0*I.0)
THIS PROGRAM CALCULATES EFFICIENCY AND PUMP HORSEPOWER USING C. B R A N A N ' S EQUATION (e.g. C Brannan: The Process Engineer's Pocket Handbook, Gulf publishing Co.)
F = DELPHT G = GPM VAL2=0.2855*F VAL3=3.78*F*G*(10.0**(-4)) VAL4=2.38*F*(G**2)*(10.0**(-7)) VAL5=5.39*(F**2)*(IO.0**(-4)) VAL6=6.39*(F**2)*G*(10.0**(-7)) VAL7=4.0*(F**2)*(G**2)*(10.O**(-10)) EFF=(80.0-VAL2+VAL3-VAL4+VAL5-VAL6+VAL7) BHP=(100.0*HBHP)/EFF RETURN END
466
PROGRAM
PROG63
*************************************************************** THIS PROGRAM WILL CALCULATE THE PUMP EFFICIENCY BASED ON THE FLUID FLOW RATE AND THE HEAD USING THE EQUATIONS D E V E L O P E D BY C. B R A N A N (The P r o c e s s E n g i n e e r ' s P o c k e t H a n d b o o k , G u l f P u b l i s h i n g C o m p a n y , H o u s t o n 1976). **************************************************************** H = HEAD, ft. Q = V O L U M E T R I C F L O W R A T E , gpm. HBHP = H Y D R A U L I C H O R S E P O W E R , bhp. BHP = B R A K E H O R S E P O W E R , bhp. **************************************************************** DIMENSION
EFF(20),
OPEN OPEN
(UNIT=3, (UNIT=l,
READ
(3,
H(20),
Q(20),
FILE='DATA63.DAT', FILE='PRN')
*, ERR=I9)
HBHP(20),
BHP(20)
STATUS='OLD',
ERR=I8)
N
D O I0 I=l, N R E A D ( 3, *, ERR=I9)
Q(I),
H(I)
CONTINUE
i0
GO TO 44
18 20
W R I T E (*, 20) F O R M A T (6X, 'FILE D O E S N O T E X I S T ' ) G O T O 999
19 21
W R I T E (*, 21) F O R M A T (6X, ' E R R O R M E S S A G E G O T O 999
44
90
W R I T E (i, 90) F O R M A T (///, 25X, 'E F F I C I E N C Y A N D B R A K E H O R S E P O W E R IH ,78(IH*) ,//)
95
W R I T E ( l , 95) FORMAT (5X,'FLOWRATE 6X,'BRAKE HORSEPOWER
*
IN T H E D A T A V A L U E ' )
gpm', 1 0 X , ' H E A D ft.', Bhp',/IH , 78(IH*))
SPGR=I.0
DO 35 I = I , N IF (Q(1) .EQ. 0.0) EFF(1) = 0.0 H B H P ( 1 ) = 0.0 ELSE ENDIF
THEN
467
C A L C U L A T I O N S ' ,/
6X,'EFFICIENCY
%',
VALI = 0 . 2 8 5 5 " H ( I ) VAL2 = 3.78*H(I)*Q(I)*(10.0**(-4)) VAL3 = 2 . 3 8 * H ( I ) * ( Q ( I ) * * 2 ) * ( 1 0 . 0 * * ( - 7 ) ) VAL4 = 5 . 3 9 " ( H ( I ) * ' 2 ) * ( I 0 . 0 " * ( - 4 ) ) VAL5 = 6 . 3 9 * ( H ( I ) * * 2 ) * Q ( I ) * ( 1 0 . 0 * * ( - 7 ) ) VAL6 = 4 . 0 * ( H ( I ) * * 2 ) * ( Q ( I ) * * 2 ) * ( 1 0 . 0 * * ( - 1 0 ) ) EFF(I)=(80.0-VALI+VAL2-VAL3+VAL4-VAL5+VAL6)
HYDRAULIC BRAKE PUMP EFFICIENCY
HORSEPOWER IS A S S U M E D
REQUIRED = 1.0
BY THE P U M P
HBHP(I)=(Q(I)*H(I)*SPGR)/(3960.0*I.0) BHP(I)=HBHP(I)/(EFF(I)/100.0) 35
CONTINUE DO I =i,
96
N
W R I T E (I, 9 6 ) Q ( I ) , H ( I ) , E F F ( I ) , B H P ( I ) F O R M A T (5X, F8.1, 10x, F8.1, 10X, F8.1,
10X,
F8.1)
ENDDO
i00
W R I T E ( * , i00) F O R M A T (5X , " F L O W R A T E gpm', 10X, 'HEAD ft.', 6X,'BRAKE HORSEPOWER B h p ' , / i H ,78(IH*))
ii0 45
DO 45 I =i, N W R I T E ( * , I I 0 ) Q ( I ) , H(I), EFF(I) ,BHP(I) F O R M A T (5X, F8.1, 10X, F8.1, 10X, F8.2, CONTINUE
120
W R I T E (1,120) F O R M A T (IH ,78(IH-))
C
FORM FEED THE PRINTING
999
PAPER
WRITE
(i,
CLOSE CLOSE
(3, S T A T U S = ' K E E P ' ) (i)
10X,
6X
F8.1)
TO TOP OF THE N E X T
*) C H A R ( 1 2 )
STOP END
468
'EFFICIENCY
PAGE.
%',
CHAPTER 7
Mass Transfer INTRODUCTION Unit operation techniques in the chemical process industries (CPI) effect the separation of a mixture or mixtures into their components. These operations are called diffusional or mass transfer operations. Techniques employed in the CPI to effect these separations are: distillation, absorption, liquid extraction, drying, leaching, crystallization, and gas adsorption. These processes account for 40% to 70% of both the capital and operating costs in the CPI. Separation operations significantly affect energy consumption, product costs, and manufacturing profits. About 43% of the energy consumed by the U.S. chemical process industries is used for separation processes [ 1]. The method depends on the state (such as liquid, solid, or gaseous) of the components. The engineer must adequately size equipment for separating and recovering products from multicomponent feed streams. In addition, he or she should consider whether the design is either stagewise or continuous, tray or packed. The trays act as individual stages and produce stepwise changes in concentration, while packed towers give gradual changes in concentration. Designing distillation equipment requires knowledge of vapor-liquid equilibria in multi-component mixtures. This chapter considers the vapor-liquid equilibrium of mixtures, conditions for bubble and dew points of gaseous mixtures, isothermal equilibrium flash calculations, the design of distillation towers with valve trays, packed tower design, Smoker's equation for estimating the number of plates in a binary mixture, and finally, the computation of multicomponent recovery and minimum trays in distillation columns.
469
470
Fortran Programs for Chemical Process Design
VAPOR-LIQUID EQUILIBRIUM A common operation in the CPI for the separation of fluid mixtures into their components is distillation. The distillation process is a separation technique that depends on the difference between the compositions of liquid and vapor phases at equilibrium. This implies that the temperatures and pressures of the phases must be the same, and no composition change occurs with time. Equilibrium can be achieved after a long period of thorough mixing and contact between the two phases. An ideal gas is, by definition, one that follows the ideal gas laws: PV = nRT where P V n R T
= = = = =
(7-1)
absolute pressure total volume number of moles of gas ideal gas constant absolute temperature
The conditions under which a given component or mixture approaches ideal behavior depend on the critical temperature and critical pressure. Other principles of gas behavior are Dalton's law of additive pressures and Amagat's law of additive volumes. These are: Tc = PA + PB +''"
(7-2)
and V T = V A -4- V B -]--...
where n = p = Va = VB= Vt = A,B =
(7-3)
total system pressure partial pressure volume of component A volume of component B total volume of system components
These laws are correct when conditions are such that each component and the mixture obey the ideal gas law. The equilibrium between two phases can be related to the equality of the chemical potential and defined in terms of the Gibbs free energy as
lai -
- G~ T,P,nj
(7-4)
Mass Transfer
471
m
where Gi is the partial molar Gibbs free energy. From the thermodynamic relationship between Gibbs free energy, temperature and pressure, and at constant temperature, dG = VdP
(7-5)
where G is the molar Gibbs free energy and V is the molar volume. Considering a pure fluid of component i and substituting Equation 7-1 into Equation 7-5, dG = RT
dP P
(7-6)
= RTd(ln P) The free energy from Equation 7-6 is restricted to ideal gases, but can be modified to include real fluids by introducing a new function defined as the fugacity. Equation 7-6 becomes dGi = RTd(ln f~)
(7-7)
where f~ is the fugacity of pure i with units of pressure. The fugacity becomes equal to the pressure as the pressure approaches zero. Thus, f
lim "~ - 1.0 P
(7-8)
P--90 For a single component in a mixture at constant temperature, the fugacity is defined by dG i -
RTd(ln f~ )
(7-9)
and lira
fi
yiP
-- 1.0
(7-10)
P--90 If a liquid mixture at temperature T and pressure P is in equilibrium with a vapor mixture at the same temperature and pressure, therefore at an equilibrium condition, the thermodynamic criterion will be
472
FortranPrograms for Chemical Process Design
fvi _ fLi
(7-11)
where fv_ fugacity of component i in the vapor phase i fL_ fugacity of component i in the liquid phase i The fugacity of a component in a mixture depends on the temperature, pressure, and composition of that mixture. The fugacity, f), of any component, i, in the liquid phase is related to the composition (mole fraction) of the component in that phase by fLi
--
~/iXi
foc i
(7-12)
where 7~ = the activity coefficient of component i xi = mole fraction of component i foL_ the fugacity of component i in the reference (or standard) i state The fugacity of pure liquid i at temperature T and pressure P is given by foc _ p i
vp,i
(T)(~i s(T) exp
Lapvp,,
' RT
dP
]
(7-13)
where Pvp,~- the vapor pressure of component i ~ - the vapor phase fugacity coefficient of pure saturated vapor of component i The exponential term in Equation 7-13 is a correction factor for the effect of pressure on liquid-phase fugacity and is known as the Poynting factor. In Equation 7-13, V Lcan be replaced by the partial molar volume of component i in the liquid solution for greater accuracy. For low to moderate pressure, V iLis assumed as the saturated liquid molar volume at the specified temperature. Equation 7-13 is simplified to give f ~P v p i
,i ir
exp [ V ~ (eI - RPvp'i T )
(7-14)
Equation 7-14 is used to calculate the reference state fugacity of liquids. Any equation of state can be used to evaluate ~ . For low to moderate pressures, the virial equation is the simplest to use. The fugacities of pure gases and gas mixtures are needed for estimating many thermodynamic properties, such as entropy, enthalpy, and fluid phase equilibria. For pure gases, the fugacity is
Mass Transfer
lnf-
1 ioVd P RT
473
(7-15)
The fugacity can be calculated from Equation 7-15 once the P-V-T behavior of the fluid is known from an equation of state. The fugacity coefficient is the ratio of the fugacity of a substance to its pressure. For a pure substance, f = -P
(7-16)
For the vapor phase, the composition is nearly always expressed by the mole fraction, yi fv ~i
=
(7-17)
i
YiP For a mixture of ideal gases, 0i = 1. The fugacity coefficient, ~)i,depends on temperature and pressure. The fugacity coefficient is normalized, such that as P --+ 0, r --+ 1 for all components. At a low pressure, ~)i is assumed to be unity. When the volume is known as a function of the pressure, either from direct measurement or from an empirical equation of state, changes in fugacity may be found by integration. Thus lnf2 = 1 I]~ VdP fl RT ,
(7-18)
Since ~ = 1 when P = 0, absolute values of the fugacity coefficient can be determined. Therefore,
ln,
-
ln -f- P
P -So
V-
RT
P
dP (7-19)
dP (Z-
1)
Methods for estimating fugacities of liquid and vapor phases are given by Reid, et al. [2], and by Walas [3]. Raoult's law states that the partial pressure in the liquid phase can be expressed as PA
o
-- X A P A
(7-20)
474
Fortran Programs for Chemical Process Design
where x A is the mole fraction of component A, and PA is the vapor pressure of component A. For the vapor phase, Dalton's law can be expressed as: (7-21)
PA = gYA
is the mole fraction of component A. Combining Equation 720 and Equation 7-21
w h e r e YA
XAP A -- /1;yA K_YA
_
(7-22)
PA
xA
where K is the equilibrium constant. Few multicomponent systems exist for which completely generalized equilibrium data are available. The most widely available data are those for vapor-liquid systems, and these are frequently referred to as vapor-liquid equilibrium distribution coefficients or K value. The K values vary with temperature and pressure, and a selectivity that is equal to the ratio of the K values is used. For vapor-liquid systems, this is referred to as the relative volatility and is expressed for a binary system as o: -
K A
(7-23)
KB
where K A = yA/XA
and K B = yB/XB
~ZA_B =
YA" XB
(7-24)
Xa" YB
Equation 7-24 can be expressed in terms of the more volatile component A, as YA =
~X A
1 + (0~-
(7-25) 1)X A
Mass Transfer
475
where XA+XB= 1
and yA+YB= 1
Equation 7-25 relates equilibrium compositions X A and YA in terms of the relative volatility. If the assumption is that o~is independent of temperature and composition, then Equation 7-25 becomes the equation of the equilibrium line or the x-y curve, as shown in Figure 7-1. Figure 7-1 can be used to determine the compositions of vapor and liquid in equilibrium. BUBBLE P O I N T OF GAS M I X T U R E S An equilibrium between a liquid and a vapor implies that the liquid is on the point of boiling, is producing bubbles of vapor within it, and the
Eq
Vapor Composition Y ( Mole Fraction, Light Component )
0 Light Composition X ( Mole Fraction, Light Component) Figure 7-1. X-Y diagram for a binary system.
Fortran Programs for Chemical Process Design
476
vapor is on the point of condensing or forming a dew. These conditions are referred to as saturated liquid and saturated vapor. For the particular total pressure, the liquid is at its bubble point temperature and the vapor at its dew point temperature. The amount of vapor formed is assumed to be so small as to have no effect on the liquid composition. For a binary system, x, =
1-K 2
(7-26)
KI - K2 and x2 = 1 . 0 - x 1
(7-27)
In many cases where there are more than two components in the liquid mixture, no direct solution as Equation 7-26 exists. The basic definition of the equilibrium coefficient is
Yi-" Kixi
(7-28)
For a stable system, the total mole fraction is unity, which is y~ - 1.0 - ~ K~x~
(7-29)
Equation 7-29 is used to determine the bubble point temperature and pressure. In using Equation 7-29, the temperature or pressure is fixed, while the other parameter is varied until the criterion for a stable system is satisfied. A combination of temperature and pressure is altered, if the summation of the calculated vapor composition is different from unity. There is no known direct method that will allow a reasonable estimation of the amount of change required. However, Dodge [4], Hines and Maddox [5] have provided techniques for reducing the number of trials that is required.
DEW POINT CALCULATIONS The dew point of a vapor is that combination of temperature and pressure at which the first drop of liquid condenses. The dew point criterion can be expressed as: Zxi-1.0-~K
Yi~
(7-30)
Mass Transfer
477
For binary mixtures of components 1 and 2, then K l(1 Yi -"
K~
-
K 2)
(7-31)
K 2
and Y2 = 1 . 0 - Yl
(7-32)
These two equations can be used to calculate the composition of a binary vapor that will begin to condense at a given temperature and pressure. EQUILIBRIUM FLASH COMPUTATIONS Flash vaporization calculations involving multicomponent mixtures are essential to the design and successful operation of many processes. These calculations are often required to determine the condition of the feed to a fractionating column or to determine the flow of vapor from a reboiler or condenser. Flash calculations often involve trial-and-error solutions that are time consuming, tedious, and subject to error if performed manually. Coker [6] has developed an improved iterative convergence method first suggested by Oliver [7] and later modified by Kostecke [8], for isothermal equilibrium flash computations. Multicomponent flash (isothermal and adiabatic) computations are incorporated as part of overall process simulation and equipment design. However, single-stage flash fractionation processes are also employed to obtain a separation of the light components in a feed and as a preliminary step before a multicomponent fractionation column, such as crude oil distillation. Table 7-1 lists ways of producing two-phase mixtures from a single phase at appropriate conditions. The last process in the table typifies the well head separation that takes place in an oil field. It is known as a flash process because the Table 7-1 Ways to Produce Two-Phase Mixture Initial Gas
Gas Liquid Liquid
Action to Produce Two-Phase Mixture
Cool, possibly after initial compression Expand through a valve or an engine Heat to achieve partial vaporization Reduce pressure through a valve, if close to saturation
Fortran Programs for Chemical Process Design
478
vapor forms due to the rapid drop in the pressure. Fundamentals
To carry out an appropriate flash calculation, the pressure, P, and the temperature, T, must be known. If the values of P and T in the separating vessel are fixed, the value of P must not be so high that the two phases cannot exist at any value of T. Nor must T lie outside the bubble point and dew point range corresponding to R For a valid two-phase equilibrium calculation, the following relationship must be satisfied: Tbp <
where
T~ <
Tdp
(7-33)
the bubble point temperature T~ = the specified temperature Tap- the dew point temperature
Tbp --
The existence of a valid two-phase flash can be verified with the design equations for the bubble point, dew point, and equilibrium data calculated at the specified pressure and temperature. The design equations for the bubble and dew points are: Bubble point fl - ~
KiXi
(7-34)
i=l
Dew point f2 - ~., Y i / K i
(7-35)
i=l
Table 7-2 illustrates the phase condition using the liquid-vapor data associated with the specified pressure and temperature. From Table 7-2, the conditions for a valid two-phase equilibrium flash are: f~ - , ~ Kin i > 1.0
(7-36)
i-I
and f2 - ~_, n~/K i > 1.0 i--I
(7-37)
Mass Transfer
479
Table 7-2 Equilibrium Flash Criteria f~ - s Subcooled liquid Bubble point Two-phase condition Dew point Superheated vapor
f2- s
i=1
i--1
>1 >1 >1 =1 <1
Feed analyses of component concentrations are normally not available for complex hydrocarbon mixtures with a final boiling point of more than about 38~ (e.g. n-pentane), unless such a feed is broken down into pseudo-components (narrow boiling fractions). This enables the mole fraction and equilibrium constant, K, to be estimated, and consequently, flash calculation of the mixture can be carried out. A source of K values for light hydrocarbon systems is the De-Priester [9] charts, which are shown in Figures 7-2 and 7-3. These charts give the K values over a wide range of temperature and pressure. Because the charts are nomographs, a straight edge connecting the temperature and pressure for which K values are required will intersect curves for each compound at its K value. These K values have been obtained by calculating fugacities from an equation of state. Use of these charts for exact determination of K values requires trial-and-error calculations. Hadden and Grayson [10] have presented correlations for hydrocarbon vapor-liquid distribution ratios, and the charts from their work are shown in Figures 7-4 and 7-5. These charts can be readily used for determining the vaporliquid distribution coefficients. Figure 7-6 shows a continuous equilibrium flash fractionation process.
The Equations The following equations are used for the multicomponent equilibrium flash calculations. f~ - ~ n i K i < 1
all liquid
(7-38)
i=l
(text continued on page 484)
:~
,'..
~
~:~.
_
"
.
14.7 IS-~
20 -~ ,
~.~
9
ol
~
.~
.;
_
M-
30
N~ 4
40
5O
lJ o i
7o
ZlDo
.~ 80 ~. 9O IS ~
9
~.
.
, .~
.2 150.2 .2 .2
" ,~
I
|.0 "! .~" ,IDo
2OO -:
j;: j2
300 400
500
e.,
Q.
J 700
m ,,.,,
J
800 c
J
F i g u r e 7-2. K-values for h y d r o c a r b o n s , low t e m p e r a t u r e . Source: De-Priester [9].
480
!
o
~
],4.7.
15-
2O 2
3O
4O
50
~o
60
70-
II g9,
100
150 -
2OO
31111
400"
Z 7O0
,jz, jj
Figure 7-3. K-values for hydrocarbons, high temperature. Source: De-Priester [9].
481
STANDARD DEVIATION 9 9 A % AVERAGE DEVIATION 9 6 . 8 % BIAS ,-20% % D E V I A T I O N 9 KNOMO" KEX~Px I 0 0 KEXP
NAPHTHA N iT ROO[N
O--t~
;=o
E
IL 7OO
I I o ~ J ~ ~oo
c ~ mN
'*o.J t"
D[NZ[N[7 (~
~00 ....... |OO.L.,,,..
ZOO
tN
t,[NZ[N[ (:l).,t. H1 IN TOLU[N[
5OO , of.G. f
-4)
H L tN
A COMPARISON OF ABOUT 9 0 0 EXPERIMENTAL POINTS WITH THE NOMOGRAM INDICATES THE FOLLOWING DEVIATIONS:
/" WATKff,a~) j~300 IN I)UTAN[
cf,N C, TO C,z~,~ L ANo I I . a A s o . . o . ~ ' / -
,OCUCNE
:;:~/.
-oo
T ,,o ://- .. CH& IN L 9 ---* I so L . . ~ ~ '
o,,=r
..,RO,A.E
LI Q u I ~ 100 ~4~ 70 50
CYCLOHrXAN[ [ JCOs IN NAT.GAS~ L 600 DISTILLATE 9 TER IN IN NAPHTHA .".~ L~ I,.- HEXANE 9 KEROSENE =l~W ' "G ~EL.O/ r" ACETYLENE
30
20
"~ ~'$0
I l~- ETHAN[ /
9S
IN GAS OIL
PROPEN[
2
-30
1.5 1.0 O.9 O.6 0.7 0~8 0.5 0.4
~J o;
0.3
-5o
-20 -10 0 I~K)BUTANEI~I~BUTENIr m-IMJTAN[. WeH'ff"BUTIrN[ ' r N[
10 ZO
~)~-,.M[.THYL 30 IdERCAPTANIN ABSORPTION 40 OiL. (195 H#)
0.2
50
,0.15
6O 70 8O ,90
b. ,100 ~
-0.02
9II0
~*
9 120
~
-13o ~
J
-14o ~ .J -t~ ~ ~e -leo ~ 170
190
K
1,000 -800600 400 300 z00 15010080-
60 40 30
2o--=' 15 "
8 6-
O
-i
4, 34 2~ 1.5-
.o Q.
10.8 "~ 0.6 -;
o~ k,
".~
0.4 0.3 ~ eCOz in It. hydrocarbons
0.2-.:" 0.15 0.I_ 0.08 -
0
0.06 -
in It hydrocarbons
0.04 -I 0.03 0.02 -.:: 0.015 O.Ol 0.0O8 0.006 -
0.004 0.003 0.002
Methane in Methane It. hydrocarbons,~/in ethane Cmrection(mul;iplier)for m e t h a n e K ' s / / 1 3 -in ethane ~ propane I F "
z
I
I
I
im
0 9 ~
C8
O.OOI
( 7
I.
I /r
I
/
I
0.0015 "
K
,~ Metha Methane,,, MW 30 %]~<~;,, in COz~ C! free lx~"~t) o'ro-at liquid /# v v
t I I
J
uB 40
v
Nitrogen 9 in methane
I
I
I 80
f
Methane in C41 C? & in Nz8 in natural gas
/
0
mmB
Bnmn
-40-80-120-140-200-240 Temperature, "F
Figure 7-5. Vapor-liquid equilibrium constants,-260 to +100~ Grayson [10]. 483
Source" Hadden and
Fortran Programs for Chemical Process Design
484
Vapor rate,V, Moles/hr
Initial liquid flow rate, F, moles/hr Mole fraction, n.
Mole fraction
1
/// ,
Pressure reducing
'~ \\
\
/
Vapor
Heater to produce nearly saturated liquid
liquid ,
\ "\
/ /
\'~~iquid rate, L I Moles/hr Mole f r a c t i o n , x
i
Figure 7-6. Continuous equilibrium flash fractionation. (text continued from page 479)
f2 - ~ n~/K~ < 1
all vapor
(7-39)
i=l
Ci
_
_
[M i ( K ~ - 1)(R + 1)] (K i + R)
(7-40)
where R - the liquid-vapor (L/V) ratio. The new L/V ratio for each iterative calculation, R', is determined from:
R' = [ F R - E(R + 1)] [ F + E ( R + 1)]
(7-41)
The constants E and F are determined by E - ~_, C i=l
i
(7-42)
Mass Transfer
F - ~
485
(7-43)
(C i )2/M~
i=l
TheAlgorithm The computation then determines whether IEI < 0.001. If IEI is not less than 0.001, R is set equal to R' and the calculations of Equations 7-40, 7-41, 7-42 and 7-43 are repeated until IEI < 0.001. Once IEI < 0.001, the calculation proceeds to find the total moles of component i in both the liquid and the vapor phases, that is, Li and V~. These are given by Li -
MiR (Ki + R)
(7-44)
and Vi - M i - Li
(7-45)
The mole fractions of components in the feed, the liquid and vapor phases are evaluated as follows" Mi ni ,~M~
(7-46)
i=l
Xi -
L i
(7-47)
i=l
and Yi
--
Vi
(7-48)
~Vi i=l
where
~n~-~X~-~Y~-1 i=l
i=l
i=!
(7-49)
486
Fortran Programs for Chemical Process Design
The method described here is based on the vapor-liquid equilibrium relationships given in handbooks available from the Gas Processors Suppliers Association. This technique will handle flash calculations with feed streams containing up to 15 components. As an added feature, the calculation will check the feed composition at flash conditions for dew point or bubble point condition (i.e., whether the feed is either all vapor or all liquid). These checks are done before the flash calculations are started. If the feed is above the dew point or below the bubble point, an appropriate message is displayed on the computer screen. A default value for R (L/V) = 1.0 is used to start the iterative process. Nomenclature E,F = constants K i = equilibrium flash constant for each component in the feed stream L~ = total moles of component i in the liquid phase L = total moles of liquid at equilibrium conditions M i = total moles of component i in the feed stream n~ = mole fraction of component i in the feed stream R = liquid-vapor (L/V) ratio R ' - new L/V ratio for each iteration calculation V = total moles of vapor at equilibrium conditions V i = total moles of component i in the vapor phase X i = mole fraction of component i in the liquid phase Y~ = mole fraction of component i in the vapor phase T O W E R SIZING FOR VALVE TRAYS Introduction Many types of trays are used in both fractionating and absorption columns. In a fractionating column, the bubble caps with the weirs and downcomers maintain a liquid level on the trays. The liquid flows across the tray via the downcomer and across the next tray in the opposite direction, and the vapor flows up through the caps and the slots, thus mixing with the liquid. Figures 7-7 and 7-8 show a section of the column distributor and different types of packings. Figure 7-9 illustrates the vapor flows through bubble cap, sieve, and valve trays. The riser in the bubble cap can aid the design of the tray to prevent liquid from "weeping" through the vapor passage. Sieve or valve trays control weeping by vapor velocity. The bubble cap tray has the highest turn down
Mass Transfer
Figure 7-8. Nutter ring random packing. Courtesy of Nutter Engineering.
487
488
Fortran Programs for Chemical Process Design
---"
~.'. ,----..
)it ....
" .;___.~_, .'~. . ",. . . . ; i S . . . .." ' ,<_. -,,.g,' : . ~ r - - "~qt,'o.;:"Vj,, "')~"~,N ~.,%~ : ~ , . ~.,.'.~" -:..:- ~.,I
/it lit lf\ lf\ i:",.
m<, r-r-i
"Z_
(o~
1 !
~
I !
I '1
5
(b)
71:: F i g u r e 7-9. Flow through vapor passages. (a) Vapor flow through bubble cap. (b) Vapor flow through perforations. (c) Vapor flow through valves. Source: Van-Winkle [11].
ratio with the design of 8:1 to 10:1 ratio. Such trays are commonly used in glycol dehydrating columns [11 ]. Valve and sieve trays are favored because of lower cost and increased capacity over bubble cap trays for a given tower diameter. Sieves or perforated trays are plates with holes for vapor passage. It is simple to construct and the least expensive of the three designs. Generally, the sieve tray has a higher capacity. At low vapor rates, it is susceptible to "weeping" or dumping of the liquid through the holes. Furthermore, sieve trays are very good in fouling applications or when solids are present. They can have large holes because they are highly resistant to clogging and are easy to clean. In addition, their turndown ratio is limited.
Mass Transfer
489
Trayed columns give satisfactory operation over a wide range of liquid and vapor loadings. Correspondingly, valve trays can maintain high efficiencies over a wider range of operating liquid and gas rates than with sieve trays. Valve units are more complex mechanically than sieve trays, and therefore are more expensive to fabricate. The liquid and vapor rates can vary independently over a broad range in the column resulting in a satisfactory operation. At low vapor rates, unsatisfactory tray dynamics may be characterized by dumping of liquid, uneven distribution, and vapor pulsation. Alternatively, at high vapor rates, the tower floods, as the liquid is backed-up in the downcomers. At low liquid rates, poor vapor-liquid contact can result. Correspondingly, at high liquid rates, flooding and dumping can also result as the liquid capacities are exceeded in the downcomers. Valve trays are designed to have better turndown properties than sieve trays, and therefore are more flexible for varying feed rate. At the design vapor rate, valve trays have about the same efficiency as sieve trays. They can be designed for a lower pressure drop (AP) than sieve trays. However, they are susceptible to fouling or plugging, if dirty solutions are distilled. Here, valve trays are used for sizing the columns. The procedure uses the Tower sizing graphs and tables from Nutter [12] and Blackwell's [ 13] correlation.
The Equations The following expressions are used for the design of valve trays columns:
/0.5
The density radical, R D, is defined by RD _
Pv PV --PL
(7-50)
The velocity at zero liquid load is: V - e x p { A + B ( l n X ) - C ( l n X ) 2 + D ( l n X ) 3 - E ( l n X ) 4}
(7-51)
where X =
(3
Pv A, B, C, D, and E are constants:
(7-52)
Fortran Programs for Chemical Process Design
490
A - 0.22982 B - 0.46605 C - 0.03452 D - 0.00415 E - 0.00017 Equation 7-51 is valid for 0.1 < X < 3000. The tray spacing factor, TSF, is defined by TsF - G + H( 1nX)
(7-53)
where Equation 7-53 is valid for 0.1 < X < 5000. The constants G and H for different tray spacing are given in Table 7-3. Figure 7-10 illustrates the plots of TSF versus X({y/gv ) for different tray spacing. The operating volumetric vapor flow rate, Qv, is determined by
QV
"--
Wv (3600)(pv)
ft3/s
(7-54)
The operating volumetric liquid flow rate, QL, is determined by QL
_~
W
L (3600)(9L)
ft3/s
(7-55)
The bubbling area, Ab, is given by
Table 7-3 Values of G and H for Each Tray Spacing
Tray Spacing (inches)
G
H
12
0.77174
-0.02964
18
0.93655
-0.02310
24
Tsv = 1.0 for all values of X
30
0.98057
0.03220
36
TSF = 1.0 when X < 1.85 0.96583
0.06162
TSF = 1.0 when X < 1.85
C"
C" .-C" W
Z 0 CO .-U~ U~
E Cl >~ CQ ._ c-0 0 Cl > 0 cO u~ c-
O
u~ 0 0
> c" 0 Cl u~ >~
0 (I) 0 0_
d t" L.., U,
491
Fortran Programs for Chemical Process Design
492
(Qv)(RD ) + QL
A b =
(TsF)(V)(R
D)(Foam
ft 2
(7-56)
fac)
If (V)(RD) > 0.5, then replace 0.5 for (V)(RD) in Equation 7-56. Table 7-4 gives recommended values of the foam factor and residence time. Using Table 7-4 to obtain both the foam factor (Foam fac) and the downcomer residence time, "c, the downcomer area, ADC, is determined by ADC =
('c)(Q L)(12) (Foam fac)(T s )
ft 2
(7-57)
The expression for the safety factor, SFac, is given by SFa c = K ( X ) M
(7-58)
Equation 7-58 is valid for 3.0 < X < 50,000. where K = 0.91146 M = -0.03821 The tower area, AT, is determined by AT =
2(ADc )
+ A b
,
ft 2
(7-59)
S Fac
Table 7-5 shows the tower diameter versus its cross-sectional areas, and Tables 7-6 to 7-9 give the recommended downcomer area and bubbling area distribution ratios. The column diameter, D, is given by D
-
/4AT/~ "
(7-60)
/1;
The number of tray passes required is determined from Table 7-10. Figures 7-11 and 7-12 show the dimensions of the various downcomers and the distribution area for the number of passes. Nomenclature A b = bubbling area, ft 2 ADC = downcomer area, ft 2 A T= tower area, ft 2
(text continued on page 501)
Mass Transfer
493
Table 7-4 Recommended Values for Foam Factor and Residence Time
Foam factor
Downcomer Res. Time, Sec.
Hydrocarbon
1.0
4.0
Low MW Alcohols
1.0
3.5
Crude Fractionator
1.0
4.5
Rich Oil (Top) Demeth. or Deeth.
0.85
4.5
Rich Oil (BTM) Demeth. or Deeth.
1.0
4.5
Hydrocarbon Still (Top)
1.0
4.0
Hydrocarbon Still (BTM)
1.0
4.5
MEA-DEA Still
0.85
4.5
Glycol-DGA Still
0.8
4.5
Sulfinol Still
1.0
5.0
HzS Stripper
0.9
4.0
0.5-0.7
4.5
02 Stripper
1.0
3.0
Refrigerated Demeth. or Deeth. (Top)
0.8
8.0
Refrigerated Demeth. or Deeth. (BTM)
1.0
5.0
Oil-Ambient Temp. (Above 0~
0.85
4.5
Oil-Low Temp. (Below 0~
0.95
4.5
DGA-DEA-MEA (Contactor)
0.75
4.5
Glycol Contactor
0.65
5.0
Sulfinol Contactor
1.0
5.0
1.0
5.0
Fractionators Straight Run
Special
Sour Water Stripper
Absorbers
Vacuum Towers Crude Vacuum By Permission of Nutter Engineering.
Table 7-5 Tower Diameter Versus Cross Sectional Areas Tower Diameter Feet Inches
Area Sq. Ft.
Tower Diameter Feet Inches
Area Sq. Ft.
2'-0" 2'-6"
24" 30"
3.142 4.909
21'-0" 21 '-6"
252" 258"
346.361 363.050
3'-0" 3'-6"
36" 42"
7.069 9.621
22'-0" 22'-6"
264" 270"
380.133 397.608
4'-0" 4'-6"
48" 54"
12.566 15.904
23'-0" 23'-6"
276" 282"
415.476 433.736
5'-0" 5'-6"
60" 66"'
19.635 23.758
24'-0" 24'-6"
288" 294"
452.389 471.435
6%0" 6'-6"
72" 78"
28.274 33.183
25'-0" 25'-6"'
300" 306"
490.874 510.705
7'-0" 7'-6"
84" 90"
38.485 44.179
26'-0" 26'-6"
312" 318"
530.929 551.546
8"-0" 8'-6"
96"' 102"
50.266 56.745
27"-0"" 27'-6"
324" 330"
572.555 593.957
9'-0" 9'-6"
108" 114"
63.617 70.882
28'-0" 28'-6"
336" 342"
615.752 637.940
10'-0" 10'-6"
120" 126"
78.540 86.590
29'-0'" 29'-6""
348" 354"
660.520 683.493
11 '-0" 11 '-6"
132" 138"
95.033 103.869
30'-0" 30'-6'"
360" 366"
706.858 730.617
12'-0" 12'-6"
144" 150"
113.098 122.719
31 '-0" 31 '-6"
372'" 378"
754.768 779.311
13'-0" 13'-6"
156" 162"
132.733 143.139
32'-0" 32'-6"
384" 390"
804.248 829.577
14'-0" 14'-6"
168" 174"
153.938 165.130
33'-0'" 33'-6"
396" 402"
855.299 881.413
15'-0" 15"-6"
180" 186"'
176.715 188.692
34'-0" 34'-6"'
408"' 414"
907.92O 934.820
16'-0" 16'- 6"
192" 198"
201.062 213.825
35'-0" 35'-6"
420" 426"
962.113 989.798
17'-0'" 17'-6"
204" 210"
226.980 240.528
36'-0" 36"-6"
432" 438"
1017.876 1046.347
18'-0" 18'-6"
216" 222"
254.469 268.803
37'-0" 37'-6"
444"' 450"
1075.210 1104.466
19'-0" 19'-6"
228" 234"
283.529 298.648
38'-0" 38'-6"
456" 462"
1134.115 1164.156
20'-0" 20'-6"'
240" 246"
314.159 330.064
39'-0" 39"-6""
468" 476"
1194.591 1225.417
(By P e r m i s s i o n
of
Nutter
Engineering)
494
Table 7-6 Downcomer Dimensions
OF DOWNCOMER
-~
DIA.
-
TABLES
DIMENSIONS
HIDIAIMDIA AdlA t
H/DIAL/DIA Ad/A t
H/DIA L/DIA Ad/A t
H/DIA L/DIA Ad/A t
H/DIA L/DIA Ad/A t
.0000 .0005 .0010 .0015 .0020
.0000 .0447 .0632 .0774 .0894
.0000 .0000 .0001 .0001 .0002
.0200 .0205 .0210 .0215 .0220
.2800 .2834 .2868 .2901 .2934
.0048 .0050 .0051 .0053 .0055
.0400 .0405 .0410 .0415 .0420
.3919 .3943 .3966 .3989 .4012
.0134 .0137 .0139 .0142 .0144
.0600 .0605 .0610 .0615 .0620
.4750 .4768 .4787 .4805 .4823
.0245 .0248 .0251 .0254 .0257
.0800 .0805 .0810 .0815 .0820
.5426 .5441 .5457 .5472 .5487
.0375 .0378 .0382 .0385 .0389
.0025 90030 90035 .0040 .0045
.0999 .1094 .1181 .1262 .1339
.0002 .0003 .0004 .0004 .0005
.0225 .0230 .0235 .0240 .0245
.2966 .2998 .3030 .3061 .3092
.0057 .0059 .0061 .0063 .0065
.0425 .0430 .0435 .0440 .0445
.4035 .4057 .4080 .4102 .4124
.0147 .0149 .0152 .0155 .0157
.0625 .0630 .0635 .0640 .0645
.4841 .4859 .4877 .4895 .4913
.0260 .0263 .0266 .0270 .0273
.0825 .0830 .0835 .0840 .0845
.5502 .5518 .5533 .5548 .5563
.0392 .0396 .0399 .0403 .0406
.0050 .~055 .0060 90065 .0070
.1411 .1479 .1545 .1607 .1667
.0006 .0007 .0008 .0009 .0010
.0250 .0255 .0260 .0265 .0270
.3122 .3153 .3183 .3212 .3242
.0067 .0069 .0071 .0073 .0075
.0450 .0455 .0460 .0465 .0470
.4146 .4168 .4190 .4211 .4233
.0160 .0162 .0165 .0168 .0171
.0650 .0655 .0660 .0665 .0670
.4931 .4948 .4966 .4983 .5000
.0276 .0279 .0282 .0285 .0288
.0850 .0855 .0860 .0865 .0870
.5578 .5592 .5607 .5622 .5637
.0410 .0413 .0417 .0421 .0424
.0075 :0080 .0085 .0090 90095
.1726 .1782 .1836 .1889 .1940
.0011 .0012 .0013 .0014 .0016
.0275 .0280 .0285 .0290 .0295
.3271 .3299 .3328 .3356 .3384
.0077 .0079 .0081 .0083 .0085
.0475 .0480 .0485 .0490 .0495
.4254 .4275 .4296 .4317 .4338
.0173 .0176 .0179 .0181 .0184
.0675 .0680 .0685 .0690 .0695
.5018 .5035 .5052 .5069 .5086
.0292 .0295 .0298 .0301 .0304
.0875 .0880 .0885 .0890 .0895
.5651 .5666 .5680 .5695 .5709
.0428 .0431 .0435 .0439 .0442
.0100 .0105 .0110 .0115 .0120
.1990 .2039 .2086 .2132 .2178
.0017 .0018 .0020 .0021 .0022
.0300 .0305 .0310 .0315 .0320
.3412 .3439 .3466 .3493 .3520
.0087 .0090 .0092 .0094 .0096
.0500 .0505 .0510 .0515 .0520
.4359 .4379 .4400 .4420 .4441
.0187 .0190 .0193 .0195 .0198
.0700 .0705 .0710 .0715 .0720
.5103 .5120 .5136 .5153 .5170
.0308 .0311 .0314 .0318 .0321
90900 90905 .0910 .0915 90920
.5724 .5738 .5752 .5766 .5781
.0446 .0449 .0453 .0457 .0460
.0125 .0130 .0135 .0140 .0145
.2222 .2265 .2308 .2350 .2391
.0024 .0025 .0027 .0028 .0030
.0325 .0330 .0335 .0340 .0345
.3546 .3573 .3599 .3625 .3650
.0098 .0101 .0103 .0105 .0108
.0525 .0530 .0535 .0540 .0545
.4461 .4481 .4501 .4520 .4540
.0201 .0204 .0207 .0210 .0212
.0725 .0730 .0735 .0740 .0745
.5186 .5203 .5219 .5235 .5252
.0324 .0327 .0331 .0334 .0337
.0925 .0930 .0935 .0940 .0945
.5795 95809 9 5823 .5837 95850
.0464 .0468 .0472 .0475 .0479
.0150 .0155 .0160 .0165 .0170
.2431 .2471 .2510 .2548 .2585
.0031 .0033 .0034 .0036 .0037
.0350 .0355 .0360 .0365 .0370
.3676 .3701 .3726 .3751 .3775
.0110 .0112 .0115 .0117 .0119
.0550 .0555 .0560 .0565 .0570
.4560 .4579 .4598 .4618 .4637
.0215 .0218 .0221 .0224 .0227
.0750 .0755 .0760 .0765 .0770
.5268 .5284 .5300 .5316 .5332
.0341 .0344 .0347 .0351 .0354
.0950 .0955 .0960 .0965 .0970
.5864 95878 95892 .5906 95919
.0483 .0486 .0490 .0494 .0498
.0175 .0180 .0185 .0190 .0195
.2622 .2659 .2695 .2730 .2765
.0039 .0041 .0042 .0044 .0046
.0375 .0380 .0385 .0390 .0395
.3800 .0122 .3824 .0124 .3848".0127 .3872 .0129 .3896 .0132
.0575 .0580 .0585 .0590 .0595
.4656 .4675 .4694 .4712 .4731
.0230 .0233 .0236 .0230 .0242
.0775 .0780 .0785 .0790 .0795
.5348 .5363 .5379 .5395 .5410
.0358 .0361 .0364 .0368 .0371
90975 90980 90985 90990 90995
.5933 .5946 .5960 .5973 .5987
.0501 .0505 .0509 .0513 .0517
(By Permission of Nutter Engineering)
495
Table 7-7 Downcomer Dimensions H / D I A L / D I A Ad/A t
H/DIA L/DIA Ad/A t
H/DIA L/DIA Ad/A t
H/DIA L/DIA Ad/A t
HIDIAUDIA Ad/A t
.1000 .6000 .0520 .1005 .6013 .0524 .1010 .6027 .0528 .1015 .6040 .0532 .1020 .6053 .0536
.1275 .1280 .1285 .1290 .1295
.6671 .6682 .6693 .6704 .6715
.0743 .0747 .0751 .0755 .0760
.1550 .1555 .1560 .1565 .1570
.7238 .7248 .7257 .7267 .7276
.0986 .0996 .1000 .1005
.1825 .1830 .1835 .1840 .1845
.7725 .7733 .7742 .7750 .7758
.1249 .1253 .1258 .1263 .1268
.2100 .2105 .2110 .2115 .2120
.8146 .8153 .8160 .8167 .8174
.1527 .1532 .1537 .1542 .1547
.1025 .1030 .1035 .1040 .1045
.6066 .6079 .6092 .6105 .6118
.0540 .0544 .0547 .0551 .0555
.1300 .1305 .1310 .1315 .1320
.6726 .6737 .6748 .6759 .6770
.0764 .0768 .0773 .0777 .0781
.1575 .1580 .1585 .1590 .1595
.7285 .7295 .7304 .7314 .7323
.1009 .1014 .1019 .1023 .1028
.1850 .1855 .1860 .1865 .1870
.7766 .7774 .7782 .7790 .7798
.1273 .1278 .1283 .1288 .1293
.2125 .2130 .2135 .2140 .2145
.8182 .8189 .8196 .8203 .8210
.1553 .1558 .1563 .1568 .1573
.1050 .1055 .1060 .1065 .1070
.6131 .6144 .6157 .6170 .6182
.0559 .0563 .0567 .0571 .0575
.1325 .1330 .1335 .1340 .1345
.6781 .6791 .6802 .6813 .6824
.0785 .0790 .0794 .0798 .0803
.1600 .1605 .1610 .1615 .1620
.7332 .7341 .7351 .7360 .7369
.1033 .1037 .1042 .1047 .1051
.1875 .1880 .1885 .1890 .1895
.7806 .7814 .7822 .7830 .7838
.1298 .1303 .1308 .1313 .1318
.2150 .2155 .2160 .2t65 .2170
.8216 .8223 .8230 .8237 .8244
.1579 .1584 .1589 .1594 .1600
.1075 .1080 .1085 .1090 .1095
.6195 .6208 .6220 .6233 .6245
.0579 .0583 .0587 .0591 .0595
.1350 .1355 .1360 .1365 .1370
.6834 .6845 .6856 .6866 .6877
.0807 .0811 .0816 .0820 .0825
.1625 .1630 .1635 .1640 .1645
.7378 .7387 .7396 .7406 .7415
.1056 .1061 .1066 .1070 .1075
.1900 .1905 .1910 .1915 .1920
.7846 .7854 .7862 .7870 .7877
.1323 .1328 .1333 .1338 .1343
.2175 .2180 .2185 .2190 .2195
.8251 .8258 .8265 .8271 .8278
.1605 .1610 .1615 .1621 .1626
.1100 .1105 .1110 .1115 .1120
.6258 .6270 .6283 .6295 .6307
.0598 .0602 .0606 .0610 .0614
.1375 .1380 .1385 .1390 .1395
.6887 .6898 .6908 .6919 .6929
.0829 .0833 .0838 .0842 .0847
.1650 .1655 .1660 .1665 .1670
.7424 .7433 .7442 .7451 .7460
.1080 .1084 .1089 .1094 .1099
.1925 .1930 .1935 .1940 .1945
.7885 .7893 .7901 .7909 .7916
.1348 .1353 .1358 .1363 .1368
.2200 92205 .2210 92215 .2220
.8285 .8292 .8298 .8305 .8312
.1631 .1636 .1642 .1647 .1652
.1125 .1130 .1135 .1140 .1145
.6320 .6332 .6344 .6356 .6368
.0619 .0623 .0627 .0631 .0635
.1400 .1405 .1410 .1415 .1420
.6940 .6950 .6960 .6971 .6981
.0851 .0855 .0860 .0864 .0869
.1675 .1680 .1685 .1690 .1695
.7468 .7477 .7486 .7495 .7504
.1103 .1108 .1113 .1118 .1122
.1950 91955 9 1960 91965 .1970
.7924 .7932 .7939 .7947 .7955
.1373 .1378 .1383 .1388 .1393
92225 92230 .2235 92240 92245
.8319 .8325 .8332 .8338 .8345
.1658 .1663 .1668 .1674 .1679
.1150 .1155 .1160 .1165 .1170
.6380 .6392 .6404 .6416 .6428
.0639 .0643 .0647 .0651 .0655
.1425 .1430 .1435 .1440 .1445
.6991 .7001 .7012 .7022 .7032
.0873 .0878 .0882 .0886 .0891
.1700 .1705 .1710 .1715 .1720
.7513 .7521 .7530 .7539 .7548
.1127 .1132 .1137 .1142 .1146
.1975 .1980 .1985 .1990 .1995
.7962 .7970 .7977 .7985 .7992
.1398 .1403 .1409 .1414 .1419
.2250 .2255 92260 .2265 92270
.8352 .8358 .8365 .8371 .8378
.1684 .1689 .1695 .1700 .1705
.1175 .1180 .1185 .1190 .1195
.6440 .6452 .6464 .6476 .6488
.0659 .0663 .0667 .0671 .0676
.1450 .1455 .1460 .1465 .1470
.7042 .7052 .7062 .7072 .7082
.0895 .0900 .0904 .0909 .0913
.1725 .1730 .1735 .1740 .1745
.7556 .7565 .7574 .7582 .7591
.1151 .1156 .1161 .1166 .1171
.2000 .2005 .2010 92015 .2020
.8000 .8007 .8015 .8022 .8030
.1424 .1429 .1434 .1439 .1444
.2275 92280 92285 92290 92295
.8384 .8391 .8397 .8404 .8410
.1711 .1716 .1721 .1727 .1732
.1200 .1205 .1210 .1215 .1220
.6499 .6511 .6523 .6534 .6546
.0680 .0684 .0688 .0692 .0696
.1475 .1480 .1485 .1490 .1495
.7092 .7102 .7112 .7122 .7132
.0918 .0922 .0927 .0932 .0936
.1750 .1755 .1760 .1765 .1770
.7599 .7608 .7616 .7625 .7633
.1175 .1180 .1185 .1190 .1195
.2025 .2030 .2035 .2040 .2045
.8037 .8045 .8052 .8059 .8067
.1449 .1454 .1460 .1465 .1470
92300 .2305 .2310 .2315 92320
.8417 .8423 .8429 .8436 .8442
.1738 .1743 .1748 .1754 .1759
9 1225 .1230 9 1235 .1240 .1245
.6557 .6569 .6580 .6592 .6603
.0701 .0705 .0709 .0713 .0717
.1500 .1505 .1510 .1515 .1520
.7141 .7151 .7161 .7171 .7180
.0941 .0945 .0950 .0954 .0959
.1775 .1780 .1785 91790 .1795
.7642 .7650 .7659 .7667 .7675
.1200 .1204 .1209 .1214 .1219
.2050 .2055 .2060 .2065 .2070
.8074 .8081 .8089 .8096 .8103
.1475 .1480 .1485 .1490 .1496
.2325 92330 .2335 .2340 92345
.8449 .8455 .8461 .8467 .8474
.1764 .1770 .1775 .1781 .1786
.1250 .1255 91260 91265 9 1270
.6614 .6626 .6637 .6648 .6659
.0721 .0726 .0730 .0734 .0738
.1525 .1530 .1535 .1540 .1545
.7190 .7200 .7209 .7219 .7229
.9063 .0968 .0973 .0977 .0982
.1800 .1805 .1810 .1815 .1820
.7684 .7692 .7700 .7709 .7717
.1224 .1229 .1234 .1239 .1244
.2075 .2080 .2085 .2090 .2095
.8110 .8118 .8125 .8132 .8139
.1501 .1506 .1511 .1516 .1521
.2350 .2355 .2360 .2365 .2370
.8480 .8486 .8492 .8499 .8505
.1791 .1797 .1802 .1808 .1813
(By P e r m i s s i o n
of
Nutter
Engineering)
496
.0991
Table 7-8 Downcomer Dimensions H/DIA L / D I A Ad/A t
H/DIA L/DIA Ad/A t
H/DIA L/DIA Ad/A t
H/DIA L/DIA Ad/A t
H/DIA L/DIA Ad/A t
.2375 .2380 .2385 .2390
.8511 .8517 .8523 .8529
.1818 .1824 .1829 .1835 .2395 .8536 .1840
.2650 .2655 .2660 .2665 .2670
.8827 .8832 .8837 .8843 .8848
.2122 .2128 .2133 .2139 .2145
.2925 .2930 .2935 .2940 .2945
.9098 .9103 .9107 .9112 .9116
.2436 .2442 .2448 .2453 .2459
.3200 .3205 .3210 .3215 .3220
.9330 .9333 .9337 .9341 .9345
.2759 .2765 .2771 .2777 .2782
.3475 .3480 .3485 .3490 .3495
.9524 .9527 .9530 .9533 .9536
.3101 .3107 .3113
.2400 .2405 .2410 .2415 .2420
.8542 .8548 .8554 .8560 .8566
.1845 .1851 .1856 .1862 .1867
.2675 .2680 .2685 .2690 .2695
.8853 .8858 .8864 .8869 .8874
.2150 .2156 .2161 .2167 .2173
.2950 .2955 .2960 .2965 .2970
.9121 .9125 .9130 .9134 .9139
.2465 .2471 .2477 .2482 .2488
93225 .3230 93235 .3240 .3245
.9349 .9352 .9356 .9360 .9364
.2788 .2794 .2800 .2806 .2812
.3500 .3505 93510 93515 93520
.9539 .9543 .9546 .9549 .9552
.3119 .3125 .3131 .3137 .3143
.2425 .2430 .2435 .2440 .1445
.8572 .8578 .8584 .8590 .8596
.1873 .1878 .1884 .1889 .1895
92700 .2705 .2710 .2715 .2720
.8879 .8884 .8890 .8895 .8900
.2178 .2184 .2190 .2195 .2201
.2975 .2980 .2985 .2990 .2995
.9143 .9148 .9152 .9156 .9161
.2494 .2500 .2506 .2511 .2517
93250 .3255 .3260 .3265 .3270
.9367 .9371 .9375 .9379 .9382
.2818 .2824 .2830 .2511 .2842
93525 93530 .3535 93540 .3545
.9555 .9558 .9561 .9564 .9567
.3150 .3156 .3162 .3168 .3174
.2450 .2455 .2460 .2465 .2470
.8602 .8608 .8614 .8619 .8625
.1900 .1906 .1911 .1917 .1922
92725 92730 .2735 .2740 .2745
.8905 .8910 .8915 .8920 .8925
.2207 .2212 .2218 .2224 .2229
.3000 .3005 .3010 .3015 .3020
.9165 .9170 .9174 .9178 .9138
.2523 .2529 .2535 ~2541 .2547
.3275 .3280 .3285 .3290 93295
.9386 .9390 .9393 .9397 .9401
.2848 .2854 .2860 .2866 .2872
.3550 93555 .3560 93565 .3570
.9570 .9573 .9576 .9579 .9582
.3180 .3186 .3192 .3198 .3204
.2475 .2480 .2485 92490 .2495
.8631 .8637 .8643 .8649 .8654
.1927 .1933 .1938 .1944 .1949
.2750 .2755 .2760 .2765 .2770
.8930 .8935 .8940 .8945 .8950
.2235 .2241 .2246 .2252 .2258
.3025 .3030 .3035 .3040 .3045
.9187 .9191 .9195 .9200 .9204
.2552 .2558 .2564 .2570 .2576
.3300 .3305 .3310 .3315 93320
.9404 .9408 .9411 .9415 .9419
.2878 .2884 .2890 .2896 .2902
.3575 93580 .3585 .3590 93595
.9585 .9588 .9591 .9594 .9597
.3211 .3217 .3.223 .3229 .3235
.2500 92505 .2510 92515 .2520
.8660 .8666 .8672 .8678 .8683
.1955 .1961 .1966 .1972 .1977
.2775 .2780 92785 .2790 92795
.8955 .8960 .8965 .8970 .8975
.2264 .2269 .2275 .2281 .2286
.3050 .3055 .3060 .3065 .3070
.9208 .9212 .9217 .9221 .9225
.2582 .2588 .2593 .2599 .2605
93325 .3330 .3335 .3340 .3345
.9422 .9426 .9429 .9433 .9436
.2908 .2914 .2920 .2926 .2932
.3600 93605 .3610 .3615 .3620
.9600 .9603 .9606 .9609 .9612
.3241 .3247 .3253 .3259 .3265
.2525 .2530 .2535 .2540 .2545
98689 .8695 .8700 .8706 .8712
.1983 .1988 .1994 .1999 .2005
~ .2805 .2810 .2815 .2820
.8980 .8985 .8990 .8995 .8999
.2292 .2298 .2304 .2309 .2315
.3075 .3080 .3085 .3090 .3095
.9229 .9233 .9237 .9242 .9246
.2611 .2617 .2623 .2629 .2635
.3350 93335 93360 .3365 .3370
.9440 .9443 .9447 .9450 .9454
.2938 .2944 .2950 .2956 .2962
93625 93630 .3635 .3640 .3645
.9614 .9617 .9620 .9623 .9626
.3272 .3278 .3284 .3290 .3296
.2550 .2555 .2560 .2565
.8717 .8723 98728 .8734
.2010 .2016 .2021 .2027
.2825 .2830 .2835 .2840
.9004 .9009 .9014 .9019
.2321 .2326 .2332 .2338
.3100 .3105 .3110 .3115
.9250 .9254 .9258 .9262
.2640 .2646 .2652 .2658
.3375 93380 93385 .3390
.9457 .9461 .9464 .9467
.2968 .2974 .2980 .2986
93650 93655 93660 93665
.9629 .9631 .9634 .9637
.3302 .3308 .3315 .3321
.2575 .2580 .2585 .2590 .2595
.8745 .8751 98756 .8762 .8767
.2038 .2044 .2049 .2055 .2060
.2850 .2855 .2860 .2865 .2870
.9028 .9033 .9038 .9~43 .9047
.2349 .2355 .2361 .2367 .2872
.3125 .3130 .3135 .3140 .3145
.9270 .9274 .9278 .9282 .9286
.2670 .2676 .2682 .2688 .2693
.3400 .3405 .3410 .3415 .3420
.9474 .9478 .9481 .9484 .9488
.2998 .3004 .3010 .3016 .3022
93675 .3680 93685 93690 93695
.9642 .9645 .9648 .9651 .9653
.3333 .3339 .3345 .3351 .3357
.2600 .2605 .2610 .2615 .2620
.8773 .8778 .8784 .8789 .8794
.2066 .2072 .2077 .2083 .2088
.2875 .2880 .2885 .2890 .2895
.9052 .9057 .9061 .9066 .9071
.2378 .2384 .2390 .2395 .2401
.3150 .3155 .3160 .3165 .3170
.9290 .9294 .9298 .9302 .9306
.2699 .2705 .2711 .2717 .2723
.3425 .3430 .3435 .3440 .3445
.9491 .9494 .9498 .9501 .9504
.3028 .3034 .3040 .3046 .3053
93700 .3705 .3710 .3715 .3720
.9656 .9659 .9661 .9664 .9667
.3364 .3370 .3376 .3382 .3388
.2625 .2630 .2635 .2640 .2645
.8800 .8805 .8811 .8816 .8821
.2094 .2100 .2105 .2111 .2116
.2900 .2905 .2910 .2915 .2920
.9075 .9080 .9084 .9089 .9094
.2407 .2413 .2419 .2424 .2430
.3175 .3180 .3185 .3190 .3195
.9310 .9314 .9318 .9322 .9326
.2729 .2735 .2741 .2747 .2753
.3450 .3455 .3460 .3465 .3470
.9507 .9511 .9514 .9517 .9520
.3059 .3065 .3071 .3077 .3083
93750 .3730 93735 .3740 .3745
.9669 .9672 .9676 .9677 .9680
.3394 .3401 .3407 .3413 .3419
of
Nutter
(By Permission
Engineering)
497
.3089
.3095
Table 7-9 Downcomer Dimensions H/DIA L/DIA Ad/A t
H/DIA L/DIA Ad/A t
H/DIA L/DIA Ad/A t
H/DIA L/DIA Ad/A t
.3750 .3755 .3760 .3765 .3770
.9682 .9685 .9688 .9690 .9693
.3425 .3431 .3438 ~ .3450
.4000 .4005 .4010 .4015 .4020
.9798 .9800 .9802 .9804 .9806
.3735 .3742 .3748 .3754 .3760
.4250 .4255 .4260 .4265 .4270
.9887 .9888 .9890 .9891 .9893
.4049 .4055 .4061 .4068 .4074
.4500 .4505 .4510 .4515 .4520
.9950 .9951 .9952 .9953 .9954
.4364 .4371 .4377
.3775 .3780 .3785 .3790 .3795
.9695 .9698 .9700 .9703 .9705
.3456 .3462 .3468 .3475 .3481
.4025 .4030 .4035 .4040 .4045
.9808 .9810 .9812 .9814 .9816
.3767 .3773 .3779 .3785 .3791
.4275 .4280 .4285 .4290 .4295
.9894 .9896 .9897 .9899 .9900
.4080 .4086 .4093 .4099 .4105
.4525 .4530 .4535 .4540 .4545
.9955 .9956 .9957 ,9958 ,9959
.3800 .3805 .3810 .3815 .3820
99708 99710 .9713 .9715 .9718
.3487 .3493 .3499 .3505 .3512
.4050 .4055 .4060 .4065 .4070
.9818 .9802 .9822 .9824 .9825
.3798 .3804 .3810 .3816 .3823
94300 .4305 94310 .4315 .4320
.9902 .9903 .9904 .9906 .9907
.4112 .4118 .4124 .4131 .4137
.4550 .4555 .4560 .4565 .4570
.3825 .3830 .3835 .3840 .3845
.9720 .9722 .9725 .9727 .9730
.3518 .3524 .3530 .3536 .3543
.4075 .4080 .4085 .4090 .4095
.9827 .9829 .9831 .9833 .9835
.3829 .3835 .3842 .3848 .3854
.4325 .4330 94335 .4340 .4345
.9908 ,9910 ,9911 .9912 .9914
.4143 .4149 .4156 .4162 .4168
.3850 .3855 .3860 .3865 .3870
.9732 .9734 .9737 .9739 .9741
.3549 .3555 .3561 .3567 .3574
.4100 .4105 .4110 .4115 .4120
.9837 .9838 .9840 .9842 .9844
.3860 .3867 .3873 .3879 .3885
.4350 9 4355 94360 94365 .4370
.9915 .9916 .9918 .9919 .9920
.3875 .3880 .3885 .3890 .3895
.9744 .9746 .9748 .9750 .9753
.3580 .3586 .3592 .3598 .3605
.4125 .4130 .4135 .4140 .4145
,9846 .9847 .9849 .9851 .9853
.3892 .3898 .3904 .3910 .3917
94375 94380 94385 94390 94395
.3900 .3905 .3910 .3915 .3920
99755 .9757 99759 99762 99764
.3611 .3617 .3623 .3629 .3636
.4150 .4155 .4160 .4165 .4170
.9854 .9856 .9858 .9860 .9861
.3923 .3929 .3936 .3942 .3948
.3925 .3930 .3935 .3940 .3945
~ .9768 ,9771 .9773 .9775
.3642 .3648 .3654 .3661 .3667
.4175 .4180 .4185 .4190 .4195
.9863 .9865 .9866 .9868 .9870
.3950 .3955 .3960 .3965 .3970
.9777 .9779 .9781 .9783 .9786
.3673 .3679 .3685 .3692 .3698
.4200 .4205 .4210 .4215 .4220
.3975 .3980 .3985 .3990 .3995
.9788 .9790 .9792 .9794 .9796
.3704 .3710 .3717 .3723 .3729
.4225 .4230 .4235 .4240 .4245
H/DIA L/DIAAd/At
.4390
.4750 .4755 .4760 .4765 .4770
.9987 .9988 ~ .9989 .9989
.4682 .4688 .4695 .4701 .4707
.4396 .4402 .4409 .4415 .4421
.4775 .4780 .4785 .4790 .4795
.9990 .9990 .9991 .9991 .9992
.4714 .4720 .4726 .4733
.9959 .9960 .9961 .9962 .9963
.4428 .4434 .4440 .4447 .4453
.4800 .4805 .4810 .4815 .4820
.9992 .9992 .9993 .9993 .9994
.4745 .4752 .4758 .4765 .4771
.4575 .4580 .4585 .4590 .4595
.9964 .9965 .9965 .9966 .9967
.4460 .4466 .4472 .4479 .4485
.4825 .4830 .4835 .4840 .4845
.9994 .9994 .9995 .9995 .9995
.4777 .4784 .4790 .4796 .4803
.4175 .4181 .4187 .4194 .4200
.4600 .4605 .4610 .4615 .4620
.9968 .9969 .9970 .9970 .9971
.4491 .4498 .4505 .4510 .4517
.4850 .4855 .4860 .4865 .4870
.9995 .9996 .9996 .9996 .9997
.4809 .4815 .4822 .4828 .4834
.9922 .9923 .9924 .9925 .9927
.4206 .4213 .4219 .4225 .4232
.4625 .4630 .4635 .4640 .4645
.9972 .9973 .9973 .9974 .9975
.4523 .4529 .4536 .4542 .4548
.4875 .4880 .4885 .4890 .4895
9997 9 .9997 .9997 .9998 99998
.4841 .4847 .4854 .4860 .4866
94400 .4405 94410 .4415 94420
.9928 .9929 .9930 .9931 .9932
.4238 .4244 .4251 .4257 .4263
.4650 .4655 .4660 .4665 .4670
.9975 .9976 .9977 .9978 .9978
.4555 .4561 .4567 .4574 .4580
.4900 .4905 .4910 .4915 .4920
99998 .9998 .9998 .9999 .9999
.4873 .4879 .4885 .4892 .4898
.3642 .3961 .3967 .3973 .3979
.4425 .4430 .4435 .4440 .4445
.9934 .9935 .9936 .9937 .9938
.4270 .4276 .4282 .4288 .4295
.4675 .4680 .4685 .4690 .4695
.9979 .9979 .9980 .9981 .9981
.4568 .4593 .4599 .4606 .4612
94925 ,4930 ,4935 ,4940 .4945
.9999 .9999 .9999 .9999 .9999
.4905 .4911 .4917 .4924 .4930
.9871 .9873 .9874 .9876 .9878
.3986 .3992 .3998 .4005 .4011
.4450 .4455 .4460 .4465 .4470
.9939 .9940 .9942 .9943 .9944
.4301 .4307 .4314 .4320 .4326
.4700 ,4705 ,4710 ,4715 ,4720
.9982 .9983 .9983 .9984 .9984
.4618 .4625 .4631 .4637 .4644
.4950 .4955 .4960 .4965 .4970
1.0000 1.0000 1.0000 1.0000 1.0000
.4936 .4943 .4949 .4955 .4962
.9879 .9881 .9882 .9884 .9885
.4017 .4023 .4030 .4036 .4042
.4475 .4480 .4485 ,4490 ,4495
.9945 .9946 .9947 .9948 .9949
.4333 .4339 .4345 .4352 .4358
,4725 .4730 .4735 .4740 .4745
.9985 .9985 .9986 .9986 .9987
.4650 .4656 .4663 .4669 .4675
.4975 .4980 94985 94990 94995 95000
1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
.4968 .4975 .4981 .4987 ,4994 ,5000
.4383
.4739
(By Permission of Nutter Engineering)
Table 7-10 Determining Number of Passes
Tray Spacing (inch)
Increase No. of Passes gpm/in, of Weir Exceeds
12
3
18
18
DOWNCOMER
Vertical Downcomer
-
,,
-
TYPES
Flat Deck: Used as a standard unless process reasons dictate otherwise
DCA
I .75 DCA
Sloped Downcomer - - Flat Deck: Used in high pressure systems where vapor disengagement out of the top portion of the downcomer is critical.
DCA
l ~
DCA
4 Sloped Downcomer - - Recessed Pan: (1) Used in high liquid rate systems to help alleviate hydraulic problems (2) Used in low liquid rate systems to maintain positive downcomer seal
Figure 7-11. Dimensions of downcomer types. By permission of Nutter Engineering. 499
AREA
.
DISTRIBUTION .
.
.
!
DCA
.
.
.
DCA
DCA
T
t
I!
=
I
Ab
~
ocA -]--._~
"-f"
2
[
_!q
li 1-PASS
Z-PASS
2 DCA
DCA
Iil DCA
W"
-5-
_'~'~'_,_'~_~--~_ I I ! _-4"~_,_-'~_,_'-~'_I
T
1
:3-PASS -~ MINIMUM
t
I
rl
I
4-PASS OF
4.5%
OF
TOWER
AREA
NOTES: (1)
Trays are designed using as few passes as possible. Increasing number of passes decreases efficiency and increases cost.
(2)
Multipass trays are designed with equal-bubbling areas. Weir lengths or heights can be adjusted to provide uniform tray hydraulics.
(3)
Vapor equalizers are a recommended option to guarantee vapor equalization between compartments.
Figure 7-12. Area distribution for different pass types. By permission of Nutter Engineering. 500
Mass Transfer
501
(text continued from page 492)
D = Foam fac. = QL = Qv = R D= Sf~c = TsF = V = W L= Wv =
tower diameter, ft foam factor (see Table 7-4) volumetric liquid flow rate, ft3/s volumetric vapor flow rate, ft3/s density radical safety factor tray spacing factor velocity at zero liquid load, ft/sec liquid flow rate, lb/h vapor flow rate, lb/h
Greek Letters PL = liquid density, lb/ft 3 Pv = vapor density, lb/ft 3 c~ = surface tension, dynes/cm
PACKED T O W E R DESIGN Introduction Packed towers are used increasingly in a variety of applications in the chemical process industries. The reasons for this are an increase in the availability of design information, the evolution of higher-capacity and higher-efficiency mass-transfer packings, and improvements in distributors and support plates. Today, packings can be considered for most services where high numbers of theoretical stages are required for mass transfer. Most of the fractionating columns in gas-processing plants that were previously equipped with trays can now be filled with packings. Packings, such as slotted rings in metal and plastic and plastic saddles, offer large improvements in capacity for absorption and heat transfer applications. An example of this is the use of slotted rings in a gas-plant demethanizer, which resulted in a significant capacity improvement over trays. Packed towers are used increasingly in small fractionating towers and absorbers where accessibility is restricted. Their use is also advantageous where corrosion control is essential. Because of liquid-distribution concerns, packing still is usually not recommended for large-diameter columns or where a high turndown ratio is required. All packings tend to spread liquid as it flows downwards. This characteristic is adequate in
502
FortranPrograms for Chemical Process Design
dispersing the liquid between distribution points, but not to correct poor distribution across a tower without considerable loss of efficiency. Studies of liquid spread in tower packing have been reported by Hoak [14]. Figure 7-13 illustrates the sections of a packed tower.
Pressure Drop The pressure drop (AP) through a packed bed represents the frictional loss, kinetic energy loss through the packing, and the force exerted by the operating liquid holdup. At constant AP, the packed bed has less volumetric liquid holdup in high-liquid-density systems. But with lowdensity liquids, the volumetric liquid holdup can be significantly greater than for water at the same AR At atmospheric pressure and in vacuum services, the static head produced by the gas is negligible. In highpressure fractionators requiring large number of theoretical stages, the static head of vapor can be considerable from the condenser to the reboiler. Here, the value should be added to the calculated AP in determining the bottom column pressure and reboiler temperature. Pressure drop may be estimated from Figure 7-14 for the particular packing system properties and operating conditions [15], or may be calculated by the following equation as represented by Leva [16]. AP - o~10~L -~G
(7-61)
The equation was originally developed for air-water systems. For other liquids, however, L is multiplied by the ratio of the density of water to the density of liquid. Table 7-11 shows AP correlations for different types of packing material [ 17].
Flooding In packed columns, flooding is caused when the energy potential of the vapor is greater than that of the liquid (that is, when all the void spaces in the packing are filled with liquid), so that the liquid travels up and the column floods. This gives a AP of 2-3 in. H20/ft of packing depth, and a column cannot be operated successfully under these conditions. Flooding depends on a number of parameters, and empirical correlations of the variables have been presented by Bain and Hougen [ 18], Lobo et al. [19], Sherwood et al. [20], and Eckert [21 ]. Eckert's modification of Sherwood's flooding correlation has been widely applied for designing packed columns. B lackwell [13] developed
Vapor outlet to condenser
Manway
~e~ fro
L,Ou,~176 Hold-down grid Structured packing . . . . . . . .
L~
Support grid . . . . . . . . I'~~ Liquid collector . . . . . . . .=. = ,r
Ringed channel Manway Liquid d i s t r i b u t o r / - - - - = ~ T I ~ ' ~ ~' redistributor I ~ Hold-down grid . . . . Random
p~king'"
Support plate
-I
( ~
t
Rings or
~,~saddles
.--.-.--=--.. _ I
_
Manway
Liquid distributor ~
Structured grid
Skirt
Circulation pipe . . . . . to reboiler
"---
Bottom product
Figure 7-13. Packed tower and internals. By permission of Chemical Engineering.
503
504
FortranPrograms for Chemical Process Design 0.20
III
0.10
_ 1.00 ~
I
I
Ii
Porometer of curves is press~e _ drop in inches of woter/foot of pocked heigh!
h ,~.~
.060'
.o4o ---..%.1
"
.~ ~ .o2o .010 .006 _
ioo
;
-~~,
;i'
'
r
,
\
~
"~
\\
.004 .002
.001'
.01
.02
.04 .06
0.1
0.2 L
0.4 0.6
PG
1.0
2.0
4.0 6.0
I0.0
i
"--~( pL_ pG }-Z L = Lsquid role, Ib/(s)(ft z) G'= Gos rote, Ib/(s)(ft z) pL= Liquid density, Ib/f t 3 pG= Gas density, Ib/f t 3 F = Pocking foctor ,u, = Viscosity of liquid, cent ipoise gc = Grovitotionol conslont = 32.2
Figure 7-14. Correlation of flow rate and pressure drop in packed towers. Source: Eckert [15].
mathematical models representing the generalized pressure-drop curves excluding the flooding condition. Kessler and Wankat [22] formulated a model to represent Eckert's flooding curve within the range of the original data.
Operating and Design Conditions Packed towers are typically operated at a gas velocity that corresponds to about 50-80% of flooding condition. This usually results in a AP of 0.5-1.0 in. HzO/ft of packing. Alternatively, a large decrease in flow
Mass Transfer
505
Table 7-11 Pressure-Drop Correlations for Packed Towers
Packing Type Raschig rings Ceramic
Raschig rings Metal, 1/32 in. Wall, 1/ 16 in. Pall rings, metal
Constants Nominal Size, in.
cz
[3
1
4.70 3.10 2.35 1.34 0.97 0.57 0.39 0.24 1.20 0.42 0.29 0.23 0.43 0.15 0.08 0.06 1.2 0.62 0.39 0.21 0.82 0.28 0.31
0.41 0.41 0.26 0.26 0.25 0.23 0.23 0.17 0.28 0.21 0.20 0.135 0.17 0.16 0.15 0.12 0.21 0.17 0.17 0.13 0.20 0.16 0.16
1 1/2
0.14
0.14
3/8 1/2 5/8 3/4 1 1 1/4 1 1/2 2 5/8 1 1 1/2 2 5/8 1
Berl saddles
Intalox saddles
1 1/2 2 1/2 3/4 1 1 1/2 1/2 3/4
SOURCE: Van Winkle [11].
rate causes channeling through the packed bed, and could result in poor column performance. Two principal design methods have often been employed in sizing packed towers. One is the selection of an allowable AP, and the other is to select some fraction of the flooding capacity. Nguyen [23,24] uses the latter and employs Chen's least-square method to determine the tower
506
Fortran Programs for Chemical Process Design
diameter at 50% of the superficial flooding rate. This means that the APs are 2 in. H20/ft of bed, or greater. Here, an allowable AP is selected to determine the diameter of a packed tower. Kessler and Wankat's model is employed to determine the vapor rate at 70% of the flooding condition. The maximum recommended design AP is 1.0 in. HzO/ft for liquids with a specific gravity of 0.8 or more. A lower maximum design AP is recommended for lighter liquids. The recommended design AP criterion for sizing a packed tower should fall within the ranges as shown in Table 7-12 [25]. Packed beds may be scaled up using the modified Sherwood correlation as illustrated in Figure 7-14. The packing factor for various types of packing is as shown in Table 7-13 [26], because the capacity of the bed is independent of tower diameter and height. Packings that have sizes that are too large for the tower diameter will show a greater contact caused by the extra voidage, (that is, where the pieces of packing contact the tower wall) and a lower AP than that predicted by their published packing factors. This effect reduces to zero for most packings when the ratio of packing size to diameter exceeds 10:1 [ 15]. This factor is necessary when data from a pilot plant tower, which is filled with large packings, are used for scale up.
Design Equations The packed tower sizing method is based upon the generalized AP correlation as shown in Figure 7-14.
Table 7-12 Generalized Pressure Drop Rules
Service
Design Pressure Drop in. H20/ft. of Packed Depth
Absorbers and Regenerators (Non-foaming System)
0.25-0.40
Absorbers and Regenerators
0.10-0.25
Atmospheric or Pressure Stills and Fractionators
0.40-0.80
Vacuum Stills and Fractionators
0.10-0.40
Source: Branan [25].
r~
,: N .,,.,
01
I
"o
=.
Z
o.
m~
~
';
13)
I.I.
m t~
~ 03 rl
.
T
.
'
-~
i
,
i
,
I
I .
't
~
I
I
I
~m
I
I
.
...,.
I '
.=.,
i
.,,.
_
~
~
I
I
.
I
+
~
.
.
_.
;
.
""
l~~
,,.
e. "-
._
I
I
.
,L
!
_-
,
~
~1'
o J
-_
~
tN
_ _.
m
I .-
,
= ~
Ii
(O
I
m!~ '~1' i ~ n "
,
mII"J ~
o ~
=
,w==..
i
;
' ._
---
u
-
I
;
I',
~ ;
'
..,...
.
,
o,
, --
,
:
,_
:
"
:
_~
I
O~
9
~ ,-
i
~
_.
.-
I
I
I
!
9
-.
.
I
.
,
i
.
,
=
,
"
......
~
o ,.-
sp=='
~.
.
I
.
I
I
,,,
o
.
1
:
=
i
i',i
.
.
I
I
I
;
:
Ii
o
II
.
~ i'
I
I
I
+
-
I
.
I ; I
i
,11
n
.
I
.
.
.
~
. ,=I ,
-
+
m"
=
-
,, ~
~
r.~
:~
+
~ zc
~
I
=
~
"-
ii
++
t
-.'~
J
I,
I ~ I "=
I ~
.
I i I
;
!
I .
m
,
;
I
+
.
+
.
!
:!
+
.
~'
~
,-
I
I
.
;
.~+
:
;
:
~
-~176 m
;
I
o
m I'~!
o
,,..
-~
Ii
~ ~m
,-
~,.,_
I'J
-
o
~
'
~"
:
,i,--
"
'-
. . . .
,
~
M"J
~'
m
,,
x
_
""
~.
-
+++
_
,w167
;
+ t,,.+o lira ,,- I b m
o
I ' I !
I
. . . . . . .
+
9
i,
.
I-
~
'L l~ll+
_.
,m,,
_.
,
.
i+i
9
.
r
I
:
i
'
+
n
,
m,,,'~
*~
"~i
~
+
.
#+ .
#
.
I
I
.
..... !
9
9
:
.
.
.
9
I,,,.
507
508
FortranPrograms for Chemical Process Design
The abscissa on the generalized AP curve is expressed as"
X --
L ~
/[
PG
(PL -- PG)
10.5
(7-62)
where 0.01 < X < 2.0 and the ordinate is expressed as: 0.1
Y =
(7-63)
(G~FplRL) [OG (OL -- PG)g]
where 0.001 < Y < 0.15 Y - exp[C o + Cj In X + C 2 (In X) 2 + C 3(In X) 3 + C 4 (ln X ) 4 ]
(7-64)
and C o - C4 are constants derived for each AR The values of these constants for each AP correlation are shown in Table 7-14 [13]. The mass vapor rate, Gi, is expressed as: lb ft2.s
(7-65)
The tower area is A -
=
G
(7-66)
(3600)(G,) 71;D2
(7-67)
4
The tower diameter is defined by D-
(4A) ~ ,
ft
(7-68)
71;
At flooding condition, Eckert's flooding curve is represented as"
log
Ps
versus
log(FEB )
(7-69)
Mass Transfer
509
Table 7-14 Constants for Each Pressure Drop Correlation
Pre s sure Drop in.
constants
Pressure Drop in.
HzO/ft. of
H20/ft. of
Packed Depth 0.05
Packed Depth 0.50
Co= -6.30253
CI= -0.99404
C2= -0. I1932
C2= -0.16983 C3= 0.00873 C4= 0.00343
C4=
0.00032
Co= -5.50093
0.25
Co= -4.39918
C]= -o. 6o8o9
C3= -0.00685 0.10
Constants
1.0
Co= -4.09505
C]=
CI= -0.78508 C2= -0. 13496
C2= -0.15871
C3=
0.00134
C3=
0.00797
C4=
0.00174
C4=
0.00318
Co-- -5.00319 CI= -0.95299 C2= -0.13930
1.5
-1.00120
Co= -4. 02555 CI= -0. 98945
C2-- -0. 08291
C3=
0.01264
C3=
0.03237
C4=
0.00334
C4=
0.00532
Source: Blackwell [13]
where L I PG 105
(7-70)
Using Kessler and Wankat's model to represent the flooding condition, X l - FLG
(7-71)
YI = ( Gz2F ~P 02 P g'/) (PG'PL'g)
(7-72)
510
Fortran Programs for Chemical Process Design
At flooding condition, log(Yl) = -1.6678 - 1.085 log(Xl) - 0.29655(log
Xl) 2
(7-73)
The mass vapor rate lb/(sft 2) at 70% flooding condition can be expressed as:
/0.5 G 2 -0
7 YI"PG'Po'2 g
9
Upi ~}/~~-~L-
(7-74)
The vapor velocity (ft/sec) at 70% flooding condition is expressed as: VGF =
62
(7-75)
9~
Guidelines for Selecting Packed Towers Use the following rules of thumb for selecting packed towers: 1. Structured and random packings are suited to packed towers under 3 ft diameter and when low AP is desirable. In such cases, volumetric efficiences, given adequate liquid distribution throughout the column, can exceed trayed towers. 2. Replacing trays with packing allows greater throughput or separation in existing tower shells. 3. For gas rates of 500 ft3/min, use 1-inch packing. For gas rates of 200 ft3/min, or more, use 2-inch packing. 4. The ratio of the diameter of the tower to the packing should be at least 15. 5. Because of deformability, plastic packing is limited to an unsupported depth of 10-15 ft, metal to 20-25 ft. 6. Liquid redistributors are required every 5-10 tower diameters with pall rings, and at least every 20ft for other types of dumped packings. The number of liquid streams should be 3-5/ft 2 in towers larger than 3 ft diameter. Some experts advocate 9-12/ft 2 [27]. 7. The height equivalent to a theoretical plate (HETP) for vaporliquid contacting is 1.3-1.8 ft for 1-inch rings, 2.5-3.0 ft for 2-inch rings. 8. Packed towers should operate near 70% of the flooding rate given by the correlation of Lobo et al. [19] and Sherwood.
Mass Transfer
511
9. Limit the tower height to about 175 ft maximum because of wind load and foundation considerations. Also, L/D should be less than 30.
Packed Towers Versus Trayed Towers Both trays and packings are used to provide intimate contact between the ascending vapor and descending liquid without a great reduction in the throughput or capacity of a fractionating column. The most striking difference between trays and packings is the percentage opening of each phase-contacting device. A tray has an opening of 8-15% of the tower cross-sectional area, while the projected opening of a typical packing design is usually more than 50% of tower cross section. The void fraction of a packed column is even higher, and is usually more than 90% of the tower volume. In addition, with packing, contact is readily achieved between the vapor and the liquid phases throughout the column, rather than at specific points as with trays. The following further illustrates the advantages of using packed towers over trays.
High capacity with high liquid rates or high viscosity. Trayed columns employ the energy of the vapor to create a mass-transfer surface area by bubbling through the liquid. Packed towers, with the aid of gravity, create a mass-transfer surface area by the action of the liquid falling over the packing. Thus, there are no downcomers in a packed tower, and 100% of the tower cross section is used for mass transfer. High capacity/efficiency combinations. Because the capacity of a packed tower is greater than a comparable sized trayed one, a smaller, more efficient packing can be used to handle the same capacity. The range of packing sizes and types allows the combination of efficiency and capacity to be optimized. High capacity in foaming system. Trayed columns use the continuous liquid phase to create a froth that is difficult to separate. Packed towers make the vapor phase continuous, and the liquid phase discontinuous. Low pressure drop. Packed towers have a low AP per theoretical stage or transfer unit, which is beneficial in low-pressure and vacuum applications.
Low residence time. Packed towers offer low liquid holdup. This gives lower residence time for materials that are sensitive to high processing
512
Fortran Programs for Chemical Process Design
temperature. In contrast, trayed columns typically impose a holdup volume of 20-30%. Economic Trade-Offs In the design of industrial-scale packed towers, an economic balance is important between the capital cost of the column, its ancillary equipment, and the operating cost. If the diameter of the tower is reduced, the capacity cost will also be reduced, but the cost of pumping the gas through the column will increase because of the higher AR For columns operating at high pressures, the capital cost of the column shell is more significant, and it may be more economic to operate at gas velocities above the loading conditions. Morris and Jackson [28] suggest that a gas velocity 75-80% of the flooding velocity for normal systems, and less than 40% of the flooding rate if foaming is present. In general, the actual operating vapor rate is some percentage of G2,,,,o~. The usual range is 65-90% of flooding, with 70-80% being most common. Because the flooding correlation is not always accurate, some confidence limit is used. For a 95% confidence, Bolles and Fair [29,30] recommend a safety factor of 1.32 for the calculated cross-sectional area. The tower diameter is calculated once the tower area is known. Because the liquid and vapor properties and gas and liquid flow rates all vary, the designer must calculate the diameter at several locations, and then use the largest value. Sizing the column diameter has often been influenced by changes in the vapor flow rate. Eckert [21] develops an economic characterization number for various types of packing. Usually, the most suitable choice of packing is dependent on the material of construction of the equipment. In distillation towers when low-carbon steel is used, 2-inch metal tings are often favored because they give a low AR high capacity, and efficiency. Alternatively, saddles are the most frequently selected plastic and ceramic packing. Troubleshooting packed towers is well illustrated in the literature [31 ]. Nomenclature A= Co- C 4 = D= FEB = Fp-
tower area, ft 2 packed drop correlation constants packed tower diameter, ft flow parameter (Equation 7-67) packing factor for packing material
Mass Transfer
513
G = vapor rate, lb/h G~ = vapor mass velocity, lb/(ft 2 sec tower cross section) G 2 = vapor mass velocity, l b / ( f t 2 s e c tower cross section) g = gravitational constant, 32.2 ft/s 2 L = liquid rate, lb/h L~ = liquid mass velocity, lb/(ft 2 sec tower cross section) X = abscissa in the generalized plot Y = ordinate in the generalized plot Y~ = ordinate in Eckert's flooding curve VGF = vapor velocity at 70% of flooding conditions, ft/s
Greek Letters = constant in Table 7-11 [3 = constant in Table 7-11 gL - liquid viscosity, cP PL -- liquid density, lb/ft 3 PG = vapor density, lb/ft 3 - ratio of water density to liquid density D E T E R M I N A T I O N O F P L A T E S IN F R A C T I O N A T I N G COLUMNS BY THE SMOKER E Q U A T I O N S
Introduction Smoker [32] developed an analytical equation that determines the number of stages when the relative volatility is constant (that is c~ is constant). Smoker's method can be used in preference to the McCabeThiele [33] graphical method for calculating the number of theoretical plates. This is because the accuracy of the McCabe-Thiele depends on the care given to the construction of the plots. The graphical construction for the number of stages becomes more difficult at very low concentrations. Also, if the relative volatility is close to one, the number of stages required will be very large, and the McCabe-Thiele diagram will be difficult to construct.
The Equations Smoker's equations start by considering Raoult's law for a binary mixture, where a is a constant and represents the vapor-liquid equilibrium relationship. From Equation 7-25
Fortran ,Programs for Chemical Process Design
514
y =
(XX
(7-25)
1 + ( o : - 1)x
Any operating line that is either above or below the feed plate can be represented by the general equation of a straight line. y = mx + b
(7-76)
Eliminating y from Equations 7-25 and 7-76 gives a quadratic equation in x. m(~z- 1)X2 + [m + ( ~ - 1 ) b - ~]x + b = 0
(7-77)
For any particular distillation problem, Equation 7-77 will have only one real root k, between 0 and 1. Representing this root k, and substituting in Equation 7-77 gives m(cz- 1)k 2 + [ m + (cz- 1)b-ct]k + b = 0
(7-78)
k is the value of the x-ordinate at the point where the extended operating lines intersect the vapor-liquid equilibrium curve. Smoker shows that the number of stages required is given by
N-log
x o (1 - [3xo ) x;(1-[3x;)
log
mc
2
(7-79)
where [3 - m c ( ~ -
1)
0~- mc
2
(7-80)
N = number of stages required effecting the separation represented by the concentration change from x ~ t o x o,x* -(x-k) *"
a n d x o* > x*" n, C - 1 + (r
1)k
(7-81)
k = composition of the liquid where the operating line intersects the equilibrium line m - slope of the operating line between x~ and x 0 ~z- average relative volatility, assumed constant over x~ to x 0 (CZ~o p + (~bottom)/2 A p p l i c a t i o n to a D i s t i l l a t i o n C o l u m n
Apply Smoker's equation to actual distillation conditions with a single feed and no side streams.
Mass Transfer
515
Rectifying Section: For a rectifying column, the n u m b e r of plates required to enrich from the feed composition, z v, to the distillate (product) composition, %, at fixed reflux ratio, R, is required by
R
m =
(7-82)
R+I and X o
(7-83)
b
R+I Also m(t~ - 1)k 2 +[m + (ct - 1)b - t~]k + b = 0 where k is the root between 0 and 1 x0 = xD
(7-84)
x 0 - X D- k
(7-85)
x. = z v
(7-86)
x n- z v - k
(7-87)
Stripping Section: For the stripping section, the b o t t o m s composition, x B, the feed, z v, the o v e r h e a d composition, x D and the reflux ratio, R, all fix the operating line. The values of m and b are m - Rzv + xD - ( R ( R + 1)(z
+ 1)x B
(7-88)
-
and b
x
)x.
~.
(7-89)
( R + 1)(z F - XB) x 0* m z v m k ~m X n
X B --
k
(7-90) (7-91)
516
FortranPrograms for Chemical Process Design
If the feed stream is not at its bubble point, z v is replaced by the value of x at the intersection of operating lines given by ,
ZF
--"
b + zF/( q - 1) q/(q- 1)- m
(7-92)
For distillation at total reflux R = ~, m = 1, b = 0, k = 0, c = 1 and Equation 7-79 becomes
N lo{X0 Xnl IfO x l
(7-93)
Equation 7-79 simplifies to the equation derived by Underwood [34]. Smoker's equation is not limited to the range of small concentrations, but can be used for stage calculation over the entire range. In such instances, the equation is written twice, one for each section of the tower. The average relative volatilities for the rectifying section and for the stripping section are determined.
Nomenclature b = intercept of a straight line with the y-axis c = constant defined by Equation 7-81 k = composition of the liquid where the operating line intersects the equilibrium line n = number of plates between any two points in the column under consideration R = reflux ratio, reflux per unit time divided by moles of distillate per unit time x B = mole fraction in the bottoms x D = mole fraction in the distillate z v = mole fraction in the feed
MULTICOMPONENT DISTRIBUTION AND MINIMUM TRAYS IN D I S T I L L A T I O N COLUMNS Determining the number of stages and reflux ratio for multicomponent distillations is more complex than for binary mixtures. In multic o m p o n e n t distillation with the feed c o n t a i n i n g more than two components, it is often difficult to specify the complete composition of the top and bottoms products. The separation between the top and
Mass Transfer
517
bottoms products is specified by setting limits on two key components between which it is desired to effect separation. Also, fixing one component composition does not uniquely determine the other component compositions and the stage temperature.
Key Components Before the start of the column design, the process designer must select the two key components between which it is desired to effect the separation. In cases where pure components are being produced, the key components are the compounds boiling adjacent to one another on the temperature scale. The material having the lower boiling point is known as the light key component and the next heavier as the heavy key component. The light key component is the component that is desired to keep out the bottoms product, and the heavy key is the component that is desired to keep out the top product. Specifications are often set on the maximum concentrations of the keys in the top and bottoms products. The keys are known as "adjacent keys" if they are adjacent in a listing of the components in order of volatility. Sometimes, the keys selected are not adjacent but have an intermediate boiling component between them. They are known as "light key," "heavy," key and "intermediate" (boiling) or "distributed key." The non-key components that appear in both top and bottoms products are known as "distributed" components. Those that are not present to any significant extent, in one or other product, are known as the "non-distributed" components.
Equations Surveyed The increasing availability of personal computers with acquired simulation software packages has helped design engineers to optimize a number of equilibrium stages in multipurpose fractionating towers and absorbers. Designers adept in mathematical modeling are still engaged in the use of vigorous, iterative plate-to-plate computation to study a wide range of process conditions. However, preliminary design with graphical correlations has often helped to arrive at an approximate optimum number of stages before reverting to established design methods. Figure 7-15 shows a schematic of a fractionating column with two or more multicomponent and associated equipment items. Alternatives to the preliminary design are the short-cut methods to achieve a realistic optimum number of theoretical stages. Generally, short-cut methods were proposed to establish the minimum number of stages at total reflux, and
518
FortranPrograms for Chemical Process Design v
1 ENRICHING SECTION
V~
L o
i___r.-~, L ~ (--r-
2
(--f- 3 ~]i][[]"
c[i
CONDENSER[
5
FEED
-]--1
l
m I
T W=ATER
DISTILLATE
.L
"
O
-I---r-'
STRIPPING - t---g- 2 SECTION
(--rl ----
v
-
k
7
-
I
1REFLUX : J ' ~ ACCUMULATOR
5
g s ---II ,
9
0
~
,
REFLUX PUMP
STEAM
V
T
1
.L -~
Q ldr .... I
r-
. . . .
T"EO'LEt T J.
.,.
1B
BOTTOMS
Figure 7-15. Factionation column with a reboiler and refluxing auxiliaries.
also the minimum reflux at an infinite number of theoretical stages. Many authors have correlated the minimum reflux and minimum stages with operating reflux and corresponding theoretical equilibrium stages required. These methods have enabled designers to vary the reflux ratio and plates in order to achieve an optimum relationship based on investment and operating costs.
Mathematical Modeling The distribution of components between the distillate and bottoms is given by the Hengstebeck-Geddes equation [35,36].
[di]
log b i
where d~ = b~ = (zi = A~, B~ =
- Ai + B~ log
~i
moles of component i in the distillate moles of component i in the bottoms relative volatility of component i correlation constants
(7-94)
Mass Transfer
519
A material balance for the i th component in the feed is: fi = di + bi
(7-95)
The quantity of component i in the distillate can be expressed as mole fraction recovered, or d~/fi.Alternatively, in the bottoms, the mole fraction of component i recovered is bi/fi. If Equation 7-94 is expressed with respect to the heavy key component, then
1
log IdHK ~HK -- A~ + B 1 log 0~HK
(7-96)
The relative volatility of the heavy key component (that is, 0~HK)is 1.0 Therefore, A~ - 1og[~UKl dHK
(7-97)
but (7-98)
fHK = dHK + bHK
and (7-99)
fLK-" dLK + bLK
Therefore A , - log
--
If IlK bHK] -bHK
(7-100)
Equation 7-100 can be expressed in terms of mole fraction recovered as: A, - l o g [ (1" 0]~-b-~K)~HK; - bHK/fHK)
(7-101)
Substituting Equation 7-97 into Equation 7-94 and expressing in terms of the light key component. 1og[~LLKKI--1Oglb~KKI+B, 1og~LK
(7-102)
520
FortranPrograms for Chemical Process Design
Therefore
,ogl/dLK (7-103)
B 1
log O~LK
Expressing Equation 7-103 in terms of fractional recoveries.
log
B~ =
dLK/fLK fix - di~K fLK
bHLK/fnK fnK - dnK f.~:
log ~'L~
log
B 1 ~--
dLK/fLK bHLK/fnK 1 dtx 1 bnK fix fnK log CZLK
(7-104)
(7-105)
The recoveries of the i'h component in the distillate and bottoms" Equation 7-94 and Equation 7-95 are
Edi]
log ~
- A 1+B~log~
(7-94) (7-95)
fi - di + bi
Expressing Equations 7-94 and 7-95 in terms of the recoveries of the i th component. That is
I
di/f i log 1 - d i/fi Hence,
- A~ + B 1 logc~
(7-106)
Mass Transfer
I
d~/f~ ] _ 10A,. 10(log,,,a,~,) 1-di/f i --
di 1 0 A=' f i
l0 A,
"i~B'(1 -
521
(7-107)
BI
.(Xi
~d~)
(7-108)
The recovery of the i~hcomponent in the distillate is given by di = (10A,. @B,) fi (1 -~- l O A l . 0~, B'
(7-109) )
And the recovery of the i th component in the bottoms is bi = 1 fi
= 1-
(7-110)
di fi B1
(10A'"~a ) ( 1 + 1 0 A'.c~BL )
b i __ 1 Bt fi 1 + 10 A' . ~i
(7-111)
(7-112)
The F e n s k e ' s M e t h o d for Total Reflux
Fenske's [37] equation for determining the minimum equilibrium stages at total reflux was based on an ideal mixture. This suggests that the ratio of vapor pressures or the ratio of equilibrium vaporization of the key components is constant over the range of temperatures (that is, the relative volatilities are constant). Fenske expressed the minimum number of equilibrium stages as:
Nmin =
,og[/XL 1 l~ XHK D XLK B
(7-113)
522
Fortran Programs for Chemical Process Design
The Gilliland Method for Number of Equilibrium Stages The number of theoretical equilibrium stages required for a given separation at a given reflux ratio is often determined by empirical correlations [38,39]. The abscissa, X, represents a reflux function as: (7-114) Correspondingly, the ordinate, Y, represents a stage function as given by y _ (N - N~ ) (N+I)
(7-115)
The ratios used for the axes of abscissa and ordinate were chosen because they provide fixed end points for the curve (X = 0.0, Y = 1.0 and at X = 1.0, Y = 0.0). The two functions were found to give good correlations. These correlations are shown in Figures 7-16 and 7-17. Gilliland's correlation has produced relevant results that offer the following advantages: 9 They represent an optimum solution concerning the location of the feed plate. 9 The splitting for the two key components is verified. 9 The maximum deviation using Gilliland's correlation in terms of tray number is within the7% range [39]. The Gilliland correlation tends to be conservative for feeds with low values of the thermal condition of the feed (q). It can give inaccurate results when there is a large difference in tray requirements above and below the feed. The correlation is adequate for preliminary designs before a detailed analysis is carried out. Great caution should be exercised when used for final designs. Hines and Maddox [5] have described an improved correlation for determining the number of theoretical stages.
Underwood's Method If an infinite or nearly infinite number of equilibrium stages is involved, a zone of constant composition must exist in the fractionating column. In this instance, there is no measurable change in the composition of liquid or vapor from stage to stage. Under these conditions, the reflux ratio can be defined as the minimum reflux ratio, Rmin, with
Mass Transfer
1.0
8 ,-.+.
O.
Z
I
z
r
i
I
l
i
~
523
i
I
0.6 ~
c~ I-,-.I
I--, =,.,
..-,,,
0.4 ,,.,...
l-iV3
9
(i,
",t'
9,.--
L
O.2
L
,,...
t
0.0 J 0.0
l
l
0.2
0.4
0.6
0.8
1.0
REFLUX FUNCTION (R-Rm)I(R+I) Figure 7-16. Linear coordinates based on Gilliland's correlation.
respect to a given separation of two key components (that is, the light key and heavy key) [40]. Therefore, for component i, in the distillate Rmi n -+- 1
- ~
(O('i -- Xi'D)
(7-116)
where 0 is Underwood's constant (or root of the equation), and must lie between the relative volatilities of the light and heavy keys ((ZLKand 0~HK). The number of components is n. Correspondingly, for the feed, 1-q
-
~( i=l
(~i ~ Xi, F )
(O('i
~)
--
(7-117)
524
Fortran Programs for Chemical Process Design
1.0 0.8
,-
0.6 0.5 0.4
"
0.3
E
0.2
+
I
z
o
4
: ! 1 tt
I
z
J
I
I
! r !11!1!ti
It
, s
0.1
II
~
t
,
0.02t 0.01
, ,
-
!
;
, .
tt
tt)
'
-
-
.
,
Ill
'
'
':
.
0
. 1
l
~
.
i
~
.
'
!
:
t
I
I
[
[ .
t
~ ~~ !~'!!~
~ ~ ] i~! '
,'*
f
,
,
t t
t -;-'
t
= 0.06 u_ 0.051 0.04 1--. 0.03
t
,
J ~ !!
i il~!
.
1
!
, s i i II! i]!i ..! 0.02 0.03 0.05 0.08 0.1
!
,
.
,
1, t !., ~ J1~!
! i i l!J!
! !..i i tiii]..j 0.2 0.3 0.5
i i.
l!
] 0.8 1.0
REFLUX FUNCTION (R-Rm)/ (R+I) Figure 7-17. Logarithmic coordinates based on Gilliland's correlation.
Equation 7-117 shows the relationship for the feed, where q is the fraction of feed that is liquid at the feed tray temperature and pressure. For a bubble point feed, q = 1, and for a dew point feed, q = 0. The minimum reflux ratio is determined from Equation 7-117 by substituting into Equation 7-116. Coker [41] developed a numerical method for computing 0 and Rmi n respectively. However, other methods should be tried, if Rmi n gives a negative value. Also, it may be that the separation between the feed and the overhead can be accomplished in less than one equilibrium stage.
Equations for Describing Gilliland's Graph Many equations have been proposed to describe Gilliland's curve for multicomponent distillation. However, the difficulty with some of these equations has been in meeting the end conditions of X = 0, Y = 1 and X = 1, Y = 0. A review of the many equations proposed by these authors is as follows:
Mass Transfer
525
Proposed Equations:
1. Hengstebeck [42] (1961) log Y - A + B(log X) + C(log X) 2 + D(log X) 3 + E(log X) 4 (7-118) where A B C D E
=-1.3640187 = -3.0920489 = -3.407344729 = -1.74673876 =-0.33268897
2. Liddle [43] (1968) For 0.0 < X < 0.01, Y - 1.0 - 18.5715X
(7-119)
For 0.01 < X < 0.90, Y - 0.545827 - 0.591422X + 0.002743/X For 0.90 < X < 1.0, Y - 0.16595 - 0.16595X
(7-120) (7-121)
3. Van-Winkle and Todd [44] (197 l) For 0.0078 < X < 0.125, Y - 0.5039 - 0.5968X - 0.0908(log X)
(7-122)
For 1.25 < X to X - 1.0, Y - 0.6257 - 0 . 9 8 6 8 X + 0.516X 2 - 0.1738X 3
(7-123)
)/X-1)I
(7-124)
4. Molokavov [45] (1972)
0 _< ( x , Y ) y_
< 1.0
l_exp[ / 1+54.4X
ll+ii
i
k
x
5. H o h m a n and Lockhart [46] (1972) X - 0, Y - 0.65 X - 1.0, Y - 0.067 0.65 - 0 . 5 0 X 1 . 0 + 1.25X
(7-125)
526
Fortran Programs for Chemical Process Design
6. Eduljee [47] (1975) X = 0 , Y = 1.0 X = 1.0, Y = 0 Y = 0.75 - 0.75X 0.5668
(7-126)
7. Huan-Yang Chang [48] (198 l) For X = 0, Y = 1.0 X = 1.0, Y - 0 Y - 1 - e x p ( 1 . 4 9 + 0.315 X
1.805 ) k-~
(7-127)
8. Harg [49] (1985) For X = 0, Y = 1.0 X = 1.0, Y = 0 Y = 1 - X 1/3
(7-128)
9. McCormick [50] (1988) X = 0 , Y = 1.0 X = 1.0, Y = 0 y=
1-X B
where B = 0.105(log X) + 0.44
(7-129)
From the equations listed, McCormick's gives a good agreement in the normal operating range of real towers. The reflux ratio, R, is calculated as a multiple of the m i n i m u m reflux ratio, Rmi nThat is, R = FACTOR.Rmi n
(7-130)
The multiplier "FACTOR" generally varies from 1.2 to about 1.5 for conventional columns, but because of economic situations, the range is now between 1.05 and 1.20.
Mass Transfer
527
Kirkbride's Feed Plate Location After the minimum number of stages and the minimum reflux ratio have been determined, the number of theoretical stages is then calculated. The ratio of the number of plates above the feed stage (including the partial condenser) to the number below the feed stage (including the reboiler) can be obtained using Kirkbride's empirical equation [51 ]. The equation was developed on the basis that the ratio of rectifying trays to stripping trays depends on" 9 The fraction of the heavy key component (in the feed) removed in the overhead. 9 The fraction of the light key component removed in the bottoms. 9 The concentration of the heavy key component in the overhead. 9 The concentration of the light key component in the bottoms. Kirkbride's feed plate equation is expressed as:
log
[el
-o.2o61og
( ( /[ ]2} S )B LK
(7-131)
XLK F (XHK)D
where B = molar flow bottoms product D = molar flow top product m = number of theoretical stages above the feed plate, including any partial condenser p = number of theoretical stages below the feed plate, including the reboiler (XLK)F= concentration of the light key in the feed (XnK)F = concentration of the heavy key in the feed (XLK)B = concentration of the light key in the bottoms product (XnK)D = concentration of the heavy key in the top product
Nomenclature A~,B~ = b= B= d= D= F= f=
correlation constants in Hengstebeck-Geddes equation number of moles of a component in the bottoms bottoms flow rate moles/hr number of moles of a component in the distillate distillate flow rate moles/hr feed flow rate moles/hr number of moles of a component in the feed
Fortran Programs for Chemical Process Design
528
FACTOR K n N
= = -
Nmi n :
q = R = Umi n =
x=
multiplier for the reflux ratio (that is, FACTOR Rmin) equilibrium constant for a component in the feed number of components number of theoretical plates minimum number of theoretical plates at total reflux pseudo-ratio of liquid to vapor for the feed reflux ratio minimum reflux ratio mole fraction of a component where x B, x D, x F = mole fractions in the bottoms, distillate, and feed, respectively
Greek Letters ~z = 0 = = HK, LK = i=
relative volatility with respect to the heavy key Underwood's constant summation heavy and the light key components individual component identifier
P R O B L E M S AND S O L U T I O N S P r o b l e m 7-1 A multicomponent hydrocarbon gas mixture is composed as follows:
Component
Mol %
K
Methane (CU4)
27.52
7.88
Ethane (C2H6)
16.34
2.77
Propane (C3H8)
29.18
1.18
(iC4Hl0) Normal butane (nC4Hl0) Isopentane (iCsH12)
5.37
0.61
17.18
0.48
1.72
0.264
Normal pentane(nCsH~2)
2.18
0.225
(C6Hl4) Heptane (C7H16)
0.47
0.102
0.04
0.048
Isobutane
Hexane
Operating temperature and pressure are 178~ and 400 psia. Determine the dew point temperature of the gas mixture.
Mass Transfer
529
Solution
The computer program PROG71 calculates the dew and bubble points of any multicomponent hydrocarbon mixture based on the user supplied K-values. The program will handle feed streams containing up to 15 components. The feed entries may be moles, mole fraction, or mole percent. The dew point (~X = ~Y/K) should be 1.0 or very close to 1.0, depending on the tolerance the user will accept. If the sum printed is not equal to 1.0 (within the user tolerance), a message is printed instructing the user to assume a new temperature. The iteration is repeated using the Ki's corresponding to the new temperature chosen. The temperature supplied does not affect the computation, but is printed and stored as a reminder to the user of which temperature (and corresponding K-values) was used for the last iteration. Table 7-15 shows the input data and computer output instructing the user that the dew point temperature is increased. At 200 psia, calculate the bubble point temperature of the following: Component
Mol %
K @ 260~
K @ 235~
iC4Hl0 nCaH 10 iCsHl2 nCsHl2 C6H14
18.2 23.8 33.7 12.1 12.2
1.92 1.58 0.93 0.81 0.42
1.62 1.35 0.76 0.64 0.315
K @ 237~
1.65 1.35 0.77 0.64 0.32
Solution
The computer program PROG71 determines the bubble points of the hydrocarbon mixture. As with the dew point, the bubble point (~Y = ~KX) is computed until the sum is 1.0 or very close to 1.0, depending on the tolerance the user will accept. If the sum printed is not equal to 1.0 (within tolerance), the iteration is repeated using the K~'s corresponding to the new temperature. Tables 7-16, 7-17, and 7-18 give both the data input and computer outputs for the bubble points of the hydrocarbon mixture at 260~ 235~ and 237~ Problem 7-2
The composition of the feed to a natural gas liquefaction plant is shown in the feed stream data. The feed will be flashed at 600 psia and
Table 7-15 Input Data and Computer Output for Dew and Bubble Points Calculations DATA71.DAT DEW 178 9 27.52 16.34 29.18 5.37 17.18 1.72 2.18 0.47 0.04
7.88 2.77 1.18 0.61 0.48 0.264 0.225 0.102 0.048
DEW AND BUBBLE POINTS CALCULATIONS **************************************************************************** DEW
POINT
TEMPERATURE
CALCULATION
oF:
NUMBER
OF
COMPONENTS
NUMBER
OF
COMPONENTS
178.00 IN T H E
FEED
FEED
COMPOSITION
1 2 3 4 5 6 7 8 9 TOTAL NUMBER
27.5200 16.3400 29.1800 5.3700 17.1800 1.7200 2.1800 .4700 .0400
COMPOSITION: OF
STREAM:
COMPONENTS
1 2 3 4 5 6 7 8 9 DEW
POINT:
RAISE
THE
DEW-POINT
(MOLE
%)
K-VALUE 7.8800 2.7700 1.1800 .6100 .4800 .2640 .2250 .1020 .0480
i00.0000 MOLE
FRACTION
.2752 .1634 .2918 .0537 .1718 .0172 .0218 .0047 .0004
TOTAL
9
X=Y/K .0349 .0590 .2473 .0880 .3579 .0652 .0969 .0461 .0083 1.0036
TEMPERATURE:
oF
530
Mass Transfer
531
Table 7-16 Input Data and Computer Output for Dew and Bubble Points Calculations DATA71.DAT BUBBLE 260 5 18.2 23.8 33.7 12.1 12.2
1.92 1.58 0.93 0.81 0.42
DEW AND BUBBLE POINTS CALCULATIONS **************************************************************************** BUBBLE
POINT
TEMPERATURE
CALCULATION
oF:
260.00
NUMBER
OF COMPONENTS
NUMBER
OF COMPONENTS
IN T H E
FEED
NUMBER
5
FEED COMPOSITION
1 2 3 4 5 TOTAL
STREAM:
(MOLE
%)
K-VALUE
18.2000 23.8000 33.7000 12.1000 12.2000 I00.0000
COMPOSITION: OF COMPONENTS
1.9200 1.5800 .9300 .8100 .4200
MOLE
1 2 3 4 5
FRACTION
Y=KX
.1820 .2380 .3370 .1210 .1220
TOTAL
BUBBLE
LOWER
THE
.3494 .3760 .3134 .0980 .0512
POINT:
BUBBLE
POINT
1 .1 8 8 1 TEMPERATURE:
oF
20~ If the flow rate is 1,000 moles/h, calculate the flow rates of the liquid and vapor streams and their compositions. Feed stream data"
Number
Component Name
Feed Mole Fraction
Equilibrium Constant, K
1
CO 2
0.0112
0.90
2
CH 4
0.8957
2.70
3
C2H 6
0.0526
0.38
4
C3H8
0.0197
0.098
5
iC4Hl0
0.0068
0.038 (table continued on next page)
Table 7-16 (continued) Component Name
Number
Feed Mole Fraction
Equilibrium Constant, K
0.0047
0.024
0.0038
0.0075
8
nC4Hl0 C5H12 C6HI4
0.0031
0.00019
9
C7H,6 and
0.0024
0.0007
6 7
heavier Solution The computer program PROG72 performs equilibrium flash calculations for an ideal multi-component mixture. The program listed determines the moles of each component in the liquid and vapor phases Table 7-17 Input Data and Computer Output for Dew and Bubble Points Calculations DATA71.DAT BUBBLE 235 5 18.2 23.8 33.7 12.1 12.2
1.62 1.35 0.76 0.64 0.315
DEW AND BUBBLE POINTS CALCULATIONS **************************************************************************** BUBBLE
POINT
TEMPERATURE
CALCULATION
oF:
235.00
NUMBER
OF COMPONENTS
NUMBER
OF COMPONENTS
IN T H E
FEED
NUMBER
5
FEED COMPOSITION
1 2 3 4 5 TOTAL
STREAM:
(MOLE
%)
K-VALUE
18.2000 23.8000 33.7000 12.1000 12.2000 i00.0000
COMPOSITION: OF COMPONENTS 1 2 3 4 5
MOLE
FRACTION
.1820 .2380 .3370 .1210 .1220
TOTAL
BUBBLE
RAISE
THE
POINT
u .2948 .3213 .2561 .0774 .0384 .9881
POINT:
BUBBLE
1.6200 1.3500 .7600 .6400 .3150
TEMPERATURE:
oF
Mass Transfer
533
Table 7-18 Input Data and Computer Output for Dew and Bubble Points Calculations DATA71.DAT BUBBLE 235 5 18.2 23.8 33.7 12.1 12.2
1.65 1.35 0.77 0.64 0.32
DEW AND BUBBLE POINTS CAiEUI~TIONS **************************************************************************** BUBBLE
POINT
TEMPERATURE
CALCULATION
oF:
235.00
NUMBER
OF
COMPONENTS
NUMBER
OF
COMPONENTS
IN T H E
FEED
FEED
STREAM:
1 2 3 4 5 TOTAL NUMBER
5
COMPOSITION
(MOLE
%)
K-VALUE
18.2000 23.8000 33.7000 12.1000 12.2000 I00.0000
COMPOSITION: OF COMPONENTS 1 2 3 4 5
MOLE
FRACTION
.1820 .2380 .3370 .1210 .1220
TOTAL
BUBBLE
RAISE
THE
POINT
Y=KX .3003 .3213 .2595 .0774 .0390 .9976
POINT:
BUBBLE
1.6500 1.3500 .7700 .6400 .3200
TEMPERATURE:
oF
including the feed fraction condensed or vaporized. In addition, all feed moles and K-values are printed. As an added feature, the program checks the feed composition at the conditions given. This determines whether the feed is all vapor or all liquid. These computations are performed before the flash calculations are started, and a message is printed if either condition exists. Table 7-19 gives the input data and the computer output of the multicomponent mixture. P r o b l e m 7-3" Size an absorber tower for a methy ethyl amine (MEA) system with the following conditions:
534
Fortran Programs for Chemical Process Design Table 7-19 Input Data and Computer Output for Multicomponent Equilibrium Flash Calculations
DATA72.DAT 20.0 600.0 9 11.2 895.7 52.6 19.7 6.8 4.7 3.8 3.1 2.4
0.90 2.70 0.38 0.098 0.038 0.024 0.0075 0.00019 0.0007
MULTICOMPONENT
EQUILIBRIUM
FLASH
CALCULATIONS
MULTICOMPONENT EQUILIBRIUM FLASH CALCULATION AT 2 0 . 0 DEG. F A N D 6 0 0 . 0 psia ******************************************************************************* COMPONENT NUMBER 1 2 3 4 5 6 7 8 9 TOTALS
K-VALUE
.900 2.700 .380 .098 .038 .024 .007 .000 .001
FEED Mols/h. Mol.
frac.
LIQUID Mols/h. Mol.
frac.
VAPOR Mols/h. Mol.
frac.
11.200 895.700 52.600 19.700 6.800 4.700 3.800 3.100 2.400
.011 .896 .053 .020 .007 .005 .004 .003 .002
.510 14.030 5.343 6.004 3.608 3.016 3.235 3.086 2.362
.012 .341 .130 .146 .088 .073 .079 .075 .057
10.690 881.670 47.257 13.696 3.192 1.684 .565 014 .038
.011 .920 .049 .014 .003 .002 .001 .000 .000
1000.000
1.000
41.195
1.000
958.805
1.000
Vapor flow Vapor density Liquid flow Liquid density Foam factor Residence Time Tray Spacing Surface tension
40,000 lb/h. 0.295 lb/ft 3 330,000 lb/h. 61.85 lb/ft 3 0.75 4.5s 24in.
57.6 dyne/cm.
The author developed computer program PROG73 for solving problem 7-3 in the text, using Nutter's Float Valve Design Manual. The developed program and calculation of the tray geometry are the responsibility of the author. The author expresses his gratitude to Nutter Engineering for the use of the photographs and the information from the Float Valve Design Manual.
Mass Transfer
535
Solution The computer program PROG73 determines the parameters required for sizing a tower using valve trays. The program calculates the bubbling area, downcomer area, tower area, and diameter. The tower diameter may be rounded to an appropriate value and the area is recalculated. Once the tower diameter is set, the downcomer area ratio is determined and the downcomer height is computed from Tables 7-5 to 7-9. Table 7-20 shows the input data and computer output for tower sizing using valve trays. The computer output gives the tower area of 26.571 ft 2 and a diameter of 5.816 ft. Tray Geometry From the tower size (normally by increasing the diameter to the nearest 6-inch increment), the following procedure is used to calculate the downcomer dimensions.
Table 7-20 Input Data and Computer Output for Tower Design Using Valve Trays DATA73.DAT 40000.0 0.295 24.0
330000.0 61.85 0.75 4.5 57.6
T O W E R D E S I G N FOR V A L V E T R A Y S **************************************************************************** V A P O R F L O W RATE, Ib/hr.: 40000.0 V A P O R V O L U M E T R I C RATE, f t ^ 3 / s e c . : 37.665 L I Q U I D F L O W RATE, Ib/hr.: 330000.0 L I Q U I D V O L U M E T R I C RATE, f t ^ 3 / s e c . : 1.482 L I Q U I D DENSITY, ib/ft^3.: 61.850 V A P O R DENSITY, ib/ft^3.: .295 F O A M FACTOR: .750 D O W N C O M E R R E S I D E N C E TIME, sec.: 4.500 T R A Y SPACING, in.: 24. S U R F A C E T E N S I O N , dyne/cm.: 57.60 S U R F A C E T E N S I O N / V A P O R D E N S I T Y (X): 195.254 S A F E T Y FACTOR: .745 DENSITY RADICAL: .069 B U B B L I N G AREA, ft^2: 10.905 D O W N C O M E R AREA, ftA2: 4.446 T O W E R AREA, ft^2: 26.571 T O W E R D I A M E T E R , ft: 5.816 D O W N C O M E R A R E A RATIO: .2246
Fortran Programs for Chemical Process Design
536
The downcomer area ratio is" AD~ RDCA =
(2ADc + A b)
The calculated tower diameter is increased to 6.0 ft and the tower area becomes A-
/17. d 2
4 /rX6 2
4 = 28.27 ft 2 Using Tables 7-5 to 7-9 and RDCA will allow a direct computation of chord height for the side downcomer. This is rounded up to the nearest 1/2-inch incremental dimension. Using this dimension, the corrected downcomer area is calculated from Tables 7-5 to 7-9. The computed output of the tower used by the downcomer area (RDcA) is 0.2246. That is, Ad = 0 . 2 2 4 6 A~
Ad
DIA
DIA
A,
0.2760
0.8940
0.2246
The corresponding downcomer height-to-tower-diameter ratio is 0.2760. The downcomer height is (0.2760) (6) (12) = 19.87 in. + 1/2 in. = 20.4 in. The new
H
DIA
=
20.4
72 = 0.2833
This gives a downcomer-area-to-tower-area ratio of 0.2329.
Mass Transfer
537
A d
DIA
DIA
At
0.2830 Avg. 0.28325
0.9009
0.2326
Avg. 0.90115
Avg. 0.2329
0.2835
0.9014
0.2332
That is Ad = 0.2329 At The downcomer area, A d, is (0.2329) (28.27) = 6.584 ft 2 The weir length, L, is (0.90115 x 72) = 64.88 in. = 65 in. The computed liquid flow rate is 1.482 fl3/sec or 664.907 USgpm. conversion" 1 fl3/sec - 448.655 USgpm
The liquid flow per inch of weir -
664.907 65
= 10.23 U S g p m per inch of weir A single-pass tray is selected. P r o b l e m 7-4
A packed tower with 1-inch Raschig rings are to be used to absorb ammonia from air by contacting the gas stream with water. The entering gas flow is 40 lb mol/h and contains 5.0% NH 3. Ninety percent of the NH 3 is to be removed from the air. The entering water flow rate is 3,200 lb/h. Absorption is to be carried out at 1 atm. abs. and 20~ Estimate: 1. The diameter of the tower for a AP of 1.0 in. 2. The vapor rate at 70% of flooding condition.
HzO/ft. packing.
538
Fortran Programs for Chemical Process Design
Physical properties"
(,//273/ -~
p~ - ( 2 8 . 4 ) ~
= 0. 0737 lb/ft 3 PL - 62.3 lb/ft 3 ~L - lcP Fp - 155
Solution When calculating the tower diameter, conditions at the bottom of the tower should be used because this corresponds to the maximum flow rates. At the bottom of the column:
MWga~ - 0.05 • 17 + 0.95 X 29 = 28.4 lb/lb, mol. Molecular weight of ammonia ( M W
NHs
-17
lb / lb. mol
NH 3 removed from the air - ( 0 . 9 ) ( 0 . 0 5 ) ( 4 0 )
/,8,b moll(17 lb. ,bmol / 9 hr = 30.6 lb/hr
Gas flow rate at the bottom - ( 4 0
'b m~ hr
4 ,b) lb. mol
= 1,136 lb/hr Liquid flow rate at the b o t t o m - 3200 + 30.6 = 3230.6 lb/hr The computer program PROG74 calculates the diameter of a packed tower for pressure drops of 0.05, 0.10, 0.25, 0.50, 1.0 and 1.5 in HzO/ft.
Mass Transfer
539
The simulation is based on the generalized pressure drop correlation of Sherwood et al. [20]. The curves have been fitted to a series of equations developed by B lackwell [13]. In addition, the program computes the vapor rate and vapor velocity at 70% of flooding condition. Table 7-21 illustrates the input data and computer output of the packed tower. Problem 7-5 A column is to be designed to separate 1000 moles/hr of a binary mixture of benzene (C6H6)and toluene (C7H8). The feed will contain 40% benzene and 60% toluene. A distillate that is 99% benzene and a bottoms that is 1% benzene are desired at a reflux ratio of 3 to 1. For this mixture, the average value of relative volatility (c~) is 2.50. Estimate the number of equilibrium stages at this reflux ratio and the optimum feed stage location. Solution The computer program PROG75 uses the analytical method of a quadratic equation to determine the number of stages in the rectifying and stripping sections of a distillation column. The program uses Smoker's equations involving two components to calculate the required number of stages. Table 7-22 gives the input data and computer output. The Table 7-21 Input Data and Computer Output for Packed Tower Design DATA74.DAT 3230.6 62.3
1136.0 155.0
0.0737 1.0
1.0
PACKED TOWER DESIGN ***************************************************************************** 3230.600 L I Q U I D FLOW RATE, Ib/hr.: i136.000 GAS FLOW RATE, ib/hr.: .0737 GAS DENSITY, ib/ft.^3: 62.3000 L I Q U I D DENSITY, ib/ft.^3: 155.0 T O W E R P A C K I N G FACTOR: 1.000 P R E S S U R E DROP, INCH-H20: 1.000 L I Q U I D V I S C O S I T Y , cP: .0979 X C O - O R D I N A T E IN THE G E N E R A L I Z E D PLOT: .0719 Y C O - O R D I N A T E IN THE G E N E R A L I Z E D PLOT: .2617 C A L C U L A T E D V A P O R RATE, ib/s.ft^2: .0978 X C O - O R D I N A T E AT F L O O D I N G CONDITION: .1335 Y C O - O R D I N A T E AT F L O O D I N G CONDITION: .2496 V A P O R R A T E AT 70% F L O O D I N G CONDITION, Ib/s.ft^2: 3.39 V A P O R V E L O C I T Y AT 70% F L O O D I N G CONDITION, ft./sec: 1.21 T O W E R AREA, ft^2: 14.87 T O W E R DIAMETER, inches: 1.67 T O W E R A R E A AT 70% F L O O D I N G CONDITION, ft^2: 17.49 T O W E R D I A M E T E R AT 70% F L O O D I N G CONDITION, inches:
Fortran Programs for Chemical Process Design
540
Table 7-22 Input Data and Computer Output for Calculating Equilibrium Number of Stages Using Smoker's Equations DATA75.DAT 2.5 0.40 3
2.5 0.99
0.01
EQUILIBRIUM
NUMBER
OF
STAGES
BY
SMOKER'S
T H E R E L A T I V E V O L A T I L I T Y O F C O M P O N E N T i.: T H E R E L A T I V E V O L A T I L I T Y O F C O M P O N E N T 2.: THE MOLE FRACTION OF THE FEED: THE MOLE FRACTION OF THE DISTILLATE: THE MOLE FRACTION OF THE BOTTOMS: THE REFLUX RATIO: T H E N U M B E R O F S T A G E S IN T H E R E C T I F Y I N G S E C T I O N : T H E N U M B E R O F S T A G E S IN T H E S T R I P P I N G S E C T I O N : TOTAL NUMBER OF STAGES: FEED STAGE LOCATION:
EQUATION 2.500 2.500 .4000 .9900 .0100 3.00 7.87 7.76 15.63 7.8
required number of stages between benzene and toluene mixture is 16. The optimum feed location is 8.
Problem 7-6 The feed to a butane-pentane splitter of the following composition is to be fractionated into a distillate product that contains 95% of the n-butane contained in the feed. The bottoms product contains 95% of the iso-pentane in the feed. The reflux ratio for the fractionation will be 1.3 Rm~n, and the column pressure will be 100 psia at the top plate. The reflux and feed are at their bubble point temperatures. The feed composition and equilibrium constant are: Number
Component
XF
Ki
iC4Hlo
0.06
2.15
nC4Hio (LK)
0.17
1.70
iCsHl2 (HK)
0.32
0.835
nCsH12
0.45
0.70
Use the short-cut method to determine: 1. 2. 3. 4. 5.
The The The The The
recoveries of the components in the distillate and bottoms. minimum number of stages. minimum reflux ratio. actual number of theoretical plates. optimum location of the feed plate.
Mass Transfer
541
Solution The computer program PROG76 gives the multicomponent distribution calculations based on a series of equations developed by Hengstebeck-Geddes [35,36], while the minimum tray calculations (at total reflux) use the equations developed by Fenske [37]. The number of theoretical equilibrium stages is determined using Gilliland's [38,39] empirical correlations. The program listed calculates the following: feed component recovery in both the distillate and bottoms products, the minimum number of stages, Underwood constant, minimum reflux ratio, actual reflux ratio, total number of theoretical plates, and the optimum location of the feed plate in a distillation column. The user has an option of entering the feed components (moles) and the equilibrium constants or the feed and the relative volatilities. Feed components must be entered in order of decreasing relative volatility, with the light key (LK) and heavy key (HK) components adjacent to each other. Table 7-23 shows the input data and computer output of the butane-pentane splitter. Table 7-23 Input Data and Computer Output for Multicomponent System Fractionation DATA76.DAT EQUIL 4 0.06 0.17 0.32 0.45 0.95 3 1
2.15 1.70 0.835 0.70 0.95 1.3
MULTICOMPONENT
COMPONENT NUMBER 1 2 3 4
FEED MOLES .0600 .1700 .3200 .4500
SYSTEM
REL VOLATILITY ALPHA 2.5749 2.0359 1.0000 .8383
FRACTIONATION
DISTILLATE % MOLES
99.2532 95.0000 5.0000 1.2067
THE HEAVY KEY COMPONENT NUMBER: PERCENTAGE RECOVERY OF THE LIGHT KEY COMPONENT IN T H E D I S T I L L A T E (%): P E R C E N T A G E R E C O V E R Y OF T H E H E A V Y K E Y C O M P O N E N T IN T H E B O T T O M ~ (%): MINIMUM NUMBER OF STAGES: T O T A L M O L E S IN T H E D I S T I L L A T E : T O T A L M O L E S IN T H E B O T T O M S : UNDERWOOD CONSTANT: MINIMUM REFLUX RATIO: ACTUAL REFLUX RATIO: N U M B E R O F T H E O R E T I C A L P L A T E S IN T H E C O L U M N : THE POSITION OF THE FEED PLATE:
.0596 .1615 .0160 .0054
BOTTOMS % .7468 5.0000 95.0000 98.7933
95.00 95.00 8.3 .2425 .7575 1.6213 2.8036 3.6447 16.2 6.7
MOLES .0004 .0085 .3040 .4446
542
FortranPrograms for Chemical Process Design
References
1. Humphrey, J. L. and A. F. S iebert, "New Horizons In Distillation", Chem. Eng., Dec. 1992, pp. 86-98. 2. Reid, R.C., Prausnitz, J. M. and T. K. Sherwood, The Properties of Gases and Liquids, 3rd. ed., McGraw-Hill Book Company, N.Y., 1997. 3. Walas, S. M., Phase Equilibria In Chemical Engineering, Butterworths Publishers, Boston, 1985. 4. Dodge, B. E, Chemical Engineering Thermodynamics, McGrawHill, New York, 1944. 5. Hines, A. L. and R. N. Maddox, Mass Transfer Fundamentals and Applications, Prentice-Hall Inc., New Jersey, 1985. 6. Coker, A. K., "Equilibrium Flash Calculations Quickly Computed on PC," Oil & Gas J., Jan 1991, pp. 55-58. 7. Oliver, I. H., "Hand Calculator Program Speeds Flash Calculations," Oil & Gas J., March 31, 1980, p. 130. 8. Kostecke, S. T., "Speed of Hand Calculator Programs Can Be Improved," Oil & Gas J., August 11, 1980, p. 107. 9. De Priester, C. L., Chem. Eng. Progr. Symposium Ser. 7:49, 1953. 10. Hadden, S. T. and H. G. Grayson, Petrol, Refiner, September 1961, p. 207. 11. Engineering Data Book, Gas Processor Suppliers Association, Vol. 2, 10th ed., Section 19, Tulsa, Oklahoma, 1987. 12. Nutter Float Valve Design Manual, Nutter Engineering Co., Tulsa, Oklahoma, August 1981. 13. B lackwell, W. W., Chemical Process Design On A Programmable Calculator, McGraw-Hill Book Co., New York, 1984. 14. Hoak, E J., Large and Small Scale Liquid Maldistribution in Packed Column, Ph.D. Thesis, Delft University, Netherland, 1983. 15. Eckert, J. S., "Selecting the Proper Distillation Column Packing," Chem. Eng. Progr., Vol. 66, No. 3, March 1970, p. 39. 16. Leva, M., Tower Packing and Packed Tower Design, 2nd. ed., U.S. Stoneware Co., Akron, OH, 1953. 17. Van Winkle, M., Distillation, McGraw-Hill, New York, 1967, p. 635. 18. Bain, W. A., Jr., and O. A. Hougen, "Flooding Velocities in Packed Columns", Trans. A.ICh.E., 40, (1944), p. 22. 19. Lobo, W. E., E Hashmall, L. Friend, and E A., Zenz, "Limiting Capacity of Dumped Tower Packings", Trans. AICh.E., 41, 1945, p. 693.
Mass Transfer
543
20. Sherwood, T. K., G. H. Shipley, and F. A. I. Holloway, "Flooding Velocities in Packed Columns", Ind. Eng. Chem., 30, 1938, p. 765. 21. Eckert, J. S., "Design Techniques for Sizing Packed Towers," Chem. Eng., Progr., 57, 9, Sept. 1961, p. 54. 22. Kessler, D. E and E C. Wankat, "Correlations for Column Parameters," Chem. Eng., Sept. 26, 1988, p. 72. 23. Nguyen, H. X., "Program Expedites Packed Tower Design", Chem. Eng., Nov. 20, 1978, p. 181. 24. Nguyen, H. X., "Easy Way to Size Packed Towers," Hydroc. Proc., Feb. 1979, p. 101. 25. Branan, C., The Process Engineer's Pocket Handbook, Gulf Publishing Co., Houston, Texas, 1976, p. 87. 26. Eckert, J. S., "How Tower Packings Behave", Chem. Eng,. April 14, 1975, p. 70. 27. Walas, S. M., Chemical Process Equipment: Selection and Design, Butterworths, Boston, 1988. 28. Morrris, G. A. and J. Jackson, Absorption Towers, Butterworth, Woburn, MA, 1953. 29. Bolles, W. and J. E Fair, "Improved Mass-Transfer Model Enhances Packed-Column Design", Chem. Eng., 89, 14, July 12, 1982, p. 109. 30. Fair, J. F., "Continuous Mass Transfer," Chapter 13 in Scale up of Chemical Processes, A. R. B isio and R.L. Kabel, Eds., Wiley, New York, 1985. 31. Coker, A. K., "Understand The Basis of Packed-Column Design," Chem. Eng. Progr., Nov. 1991, pp. 93-99. 32. Smoker, E. H., "Analytic Determination of Plates in Fractionating Columns," Trans,. A.I. ChE., Vol 34, 1938, p. 165. 33. McCabie, W. L. and E. W. Thiele, "Graphical Design of Fractionating Columns", 17, 1925, pp. 605-611. 34. Underwood, A. J. V., Trans. Inst. Chem. Eng., 10, 1932, pp. 112-152. 35. Geddes, R. L., "A General Index of Fractional Distillation Tower for Hydrocarbon Mixtures," A.I. ChE.J., Vol. 4, No. 4, 1958, p. 389. 36. Hengstebeck, R. J., "A Simplified Method for Solving Multicomponent Distillation Problems," A.I. Ch.E.J., 1944, p. 389. 37. Fenske, M. R., "Fractionating of Straight-Run Pennsylvania Gasoline," Industrial Engineering Chemistry, Vol. 24, No. 5, 1932, p. 482. 38. Brown, C. G. and Marton, H. Z., Trans. A.I. ChE.,J., Vol. 35, 1939, p. 679. 39. Gilliland, E. R., "Estimate of the Number of Theoretical Plates as a Function of Reflux Ratio," Ind. Eng. Chem., Vol. 32, 1940, p. 1220.
544
Fortran Programs for Chemical Process Design
40. Underwood, A. J. V., "Fractional Distillation of Multicomponent Mixtures," Chem. Eng. Progr., Vol. 44, 1948, p. 603. 41. Coker, A. K., "Program Provides Short-cut Distillation Tower Calculations," Oil & Gas J., June 25, 1990, pp. 33-38. 42. Hengstebeck, R. J., Distillation, Reinhold, New York, 1961. 43. Liddle, C. J., "Improved Short-cut Method for Distillation Calculations," Chem. Eng., Oct. 21, 1968, p. 137. 44. Van-Winkle, M. and Todd, W. G., "Optimum Fractionation Design by Simple Graphical Methods," Chem. Eng., Vol. 78, Sept. 20, 1971, p. 136. 45. Molkavov, Yu. K., Koralina, T. E, Mazurina, N. I., and Nikiforov, G. A., "An Approximation Method for Calculating the Basic Parameters of Multicomponent Fractionation," Int. Chem. Eng., Vol. 12, No. 2, 1972, pp. 29-212. 46. Hohman, E. C. and Lockhart, F. J., Chemical Technology, Vol. 2, 1972, p. 614. 47. Eduljee, H. E., "Equations Replace Gilliland Plot," Hydroc. Proc., Vol. 54, No. 9, 1975, p. 120. 48. Chang, H. Y., "Gilliland Plot In One Equation," Hydro. Proc., Vol. 64, No. 3, 1985, p. 48. 49. Harg. K., "Equation Proposed," Hydroc. Proc., Vol. 64. No. 3, 1985, p. 48. 50. McCormick, J. E., "A Correlation for Distillation Stages and Reflux," Chem. Eng., Sept. 26, 1988, p. 75. 51. Kirkbride, C. G., "Process Design Procedure for Multicomponent Fractionators," Petroleum Refiner, Vol. 23, No. 9, 1944, p. 87.
PROGRAM
PROG71
C A L C U L A T I O N OF T H E D E W P O I N T A N D B U B B L E P O I N T OF G A S M I X T U R E . THIS PROGRAM WILL CALCULATE DEW POINT AND BUBBLE POINT BASED ON T H E S U P P L I E D K - V A L U E S . T H E P R O G R A M W I L L C O V E R F E E D S T R E A M S C O N T A I N I N G U P TO 15 COMPONENTS. *************************************************************** Ki = E Q U I L I B R I U M F L A S H C O N S T A N T F O R E A C H F E E D S T R E A M Mi = T O T A L M O L E S OF C O M P O N E N T i IN T H E F E E D S T R E A M Ni = M O L E F R A C T I O N OF C O M P O N E N T i IN T H E F E E D S T R E A M *************************************************************** CHARACTER*f0
FEED
COMMON/DATA/BP,DP,J,K,N REAL K(20),
*
BP(20),
DP(20)
READ READ READ READ
EITHER THE DEW POINT OR BUBBLE POINT TEMPERATURE T H E T O T A L N U M B E R OF C O M P O N E N T S T H E M O L E S OF E A C H F E E D C O M P O N E N T T H E K - V A L U E OF E A C H C O M P O N E N T
READ READ READ
i00
N(20),
( U N I T = 3, F I L E = ' D A T A 7 1 . D A T ' , (UNIT = I, F I L E = ' P R N ' )
R E A D (3, 10, F O R M A T (A6)
i0
M(20),
OPEN OPEN
ERR=19)
STATUS='OLD',
ERR=IS)
FEED
(3,*,ERR=19) T (3,*,ERR=19) J (3,*,ERR=19)(M(I),K(I),I=I,J)
W R I T E (1, 100) FORMAT (///,20X,'DEW 76(IH*))
AND BUBBLE POINTS CALCULATIONS',/IH
,
W R I T E (I, ii0) F E E D F O R M A T (/,6X, A6, 2 X , ' P O I N T C A L C U L A T I O N ' ) W R I T E (i, 120) T 120 FORMAT (/,6X,'TEMPERATURE oF:',FI0.2) W R I T E (I, 130) J 130 F O R M A T ( / , 6 X , ' N U M B E R OF C O M P O N E N T S IN T H E F E E D S T R E A M : ' , I 2 ) W R I T E (1, 140) 140 F O R M A T ( / , 6 X , ' N U M B E R OF C O M P O N E N T S ' , 6 X , ' F E E D C O M P O S I T I O N (MOLE %)', * 6 X , ' K - V A L U E ' , / I H ,76(IH-)) Ii0
150
18 160
DO I = 1, J W R I T E (i, 150) I , M ( I ) , K ( I ) F O R M A T (13X, I2, 24X, F8.4, E N D DO G O TO 20 W R I T E (1, 160) FORMAT (6X,'DATA GO TO 999
16X,
F8.4)
FILE DOES NOT EXIST')
545
19 170
20
W R I T E (i, 170) FORMAT (6X,'ERROR G O T O 999
MESSAGE
IN T H E
DATA VALUE')
SUM=0.0 DO I = i, J SUM=SUM+M(I) END DO
180
W R I T E (i, 180) F O R M A T (IH ,76(IH-))
190
W R I T E (i, 1 9 0 ) S U M FORMAT (6X,'TOTAL
C C C
CALCULATE
THE MOLE
COMPOSITION:', FRACTION
T40,
F8.4)
OF C O M P O N E N T
IN T H E
FEED
STREAM
DO I = i, J N(I)=M(I)/SUM END DO
CHECK
WHETHER
THE
FEED
IS AT B U B B L E
POINT
IF (FEED .EQ. 'DEW' .OR. F E E D .EQ. 'dew') G O TO 30 E L S E I F (FEED .EQ. 'BUBBLE' .OR. F E E D .EQ. CALL BUBBLE GO TO 999 ENDIF 30
999
OR DEW POINT. THEN 'bubble')
THEN
CALL DEW GO T O 999 CLOSE CLOSE STOP END
(3,STATUS='KEEP') (i)
*************************************************************** THIS PROGRAM CALCULATES THE DEW POINT *************************************************************** SUBROUTINE DEW COMMON/DATA/BP,DP,J,K,N R E A L N ( 2 0 ) , K ( 2 0 ) , DP(20)
, BP(20)
D P T = 0.0 DO I = i, J DP(I)=N(I)/K(I) DPT=DPT+N(I)/K(I) E N D DO
200
W R I T E (i, 200) F O R M A T ( / , 6 X , ' N U M B E R OF C O M P O N E N T S ' , 6 X , ' M O L E ' X = Y / K ' , / I H ,76(IH-)) DO I =i,
J
546
FRACTION',I6X,
210
220
230
W R I T E (i, 210)I, N(I), DP(I) FORMAT (12X, I2, 16X, F8.4, 20X, END DO W R I T E (I, 220)DPT FORMAT(IH ,76(IH-),/,6X,'TOTAL
F8.4)
DEW POINT:',
IF (DPT .GE. 1.0) THEN GO TO I0 ELSE W R I T E (i, 230) F O R M A T ( / , 6 X , ' L O W E R THE D E W - P O I N T ENDIF
T59,
F8.4)
TEMPERATURE:
oF')
TEMPERATURE:
oF')
GO TO 20 i0 240 C
W R I T E (I, 240) FORMAT(/,6X,'RAISE
THE D E W - P O I N T
FORM FEED THE P R I N T I N G 20
WRITE
P A P E R TO THE TOP OF THE NEXT PAGE.
(I, *) CHAR(12)
RETURN END
THIS P R O G R A M C A L C U L A T E S THE B U B B L E - P O I N T ***************************************************************** SUBROUTINE
BUBBLE
COMMON/DATA/BP,DP,J,K,N REAL N(20),
K(20),
DP(20),
BP(20)
BPT=0.0 DO I = i, J BP(I) =N(I)*K(I) BPT=BPT+N(I)*K(I) END DO 250
260
270
WRITE (I, 250) FORMAT (/,6X, 'NUMBER OF COMPONENTS', "Y=KX',/IH ,76(IH-)) DO I =i ,J W R I T E (i, 260) I, N(I), BP(I) FORMAT (12X, I2, 16X, F8.4, 20X, END DO WRITE (i, 270)BPT FORMAT(IH ,76(IH-),/,6X,'TOTAL IF (BPT .GE. GO TO 30 ELSE
280
1.0)
W R I T E (i, 280) FORMAT(/,6X,'RAISE
6X,
'MOLE FRACTION',I6X,
F8.4)
BUBBLE
POINT:',
T59,
F8.4)
THEN
THE B U B B L E
POINT TEMPERATURE:
547
oF')
ENDIF GO TO 30 290
FORM 35
35
W R I T E (i, 290) FORMAT(/,6X,'LOWER FEED
WRITE
(i,
THE
THE B U B B L E
PRINTING
PAPER
POINT TO T H E
*) C H A R ( 1 2 )
RETURN END
548
TEMPERATURE:
oF')
T O P OF T H E N E X T
PAGE.
PROGRAM
PROG72
EQUILIBRIUM FLASH CALCULATIONS THE PROGRAM USES THE ITERATIVE CONVERGENCE METHOD SUGGESTED BY I.H. O L I V E R A N D L A T E R M O D I F I E D BY S.T. K O S T E C K E T O C A L C U L A T E FLASH VAPORIZATION CONTAINING U P T O 15 C O M P O N E N T S OF MULTICOMPONENT MIXTURES OF OIL, GAS AND CHEMICAL PROCESSES. THIS PROGRAM FURTHER CHECKS THE FEED COMPOSITION AT THE C O N D I T I O N S G I V E N T O D E T E R M I N E W H E T H E R T H E F E E D IS A L L V A P O R OR ALL LIQUID. T H I S P R O G R A M IS B A S E D O N T H E W E L L - K N O W N A N D WIDELY USED VAPORIZATION EQUILIBRIUM RELATIONSHIPS THAT APPEAR IN HANDBOOKS BY THE NATURAL GAS PROCESSORS SUPPILIERS ASSOCIATIONS AND IN OTHER LITERATURE. ************************************************************** i IN T H E F E E D S T R E A M = TOTAL MOLES OF COMPONENT FLASH CONSTANT FOR EACH COMPONENT i = EQUILIBRIUM IN T H E F E E D S T R E A M R "- L / V R A T I O R1 = NEW L/V RATIO FOR EACH ITERATIVE CALCULATION CONDITIONS L = TOTAL MOLES OF LIQUID AT EQUILIBRIUM CONDITIONS V = TOTAL MOLES OF VAPOR AT EQUILIBRIUM i IN T H E F E E D S T R E A M Ni = MOLES FRACTION OF COMPONENT i IN T H E L I Q U I D P H A S E Li = TOTAL MOLES OF COMPONENT i IN THE VAPOR PHASE Vi = TOTAL MOLES OF COMPONENT X = M O L E F R A C T I O N O F F E E D IN T H E L I Q U I D P H A S E A T E Q U I L I B R I U M y = MOLE FRACTION OF FEED IN THE VAPOR PHASE AT EQUILIBRIUM E,F = CONSTANTS USED BY KOSTECKS *************************************************************** Mi Ki
DIMENSION C(15), V(15), XI(15), YI(15) R E A L K ( 1 5 ) , LI, L ( 1 5 ) , M ( 1 5 ) , N ( 1 5 )
COMMON/DATA1/ COMMON/DATA2/
N U M , T, P, M, K ADD1, ADD2, ADD3
OPEN OPEN
(UNIT (UNIT
READ READ READ READ
FLASH TEMPERATURE, oF FLASH PRESSURE, psia NUMBER OF COMPONENTS FEED AND EQUILIBRIUM CONSTANT
READ READ READ
(3, (3, (3,
*, *, *,
= 3, = i,
FILE='DATA72.DAT FILE='PRN')
ERR=I9) ERR=I9) ERR=I9)
D O I = I, N U M R E A D (3, *, E R R = I 9 ) END DO GO 18 I00
TO
' , STATUS='OLD',
OF
EACH
T P NUM
M(I),
K(I)
i0
W R I T E (*, i00) F O R M A T (5X, ' D A T A GO TO 999
FILE
DOES
NOT
EXIST')
549
ERR=I8)
COMPONENT
= = = =
T P NUM M, K
19 ii0
WRITE (*, ii0) FORMAT (5X, ' E R R O R GO TO 999
i0 120
WRITE(I, 120) FORMAT(//,20X,'MULTICOMPONENT
MESSAGE
IN T H E
DATA
VALUE')
EQUILIBRIUM
FLASH
CALCULATIONS')
SUM=0.0 D O I = i, N U M SUM = SUM + M(I) END DO CALCULATE
DO END
MOLE
FRACTION
OF
COMPONENT
IN T H E
FEED
I = I, N U M N(I)=M(I)/SUM DO
TOTAL=0.O DO END
I = i, N U M TOTAL = TOTAL DO
CHECK
WHETHER
THE
+ N(I)
FEED
IS A L L
LIQUID
SUM1=0.0 D O Ii = i, N U M SUM1 = SUM1 + N(II)*K(II) END DO IF ( S U M 1 .GT. G O T O 45 ELSE GO TO 900 ENDIF 45
SUM2 DO END
=
1.0)
0.0
I2 = i, N U M SUM2 = SUM2+N(I2)/K(I2) DO
IF(SUM2 .GT. 1.0) G O T O 60 ELSE GO TO i000 ENDIF GUESS
60 65
THEN
THEN
R=L/V
R=I. 0 SUM3=0.0
550
OR
VAPOR
STREAM
D O I3 = i , N U M C(I3)=(M(I3)*(K(I3)-I.0)*(R+I.0) END DO CALCULATE E = F =
E AND
F CONSTANTS
)/(K(I3)+R)
USED
BY
KOSTECKE.
0.0 0.0
D O I4 = 1, N U M E = E+C(I4) F = F+(C(I4)**2/M(I4) END DO
CALCULATE
RI,
THE
)
NEW
L/V
RATIO
RI=ABS((F*R-E*(R+I.0))/(F+E*(R+I.0))) IF ( A B S ( E ) .LT. 0 . 0 0 1 ) T H E N G O T O 90 ELSE R=RI G O T O 65 ENDIF 90
L1 V1
= =
0.0 0.0
D O I5 = I, N U M L(I5) = (M(I5)*RI)/(K(I5)+RI) V(I5) = M(I5)-L(I5) L1 = L1 + L ( I 5 ) vl
END
=
vl
+
v(I5)
DO
R2=LI/VI
CALCULATE X: M O L E F R A C T I O N O F F E E D IN T H E L I Q U I D P H A S E AT EQUILIBRIUM, A N D Y: M O L E F R A C T I O N OF FEED IN THE VAPOR PHASE AT EQUILIBRIUM. VALI=0.0 VAL2=0.0 VAL3=0.0 D O I6 = I, N U M VALI = VALI+L(I6) VAL2 = VAL2+M(I6) VAL3 = VAL3+V(I6) END DO
CALCULATE
THE
MOLE
FRACTIONS
IN T H E
D O I = 1, N U M X1 ( I ) =L( I ) / V A L I Y 1 (I ) =V (I )/VAL 3 END DO
551
LIQUID
AND
VAPOR
PHASES.
CALCULATE THE VAPOR PHASES ADD1 ADD2 ADD3
CALL PRINT CALL G O TO
THE
RESULTS
OUTPUT(N,
L,
THE RESULTS PAPER
(N,
OF T H E
FEED,
LIQUID
AND
L,
ON T H E
SCREEN
XI,
Yl,
ONTO Xl,
V,
THE V,
VALI,
VAL2,
VAL3)
VAL2,
VAL3)
PRINTER
Yl,
VALI,
999
WRITE(*,300) FORMAT(3X,'THE G O T O 999
i000 400
WRITE(*,400) FORMAT(3X,'THE
999
FRACTIONS
I, N U M ADDI+XI(I) ADD2+N(I) ADD3+YI(I)
900 300
CLOSE CLOSE
MOLE
= 0.0 = 0.0 = 0.0
DO I = ADD1 = ADD2 = ADD3 = E N D DO PRINT
TOTAL
(UNIT=3, (UNIT=l)
FEED
COMPOSITION
IS A L L
LIQUID')
FEED
COMPOSITION
IS A L L V A P O R ' )
STATUS='KEEP')
STOP END *************************************************************** T H I S P R O G R A M O U T P U T S T H E R E S U L T S ON T H E S C R E E N ****************************************************************
S U B R O U T I N E O U T P U T (N, L, Xl, V, DIMENSION Xl(15), YI(15), V(15) R E A L K ( 1 5 ) , M ( 1 5 ) , N ( 1 5 ) , L(15) COMMON/DATA1/
NUM,
COMMON~DATA2~ ADD1,
u
VALI,
VAL2,
VAL3)
T, P, M, K ADD2, A D D 3
130
W R I T E ( * , 130) FORMAT(2X,'MULTICOMPONENT
140
W R I T E ( * , 140) T, P F O R M A T ( F 6 . I , I X , ' D E G . F' ,IX , 'AND' , I X , F 6 . I , I X , ' P S I A ' )
150
W R I T E ( * , 150) FORMAT(79(IH*))
EQUILIBRIUM
552
FLASH
CALCULATION
AT
'\)
160
WRITE(*, 160) FORMAT(/,IX,'COMPONENT',IX,'K-VALUE',6X,'FEED',I6X,'LIQUID ',\)
170
WRITE(*, 170) FORMAT(15X,'VAPOR')
180
WRITE(*, 180) FORMAT(1X,'NUMBER',12X,'Mols/h.',2X,'Mol.
190
WRITE(*, 190) FORMAT(2X,'Mol.frac.',2X,'Mols/h.',2X,'Mol.frac.')
200
WRITE(*, 200) FORMAT(78(IH-))
210
DO I = I, NUM WRITE(*, 210) I, K(I), M(I), N(I), L(I), XI(I), V(I) FORMAT( IX,I2,5X, F5.3,2X, F9.3,2X, F8.3,3X, F9.3,2X, F8.3,2X, F9.3\)
220
frac.',2X,'Mols/h.',\)
WRITE(*, 220) u FORMAT(2X,F8.3) END DO
230
WRITE(*, 230) FORMAT(78(IH-))
240
WRITE(*, 240) VAL2, ADD2, VALI, ADD1 FORMAT(2X,'TOTALS',TX,F9.3,5X,F5.3,3X,F9.3,5X,F5.3,\)
250
WRITE(*, 250) VAL3, ADD3 FORMAT(2X,F9.3,5X,F5.3)
260
WRITE(*, 260) FORMAT (78(IH-)) RETURN END
THIS PROGRAM PRINTS THE RESULTS ONTO THE PRINTER *************************************************************** SUBROUTINE PAPER (N, L, X1, V, Y1, VAL1, VAL2, VAL3) DIMENSION V(15), XI(15), u REAL K(15), L(15), M(15), N(15) COMMON/DATA1/NUM, T, P, M, K COMMON/DATA2/ADD1, ADD2, ADD3 270
WRITE (1, 270) FORMAT (/,2X,'MULTICOMPONENT EQUILIBRIUM FLASH CALCULATION AT ',\)
280
WRITE (1, 280) T, P FORMAT (F6.1, 1X, 'DEG. F', 1X, 'AND', 1X, F6.1, 1X, 'psia')
290
WRITE (i, 290) FORMAT (80(IH*))
553
300
WRITE (i, 300) FORMAT (/, IX,'COMPONENT',
310
WRITE (i, 310) FORMAT (15X, 'VAPOR')
320
IX,'K-VALUE',6X,'FEED',I6X,'LIQUID
WRITE (i, 320) FORMAT (IX, 'NUMBER',I2X,'Mols/h.',2X,'Mol.
',\)
frac.',2X,'Mols/h.',\)
330
WRITE (i, 330) FORMAT (2X,'Mol.
340
WRITE (I, 340) FORMAT (80(IH-))
350
WRITE (i, 350) I, K(I), M(I), N(I), L(I), XI(I), V(I) FORMAT (IX,I2,5X,F5.3,2X,F9.3,2X,FS.3,3X,F9.3,2X,F8.3,2X,F9.3,\)
360
WRITE (i, 360) YI(I) FORMAT (2X,F8.3)
370
WRITE (I, 370) FORMAT (80(IH-))
380
WRITE (I, 38.0) VAL2, ADD2, VALI, ADD1 FORMAT (2X,'TOTALS', 7X, F9.3, 5X, F5.3,
390
WRITE (i, 390) VAL3, ADD3 FORMAT (2X, F9.3, 5X, F5.3)
400
WRITE (I, 400) FORMAT (80(IH-))
frac.',
2X,
'Mols/h.',
2X,'Mol.
frac.')
DO I = i, NUM
END DO
C
3X, F9.3,
5X, F5.3,\)
FORM FEED THE PRINTING PAPER ON TOP OF THE NEXT PAGE. WRITE
(i, *) CHAR(12)
RETURN END
554
PROGRAM
PROG73
TOWER SIZING FOR VALVE TRAYS. THE PROGRAM EMPLOYS THE NUTTER METHOD FOR CALCULATING TOWER DIAMETER WHERE VALVE-TYPE TRAYS ARE USED. T O W E R S I Z I N G G R A P H S A N D C U R V E S IN N U T T E R ' S F L O A T V A L V E DESIGN HAVE BEEN FITTED TO A SERIES OF EQUATIONS AND ARE U S E D IN T H I S P R O G R A M . *************************************************************** RD = DENSITY RADICAL DENV = VAPOR DENSITY, ib/ft.^3 DENL = LIQUID DENSITY, ib/ft.^3 SURT = SURFACE TENSION, dyne/cm. v = VELOCITY AT ZERO LIQUID LOAD, ft./sec. FT = TRAY SPACING FACTOR WV = V A P O R F L O W R A T E , ib/hr. VCFS = VOLUMETRIC VAPOR FLOW RATE, ft.^3/sec. WL = L I Q U I D F L O W R A T E , ib/hr. LCFS = VOLUMETRIC LIQUID FLOW RATE, ft.^3/sec. AB = B U B B L I N G A R E A , ft.^2. FF = FOAM FACTOR ADC = D O W N C O M E R A R E A , ft.^2. REST = D O W N C O M E R R E S I D E N C E T I M E , sec. TS = T R A Y S P A C I N G , inch. TSF = SAFETY FACTOR AT = TOWER AREA, ft^2 D = T O W E R D I A M E T E R , ft. ***************************************************************
R E A L K, M, C O M M O N PI
LCFS
COMMON/MULTI/ COMMON/MULT2/
COMMON/MULT3/ COMMON/MULT4/
X, SF, RD, V, V R D AB, ADC, AT, DIA, R D C A WV, WL, D E N L , DENV, FF, LCFS, V C F S
REST,
TS,
SURT
OPEN OPEN
(UNIT=3,FILE='DATA73.DAT',STATUS='OLD',ERR=I8) (UNIT=I,FILE='PRN')
READ READ READ READ READ READ READ READ
THE THE THE THE THE THE THE THE
READ(3, READ(3, READ(3,
GO TO
V A P O R F L O W R A T E , WV: ib/hr. L I Q U I D F O W R A T E , WL: Ib/hr. L I Q U I D D E N S I T Y , DENL: I b / f t ^ 3 . VAPOR DENSITY, DENL: Ib/ft^3. F O A M F A C T O R , FF: D O W N C O M E R R E S I D E N C E T I M E , R E S T : sec. T R A Y S P A C I N G , TS: S U R F A C E T E N S T I O N , SURT: d y n e / c m .
* , ERR=I9) * , ERR=I9) * , ERR=I9)
WV, WL, D E N L DENV, FF, R E S T TS, S U R T
20
555
18 21
W R I T E (*, 21) FORMAT(3X,'DATA GO TO 999
19 22
W R I T E (*, 22) FORMAT(3X,'ERROR G O T O 999
FILE
DOES
MESSAGE
NOT
EXIST')
IN T H E
DATA
VALUE')
CONSTANTS FOR VELOCITY AT ZERO LIQUID LOAD, ft/sec. (W.W. B L A C K W E L L , Chemical Process Design On A Programmable Calculator, Mc. G r a w - H i l l , 1984).
20
PI = 3 . 1 4 1 5 9 2 7 A = 0.22982 B = 0.44605 C = 0.03452 D = 0.00415 E = 0.00017 K = 0.91146 M = -0.03821
CALCULATE
THE
RATIO
OF
THE
SAFETY
SURFACE
TENSION
TO THE
VAPOR
DENSITY,
X=SURT/DENV CALCULATE
FACTOR.
S F = K * (X ) * *M CALCULATE
THE
DENSITY
RADICAL.
R D = S Q R T (D E N V / ( D E N L - D E N V ) ) V
IS V A L I D
CALCULATE
23 C
THE
0.I
< X < 3000.
VELOCITY
AT
ZERO
LIQUID
LOAD,
ft/sec.
VALI=A+B*ALOG V = E X P (V A L I ) VRD=V*RD
(X) - C * ( A L O G (X) ) ** 2 + D * ( A L O G ( X ) ) * * 3 - E * ( A L O G (X) ) * * 4
IF ( V R D .GE. G O T O 23 ELSE ENDIF G O T O 24
0.5)
VRD
THEN
= 0.5
CHECK
24
FOR
IF
(TS
GO
TO
ELSEIF
THE
TRAY
.EQ.
SPACING,
12.0
TS.
) THEN
33 (TS
.EQ.
18.0)
THEN
556
X
GO
TO
44
ELSEIF GO
TO
TO
TO
24.0)
THEN
(TS
.EQ.
30.0)
THEN
.EQ.
36.0)
THEN
66
ELSEIF GO
.EQ.
55
ELSEIF GO
(TS
(TS 77
ENDIF
33 C
CALL PRINT CALL
C
PRINT CALL GO 44
C
TO
CALL PRINT CALL
C
PRINT CALL GO
55 C
TO
CALL PRINT CALL
C
PRINT CALL GO 66
C
TO
CALL PRINT CALL
PROGI THE
RESULTS
ON
THE
SCREEN
OUTPUT THE
RESULTS
ONTO
RESULTS
ON
A
PRINTER.
PAPER 999 PROG2 THE
THE
SCREEN
OUTPUT THE
RESULTS
ONTO
RESULTS
ON
A
PRINTER
PAPER 999
PROG3 THE
THE
SCREEN
OUTPUT THE
RESULTS
ONTO
RESULTS
ON
A PRINTER
PAPER 999 PROG4 THE
THE
SCREEN
OUTPUT
557
PRINT CALL
C
ONTO A PRINTER.
PAPER
GO T O 77
THE RESULTS
CALL
999 PROG5
PRINT
THE RESULTS
ON T H E
SCREEN.
CALL OUTPUT PRINT THE CALL
ONTO
A PRINTER.
PAPER
CLOSE CLOSE 999
RESULTS
(3, (i)
STATUS='KEEP')
STOP END ************************************************************** T O W E R S I Z I N G F O R V A L V E T R A Y S U S I N G A 12 I N C H T R A Y S P A C I N G . ************************************************************** SUBROUTINE
PROG1
REAL LCFS C O M M O N PI COMMON/MULTI/ COMMON/MULT2/ COMMON/MULT3/ COMMON/MULT4/
X, SF, RD, V, V R D AB, ADC, AT, DIA, R D C A WV, WL, DENL, DENV, FF, LCFS, V C F S
REST,
G = 0.77174 H = -0.02964 CALCULATE TSF
CALCULATE VCFS
SPACING
FACTOR,
THE VAPOR
VOLUMETRIC
TSF
RATE,
THE
LIQUID
VOLUMETRIC
RATE,
= WL/(DENL*3600.0)
IF (VRD VRD=0.5 ELSE ENDIF
.GT.
CALCULATE AB =
TRAY
VCFS
= WV/(DENV*3600.0)
CALCULATE LCFS
THE
= G+H*ALOG(X)
THE
0.5)
THEN
BUBBLING
AREA,
AB
(VCFS*RD+LCFS)/(TSF*VRD*FF)
558
LCFS
TS,
SURT
ADC =
(REST*LCFS*I2.0)/(FF*TS)
CALCULATE AT =
T H E T O W E R AREA,
AT
(2.0*ADC+AB)/SF
CALCULATE
THE TOWER
DIAMETER,
DIA.
DIA = SQRT((4.0*AT)/PI)
CALCULATE
THE
DOWNCOMER
RDCA = ADC/(2.*ADC
A R E A RATIO,
RDCA
+ AB)
RETURN END
TOWER
SIZING
SUBROUTINE
FOR VALVE
T R A Y S U S I N G AN 18 INCH T R A Y
SPACING.
PROG2
REAL LCFS C O M M O N PI COMMON/MULTI/ COMMON/MULT2/ COMMON/MULT3/ COMMON/MULT4/
X, SF, RD, V, V R D AB, ADC, AT, DIA, R D C A WV, WL, DENL, DENV, FF, REST, LCFS, V C F S
G = 0.93655 H = -0.02310 CALCULATE
THE TRAY
SPACING
FACTOR,
TSF
TSF = G+H*ALOG(X) CALCULATE
THE VAPOR VOLUMETRIC
RATE,
VCFS
VCFS = WV/(DENV*3600.0) CALCITE
THE LIQUID VOLUMETRIC
RATE,
LCFS = WL/(DENL*3600.0) IF ( V R D .GT. V R D = 0.5 ELSE ENDIF
0.5)
CALCULATE
BUBBLING
AB =
AREA,
AB.
(VCFS*RD+LCFS)/(TSF*VRD*FF)
CALCULATE ADC
THE
THEN
=
THE DOWNCOMER
AREA,
ADC
(REST*LCFS*I2.0)/(FF*TS)
559
LCFS
TS,
SURT
ADC =
(REST*LCFS*I2.0)/(FF*TS)
CALCULATE AT =
THE TOWER
AREA,
AT.
( 2. O * A D C + A B ) / S F
CALCULATE
THE
TOWER
DIAMETER,
DIA.
DIA = SQRT((4.0*AT)/PI) CALCULATE RDCA
THE
DOWNCOMER
AREA RATIO,
RDCA
= ADC/(2.0*ADC+AB)
RETURN END *************************************************************** T O W E R S I Z I N G F O R V A L V E T R A Y S U S I N G A 24 I N C H T R A Y S P A C I N G . *************************************************************** SUBROUTINE REAL
PROG3
LCFS
C O M M O N PI COMMON/MULTI/ COMMON/MULT2/ COMMON/MULT3/ COMMON/MULT4/
X, SF, RD, V, V R D AB, ADC, AT, DIA, R D C A WV, WL, D E N L , DENV, FF, LCFS, VCFS
CALCULATE THE TRAY SPACING FACTOR, F O R A L L V A L U E S OF X, T S F = I . 0 TSF
TSF
= 1.0
CALCULATE VCFS
THE VAPOR
VOLUMETRIC
RATE,
VCFS
= WV/(DENV*3600.0)
CALCULATE LCFS
THE
LIQUID
VOLUMETRIC
RATE,
= WL/(DENL*3600.0)
IF ( V R D VRD=0.5 ELSE ENDIF
.GT.
CALCULATE
THE
AB =
0.5)
THEN
BUBBLING
AREA,
AB
(VCFS*RD+LCFS)/(TSF*VRD*FF)
CALCULATE ADC
REST,
=
THE
DOWNCOMER
AREA,
ADC
(REST*LCFS*I2.0)/(FF*TS)
CALCULATE
THE TOWER
AREA,
AT.
560
LCFS
TS,
SURT
AT
=
(2.0*ADC+AB)/SF
CALCULATE DIA
TOWER
DIAMETER,
DIA.
SQRT((4.0*AT)/PI)
=
CALCULATE RDCA
THE
THE
DOWNCOMER
AREA
RATIO,
RDCA
= ADC/((2.0*ADC)+AB)
RETURN END *************************************************************** T O W E R S I Z I N G F O R V A L V E T R A Y S U S I N G A 30 I N C H T R A Y S P A C I N G . *************************************************************** SUBROUTINE
PROG4
REAL LCFS C O M M O N PI COMMON/MULTI/ COMMON/MULT2/ COMMON/MULT3/ COMMON/MULT4/
X, SF, RD, V, V R D AB, A D C , AT, DIA, R D C A WV, WL, D E N L , D E N V , FF, LCFS, VCFS
REST,
G = 0.98067 H = 0.03220 CALCULATE TSF
THE
TRAY
SPACING
IF ( X .LT. TSF = 1.0 ELSE ENDIF CALCULATE VCFS
1.85
THE
) THEN
VAPOR
VOLUMETRIC
THE
LIQUID
VOLUMETRIC
0.5)
CALCULATE
BUBBLING
=
RATE,
RATE,
= WL/(DENL*3600.O)
IF ( V R D .GT. VRD = 0.5 ELSE ENDIF THE
THEN
AREA,
AB
(VCFS*RD+LCFS)/(TSF*VRD*FF)
CALCULATE ADC
TSF
VCFS
= WV/(DENV*3600.0)
CALCULATE LCFS
AB
FACTOR,
= G + H*ALOG(X)
THE
DOWNCOMER
AREA,
ADC.
=(REST*LCFS*I2.0)/(FF*TS)
561
LCFS
TS,
SURT
CALCULATE AT =
THE
TOWER
(2.0*ADC+
CALCULATE
THE
AREA,
AT
AB)/SF TOWER
DIAMETER,
DIA.
DIA = SQRT((4.0*AT)/PI) CALCULATE RDCA
THE
DOWNCOMERAREA
RATIO,
RDCA
= ADC/((2.0*ADC)+AB)
RETURN END *************************************************************** T O W E R S I Z I N G F O R V A L V E T R A Y S U S I N G A 36 I N C H T R A Y S P A C I N G . *************************************************************** SUBROUTINE
PROG5
REAL LCFS C O M M O N PI COMMON/MULTI/ COMMON/MULT2/ COMMON/MULT3/ COMMON/MULT4/
X, SF, RD, V, V R D AB, ADC, AT, DIA, R D C A WV, WL, DENL, D E N V , FF, LCFS, V C F S
REST,
G = 0.96583 H = 0.06162 CALCULATE TSF
CALCULATE
1.85)
FACTOR,
TSF.
THEN
THE VAPOR
VOLUMETRIC
RATE,
THE
LIQUID
VOLUMETRIC
RATE,
= WL/(DENL*3600.O)
IF (VRD .GT. V R D = 0.5 ELSE ENDIF CALCULATE AB =
SPACING
VCFS
= WV/(DENV*3600.0)
CALCULATE LCFS
TRAY
= G+H*ALOG(X)
IF (X .LT. T S F = 1.0 ELSE ENDIF
VCFS
THE
THE
0.5)
THEN
BUBBLING
AREA,
AB.
(VCFS*RD+LCFS)/(TSF*VRD*FF)
CALCULATE
THE
DOWNCOMERAREA,
ADC
562
LCFS.
TS,
SURT
ADC = (REST*LCFS*I2.0)/(FF*TS) CALCULATE
THE TOWER AREA,
AT.
AT = (2.0*ADC+AB)/SF CALCULATE
THE TOWER DIAMETER,
DIA.
DIA = SQRT((4.0*AT)/PI) CALCULATE
THE DOWNCOMER AREA RATIO,
RDCA
RDCA = ADC/((2.0*ADC)+AB) RETURN END ************************************************************** THIS PROGRAM PRINTS THE RESULTS ONTO THE SCREEN SUBROUTINE
OUTPUT
REAL LCFS COMMON/MULTI/ COMMON/MULT2/ COMMON/MULT3/
X, SF, RD, V, VRD AB, ADC, AT, DIA, RDCA WV, WL, DENL, DENV, FF, REST, COMMON/MULT4/ LCFS, VCFS i00
ii0
120
130
140
150
160
WRITE (*, i00) FORMAT (//, 25X,
TS,
SURT
'TOWER DESIGN FOR VALVE TRAYS',/,78(IH*))
WRITE (*, Ii0) WV, VCFS, WL, LCFS, DENL FORMAT (5X,'VAPOR FLOW RATE, ib/hr.:', T60, FI0.1,/, 5X,'VAPOR VOLUMETRIC RATE, ft^3/sec.: ' , T60, FI0.3,/, 5X,'LIQUID FLOW RATE, ib/hr.:', T60, FI0.1,/, 5X,'LIQUID VOLUMETRIC RATE, ft^3/sec.: ' , T60, FI0.3,/, 5X,'LIQUID DENSITY, Ib/ft^3.: ~ , T60, FI0.3) WRITE (*, 120) DENV, FF, REST FORMAT (SX,'VAPOR DENSITY, ib/ft^3.: ' , T60, FIO.3,/, 5X,'FOAM FACTOR:', T60, FI0.3,/, 5X,'DOWNCOMER RESIDENCE TIME, sec.:', T60, FI0.3) WRITE (*, 130) TS, SURT FORMAT (5X,'TRAY SPACING, in.:', T60, F8.0,/, 5X,'SURFACE TENSION, dyne/cm.:', T60,
F8.2)
WRITE (*, 140) X, SF, RD FORMAT (5X,'SURFACE T E N S I O N / V A P O R DENSITY (X):', 5X,'SAFETY FACTOR:', T60, FI0.3,/, 5X,'DENSITY RADICAL:', T60, FI0.3)
WRITE (*, 150) AB, ADC, AT FORMAT (5X,'BUBBLING AREA, ft^2: ' , T60, FI0.3,/, 5X,'DOWNCOMER AREA, ft^2: ' , T60, FI0.3,/, 5X,'TOWER AREA, ft^2: ' , T60, FIO.3) WRITE (*, 160) DIA, RDCA FORMAT (5X,'TOWER DIAMETER,
ft:',
563
T60,
FI0.3,/,
T60,
FI0.3,/,
5X,'DOWNCOMER
A R E A RATIO:',
T60,
FI0.4)
W R I T E (*, 170) F O R M A T (78(IH-))
170
RETURN END *************************************************************** T H I S P R O G R A M P R I N T S THE R E S U L T S ON THE PRINTER. *************************************************************** SUBROUTINE
PAPER
R E A L LCFS C O M M O N / M U L T I / X, SF, RD, V, VRD C O M M O N / M U L T 2 / AB, ADC, AT, DIA, R D C A C O M M O N / M U L T 3 / WV, WL, DENL, DENV, FF, REST, C O M M O N / M U L T 4 / LCFS, V C F S W R I T E (i, 180) F O R M A T (///, 25X,
180
190 * * * *
SURT
FOR V A L V E T R A Y S ' , / , 7 8 ( I H * ) )
W R I T E (i, 190) WV, VCFS, WL, LCFS, DENL F O R M A T ( 5 X , ' V A P D R FLOW RATE, ib/hr.:', T60, FI0.1,/, 5 X , ' V A P O R V O L U M E T R I C RATE, ft^3/sec.: ' , T60, FI0.3,/, 5 X , ' L I Q U I D FLOW RATE, ib/hr.:', T60, FI0.1,/, 5 X , ' L I Q U I D V O L U M E T R I C RATE, ftA3/sec.:',T60,FlO.3,/, 5 X , ' L I Q U I D DENSITY, Ib/ft^3.: ' , T60, FI0.3)
*
W R I T E (i, 200) DENV, FF, R E S T F O R M A T ( 5 X , ' V A P O R DENSITY, ib/ft^3.: ' , T60, FI0.3,/, 5 X , ' F O A M FACTOR:', T60, FI0.3,/, 5 X , ' D O W N C O M E R R E S I D E N C E TIME, sec.:', T60, FI0.3)
*
W R I T E (i, 210) TS, SURT F O R M A T (5X,'TRAY SPACING, in.:', T60, F8.0,/, 5 X , ' S U R F A C E TENSION, d y n e / c m . : ' , T60,
* *
W R I T E (i, 220) X, SF, RD F O R M A T ( 5 X , ' S U R F A C E T E N S I O N / V A P O R D E N S I T Y (X):', 5 X , ' S A F E T Y FACTOR:', T60, FI0.3,/, 5 X , ' D E N S I T Y R A D I C A L : ' , T60, FI0.3)
* *
W R I T E (i, 230) AB, ADC, AT F O R M A T ( 5 X , ' B U B B L I N G AREA, ft^2: ' , T60, FI0.3,/, 5 X , ' D O W N C O M E R AREA, ft^2: ' , T60, FI0.3,/, 5 X , ' T O W E R AREA, ft^2: ' , T60, FI0.3)
*
W R I T E (i, 240) DIA, R D C A F O R M A T ( 5 X , ' T O W E R DIAMETER, ft:', T60, FI0.3,/, 5 X , ' D O W N C O M E R A R E A RATIO:', T60, FI0.4)
200 *
210
220
230
240
250
'TOWER D E S I G N
TS,
F8.2)
T60,
W R I T E (i, 250) F O R M A T (78(IH-)) FORM FEED THE P R I N T I N G WRITE
P A P E R TO TOP OF THE NEXT PAGE.
( I, *) CHAR(12)
RETURN END
564
FIO.3,/,
PROGRAM
PROG74
PACKED-TOWER SIZING THE TOWER SIZING METHOD IS BASED ON THE GENERALIZED PRESSURE DROP CORRELATION OF SHERWOOD, SHIPLEY AND HOLLOWAY AND REPLOTTED IN F I G U R E G R - 1 0 9 R - 5 B Y N O R T O N CO. THIS CORRELATION IS A P L O T O F X .VS. Y F O R P R E S S U R E D R O P C U R V E S R A N G I N G F R O M 0.5 TO 1.5 INCH OF WATER. FROM THESE CURVES THE TOWER DIAMETER CAN BE EVALUATED. *************************************************************** = LIQUID RATE, Ib/h L = VAPOR RATE, Ib/h G = VAPOR DENSITY, ib/ft^3 DG = LIQUID DENSITY, ib/ft^3 DL = X CO-ORDINATE IN GR-109 R-5 PLOT X = Y CO-ORDINATE IN G R - 1 0 9 R - 5 P L O T Y = VAPOR RATE, ib/s.ft^2 G1 = P A C K I N G F A C T O R FOR PACKING USED PF = LIQUID VISCOSITY, cP LVIS = GRAVITATIONAL CONSTANT = 32.2 ft/s^2 GC = TOWER AREA, ft^2 AREA = T O W E R D I A M T E R , ft DIA = PRESSURE DROP inch H20/ft. DELP PI = CONSTANT = 3.1415927 ***************************************************************
COMMON/TOWER1/ COMMON/TOWER2/ COMMON/TOWER3/ COMMON/TOWER4/ COMMON/T~)WERS/ R E A L L, L V I S OPEN OPEN
(UNIT (UNIT
READ READ READ READ READ READ READ
LIQUID FLOW RATE, Ib/hr. GAS FLOW RATE, ib/hr. GAS DENSITY, ib/ft^3. LIQUID DENSITY, ib/ft^3. TOWER PACKING FACTOR PRESSURE DROP, inch-H20/ft. LIQUID VISCOSITY, cP.
READ READ
(3, (3,
GO
TO
= 3, = I,
GC, PI X, Y, XI, Yl AREA, DIA GI, G2, V G AREAF, DIAF
*, *,
ERR ERR
FILE='DATA74.DAT' FILE='PRN')
=19) =19)
, STATUS='OLD',
= = = = = = =
L, G, D G DL, PF, D E L P ,
LVIS
I0
18 i00
W R I T E (*, i00) F O R M A T (5X, ' D A T A GO TO 999
19
WRITE
(*,
FILE
DOES
NOT
EXIST')
ii0)
565
L G DG DL PF DELP LVIS
ERR=IS)
ii0
F O R M A T (5X, G O TO 999
'ERROR MESSAGE
i0
PI = 3 . 1 4 1 5 9 2 7 GC = 32.2
IN T H E D A T A V A L U E ' )
W H E R E 0.01 < X < 2.0 SUMI=DG/( DL-DG ) X = L/G*SQRT(SUMI)
IF (DELP GO TO 30
.EQ.
0.05)
THEN
ELSEIF(DELP GO TO 35
.EQ.
0.i0)
THEN
ELSEIF(DELP GO TO 40
.EQ.
0.25)
THEN
ELSEIF(DELP GO TO 45
.EQ.
0.50)
THEN
ELSEIF(DELP GO TO 5O
.EQ.
1.0)
THEN
ELSEIF(DELP GO T O 55
.EQ.
1.5)
THEN
ENDIF
30 C
CALL PROGI
(L, G, DG,
PRINT THE RESULTS CALL OUTPUT
DL,
PF,
LVIS)
ON T H E S C R E E N
(L, G, DG,
DL,
PF,
DELP,
PRINT THE RESULTS
ONTO A PRINTER
CALL PAPER
DG,
DL,
PF,
DELP,
(L, G, DG,
DL,
PF,
LVIS)
(L, G,
LVIS)
LVIS)
GO TO 999 35 C
CALL PROG2
PRINT THE RESULTS CALL OUTPUT
(L, G,
PRINT THE RESULTS
40
ON T H E S C R E E N DG,
DL,
PF,
DELP,
CALL PAPER GO T O 999
(L, G, DG,
DL,
PF,
DELP,
CALL PROG3
(L, G,
DL,
PF,
LVIS)
PRINT THE RESULTS
LVIS)
ONTO A PRINTER
DG,
ON T H E S C R E E N
566
LVIS)
CALL O U T P U T
(L, G, DG, DL,
PRINT THE R E S U L T S
45
PF, DELP,
CALL PROG4
(L, G, DG,
PF,
PF, DELP,
DL, PF,
DELP,
C A L L PROG5
(L, G, DG,
DL,
LVIS)
CALL PROG6
(L, G, DG,
CALL P A P E R GO TO 999 CLOSE CLOSE
PF, DELP,
LVIS)
PF,
DELP,
LVIS)
DL, PF, LVIS)
ON THE SCREEN
(L, G, DG,
PRINT THE R E S U L T S
LVIS)
ONTO A P R I N T E R
(L, G, DG, DL,
PRINT THE R E S U L T S
LVIS)
ON THE SCREEN
CALL PAPER GO TO 999
CALL O U T P U T
PF,
(L, G, DG, DL,
P R I N T THE R E S U L T S
999
DL,
ONTO A P R I N T E R
(L, G, DG,
CALL O U T P U T
55
LVIS)
CALL PAPER GO TO 999
PRINT THE R E S U L T S
C
DL,
LVIS)
ON THE SCREEN
(L, G, DG,
P R I N T THE R E S U L T S
LVIS)
ONTO A P R I N T E R
(L, G, DG, DL,
CALL O U T P U T
50
DELP,
CALL P A P E R GO TO 999
PRINT THE R E S U L T S
C
PF,
DL,
PF, DELP,
LVIS)
ONTO A P R I N T E R
(L, G, DG, DL, PF, DELP,
LVIS)
(UNIT = 3, STATUS='KEEP') (UNIT = i)
STOP END *************************************************************** P A C K E D - T O W E R SIZING W I T H A P R E S S U R E DROP OF 0.05 inch H 2 0 / f t *************************************************************** S U B R O U T I N E PROG1 R E A L L,LVIS COMMON/TOWER1/ COMMON/TOWER2/ COMMON/TOWER3/ COMMON/TOWER4/
(L, G, DG,
DL,
PF, LVIS)
GC, PI X, Y, Xl, Y1 AREA, DIA G1, G2, V G
567
COMMON/TOWER5/ CONSTANTS
FOR
CO C1 C2
= -6.30253 = -0.60809 = -0.11932
C3 C4
= =
Y1
DIAF
DELP=0.05
-0.00685 0.000320
WHERE S~I SUM2 SUM3 SUM4 SUMT
AREAF,
0.001 =
< Y < 0.15
ALOGCX)
= (ALOG(X))**2 = (ALOG(X))**3 = (ALOG(X))**4 = CO+(CI*SUMI)+(C2*SUM2)+(C3*SUM3)+(C4*SUM4)
= EXP(SUMT)
CALCULATE
VAPOR
RATE
ib/s.ft^2
VALI = u VAL2 = PF*(LVIS)**0.1 RATIO = VALI/VAL2 G1 = ( R A T I O ) * * 0 . 5 CALCULATE
TOWER
AREA
AND
TOWER
DIAMETER
AREA = G/(3600.*GI) DIA = 12.0*((4.0*AREA)/PI)**0.5 CALCULATE
Y
CO-ORDINATE
IN
GR-109
R-5
PLOT
VAL3 = (GI**2)*PF*(LVIS)**0.1 VAL4 = DG*(DL-DG)*GC Y = VAL3/VAL4 CALCULATE CALL
FLOOD
THE (L,
PACKED G,
DG,
TOWER DL,
FLOODING PF,
CONDITIONS
LVIS)
RETURN END *************************************************************** PACKED-TOWER SIZING WITH A PRESSURE DROP OF 0.i0 inch H20/ft *************************************************************** SUBROUTINE
PROG2
REAL L,LVIS COMMON/TOWER1/ COMMON/TOWER2/ COMMON/TOWER3/ COMMON/TOWER4/ COMMON/TOWER5/ CONSTANTS
FOR
(L,
G,
DG,
DL,
PF,
GC, PI X, Y, XI, u AREA, DIA GI, G2, V G AREAF, DIAF DELP=O.I
568
LVIS)
CO C1 C2 C3 C4
= -5.50093 = -0.78508 = -0.13496 = 0.00134 = 0.00174
WHERE
0.001
SUM1 SUM2 SUM3 SUM4 SUMT Y1 =
< Y
< 0.15
= ALOG(X) = (ALOG(X))**2 = (ALOG(X))**3 = (ALOG(X))**4 = C0+(CI*SUMI)+(C2*SUM2)+(C3*SUM3)+(C4*SUM4) EXP(SUMT)
CALCULATE
VAPOR
RATE,
ib/s.ft^2
VALI = YI*DG*(DL-DG)*GC VAL2 = PF*(LVIS)**O.I RATIO = VALI/VAL2 G1 = (RATIO)**0.5 CALCULATE
TOWER
AREA
AND
TOWER
DIAMETER
AREA = G/(3600.*GI) DIA = 12.0*((4.0*AREA)/PI)**0.5 CALCULATE
u
CO-ORDINATE
IN
GR-109
R-5
PLOT
VAL3 = (GI**2)*PF*(LVIS)**0.1 VAL4 = DG*(DL-DG)*GC Y = VAL3/VAL4
CALCULATE CALL
THE
FLOOD
(L,
PACKED G,
TOWER
DG,
DL,
FLOODING PF,
CONDITIONS.
LvIs)
RETURN END *************************************************************** PACKED-TOWER SIZING WITH A PRESSURE DROP OF 0.25 inch H20/ft *************************************************************** SUBROUTINE REAL
L,
PROG3
COMMON~TOWER1~ COMMON/TOWER2/ COMMON/TOWER3/ COMMON/TOWER4/ COMMON/TOWER5/ CONSTANTS CO C1 C2 C3
(L,
G,
DG,
DL,
PF,
LVIS
FOR
GC, PI X, Y, Xl, Y1 AREA, DIA GI, G2, V G AREAF, DIAF DELP=0.25
= -5.00319 = -0.95299 = -0.13930 = 0.01264
569
LVIS)
C4
=
WHERE SUM1 SUM2 SUM3 SUM4 SUMT Y1 =
0.00334 0.001
< Y
< 0.15
= ALOG(X) = (ALOG(X))**2 = (ALOG(X))**3 = (ALOG(X))**4 = CO+(CI*SUMI)+(C2*SUM2)+(C3*SUM3)+(C4*SUM4) EXP(SUMT)
CALCULATE
VAPOR
RATE,
ib/s.ft^2
VALI = YI*DG*(DL-DG)*GC VAL2 = PF*(LVIS)**0.1 RATIO = VALI/VAL2 G1 = S Q R T ( R A T I O ) CALCULATE
TOWER
AREA
AND
TOWER
DIAMETER
AREA = G/(3600.0*GI) DIA = 12.0*SQRT((4.0*AREA)/PI) CALCULATE
Y
CO-ORDINATE
IN
GR-109
R-5
PLOT
VAL3 = (GI**2)*PF*(LVIS)**0.1 VAL4 = DG*(DL-DG)*GC Y = VALB/VAL4 CALCULATE
THE
CALL FLOOD RETURN END
(L,
PACKED G,
TOWER
DG,
DL,
FLOODING PF,
CONDITONS.
LVIS)
*************************************************************** PACKED TOWER SIZING WITH A PRESSURE DROP OF 0.5 inch H20/ft *************************************************************** SUBROUTINE
PROG4
REAL L,LVIS COMMON/TOWER1/ COMMON/TOWER2/ COMMON/TOWER3/ COMMON/TOWER4/ COMMON/TOWER5/ CONSTANTS CO C1 C2 C3 C4
FOR
(L,
G,
DG,
DL,
PF,
GC, PI X, Y, XI, Y 1 AREA, DIA GI, G 2 , V G AREAF, DIAF DELP=0.5
= -4.39918 = -0.99404 = -0.16983 = 0.00873 = 0.00343
WHERE SUM1 SUM2
0.001
< u <
0.15
= ALOG(X) = (ALOG(X))**2
570
LVIS)
SUM3 SUM4 SUMT Y1 =
= (ALOG(X))**3 = (ALOG(X))**4 = C0+(CI*SUMI)+(C2*SUM2)+(C3*SUM3)+(C4*SUM4) EXP(SUMT)
CALCULATE
VAPOR
RATE,
ib/s.ft^2
VALI = YI*DG*(DL-DG)*GC VAL2 = PF*(LVIS)**0.1 RATIO = VALI/VAL2 G1 = ( R A T I O ) * * 0 . 5 CALCULATE
TOWER
AREA
AND
TOWER
DIAMETER
AREA = G/(3600.*GI) DIA = 12.0*((4.0*AREA)/PI)**0.5 CALCULATE
Y
CO-ORDINATE
IN
GR-109
R-5
PLOT
VAL3 = (GI**2)*PF*(LVIS)**0.1 VAL4 = DG*(DL-DG)*GC Y = VAL3/VAL4 CALCULATE
THE
CALL FLOOD RETURN END
(L,
PACKED G,
TOWER
DG,
DL,
FLOODING PF,
CONDITIONS.
LVIS)
*************************************************************** PACKED-TOWER SIZING WITH A PRESSURE DROP OF 1 inch H20/ft. *************************************************************** SUBROUTfNE REAL
PROG5
COMMON/TOWER1/ COMMON/TOWER2/ COMMON/TOWER3/ COMMON/TOWER4/ COMMON/TOWERS/ CONSTANTS CO C1 C2 C3 C4
(L,
G,
DG,
DL,
PF,
LVIS)
L,LVIS
FOR
GC, PI X, Y, X1, Y1 AREA, DIA GI, G2, V G AREAF, DIAF DELP=I.0
= -4.09505 = -1.00120 = -0.15871 = 0.00797 = 0.00318
WHERE SUM1 SUM2 SUM3 SUM4 SUMT Y1 =
0.001
< u < 0.15
= ALOG(X) = (ALOG(X))**2 = ( A L O G ( X ) 7"'3 = (ALOG(X))**4 = C0+(CI*SUMI)+(C2*SUM2)+(C3*SUM3)+(C4*SUM4) EXP(SUMT)
571
C
CALCULATE
VAPOR
RATE,
Ib/s.ft^2
VALI = u VAL2 = PF*(LVIS)**0.1 RATIO = VALI/VAL2 G1 = ( R A T I O ) * * 0 . 5 CALCULATE
TOWER
AREA
AND
TOWER
DIAMETER
AREA = G / ( 3600. *G1 ) DIA = 12.0"( (4.0*AREA)/PI)**0.5 CALCULATE
u
CO-ORDINATE
IN G R - I 0 9
R-5
PLOT
VAL3 = (GI**2)*PF*(LVIS)**0.1 VAL4 = DG*(DL-DG)*GC Y = VAL3/VAL4 CALCULATE
THE
CALL FLOOD RETURN END
PACKED
(L,
G,
TOWER
DG,
DL,
FLOODING
PF,
CONDITIONS.
LVIS)
PACKED-TOWER SIZING WITH A PRESSURE DROP OF 1.5 inch H20/ft. *************************************************************** SUBROUTINE
PROG6
R E A L L, L V I S COMMON/TOWER1/ COMMON/TOWER2/ COMMON/TOWER4/ COMMON/TOWER5/ CONSTANTS = = = = =
WHERE SUM1 SUM2 SUM3 SUM4 SUMT Y1 =
FOR
G,
DG,
DL,
PF,
LVIS)
GC, PI X, Y, XI, Y1 AREA, DIA GI, G2, V G AREAF, DIAF
COMMON~TOWER3~
CO C1 C2 C3 C4
(L,
DELP=I.5
-4.02555 -0.98945 -0.08291 -0.03237 0.00532 0.001
< Y < 0.15
= ALOG(X) = (ALOG(X))**2 = (ALOG(X))**3 = (ALOG(X))**4 = C0+(CI*SUMI)+(C2*SUM2)+(C3*SUM3)+(C4*SUM4) EXP(SUMT)
CALCULATE V A P O R
RATE
ib/s.ft^2
VALI = YI*DG*(DL-DG)*GC VAL2 = PF*(LVIS)**0.1 RATIO = VALI/VAL2
572
G1 =
(RATIO)**0.5
CALCULATE
TOWER
AREA
AND TOWER
DIAMETER
AREA = G/(3600.*GI) D I A = 12.0"( ( 4 . 0 * A R E A ) / P I ) * * 0 . 5 CALCULATE
Y CO-ORDINATE
IN G R - 1 0 9
R-5
PLOT
VAL3 = (GI**2)*PF*(LVIS)**0.1 V A L 4 = DG* (DL-DG) *GC Y = VAL3/VAL4 CALCULATE
THE
CALL FLOOD RETURN END
PACKED
(L, G,
TOWER
DG,
DL,
FLOODING PF,
CONDITIONS.
LVIS)
*************************************************************** THIS PROGRAM CALCULATES THE VAPOR RATE AT FLOODING CONDITION *************************************************************** SUBROUTINE
FLOOD
R E A L L, LVI S COMMON/TOWER1/ COMMON/TOWER2/ COMMON/TOWER3/ COMMON/TOWER4/ COMMON/TOWER5/
(L, G,
DG,
DL,
PF,
LVIS)
GC, PI X, Y, Xl, Y1 AREA, D I A G1, G2, V G AREAF, DIAF
X1 = ( L / G ) * S Q R T ( D G / D L ) TI = 6 2 . 4 / D L
Y1=i0.0.* (-i. 6678-( i. 085*ALOGI0 (Xl) 7-( 0. 29655. (ALOGI0 (Xl) )*.2) ) VAL1 = YI*DL*DG*GC VAL2 = PF*TI*(LVIS)**2 RATIO = VAL1/VAL2 G2 = S Q R T ( R A T I O ) CALCULATE
VAPOR
RATE
AT 70%
OF F L O O D I N G
CONDITION
G2 = 0 . 7 " G 2 CALCULATE
VAPOR
VELOCITY
AT
70%
FLOODING
CONDITION
AT
70%
FLOODING
CONDITION.
VG=G2/DG CALCULATE
THE
TOWER
AREA
S I N C E T H E F L O O D I N G C O R R E L A T I O N IS N O T P E R F E C T , H E N C E T O H A V E A 95% C O N F I D E N C E , U S E A S A F E T Y F A C T O R OF 1.32 F O R T H E C A L C U L A T E D C R O S S - S E C T I O N A L A R E A ( B o l l e s a n d Fair, Chem. Eng., 89 (14), 109 ( J u l y 12, 19827. AREAF
= 1.32*(G/(3600.0*G2)
CALCULATE DIAF
THE TOWER
)
DIAMETER
AT
70%
= SQRT((4.0*AREAF)/PI)
573
FLOODING
CONDITION
DIAMETER
IN inches:
DIAF = 1 2 . 0 * D I A F RETURN END **************************************************************** THIS P R O G R A M O U T P U T S THE R E S U L T S ON THE SCREEN **************************************************************** SUBROUTINE
OUTPUT
(L, G, DG,
DL,
PF, DELP,
LVIS)
REAL L,LVIS
COMMON~TOWER2~ X, Y, XI, Y1 COMMON/TOWER3/ COMMON/TOWER4/ COMMON/TOWERS/
AREA, DIA GI, G2, VG AREAF, DIAF
120
W R I T E (*, 120) FORMAT(20X,'PACKED
130
W R I T E (*, 130) FORMAT(78(IH*))
140
W R I T E (*, 140) L FORMAT(5X,'LIQUID
150
W R I T E (*, 150) FORMAT(5X,'GAS
G FLOW RATE,
160
W R I T E (*, 160) FORMAT(5~,'GAS
DG DENSITY,
170
W R I T E (*, 170) DL F O R M A T ( 5 X , ' L I Q U I D DENSITY,
180
W R I T E (*, 180) PF FORMAT(5X,'TOWER PACKING
190
W R I T E (*, 190) DELP F O R M A T ( 5 X , ' P R E S S U R E DROP,
200
W R I T E (*, 200) LVIS F O R M A T ( 5 X , ' L I Q U I D VISCOSITY,
210
W R I T E (*, 210) X FORMAT(5X,'X CO-ORDINATE
IN THE G E N E R A L I Z E D
PLOT:',
T60,
F8.4)
220
W R I T E (*, 220) Y FORMAT(5X,'Y CO-ORDINATE
IN THE G E N E R A L I Z E D
PLOT:',
T60,
F8.4)
230
W R I T E (*, 230) G1 FORMAT(5X,'CALCULATED
240
W R I T E (*, 240) X1 FORMAT(5X,'X CO-ORDINATE WRITE
(*, 250)
TOWER
DESIGN')
FLOW RATE,
ib/hr.:',
ib/hr.:',
T60,
T60,
ib/ft^3: ' , T60,
F12.3)
F8.4)
ib/ft^3: ' , T60,
FACTOR:',
T60,
inch H20/ft:',
cP:',
V A P O R RATE,
T60,
574
F8.4)
FS.I)
T60,
F8.3)
F8.3)
Ib/s.ft^2: ' , T60,
AT F L O O D I N G
Y1
F12.3)
CONDITION:',
F8.4)
T60,
F8.4)
FORMAT(SX,'Y
250
CO-ORDINATE
AT FIX)ODING CONDITION:',
*
W R I T E (*, 260) G2 F O R M A T ( 5 X , ' V A P O R R A T E AT 70% F L O O D I N G T60, F8.4)
*
W R I T E (*, 270) VG FORMAT(5X, 'VAPOR V E L O C I T Y T60, F8.2)
260
270
AT 70% F L O O D I N G
280
W R I T E (*, 280) A R E A FORMAT(SX, 'TOWER AREA,
290
W R I T E (*, 290) DIA FORMAT(5X, 'TOWER DIAMETER,
300
W R I T E (*, 300) A R E A F FORMAT(5X, 'TOWER A R E A AT 70% F L O O D I N G
ft^2: ' T60,
W R I T E (*, 310) DIAF FORMAT(5X, 'TOWER D I A M E T E R 310 * T60, F8.2)
320
CONDITION,
T60,
F8.4)
ib/s.ft^2: ' ,\,
CONDITION,
ft./s. : ' ,\,
F8.2)
inches: ', T60,
F8.2)
CONDITION,
AT 70% F L O O D I N G
ft^2: ' ,T60,F8.2)
CONDITION,
inches: ' ,\,
W R I T E (*, 320) F O R M A T (78(IH-)) RETURN END ****************************************************************** THIS P R O G R A M PRINTS THE R E S U L T S O N T O A P R I N T E R ****************************************************************** SUBROUTINE
PAPER
(L, G, DG,
DL, PF, DELP,
LVIS)
R E A L L, LVIS COMMON/TOWER2/ COMMON/TOWER3/ COMMON/TOWER4/ COMMON/TOWER5/
X, Y, XI, Y1 AREA, DIA GI, G2, VG AREAF, DIAF
330
W R I T E (i, 330) FORMAT (///,25X,'PACKED
340
W R I T E (I, 340) F O R M A T (78(IH*))
350
W R I T E (I, 350) L FORMAT (5X,'LIQUID
360
W R I T E (i, 360) G F O R M A T (5X,'GAS FLOW RATE,
370
W R I T E (i, 370) DG F O R M A T (5X,'GAS DENSITY,
380
W R I T E (I, 380) DL FORMAT (5X,'LIQUID WRITE
(i, 390)
T O W E R DESIGN')
FLOW RATE,
ib/hr.:',
ib/hr.:',
T60,
T60,
ib/ft.^3: ' , T60,
DENSITY,
F12.3)
F8.4)
Ib/ft.^3: ' , T60,
PF
575
F12.3)
F8.4)
390
FORMAT
400
W R I T E (i, 400) DELP FORMAT (5X,'PRESSURE
(5X,'TOWER
PACKING
FACTOR:',
410
W R I T E (i, 410) LVIS FORMAT (5X,'LIQUID VISCOSITY,
420
W R I T E (i, 420) X F O R M A T (5X,'X C O - O R D I N A T E
IN THE G E N E R A L I Z E D
PLOT:',
T60,
F8.4)
430
W R I T E (I, 430) Y F O R M A T (5X,'Y C O - O R D I N A T E
IN THE G E N E R A L I Z E D
PLOT:',
T60,
F8.4)
440
W R I T E (i, 440) G1 FORMAT (5X,'CALCULATED
450
W R I T E ( I, 450) X1 F O R M A T (5X,'X C O - O R D I N A T E
AT F L O O D I N G
CONDITION:',
T60,
F8.4)
460
W R I T E ( i, 460) Y1 F O R M A T (5X,'Y C O - O R D I N A T E
AT F L O O D I N G
CONDITION:',
T60,
F8.4)
DROP,
INCH-H20:',
480
*
V A P O R RATE,
W R I T E (I, 480) VG FORMAT (5X,'VAPOR VELOCITY T60, F8.2)
490
W R I T E (i, 490) A R E A F O R M A T ( 5 X , ' T O W E R AREA,
500
W R I T E (i, 500) DIA FORMAT ( 5 X , ' T O W E R DIAMETER,
510 *
530
cP:',
F8.3)
F8.3)
Ib/s.ft^2: ' , T60,
CONDITION,
AT 70% F L O O D I N G
ft^2: ' , T60,
F8.4)
Ib/s.ft^2:',\,
CONDITION,
ft./sec:',\,
F8.2)
inches:',
W R I T E (i, 510) A R E A F FORMAT ( 5 X , ' T O W E R A R E A AT 70% F L O O D I N G T60,F8.2)
W R I T E (i, 520) D I A F FORMAT (5X,'TOWER DIAMETER * T60, F8.2)
F8.1)
T60,
T60,
W R I T E ( i, 470) G2 FORMAT (5X,'VAPOR RATE AT 70% F L O O D I N G T60, F8.4)
470
520
T60,
T60,
F8.2)
CONDITION,
AT 70% F L O O D I N G
ft^2:',\,
CONDITION,
inches:',\,
W R I T E (i, 530) F O R M A T (78(IH-)) FORM FEED THE P R I N T I N G
P A P E R TO THE TOP OF THE NEXT PAGE.
W R I T E (I, *) CHAR(12) RETURN END
576
PROGRAM
PROG75
N U M B E R OF S T A G E S A T L O W C O N C E N T R A T I O N S . THIS PROGRAM CALCULATES THE NUMBER OF EQUILIBRIUM STAGES USING THE SMOKER EQUATIONS. IN T H E L O W - C O N C E N T R A T I O N R E G I O N T H E E Q U I L I B R I U M R E L A T I O N F O L L O W S H E N R Y ' S L A W A N D Y=KX, A N D T H I S R E L A T I O N S H I P IS U S E D T O P L O T T H E E Q U I L I B R I U M L I N E IF D A T A A R E N O T A V A I L A B L E . THE EQUATIONS D E V E L O P E D BY S M O K E R W I L L H A N D L E T H E S E O P E R A T I O N S A N A L Y T I C A L L Y . ****************************************************************** A1 = AVERAGE RELATIVE VOLATILITY OF THE RECTIFYING SECTION A2 = AVERAGE RELATIVE VOLATILITY OF THE STRIPPING SECTION R = REFLUX RATIO XF = M O L E F R A C T I O N OF T H E F E E D XD = MOLE FRACTION OF THE TOP PRODUCT XB = MOLE FRACTION OF THE BOTTOMS PRODUCT N1 = N U M B E R O F S T A G E S IN T H E R E C T I F Y I N G S E C T I O N N2 = N U M B E R O F S T A G E S IN T H E S T R I P P I N G S E C T I O N TOTAL = THE TOTAL NUMBER OF STAGES. POST = THE OPTIMUM FEED STAGE LOCATION. *******************************************************************
REAL K,KI,K2,NI,N2 COMMON/MASS/KI,K2
OPEN OPEN
(UNIT=3, (UNIT=I,
READ READ READ READ READ
THE THE THE THE THE
RELATIVE VOLATILITIES OF THE TWO COMPONENTS M O L E F R A C T I O N O F T H E FEED, XF. M O L E F R A C T I O N O F T H E D I S T I L L A T E , XD. M O L E F R A C T I O N O F T H E B O T T O M S , XB. R E F L U X R A T I O , R.
READ READ READ
(3, (3, (3,
*, E R R = I 9 ) *, E R R = I 9 ) *, E R R = 1 9 )
GO TO
FILE='DATA75.DAT', FILE='PRN')
AI, XF, R
A2 XD,
W R I T E (*, 23) FORMAT (5X,'DATA G O T O 999
19 29
W R I T E (*, 29) F O R M A T (5X, ' E R R O R M E S S A G E G O T O 999
ii0
FILE
DOES
W R I T E (i, i00) F O R M A T (//, 15X , 4 9 H E Q U I L I B R I U M
*
/IH
ERR=I8)
AI,
A2.
XB
5
18 23
5 i00
STATUS='OLD',
NOT
EXIST')
IN T H E
DATA VALUE')
NUMBER
OF STAGES
BY S M O K E R ' S E Q U A T I O N ,
,TS(IIi*))
W R I T E (I, ii0) AI, A2 F O R M A T ( 5 X , ' T H E R E L A T I V E V O L A T I L I T Y O F C O M P O N E N T i.:', T60, F I 0 . 3 , / , 5 X , ' T H E R E L A T I V E V O L A T I L I T Y O F C O M P O N E N T 2.:'
577
*
120 * *
*
T60,FI0.3) W R I T E (I, 120) FORMAT(5X,'THE 5X,'THE 5X,'THE 5X,'THE GO TO
i0
FEED:', T60, FI0.4,/, DISTILLATE:', T60, FI0.4,/, BOTTOMS:', T60, FI0.4,/, FI0.2)
i0
CALCULATE
C
XF, XD, XB, R MOLE FRACTION OF THE MOLE FRACTION OF THE MOLE FRACTION OF THE REFLUX RATIO:', T60,
THE
NUMBER
OF
STAGES
IN T H E
RECTIFYING
SECTION
s I=R/( R + 1 . 0 )
BI=XD/(R+I.0 ) CALCULATE K, T H E V A L U E O F T H E X - O R D I N A T E A T T H E P O I N T W H E R E THE EXTENDED OPERATING LINE INTERSECT THE VAPOUR-LIQUID EQUILIBRIUM CURVE FROM THE QUADRATIC EQUATION AX^2+BX+C=0 CALCULATE THE CO-EFFICIENTS THE RECTIFYING SECTION
OF THE
QUADRATIC
EQUATION
IN
A = S1"(A1-1.0) B = SI+BI*(AI-I.0)-AI C = B1 SOLVE CALL
THE PROGI
CALCULATE
C1 = X1 = X2 = BETA1 VALI VAL2
QUADRATIC (A, THE
B,
EQUATION C,
K)
NUMBER
OF
STAGES
IN T H E
RECTIFYING
SECTION,
N1
1.0+(AI-I.0)*K XD-K XF-K = (SI*CI*(AI-I.O))/(AI-(SI*(CI**2))) = (XI*(I.0-(BETAI*X2)))/(X2*(I.0-(BETAI*XI))) = AI/(SI*(CI**2))
CALCULATE
THE
NUMBER
OF
STAGES
IN T H E
RECTIFYING
SECTION.
NI=ALOG(VALI)/ALOG(VAL2)
130
W R I T E (I, 130) N1 FORMAT(5X,'THE NUMBER T60, F8.2)
CALCULATE
$2 = B2 =
THE
NUMBER
OF
OF
STAGES
STAGES
IN THE
IN T H E
RECTIFYING
STRIPPING
SECTION:'
SECTION,
N2
((R*XF)+XD-(R+I.0)*XB)/((R+I.0)*(XF-XB)) ((XF-XD)*XB)/((R+I.O)*(XF-XB))
CALCULATE THE CO-EFFICIENTS IN T H E S T R I P P I N G S E C T I O N
OF THE
578
QUADRATIC
EQUATION
AX^2+BX+C=0
A = $2"(A2-I.0) B = (S2+B2*(A2-1.0)-A2) C = B2 CALCULATE
B,
C,
OF
IN T H E
RECTIFYING
XF-K XB-K 1.0+(A2-1.0)*K = (S2*C2*(A2-1.0))/(A2-(S2*(C2**2))) = (X3*(I.0-(BETA2*X4)))/(X4*(I.O-(BETA2*X3))) = A2/($2"(C2"'2))
SECTION.
K)
= ALOG(VAL3)/ALOG(VAL4)
W R I T E (i, 140) N2 FORMAT(5X,'THE NUMBER T60, F8.2)
OF
FEED LOCATION BOTTOM OF THE
POST
STAGES
IN T H E
STRIPPING
SECTION:',
= NI+N2
W R I T E (I, 150) T O T A L FORMAT(5X,'TOTAL NUMBER
THE THE
OF
IS T H A T COLUMN.
STAGES:',
FROM
THE
T60,
F8.2)
STRIPPING
SECTION
TO
= N2
160
W R I T E (1, 160) P O S T FORMAT (5X,'FEED STAGE
170
W R I T E (I, 170) FORMAT (78(IH-)) FORM
999
STAGES
X3 = X4 = C2 = BETA2 VAL3 VAL4
TOTAL
150
(A,
NUMBER
PROGI
N2
140
THE
CALL
FEED
THE
PRINTING
WRITE
(I,
CLOSE CLOSE
(3,STATUS='KEEP') (i)
LOCATION:',
PAPER
TO THE
T60,
TOP
F8.1)
OF THE
NEXT
PAGE.
*) C H A R ( 1 2 )
STOP END *************************************************************** THIS PROGRAM SOLVES THE QUADRATIC EQUATION AX^2+BX+C=0 IN T H E RECTIFYING AND STRIPPING SECTIONS *************************************************************** SUBROUTINE
PROG1
(A,
B,
C,
K)
REAL K,K1,K2 COMMON/MASS/K1,K2 D =
(B**2-4.0*A*C)
579
IF ( D .LT. 0.0) T H E N G O T O i0 ELSE El= (-B+SQRT(D))/(2.0*A) K2= (-B-SQRT(D))/(2.0*A) ENDIF IF (KI .LT. G O T O 20 ELSE K = K1 GO T O 30 ENDIF
0.0
.OR.
K1
.GT.
1.0)
THEN
20
IF (K2 .LT. GO T O 40 ELSE K=K2 G O TO 30 ENDIF
0.0
.OR.
K2
.GT.
1.0)
THEN
40 190
W R I T E (*, 190) FORMAT(6X,'ROOTS ARE GO T O 3O W R I T E (*, 200) FORMAT(6X,'IMAGINARY RETURN END
i0 200 30
O U T OF L I M I T S
ROOTS,
CHECK
CHECK
PROBLEM
580
PROBLEM
SPECIFICATION')
SPECIFICATION')
PROGRAM
PROG76
RAPID ESTIMATES OF MULTICOMPONENT DISTILLATION AND MINI~/M TRAYS IN DISTILLATION COLUMNS THIS PROGRAM WILL CALCULATE THE FEED COMPONENT RECOVERY IN BOTH THE COLUMN DISTILLATE AND BOTTOMS PRODUCTS AND ESTIMATE THE MINIMUM NUMBER OF STAGES NEEDED TO PERFORM THE GIVEN SEPARATION. F E E D S T R E A M S C O N T A I N I N G U P T O 12 C O M P O N E N T S C A N B E H A N D L E D BY THIS PROGRAM. THE
FOLLOWING
ASSUMPTIONS
FOR
THIS
PROGRAM
ARE:
1. 2. 3.
T H E R E IS O N L Y O N E F E E D S T R E A M W I T H 12 O R F E W E R C O M P O N E N T S . THERE IS ONLY ONE HEAVY KEY COMPONENT. FEED COMPONENTS ARE ARRANGED IN ORDER OF DECREASING RELATIVE VOLATILITY, W I T H T H E L I G H T K E Y (LK) A N D H E A V Y K E Y (HK) C O M P O N E N T S SHOWN ADJACENT TO EACH OTHER. 4. THE FEED ENTERS THE COLUMN AT THE OPTIMAL STAGE. 5. THE COLUMN PRODUCES TWO PRODUCTS (DISTILLATE AND BOTTOMS) WITH OVERHEAD CONDENSER AND BOTTOM REBOILER. ******************************************************************** ALPHAi Ki KHK
= = =
RELATIVE VOLATILITY OF COMPONENT i EQUILIBRIUM CONSTANT FOR COMPONENT i IN THE FEED STREAM EQUILIBRIUM CONSTANT FOR HEAVY KEY COMPONENT IN T H E F E E D S T R E A M Di = COMPONENT i IN DISTILLATE, MOL Bi = COMPONENT i IN BOTTOMS, MOL BHK = HEAVY KEY COMPONENT IN BOTTOMS, MOL FHK = H E A V Y K E Y C O M P O N E N T IN T H E F E E D , M O L DLK = LIGHT KEY COMPONENT IN DISTILLATE, MOL FLK = L I G H T K E Y C O M P O N E N T IN T H E F E E D , M O L ALPHA(LK)= RELATIVE VOLATILITY OF LIGHT KEY COMPONENT Fi = COMPONENT i IN THE FEED NUM1 = MINIMUM TRAYS AT TOTAL REFLUX DHK = HEAVY KEY COMPONENT IN D I S T I L L A T E , MOL BLK = LIGHT KEY COMPONENT IN BOTTOMS, MOL A,B = CORRELATION CONSTANTS Q = FEED THERMAL CONDITION (RATIO OF LIQUID TO VAPOR FOR THE FEED) RECLK = THE PERCENTAGE RECOVERY OF THE LIGHT KEY COMPONENT RECHK = THE PERCENTAGE RECOVERY OF THE HEAVY KEY COMPONENT FACTOR = F A C T O R F O R T H E R E F L U X R A T I O (i.e. F A C T O R * M R E F ) FEED = THE POSITION OF THE FEED PLATE CHOICE = D E T E R M I N E W H E T H E R F E E D IS E Q U I L I B R I U M CONSTANT OR RELATIVE VOLATILITY. *************************************************************** CHARACTER*5
CHOICE
DIMENSION ALPHA(20), B(20), D(20), F(20), DIMENSION XF(20), XB(20), XD(20) REAL K(20), MB(20), MD(20), NUMI, MREF
PERD(20),
C O M M O N / D A T A I / N I / M , F, K, R E C L K , COMMON/DATA2/THETA, FEED
Q,
OPEN OPEN
(UNIT (UNIT
RECHK,
= 3, F I L E = ' D A T A 7 6 . D A T ' , =I, F I L E = ' P R N ' )
581
KI,
PERB(20)
FACTOR
STATUS='OLD',
ERR=I8)
R E A D T H E C H O I C E O F P A R A M E T E R e.g. R E L A T I V E V O L A T I L I T Y (REL) O R E Q U I L I B R I U M C O N S T A N T (EQUIL). R E A D T H E T O T A L N U M B E R OF C O M P O N E N T S , N U M READ THE FEED AND RELATIVE VOLATILITY OR EQUILIBRIUM CONSTANT, F,K R E A D T H E R E C O V E R I E S OF L I G H T A N D H E A V Y KEYS, R E C L K , R E C H K . R E A D T H E P O S I T I O N OF T H E H E A V Y K E Y C O M P O N E N T , KI. READ THE THERMAL FEED CONDITION, Q READ THE FACTOR FOR THE REFLUX RATIO, FACTOR. READ
(3, 5, E R R = I 9 )
FORMAT IF
(A)
(CHOICE
.EQ.
READ THE TOTAL READ
CHOICE
'REL' NUMBER
(3, *, E R R = I 9 )
.OR. C H O I C E
DO I = i, N U M R E A D (3, *, E R R = I 9 ) E N D DO
F(I),
ELSEIF
'EQUIL'
.EQ.
READ THE TOTAL NUMBER READ
(3, *, E R R = I g )
VOLATILITY
.OR. C H O I C E
OF E A C H C O M P O N E N T .
.EQ.
F(I),
CONSTANT
OF E A C H C O M P O N E N T .
K(I)
READ
RECLK,
COMPONENTS.
RECHK
R E A D T H E P O S I T I O N OF T H E H E A V Y K E Y C O M P O N E N T . R E A D T H E T H E R M A L C O N D I T I O N OF T H E FEED. READ THE FACTOR FOR THE REFLUX RATIO.
(3, *, E R R = I 9 )
KI,
Q, F A C T O R
GO TO i0 18
22
THEN
OF C O M P O N E N T S .
OF THE LIGHT AND HEAVY
READ
'equil')
NUM
READ THE RECOVERIES
(3, *, E R R = I 9 )
THEN
K(I)
READ THE FEED AND THE EQUILIBRIUM DO I = i, N U M R E A D (3, *, E R R = f 9 ) E N D DO ENDIF
'rel')
NUM
READ THE FEED AND THE RELATIVE
(CHOICE
.EQ.
OF C O M P O N E N T S
W R I T E (*, 22) F O R M A T (5X, ' D A T A F I L E D O E S N O T E X I S T ' ) G O T O 999
582
19 23
W R I T E (*, 23) F O R M A T (5X, ' E R R O R M E S S A G E G O T O 999
IN T H E D A T A V A L U E ' )
ARRANGE THE FEEDS AND EQUILIBRIUM CONSTANT/RELATIVE V O L A T I L I T Y IN T H E O R D E R OF D E C R E A S I N G V A L U E
i0
CALL
SORT
(K,
F, NUM)
CHECK WHETHER EQUILIBRIUM CONSTANTS IS C H O S E N W I T H T H E F E E D C O M P O N E N T S
OR RELATIVE
VOLATILITY
IF ( C H O I C E .EQ. 'EQUIL' .OR. C H O I C E .EQ. 'equil') T H E N G O T O 15 E L S E I F ( C H O I C E .EQ. "REL' .OR. C H O I C E .EQ. 'rel') T H E N DO
I = I, N U M ALPHA(I)=K(I)
END DO ENDIF G O TO
25
C A L C U L A T E T H E R E L A T I V E V O L A T I L I T I E S OF T H E C O M P O N E N T S E Q U I L I B R I U M V A L U E S OF T H E L I G H T K E Y A N D H E A V Y K E Y C O M P O N E N T S 15
DO I = i, N U M ALPHA(I)=K(I)/K(KI) END DO CALCULATE
25
THE CORRELATION
CONSTANTS:
AI,BI
AI=ALOGI0((I.0-RECHK)/RECHK) VALI=(RECLK/(I.0-RECLK))*(RECHK/(I.0-RECHK)) BI=ALOGIO(VALI)/ALOGIO(ALPHA(KI-I)) CALCULATE
THE
COMPONENT
MOLES
IN T H E
DISTILLATE
D O I = I, N U M D(I)=((10**AI)*(ALPHA(I)**BI))/(I.0+((10**AI)*(ALPHA(I)**BI))) PERD(I)=D(I)*IO0.0 MD(I)=D(I)*F(I) END DO CALCULATE THE RECOVERY DISTILLATE
OF T H E L I G H T
KEY
COMPONENT
K2=KI-I D(K2)=F(K2)*RECLK CALCULATE
THE
TOTAL
MOLES
IN T H E D I S T I L L A T E
SUMI=O. 0 DO I = 1, N U M
583
IN T H E
ARE:
SUMI=SUMI+MD(I) END
DO
CALCULATE
THE
PERCENTAGE
RECOVERY
IN T H E
BOTTOMS
PRODUCT
DO
I = I, N U M B(I)=I.0/(I.0+((IO**AI)*(ALPHA(I)**BI))) PERB(I)=B(I)*IO0.0 MB(I)=B(I)*F(I) END DO CALCULATE
THE
RECOVERY
OF THE
HEAVY
KEY
COMPONENT
IN T H E
BOTTOMS
B(KI)=F(KI)*RECHK CALCULATE
THE
TOTAL
PRODUCT
IN T H E
BOTTOMS
SUM2=0.0 DO
I = i, N U M SUM2=SUM2+MB(I) END DO CALCULATE
THE
MINIMUM
NUMBER
OF TRAYS
IN T H E
COLUMN
VAL2=(MD(KI-I)/(MD(KI))*(MB(KI)/MB(KI-I))) AMIN=ALOG(VAL2)/(ALOG(ALPHA(KI-I))) RECLK=RECLK*I00.0 RECHK=RECHK*I00.0
CALCULATE
THE
MOLE
FRACTIONS
IN T H E
FEED,DISTILLATE
THETA,
MREF,
AND
BOTTOMS
SUMB=0.0 SUMD=0.0 SUMF=0.0 D O J = 1, N U M S U M B = S U M B + M B (J ) S U M D = S U M D + M D (J ) S U M F = S U M F + F (J ) END DO XB XD XF
DO I = I, N U M ( I )=MB( I ) / S U M B ( I )= M D ( I ) / S U M D ( I )= F ( I ) / S U M F
END
CALL
DO
UNDERW
(NUM,
USE McCORMICK'S CORRELATION AND
Q,
XF,
XD,
EQUATION TO DETERMINE HENCE THE EQUILIBRIUM
584
ALPHA,
KI)
GILLILAND'S GRAPHICAL NUMBER OF STAGES.
REF=FACTOR*MREF X= (R E F - M R E F )/ (REF+I. 0 ) C = 0 . 1 0 5 * A L O G I O (X) +0.44 Y=I. 0- (X**C) N U M I = ( Y + A M I N ) / ( I. O-Y)
USE K I R K B R I D E ' S E M P I R I C A L OF T H E F E E D PLATE.
E Q U A T I O N TO E S T I M A T E THE P O S I T I O N
ZI=(XF(KI)/XF(KI-I)*(SUM2/SUM1)*(XB(KI-I)/XD(KI))**2) CI=0.206*ALOG10(ZI) Z2=10"*CI FEED=(Z2*NUM1)/(I.O+Z2)
*
CALL OUTPUT(NUM,F,ALPHA,PERD,MD,PERB,MB,KI,RECLK,RECHK,AMIN, SUM1,SUM2,MREF,REF,NUM1)
CLOSE CLOSE 999
(3, S T A T U S = ' K E E P ' ) (i)
STOP END
T H I S P R O G R A M C A L C U L A T E S T H E F E E D C O M P O N E N T S IN O R D E R OF D E C R E A S I N G R E L A T I V E V O L A T I L I T Y . **************************************************************** SUBROUTINE
SORT
(X, Y, N)
D I M E N S I O N X(20), Y(20) NI=N-1 DO i0 I=I,NI I1=I+1 DO 20 J = I 1 , N IF(X(I) .GE. X(J)) GO TO 20 ELSE HOLD=X(I) X(I)=X(J) X(J)=HOLD HOLD=Y(I) Y(I)=Y(J) Y(J)=HOLD
20 10
THEN
ENDIF CONTINUE CONTINUE RETURN END **************************************************************** THIS P R O G R A M C A L C U L A T E S THE U N D E R W O O D C O N S T A N T THETA, U S I N G THE BINARY SEARCH METHOD AND THE MINIMUM REFLUX RATIO (i.e. AT AN I N F I N I T E N U M B E R OF PLATES) ****************************************************************
585
S U B R O U T I N E U N D E R W (N, Q, XF, XD, THETA, D I M E N S I O N ALPHA(20), XF(20), XD(20) REAL M R E F , L H S THETAI=ALPHA(KI) THETA2=ALPHA(KI-I)
MREF,
ALPHA,
KI)
DO I0 I=i,20 THETA=0.5*(THETAI+THETA2) LHS=Q-I.0 DO J = i, N LHS=LHS+((ALPHA(J)*XF(J))/(ALPHA(J)-THETA)) END DO IF (LHS .LT. 0.0) THEN THETAI=THETA GO TO i0 ELSEIF (LHS .GT. 0.0) THEN THETA2=THETA GO TO i0 ELSEIF (LHS .EQ. 0.0) THEN GO TO 50 ENDIF i0 50
CONTINUE M R E F = - 1.0 DOK= i, N M R E F = M R E F + ( (A L P H A (K ) *XD (K ) )/ (A L P H A (K )- T H E T A ) ) END DO RETURN END ***************************************************************** THIS P R O G R A M O U T P U T S THE R E S U L T S ON THE S C R E E N ***************************************************************** SUBROUTINE OUTPUT(NUM,F,ALPHA,PERD,MD,PERB,MB,KI,RECLK,RECHK,AMIN, *SUMI,SUM2,MREF,REF,NUMI) D I M E N S I O N F(20), ALPHA(20), PERD(20), REAL MD(20), MB(20), NUMI, M R E F COMMON/DATK2/THETA, FEED
i00
W R I T E (*, i00) FORMAT(25X,'MULTICOMPONENT
ii0
W R I T E (*, ii0) FORMAT(80(IH*))
120 * 130
SYSTEM
PERB(20)
FRACTIONATION')
W R I T E (*, 120) FORMAT(/,IX,'COMPONENT',7X,'FEED',SX,'REL 'DISTILATTE ' , 8 X , ' B O T T O M S ')
VOLATILITY',3X,
W R I T E (*, 130) FORMAT(IX,'NUMBER',9X,'MOLES',7X,'ALPHA',IOX,'%',SX,,MOLES,,8X, *'%',6X,'MOLES')
586
140
W R I T E (*, 140) F O R M A T (80(IH-55
150 i0
W R I T E (*, 150) I , F ( I ) , A L P H A ( I ) , P E R D ( I ) , M D ( I ) , P E R B ( I ) , M B ( I ) FORMAT(3X,I2,7X,F9.4,3X,F9.4,3X,F9.4,2X,F9.4,3X,F9.4,2X,F9.4) CONTINUE
160
W R I T E (*, 1605 F O R M A T (80(IH-))
170
W R I T E (*, 170) FORMAT(3X,'THE
DO 10 I=I,NUM
K1 HEAVY
KEY C O M P O N E N T
NUMBER
IS:',T60,I2)
*
W R I T E (*, 180) R E C L K FORMAT(3X,'PERCENTAGE 3X,'IN THE D I S T I L L A T E
*
W R I T E (*, 190) R E C H K F O R M A T ( 3 X , ' P E R C E N T A G E R E C O V E R Y OF THE HEAVY KEY C O M P O N E N T ' , / , 3X,'IN THE B O T T O M S IS (%):',T60,F7.25
180
190
R E C O V E R Y OF THE L I G H T KEY COMPONENT',/, IS (%):',T60,F7.2)
WRITE (*, 200) A M I N FORMAT(3X,'MINIMUM NUMBER
200
210 *
OF STAGES
IS:',T60,F9.1)
W R I T E (*, 210) SUM1, SUM2 F O R M A T ( ~ X , ' T O T A L M O L E S IN THE D I S T I L L A T E I S : ' , T 6 0 , F 9 . 4 , / , 3 X , ' T O T A L M O L E S IN T H E B O T T O M S IS:',T60,F9.45
220
W R I T E (*, 2205 T H E T A FORMAT(3X,'UNDERWOOD CONSTANT:',T60,F9.4)
230
W R I T E (*, 230) M R E F FORMAT(3X,'MINIMUM REFLUX
240
W R I T E (*, 240) REF FORMAT(3X,'ACTUAL REFLUX RATIO:',T60,F9.4)
250
W R I T E (*, 250) NUM1 F O R M A T ( 3 X , ' N U M B E R OF T H E O R E T I C A L
260
W R I T E (*, 2605 FORMAT(3X,'THE
270
W R I T E (*, 270) F O R M A T (IH ,80(IH-)) OPEN *
(UNIT=l,
FEED POSITION
RATIO:',T60,F9.45
PLATES
IN THE C O L U M N : ' , T 6 0 , F 9 . 1 )
OF THE FEED PLATE
IS:',T60,F4.1)
FILE='LPTI')
CALL PAPER (NUM,F,ALPHA,PERD,MD,PERB,MB,KI,RECLK,RECHK,AMIN, SUMI,SUM2,MREF,REF,NUMI) CLOSE (i) RETURN END ************************************************************* THIS P R O G R A M P R I N T S THE R E S U L T S ONTO A P R I N T E R
587
*
SUBROUTINE P A P E R ( N U M , F , A L P H A , P E R D , M D , P E R B , M B , K 1 , R E C L K , R E C H K , AMIN,SUM1,SUM2,MREF,REF,NUM1) DIMENSION F(20), ALPHA(20), PERD(20), REAL MD(20), MB(20), MREF, NUMI COMMON/DATA2/THETA,
FEED
WRITE (1, 280) FORMAT (///,25X,'MULTICOMPONENT
280 *
PERB(20)
SYSTEM F R A C T I O N A T I O N ' , / , 1 H
,
80(1H*))
*
WRITE (I, 290) FORMAT (/, 1 X , ' C O M P O N E N T ' , 7 X , ' F E E D ' , 5 X , ' R E L 'DISTILLATE ', 8X, 'BOTTOMS ')
*
WRITE (1, 300) FORMAT ( 1 X , ' N U M B E R ' , 9 X , ' M O L E S ' , 7 X , ' A L P H A ' , I O X , ' % ' , 8 X , ' M O L E S ' , 8 X , '%',6X,'MOLES')
290
300
VOLATILITY',
3X,
WRITE (1, 310) FORMAT ( 8 0 ( 1 H - ) )
310
DO i0 1 = i ,NUM WRITE (I, 320) I, F(I), ALPHA(I), PERD(I), MD(I), PERB(I), MB(I) FORMAT ( 3 X , I 2 , 7 X , F 9 . 4 , 3 X , F 9 . 4 , 3 X , F 9 . 4 , 2 X , F 9 . 4 , 3 X , F 9 . 4 , 2 X , F 9 . 4 )
320 i0
CONTINUE
330
WRITE (i, 330) FORMAT (80(IH-))
340
WRITE (i, 340) K1 FORMAT (3X,'THE HEAVY KEY COMPONENT NUMBER:',
T60,
I2)
*
WRITE (i, 350) RECLK FORMAT (3X,'PERCENTAGE RECOVERY OF THE LIGHT KEY COMPONENT',/, 3X,'IN THE DISTILLATE (%):', T60, F7.2)
*
WRITE (i, 360) RECHK FORMAT (3X,'PERCENTAGE RECOVERY OF THE HEAVY KEY COMPONENT',/, 3X,'IN THE BOTTOMS (%):', T60, F7.2)
350
360
WRITE (I, 370) AMIN FORMAT (3X,'MINIMUM NUMBER OF STAGES:',
370 380 *
T60,
F9.1)
WRITE (I, 380) SUM1, SUM2 FORMAT (3X,'TOTAL MOLES IN THE DISTILLATE:', T60, F9.4,/, 3X,'TOTAL MOLES IN THE BOTTOMS:', T60, F9.4)
390
WRITE (i, 3907 THETA FORMAT (3X,'UNDERWOOD CONSTANT:',
400
WRITE (i, 400) MREF FORMAT (3X,'MINIMUM REFLUX RATIO:', WRITE
(1, 410) REF
588
T60,
F9.4)
T60, F9.4)
410
FORMAT
420
W R I T E (i, 420) NUMI F O R M A T ( 3 X , ' N U M B E R OF T H E O R E T I C A L F9.1)
(3X,'ACTUAL
R E F L U X RATIO:',
430
W R I T E (1, 430) FEED FORMAT (3X,'THE P O S I T I O N
440
W R I T E (I, 440) F O R M A T (80 ( IH- ) )
FORM FEED THE P R I N T I N G
T60,
PLATES
F9.4)
IN THE COLUMN:' , T 6 0 ,
OF THE FEED PLATE:',
PAPER TOTHE
W R I T E (i, *) CHAR(12) RETURN
END
589
T60,
F9.1)
T O P OF N E X T PAGE.
CHAPTER 8
Heat Transfer INTRODUCTION The increasing cost of energy in recent years has resulted in increased attention to conservation and efficient energy management. Other types of technology, for example, pinch technology, have been employed in the energy integration of process plants and of heat exchangers in particular. This has often resulted in an improved performance of the plants at reduced operational costs. Various types of forced convective heat transfer equipment are used in the chemical process industries. These range from the simple shell and tube exchangers, double pipe, finned tube and tubular air cooled exchangers to the plate types, spiral and compact heat exchangers. Table 8-1 lists the major types of heat exchanger [ 1]. BASIC THEORY Heat is transferred from points of high temperature to points of lower temperature by direct contact of particles of matter or the emission and absorption of radiant energy. The three classifications of heat transfer are: Conduction. The transfer of heat from one body to another by physical contact. The rate of heat flow by conduction is proportional to the area available for the heat transfer and the temperature gradient in the direction of the heat flow path. The rate of heat flow in a given direction can be expressed as: dQ = - k A dT dO dx
(8-1) 590
Table 8-1 Summary of Types of Heat Exchangers
Type
Major Characteristics
Application
Shell and tube
Bundle of tubes encased in a cylindrical shell.
Always the first type exchanger to consider.
Air cooled heat exchanger
Rectangular tube bundles mounted on frame, with air used as the cooling medium
Economic where cost of cooling water is high.
Double pipe
Pipe within a pipe; inner pipe may be finned or plain.
For small units.
Extended surface
Externally finned tube.
Services where the outside tube resistance is appreciably greater than the inside resistance. Also used in debottlenecking existing units.
Brazed plate fin
Series of plates separated by corrugated fins.
Cryogenic services: all fluids must be clean.
Spiral wound
Spirally wound tube coils within a shell
Cryogenic services: fluids must be clean.
Scrapped surface
Pipe within a pipe, with rotating blades scraping the inside walls of the inner pipe.
Crystallization cooling applications.
Bayonet tube
Tube element consists of an outer and inner tube.
Useful for high temperature difference between shell and tube fluids.
Falling film coolers
Vertical units using a thin film of water in tubes.
Special cooling applications.
Barometric condenser
Direct contact of water and vapor.
Where mutual solubilities of water and process fluid permit.
Cascade coolers
Cooling water flows over series of tubes.
Special cooling applications for very corrosive process fluids.
Impervious graphite
Constructed of graphite for corrosion protection.
Used in very highly corrosive heat exchange services.
Source: Cheremisinoff [1]
591
Fortran Programs for Chemical Process Design
592
where Q = amount of heat transferred in time O hr, Btu k = the thermal conductivity, or p r o p o r t i o n a l i t y constant, B tu/(hr) (ft2)( ~F/ft) A = area of heat transfer perpendicular to direction of heat flOW, ft 2 T = temperature, ~ x = length of conduction path in direction of heat flow, ft Convection. The transfer of heat by the mixing or movements of fluids or fluids with a solid. Mixing may occur as a result of density difference alone, as in natural convection. Alternatively, mechanically induced agitation may produce forced convection, as in turbulent flow in a heat exchanger tube, or to the heat transfer fluid in the jacket of an agitated vessel. The rate of heat transfer is:
dQ
= hAAt
(8-2)
de where h = the heat transfer coefficient or the proportionality constant, which is a function of the type of agitation, the degree of turbulence, and the nature of the fluid. For the steady state condition, Equation 8-2 becomes q - hAAt
(8-3)
Radiation. The transfer of heat by the absorption of radiant energy, transformed into heat in surrounding bodies. The rate at which radiant heat energy is emitted from a source is:
dQ
= (ysAT 4
(8-4)
dO where ( s = A T-
Stefan-Boltzmann constant 0.1713 x 10 -8 B tu/hrftZ(~ emissivity of surface exposed surface area of heat transfer, ft 2 absolute temperature, ~
The most common applications of heat transfer are a combination of one or more of these classifications. Also in many processes where a phase change occurs, that is, condensation, boiling, and evaporation, other physical phenomena play an important role in limiting the achievable heat transfer rate. However, only the most c o m m o n , forced
Heat Transfer
593
convective heat transfer, is considered here as well as an illustration of conductive heat transfer. The procedures for the design of heat exchangers vary with the type of problem, but are often repetitive and tedious. An increasing number of software packages have been developed, for example, Heat Transfer and Fluid Flow Services (HTFS) and Heat Transfer Research Inc. (HTRI). These programs are available to the member companies. Two procedures are used in the design of heat exchangers. They are the rating method and the optimization design method.
The Rating Method In the rating method, the designer assumes the form of an exchanger and then develops computations to determine whether the exchanger could handle the process requirements under known conditions. If the exchanger does not satisfy the requirements, a different exchanger is assumed, and the calculations repeated until a satisfactory design is obtained. For an example, for any given set of process requirements, the designer could assume an exchanger constructed of specific materials and having a known tube size, number of tubes, tube spacing, and passes, a shell size, baffling and number of passes (other more detailed assumptions such as removable bundle and floating head arrangements and end constructions). In addition, there are six process variables: 9 9 9 9 9 9
inlet temperature of hot stream outlet temperature of hot stream inlet temperature of cold stream outlet temperature of hot stream flow rate of hot stream flow rate of cold stream
The designer will proceed by checking whether the energy balance calculations between the fluids are consistent. If there is a large deviation (for example 10%), the hot fluid duty is used for the design calculations. Further calculations could be the required heat transfer area, lengths, pressure drops on either side (AP), and an overall heat transfer coefficient. Repeated trials may be required to achieve an accurate overall heat transfer coefficient. If the results of the final design show that (allowing for any accumulations of scale during service between cleaning) the assumed exchanger is of reasonable dimensions, of a low cost, and will create acceptable pressure drops, the equipment is considered adequate for the duty.
594
Fortran Programs for Chemical Process Design
Optimization Design Method This approach is based upon optimum economic conditions. By choosing various conditions, the designer can arrive at a final design giving the least total cost for fixed charges and operation. Any increase in the fluid velocity on either side may result in a larger heat transfer coefficient, and consequently require a smaller heat transfer area and exchanger cost for a given rate of heat transfer. However, increased fluid velocity will result in a greater pressure drop and pumping costs. The optimum economic design occurs at the conditions where the total cost is at a minimum. This method minimizes the sum of the variable annual costs for the exchanger and its operation. In general, the design of a heat exchanger involves the following steps: 1. Determine the flow rates and the rate of heat transfer required for given conditions. 2. Decide on the type of heat exchanger (e.g., 1:1, 1:2 type, or 2:4 type) to be used. Assume permissible scale factors and show the basic equipment specifications. 3. Calculate the fluid velocities of the film coefficients and the overall heat transfer coefficient. 4. Calculate the mean temperature difference driving force. 5. Determine the required area of heat transfer and the exchanger dimensions. 6. Evaluate the results to see that all dimensions, costs, APs, and other design parameters are satisfactory. 7. If the results in Step 6 show that the exchanger is not satisfactory, the specifications given in Step 2 are inadequate. Choose new specifications and repeat Steps 3 through 7 until a satisfactory design is achieved. This chapter presents rating calculations for the shell and tube heat exchanger, procedures for the design of double pipe or longitudinal finned tube heat exchanger, air cooler, heat tracer requirements for pipelines, and heat transfer in batch reactors.
LMTD IN SHELL AND TUBE HEAT EXCHANGERS In a shell and tube heat exchanger, the rate of heat transfer from the hot to the cold fluid is directly proportional to the temperature difference between the two fluids. For the rating of heat exchangers, it is
Heat Transfer
595
important to determine the mean temperature difference based on the hot and cold fluids' inlet and outlet temperatures. The heat transfer process is generally more efficient where there is countercurrent flow compared to co-current flow. The relative direction of the fluids affects the value of the log mean temperature difference (LMTD). A further advantage of approaching countercurrent flow, except where one fluid is isothermal (that is, constant temperature) is that in co-current flow, the hot fluid cannot be cooled below the cold fluid outlet temperature, so the ability to recover heat is limited. There are a few cases where co-current flow is preferred. For example, when cooling a viscous fluid, a higher heat transfer coefficient may be obtained by a rapid initial reduction in viscosity. Co-current may also be favorable if the temperature of the warmer fluid could otherwise be reduced to its freezing point. In the majority of industrial operations, higher velocities, shorter tubes, and a more economical exchanger can be achieved with a multipass flow design as shown in Figure 8-1. The flow pattern is however part countercurrent and part co-current. Therefore, the mean temperature difference lies between the countercurrent and co-current log mean temperature differences (LMTD). The mean temperature differences for the
Shell inlet
7"1
t2
t 13
7"2
.......
s
. . . .
~.="
"1
1',,
Tube inlet
Figure 8-1. Flow patterns in a multipass exchanger (1:2 floating head as shown).
596
Fortran Programs for Chemical Process Design
various types of crossflow exchanger are also less than for countercurrent flow designs, but greater than for co-current flow. In addition, the relationships between terminal temperatures and mean temperature difference restrict the performance of each type of exchanger. A correction factor, F, is defined to convert the LMTD to the corrected mean temperature difference (CMTD). For true countercurrent flow, F = 1, and as more co-current flow is introduced, the factor is reduced and the efficiency of the exchanger drops. A low value of F requires a large surface requirement for a given heat load. Performance can be enhanced by using several shells in series or by increasing the number of passes in the same shell. The lower limit of practical efficiency is in the range F = 0.75 to 0.8. The lowest F value is for one shell when rating shell and tube exchangers in series. This value is raised as the number of shells increases, and the flow more nearly resembles countercurrent flow. For the design of shell and tube exchangers, the minimum number of shells that will raise the F value above the chosen minimum of 0.75 to 0.8 is calculated. Here, a computer program is written by setting the minimum correction factor to 0.75. The program automatically increases the number of shells until the value of F exceeds 0.75 or some other preset value. Bowman et al. [2] simplified the calculations required to determine the mean temperature difference in a shell and tube exchanger. Figure 8-2 shows some of the major types of the shell and tube heat exchanger construction, and Figures 8-3 to 8-6 illustrate correction factor plots for various shell and tube exchangers. The equations given by Bowman et al. [2] are used to determine the corrected LMTD.
HeatExchangerDesign The thermal rating of heat exchanger equipment requires the computation of the LMTD between the shell and tube fluids' temperatures. This is defined by LMTD - At~ - At 2
(8-5)
In( Atj where for countercurrent flow Atl = the larger terminal temperature difference, T 1-
t 2
(text continued on page 602)
FRONT END
RI~R
SHELL TYPES
STATIONARY HEAD TYPI~
END
HEAD TYPF.S
IT FIXED TUBESHEET UKE "A ~ STATIONARY HEAD
ONE PASS SHELL
CHANNEL AND REMOVABLE COVER FIXED TUBESHEET LIKE "B" STATIONARY HEAD
T w o PASS SHELL WITH LONGITUDINAL BAFFLE
f.'•-'l•.lq
FIXED TUBESHEET LIKE *"I,4" STATIONARY HEAD SPLIT FLOW
BONNET (Ih"I'EGRAL COVER) , ,,
~1 ~
T
.k
.1_
-I~ OUTSIDE PACKED FLOATING HEAD
DOUBLE SPLIT FLOW o.=
_~1.1C4_
CHANNEL INTEGRAL WITH TUBESHEET AND REMOVABLE COVER
FLOATING HEAD WITH BACKING DEVICE DIVIDED FLOW
T
T CHANNEL INTEGRAL WITH TUBE5J-IEET AND REMOVABLE COVER
i
--
. . . .
"_l
o
PULL THROUGH FLOATING HEAD
!
"i KETTLE TYPE REBOILER U.TUBE BUNDLE
.
SPECIAL HIGH PRESSURE CLOSURE
~,.,
i!
• CROSS FLOW'
EXTERNALLY SEALED FLOATING TUBESHEET
Figure 8-2. Tubular Exchanger Manufacturers Association (TEMA) classification and terminology for heat exchangers. TEMA heat exchanger head types.
597
Figure 8-3. LMTD correction factor 9 1978 Tubular Exchanger ManufacturersAssociation.
598
Figure 8-4. LMTD correction factor.
599
Figure 8-5. LMTD correction factor.
600
Figure 8-6. LMTD correction factor.
601
Fortran Programs for Chemical Process Design
602
(text continued from page 596)
and At 2 = the smaller terminal temperature difference,
T 2
-tl
For co-current flow Atj = T I - t~
and At 2 =
T2 - t 2
The equations used to calculate F are based on the following assumptions: 9 The overall heat transfer coefficient, U, is constant through the heat exchanger. 9 The rate of flow of each fluid is constant. 9 The specific heat of each fluid is constant. 9 There is no condensation of vapor or boiling of liquid in that part of the exchanger considered. 9 Heat losses are negligible. 9 There is equal heat transfer surface in each pass. 9 The temperature of the shell side fluid in any shell side pass is uniform over any cross section. Figure 8-7 shows typical temperature profiles of two fluids in true countercurrent flow through a 1-1 exchanger. p
=
t~
t 2 --
(8-6)
T~ - tj
R -
TI - T2 t2 -
(8-7)
t~
For an exchanger with N shell passes, Bowman et al. [2] developed a general solution for the correction factor,
(
~ R 2 + 1)ln<
F -
R-1
(1- Px) } (1- RPx)
+
+l}
( 2 / P x ) - l - R - ~ 2 +1
(8-8)
Heat Transfer
603
Inlet T1 Temperature
'
2At 2
Outlet ~
Inlet Cold Fluid
Tube length Cold fluid in, -[tl,. Hot fluid in,
9
I
%
I
I
I
T2
t 2
Figure 8-7. Counter-current flow in a 1-1 exchanger.
where
p
=
1-I RP- 1]~/N P- 1 R-I RP-P-111'/N
(8-9)
N is the total number of shell passes, that is, the product of shell passes per shell and the number of units in series. Solving for N by repetitive trial and error with a minimum desired F, the minimum required number of shell passes can be determined. If R = 1, Equation 8-9 becomes indeterminate, which reduces to P~ =
P ( N - NP + P)
Equation 8-8 then becomes
(8-10)
Fortran Programs for Chemical Process Design
604
Px~/R 2 +1 F
1 -- Px
m
(8-11)
l n { ( 2 / P ~ ) - 1 - R + ~/R2 + 1 } ( 2 / P ~ ) - 1 - R - CR 2 + 1 The corrected mean temperature difference (CMTD) becomes CMTD - (F)(LMTD)
(8-12)
Nomenclature FLMTD NT~ T2 t~ t2 -
correction factor log mean temperature difference,~ number of series exchanger shells required hot fluid inlet temperature, ~ hot fluid outlet temperature, ~ cold fluid inlet temperature, ~ cold fluid outlet temperature, ~
Shell and Tube Heat Exchanger Design The various designs of heat exchangers are well illustrated in standard texts and in the literature [3,4,5,6,7,8,9]. Recently, Pooley et al. [ 10] developed algorithms for both shell and tube exchangers and compact exchangers. Their algorithms rely on the allowable pressure drops of both of the streams being contacted. The rating of an exchanger involves using the equations to calculate the suitability of an existing exchanger for given process conditions. The following steps are used for rating a shell and tube exchanger where there is no phase of change. The process conditions required are
Hot fluid"
T~, T2, W, C, s, ~ k, Rd, AP
Cold fluid: t~, t 2, w, c, s, ~ k, R d, AP The data required are S H E L L SIDE
T U B E SIDE
ID Baffle space passes
Number and length ID, OD, B WG, and pitch passes
Heat Transfer
605
From the process conditions, the heat load, Q, is (1) Q - WC(T,
-
T2)
-
wc(t
2 -
t,)
(8-13)
(2) The true temperature difference, At (assuming a number of tube passes) is" LMTD - (T, - t 2 )
--
(T 2 - t I )
Approach factor, F c, is determined from p
R
t 2 -
t~
TI
-
t I
Tl
-- T 2
=
-
t 2 -
(8-6)
(8-7)
t I
and Figures 8-3 to 8-6. Alternatively, F c can be calculated from Equation 8-8 and Equation 8-11. (8-15)
(3) At - (LMTD)(F c)
Tube Side (4) Flow area a t, ft2: ( no. of tubes)( flow area/tube) a t
~--
no. of pases N t 9 a' t
ft 2
(8-16)
144n (5) Mass velocity, G t, is G ~ -)W ( , a t
lb ft 2 . hr
(8-17)
(6) Reynolds number, Re t, is Re
t =
(ID/12).
G t
(8-18)
606
Fortran Programs for Chemical Process Design
where ~ t - 2 . 4 2 x c P ( f l . l b )hr. (7) Prandtl number, Pq, is Pr t = clLt k
(8-19)
(8) The heat transfer coefficient, h~, for viscous flow (Re t < 2100) as given by Sieder and Tate's correlation [ 11 ]:
/ /'/3/
h~.ID = 1.86 ID.G k g
cg --k
'J3/ )0'4
ID -L
g ~-w
(8-20)
where Nu = Nusselt number = h~.ID/k ID = inside tube diameter, ft Equation 8-20 can be expressed as: h i . ID
io 033/ /0.,4
= 1.86 Re~ 33 Pr~ 33 -L-
~ww
(8-21)
For turbulent flow (Re t > 10,000), h i, can be expressed as: h i . ID
- C( ID.~t.Gt
3o.8
)o.33 )o. ("-k--ClLt (~w~ 14
(8-22)
where C = 0.021 for gases C = 0.023 for n0n-viscous liquids C = 0.027 for viscous liquids For applications in turbulent flow, the viscosity ratio can be omitted, and Equation 8-22 reduces to: h~-C.k
12) 0.8 i-D Re~
for 0.7 < Pr~ < 17,000
prO.33
(8-23)
Heat
Transfer
607
Figure 8-8 shows the heat transfer coefficient of fluids inside tubes. The heat transfer coefficient based on the outside of the tube, h~o, is:
('D /
h,o - h, ~
(8-24)
(9) Recently, Hedrick [12] developed a new correlation for the heat transfer coefficient in the transition region between laminar and turbulent flow. The equations for determining the inside film coefficient and based on the outside tube diameter, h~o, are:
E 33//~
h,o-/'61 oo)B,
(8-25)
where
B~
-
(-3.08
3. 0 7 5 X
+
+
0.32567X 2
0 . 0 2 1 8 5 X 3)
-
( 10.ID)['-(x/'o~'~-~"] > •
L
100
i I
9
,
i
i
~i~li
I
, I I I~t
i
i
t ~,
;
" i
,
~
L
I
;
',
; ;
i
I
I i , ~ltll
'
'*
i
i
/
i I
t I I tlt~
IL D i hD, m
II1
r
t
i
i i i if I I 1 I !
,,,,I
,
~
1'
t I i i L,.,,-,''''~'~ ~ " - ,~/~~ , ~/ _ _~ , ~"J/~, , ~' l~,J"'~ L~ 1 / r~
" ~ ~,,,,,~_ ~ ~'~'S~'/'~ I l
, /,#
ii#1' ~"/ill
W//
I i i ~',,I :
~
, t
h = Coefficient
Figure
Of Heat T ....
k = Thermal Conductivity, L = Length, p = Vi. . . . ity At A. . . . g e l
8-8. Coefficient
I
~;,
pw=Vi
....
ltl
,I
Feet
Ib.l(hr.)(sq.ft.) BTUl(hr.)(sq.ft.)(~ BTUl(hr.)(sq.ft.)(~
fer,
Feet Fluid Temperature,
ityAtTube-WellTemperat
....
Ib./(hr.)(ft.) Ib./(hr.)(ft.)
I 0,000 of h e a t t r a n s f e r
,
BTUI(Ib)(~
c = Specific Heat, D~= I n s i d e T u b e D i a m e t e r , G~= M a s s V e l o c i t y I n s i d e Tube,
1,000
100
' "1 1 0 0
i
' ii
~ I i ii!i./
......
i
,
;/
t t I iii
'
~" ' '
i i I fill
fluids inside tubes.
I O0000
608
FortranPrograms for Chemical Process Design
and Re t X
l, 000
Simplified Equations For common gases, Equation 8-23 can be simplified to give the approximate equation, 0. 014CpG~ h i --
s
(8-26)
(ID/12) ~
Similarly for water at ordinary temperature and pressure, h i -
150(1 + 0 011tb)V~ 8 9 ID 0.2
(8-27)
where Cp = heat capacity of fluid, Btu/lb~ ID = tube inside diameter, inch G t = mass velocity inside tube, lb/ftZhr t b = average (i.e., bulk) temperature of water, ~ vt~ velocity of water, ft/sec
Total Pressure Drop, APT (10) From Re~, determine the friction factor from Figure 8-9. Using the regression method in chapter one of the text, for Re t _< 1000, the friction factor correlation in Figure 8-9 can be approximated by 0.45 ft
(8-28)
ReO.9853
similarly, If Re, > 1000, the friction factor is approximated by 0.0028 ft
---
r~
(8-29)
0 2514
Ke t 9
(11) The fluid velocity, Vt =
Gt 3600. p
Vt, is: (8-30)
(3
8
0
o"
-
0
o
+I
71 I1
I1 II 1t_
!
[
!t I! i
i!
.
~
•
/
.
.
'
.
IJ
1
:
.
.
/:
.
'
t
.
.
L
,i I i ]
2
+
i
!
{ ',
i
+
i
i
I I
II
+
k'
/
,
_ ~
•
,
i
1
i
+ '
I ! I I
/. . . . . . ~ i
~
t1-'"
It
_
I
'
i
r
'
./ ....
_
. . . . . . . . . . . .
........
,
+
,
J
ilL.,
,
Ill,,]
E i
t ~
/
I
~
~
!
r
I
+,P
.....
. . . . . . . .
'+''
t
i
~
!+
++
i+
Jj
L L
tl
...1
1
,
~ J
'k
1t
+ .
I
~
I
! ! ! ! - !
I
I
!
....
:
I
• I
'
tJ II
+ . . . . .
i i
....
.Ii
~
'
+
'
11 I I
11 II
,, 11 il JJ__J
II
.IL''
~
ill +++.,.:" Ill
I
t~l~ "q
11 LSIJ'
LJ_ ...... . o
',Ul.'b+,i / 11 ,;bll ,.,i t
+ i
+
i I I 1
4' 1'4"
I+p,
.,
Jill+
ill!
"1
i
!
t
,
I +'
I
i I i t
i
I
I
I
!
I
I
M
'
I
R
i,,,, +tt
, I
'
'+
.....
'
I
'
t
I
•
+
'
'
4
'
+
+
+
I
'
I
i
I
t
'
....
I
,
I i
i
~!: !:
i i¸
<,.D ..,.9,o
~> "F-
I>
610
FortranPrograms for Chemical Process Design
(12) Tube pressure drop, AP~, psi
AP t =
where
f t . G t 2 . L n9
(8-31)
2gp(ID/12)
lb/ft2.s g - acceleration due to gravity, 32.17
G t -
AP t can be expressed as:
Alternatively,
f~.G~.L.n AP t =
ft/sec 2
5.22 x 10J~ (ID/12). s. ~)~
where G~ = s= L = n=
(8-32)
lb/ftZhr and ~)~= bt/~ = 1 specific gravity length of tube, ft number of tube passes
(13) The pressure drop of return losses, psi using Frank's [13] correlation is"
2 AP~ - K. n. p. V~ 2g(144)
(8-33)
where K is the number of velocity heads loss per tube pass, where K - 2.5 (14) The pressure loss in both nozzles can be estimated from
n
ANn - l ' 5 p -~g
1 )
1-~
(8-34)
(15) Total pressure drop AP T, psi AP T - AP t + AP~ + AP n
(8-35)
If AP, is unacceptable, it is necessary to assume a new pass arrangement and repeat the calculations. The heat transfer coefficient of the shell and tube heat exchanger is only acceptable if the design is within limits of the allowable pressure drop for the streams being heated or cooled. The selection of the optimum allowable pressure drop for an exchanger is a function of the overall process design. Pressure drop calculations for more complex geometries of shell and tube exchangers, and for plate and spiral plate exchangers, are given by
Heat Transfer
611
Sandler and Luckiewicz [ 14]. The acceptable range of pressure drops in a heat exchanger depends on the system operating pressure. Table 8-2 shows typical pressure drop ranges. For high pressure drop design, fluid velocity may be the more limiting criterion, but a liquid velocity exceeding 15 ft/s can result in erosion-corrosion in an exchanger.
Shell Side (1) Equivalent diameter, D e, is calculated as follows" Square pitch" D e =
4 x free area wetted perimeter
De __ 4(P 2 - n. OD 2/4) ,
inch
(8-36)
n. OD Triangular pitch" De-(
1 72p2) -0 O 0. n..D5 -5~" OD2 .
(8-37)
Clearance, C, between tubes is" C - PT -- OD
(8-38)
Tube Arrangement Tubes can be arranged in triangular, square, or rotated square pitch. Triangular tube layouts give better shell side heat transfer coefficients and provide more surface area for a given shell diameter. Alternatively, square pitch or rotated square pitch layouts are used when mechanical Table 8-2 Acceptable Pressure Drop Range for Shell and Tube Heat Exchanger SYSTEM PRESSURE
PRESSURE DROP RANGE
Vacuum
5-10% of absolute system pressure.
1-10 psig
0.5-5 psi.
> 10 psig
5 psi - 50% of system pressure.
Fortran Programs for Chemical Process Design
612
cleaning of the outside of the tube is required. Widely spaced triangular patterns also allow for better cleaning. Both types of square pitches result in less shell-side turbulence and give low pressure drops, but lower heat transfer coefficients than triangular pitch. Tables 8-3 to 8-10 show estimated tube counts for different square or triangular pitch arrangements. Figure 8-10 shows the tube layouts. (2) Flow area a~ (assuming a plausible baffle spacing for the pressure drop allowed), is: Table 8-3 Tube Count for 3/8-in. OD Tubes on 13/16-in. A Pitch Tube C o u n t for s/o in. OD Tubes on 13/1e-in. A Pitch
Shell ID in.
5.047 6.065 7.981 10.02 12.00 13.25 15.25 17.25 19.25 21.25 23.25 25.00 27.00 29.00 31.00 33.00 35.00
1
22 37 68 110 170 212 283 364 454 562 668
TEMA Type L or M Fixed Tubesheet No. of Passes 2 4
20 30 66 106 164 196 270 348 440 554 646
6
16 28 60 96 148 188 252 332 420 524 612
TEMA Type P Outside Packed Floating Head No. of Passes 1 2 4 19 18 12 31 26 24 61 52 48 104 98 84 151 142 128 178 168 156 241 232 220 316 298 292 396 388 352 490 484 456 588 570 548
808
6
1 19 31 56 96 151 187 258 336 421 526 608
TEMA Type S Inside Floating Head No. of Passes 2 4 14 12 26 16 52 44 90 76 138 128 184 160 242 224 326 304 412 392 502 480 598 556
922
902
868
812
764
868
836
804
1230
1212
1172
1106
1 0 9 2 1040
1152
1124
1088
1590
1560
1516
1438
1430
1496
1468
1424
1336
TEMA Type U
6
2
U-Tube No. of Passes 4 6
8
Tube C o u n t for 5/a in. OD Tubes on 7/8 in. /~ Pitch
Shell ID in.
5.047 6.065 7.981 10.02 12.00 13.25 15.25 17.25 19.25 21.25 23.25 25.00 27.00 29.00 31.00 33.00 35.00
1
TEMA Type L or M Fixed Tubesheet
TEMA Type P Outside Packed Floating Head
TEMA Type S Inside Floating Head
TEMA Type U
No. of Passes 2 4
No. of Passes 2 4
No. of Passes 2 4
No. of Passes 4 6
6
1
6
1
22 31 61 96 151 187 241 313 396 482 568
18 30 52 94 138 176 232 302 384 472 554
16 24 48 80 132 168 224 292 352 456 536
19 26 55 88 130 151 206 270 336 418 506
14 26 48 82 124 148 196 266 334 416 492
12 16 44 76 112 132 184 252 312 396 472
14 22 51 85 130 163 216 288 358 450 526
14 20 48 76 120 152 214 282 350 436 506
12 16 40 72 112 144 196 264 340 416 484
792
780
752
704
700
660
724
720
696
1062
1030
1008
946
930
896
994
978
948
1356
1346
1304
1234
1220
1180
1288
1 2 5 2 1220
Courtesy of Tubular Exchanger Manufacturers Association (TEMA ).
U-Tube 6
2
8
Heat Transfer
a, =
ID.C.B
,
144. PT
ft 2
613
(8-39)
(3) Mass velocity, G~ is"
o wa~
lib / ftJihr
(8-40)
Table 8-4 Tube Count for 5/8-in. OD Tubes on 7/8-in. D Pitch Tube C o u n t for sis-in. OD Tubes on 7/a-in. [] Pitch
Shell ID in. 5.047 6.065 7.981 10.02 12.00 13.25 15.25 17.25 19.25 21.25 23.25 25.00 27.00 29.00 31.00 33.00 35.00
1 21 26 52 89 128 158 213 277 344 420 502
TEMA Type L or M Fixed Tubesheet No. of Passes 2 4 16 16 26 24 52 52 82 80 124 120 158 148 208 208 266 264 332 336 404 400 476 488
6
TEMA Type P Outside Packed Floating Head No. of Passes 1 2 4 13 12 12 22 22 16 45 44 44 76 76 68 109 104 92 137 128 120 177 176 164 241 236 220 293 284 284 366 364 360 436 432 432
6
1 12 21 45 74 109 138 188 246 316 394 456
TEMA Type S Inside Floating Head No. of Passes 2 4 12 12 16 16 38 32 70 68 92 88 136 128 184 176 244 240 308 304 388 384 448 444
694
668
664
612
608
608
640
636
624
922
910
908
828
812
812
862
848
840
1181
1166
1160
1070
1064
1048
1122
TEMA Type U
6
U-Tube No. of Passes 2 4
6
1 1 1 2 1100
Tube Count for a/4-in. OD Tubes on 1s/Is-in. A Pitch
Shell ID in. 5.047 6.065 7.981 10.02 12.00 13.25 15.25 17.25 19.25 21.25 23.25 25.00 27.00 29.00 31.00 33.00 35.00 37.00 39.00 42.00 45.00 48.00 51.00 54.00 60.00
1 19 27 55 85 126 151 206 268 340 416 499 576 675 790 896 1018 1166 1307 1464 1688 1943 2229 2513 2823 3527
TEMA Type L or M Fixed Tubesheet No. of Passes 2 4 14 12 26 20 48 40 76 72 118 104 148 140 196 180 266 240 330 320 408 392 480 460 558 530 661 632 773 736 875 858 1011 976 1 1 3 7 1098 1 2 7 7 1242 1 4 2 5 1386 1669 1618 1 9 1 2 1878 2189 2134 2489 2432 2792 2752 3477 3414
Courtesy of TEMA.
6
18 38 68 98 134 176 230 302 384 456 516 596 720
TEMA Type P Outside Packed Floating Head No. of Passes 1 2 4 14 14 8 22 18 16 42 40 36 74 72 60 109 106 96 130 124 112 174 168 156 241 222 216 288 282 264 384 368 344 469 449 430 544 529 500 643 616 600 744 732 704 859 835 812 973 959 926 1118 1 0 9 3 1 0 5 4 1253 1224 1 1 8 4 1392 1359 1 3 1 8 1616 1 6 0 2 1 5 5 2 1870 1 8 3 3 1800 2145 2107 2060 2411 2395 2344 2737 2683 2642 3400 3359 3294
6
32 54 86 108 152 210 260 338 418 490 575 695 800 900 1010 1150 1286 1482 1770 2025 2305 2612 3220
TEMA Type S Inside Floating Head No. of Passes 1 2 4 10 10 4 19 18 12 42 40 32 73 66 60 109 106 92 140 138 124 187 184 168 253 242 224 320 294 280 400 380 352 454 436 416 514 498 471 607 587 560 707 690 663 816 797 769 931 910 876 1 0 6 2 1039 998 1200 1 1 7 7 1 1 3 5 1341 1318 1282 1558 1554 1502 1875 1834 1736 2132 2100 1 9 9 8 2431 2392 2286 2730 2684 2574 3395 3346 3228
TEMA Type U
6
30 54 86 108 152 210 260 338 410 465 558 657 760 870 993 1124 1264 1482 1708 1964 2250 2536 3196
U-Tube No. of Passes 2 4 6 6 4 14 8 32 24 56 52 92 80 114 104 83 74 220 204 290 268 360 340 220 210 506 488 614 580 720 684 830 804 944 916 1076 940 1 2 1 8 1184 1 3 6 6 1324 1600 1552 1 8 5 4 1800 2122 2064 2410 2356 2732 2668 3398 3336
8
614
Fortran Programs for Chemical Process Design
(4) Shell velocity, V~, ft/s is" V =
W 3600. a~. p~
(8-41)
(5) Reynolds number, Re~, is" Re~ -- D~. G+ ~t
(8-42)
Table 8-5 Tube Count for 3/4-in, OD Tubes on 1-in. A Pitch Tube Count for s/4-in. OD Tubes on 1-in. /~ Pitch TEMA Type L or M Fixed Tubesheet Shell ID in. 5.047 6.065 7.981 10.02 12.00 13.25 15.25 17.25 19.25 21.25 23.25 25.00 27.00 29.00 31.00 33.00 35.00 37.00 39.00 42.00 45.00 48.00 51.00 54.00 60.00
1 14 22 42 73 109 139 187 241 296 372 434 507 604 689 808 906 1030 1152 1273 1485 1721 1968 2221 2502 3099
No. of Passes 2 4 14 12 20 16 40 36 72 64 86 80 134 124 180 168 232 220 290 280 354 344 420 404 489 476 594 568 679 660 804 772 891 860 1026 1000 1134 1090 1259 1222 1 4 6 1 1434 1 6 9 3 1650 1 9 4 1 1902 2187 2134 2465 2414 3069 3010
1 12 21 38 61 97 117 158 216 262 316 370 442 524 602 698
TEMA Type L or M Fixed Tubesheet No. of Passes 2 4 12 12 16 16 38 32 60 52 90 88 116 112 158 148 208 188 256 244 316 308 372 368 432 428 524 500 596 580 692 688
TEMA Type P Outside Packed Floating Head 6
22 40 64 98 122 164 212 270 330 404 482 582 672
1 10 19 38 64 96 121 151 208 258 320 380 475 530 653 724 859 946 1106 1218 1426 1652 1894 2142 2417 2990
TEMA Type S Inside Floating Head
No. of Passes 2 4 6 10 8 18 16 36 32 28 62 60 58 94 84 78 110 100 98 146 140 138 196 188 160 242 232 230 316 296 298 372 364 335 466 452 430 526 508 495 642 620 610 696 688 669 848 818 805 922 904 880 1 0 8 1 1054 996 1208 1174 1 1 2 5 1399 1376 1 3 0 6 1620 I586 1 8 6 1 1820 2101 2060 2379 2326 2957 2906
No. of Passes 1 2 4 10 10 4 19 14 12 37 32 28 61 60 48 96 94 80 121 118 104 163 164 144 216 214 196 276 270 260 338 338 324 396 396 376 460 440 420 558 554 536 624 605 589 756 744 716 818 797 783 980 978 944 1 0 4 7 1 0 3 9 1001 1172 1164 1130 1 3 6 7 1350 1322 1635 1608 1536 1887 1 8 4 2 1768 2143 2104 2019 2399 2366 2270 2981 2940 2932
TEMA Type U U-Tube 6
2
6 10 26 28 46 56 78 86 98 106 140 148 158 200 235 254 300 314 339 388 414 452 494 538 581 632 669 732 771 838 880 950 996 1074 1 1 2 5 1200 1 3 0 6 1406 1504 1632 1740 1870 1 9 9 2 2122 2244 2396 2800 2992
No. of Passes 4 6 4 8 24 44 72 96 136 184 240 300 368 432 524 612 708 808 916 1040 1164 1364 1584 1832 2076 2340 2936
8
Tube Count for a/4-in. OD Tubes on 1-in. [] Pitch
Shell ID in. 5.047 6.065 7.981 10.02 12.00 13.25 15.25 17.25 19.25 21.25 23.25 25.00 27.00 29.00 31.00
Courtesy of TEMA.
6
TEMA Type P Outside Packed Floating Head No. of Passes 1 2 4 12 12 4 16 16 12 37 32 32 57 56 52 89 82 76 97 94 88 137 128 120 177 176 164 224 216 208 274 270 268 333 332 316 414 406 392 464 456 448 570 562 548 628 620 612
6
12 24 56 80 114 160 198 260 308 344 424 496 576
1
9 16 32 56 89 104 145 188 238 304 344 398 484 554 650
TEMA Type S Inside Floating Head No. of Passes 2 4 8 4 16 12 32 32 52 52 82 80 104 96 140 140 184 180 236 232 292 284 332 332 386 366 472 468 532 510 648 640
TEMA Type U
6
2
12 24 56 80 114 160 198 260 308 344 424 496 576
6 8 24 44 68 90 128 176 112 138 340 400 472 554 640
U-Tube No. of Passes 4 6 4 8 20 40 68 88 120 168 108 134 332 388 460 544 624
8
Heat Transfer
615
(7) Prandtl number, Pr~, is:
(8-43)
p r s __ C ~
k
(8) The heat transfer coefficient, h o, can be expressed as" 0.55
hO"DC
-,,0.33
)0.1
(8-44) Table 8-6 Tube Count for 3/4-in. OD Tubes on 1-in. Fq Pitch Tube C o u n t for 3/4-in. OD Tubes on 1-in. [--1 Pitch
Shell ID in.
33.00 35.00 37.00 39.00 42.00 45.00 48.00 51.00 54.00 60.00
1
TEMA Type L or M Fixed Tubesheet
TEMA Type P Outside Packed Floating Head
No. of Passes 2 4
No. of Passes 2 4
782 768 894 892 1004 978 1102 1096 1283 1285 1484 1472 1701 1 6 9 1 1928 1904 2154 2138 2683 2650
6
1
768 880 964 1076 1270 1456 1670 1888 2106 2636
742 816 952 1062 1232 1424 1636 1845 2080 2582
732 812 931 1045 1222 1415 1634 1832 2066 2566
732 804 928 1026 1218 1386 1602 1818 2044 2556
6
1
668 760 872 972 1140 1336 1536 1764 1992 2476
730 848 937 1048 1224 1421 1628 1862 2096 2585
TEMA Type S Inside Floating Head No. of Passes 2 4
712 828 918 1028 1200 1394 1598 1823 2048 2552
682 824 882 996 1170 1350 1548 1779 2010 2512
TEMA Type U U-Tube 6
2
668 760 872 972 1140 1336 1536 1764 1992 2476
724 836 940 1048 1222 1420 1624 1852 2084 2596
No. of Passes 4 6
8
720 812 924 1040 1204 1400 1604 1820 2064 2564
Tube C o u n t for 3/4-in. O D T u b e s on 1-in. 0 Pitch
Shell ID in.
5.047 6.065 7.981 10.02 12.00 13.25 15.25 17.25 19.25 21.25 23.25 25.00 27.00 29.00 31.00 33.00 35.00 37.00 39.00 42.00 45.00 48.00 51.00 54.00 60.00
1
12 21 37 61 97 113 156 208 256 314 379 448 522 603 688 788 897 1009 1118 1298 1500 1714 1939 2173 2692
TEMA Type L or M Fixed Tubesheet No. of Passes 2 4
10 18 32 54 90 108 146 196 244 299 363 432 504 583 667 770 873 983 1092 1269 1470 1681 1903 2135 2651
Courtesy of TEMA.
8 16 28 48 84 104 136 184 236 294 352 416 486 568 654 756 850 958 1066 1250 1440 1650 1868 2098 2612
6
1
12 16 32 52 81 97 140 188 241 300 359 421 489 575 660 749 849 952 1068 1238 1432 1644 1864 2098 2600
TEMA Type P Outside Packed Floating Head No. of Passes 2 4
10 12 28 46 74 92 134 178 228 286 343 404 472 556 639 728 826 928 1041 1216 1407 1611 1837 2062 2560
8 8 24 40 68 84 128 168 216 272 328 392 456 540 624 708 804 908 1016 1196 1378 1580 1804 2026 2520
6
1
TEMA Type S Inside Floating Head No. of Passes 2 4
TEMA Type U
6
2
4 10 24 42 66 86 124 174 218 272 334 390 468 550 626 720 818 928 1036 1220 1412 804 1834 2072 2584
U-Tube No. of Passes 4 6
4 8 20 36 64 80 116 164 202 260 320 380 452 532 608 700 796 904 1016 1192 1384 788 1804 2036 2544
8
616
Fortran Programs for Chemical Process Design
For turbulent flow, the viscosity ratio can be omitted, and Equation 8-44 becomes" ho - 0.36
k R e~o.55 prO.33 ~ D
(8-45)
Figure 8-11 shows the shell side heat transfer coefficient as a function of the Reynolds number. Table 8-7 Tube Count for 1-in. OD Tubes on 11/4-in. A Pitch Tube C o u n t for 1-in. OD Tubes on 1114-in. z3 Pitch
Shell ID in. 5.047 6.065 7.981 10.02 12.00 13.25 15.25 17.25 19.25 21.25 23.25 25.00 27.00 29.00 31.00 33.00 35.00 37.00 39.00 42.00 45.00 48.00 51.00 54.00 60.00
1
8 14 26 42 64 85 110 147 184 227 280 316 371 434 503 576 643 738 804 946 1087 1240 1397 1592 1969
TEMA Type L or M Fixed Tubesheet No. of Passes 2 4 6 4 14 8 26 16 40 36 61 56 76 72 106 100 138 128 175 168 220 212 265 252 313 294 370 358 424 408 489 468 558 534 634 604 709 684 787 772 928 898 1069 1042 1230 1198 1 3 8 9 1354 1 5 6 1 1530 1945 1904
6
TEMA Type P Outside Packed Floating Head No. of Passes 1 2 4 7 4 4 10 10 4 22 18 16 38 36 28 56 52 48 73 72 60 100 98 88 130 126 116 170 162 148 212 201 188 258 250 232 296 294 276 355 346 328 416 408 392 475 466 446 544 529 510 619 604 582 696 679 660 768 753 730 908 891 860 1041 1017 990 1189 1182 1152 1348 1337 1300 1531 1503 1462 1906 1879 1 8 4 2
TEMA Type S Inside Floating Head No. of Passes 2 4
TEMA Type U
U-Tube No. of Passes 6 1 6 2 4 6 0 0 4 4 14 18 14 8 12 14 8 24 33 28 16 18 26 24 46 51 48 42 44 44 36 44 73 68 52 44 56 52 80 93 90 78 76 86 76 104 126 122 112 102 114 104 140 159 152 132 136 152 136 176 202 192 182 172 192 176 220 249 238 216 212 232 220 250 291 278 250 240 270 256 300 345 330 298 288 322 304 360 4.00 388 356 348 378 364 420 459 450 414 400 444 424 498 526 514 484 464 508 492 566 596 584 548 536 578 560 646 672 668 626 608 660 632 723 756 736 704 692 740 712 840 890 878 834 808 872 836 968 1 0 3 5 1008 966 948 1010 980 1 1 3 2 1 1 8 1 1 1 6 2 1118 1 0 9 2 1156 1124 1280 1350 1 3 2 7 1 2 7 7 1254 1 3 2 2 1284 1440 1520 1 4 9 2 1436 1416 1496 1452 1802 1884 1858 1800 1764 1866 1828
8
Tube C o u n t for 1-in. OD Tubes on 11A-in. 0 Pitch
Shell ID in. 5.047 6.065 7.981 10.02 12.00 13.25 15.25 17.25 19.25 21.25 23.25 25.00 27.00 29.00 31.00
1
8 12 24 37 57 70 97 129 162 205 238 275 330 379 436
TEMA Type L or M Fixed Tubesheet
TEMA Type P Outside Packed Floating Head
TEMA Type S Inside Floating Head
TEMA Type U
No. of Passes 2 4 6 4 10 8 20 16 32 28 53 48 70 64 90 84 120 112 152 142 193 184 228 220 264 256 315 300 363 360 422 410
No. of Passes 2 4 4 4 10 8 18 16 32 28 46 40 58 56 82 76 112 104 138 128 174 168 210 200 248 236 296 286 345 336 401 388
No. of Passes 2 4
No. of Passes 4 6
C o u r t e s y o f TEMA.
6
1
5 12 21 32 52 61 89 113 148 180 221 261 308 359 418
6
1
U-Tube 6
2
0 4
0 4
10 24 36 50 70 96 124 156 200 232 282 330 382
8 10 32 44 64 88 120 152 188 220 268 320 368
8
Heat Transfer
617
Pressure Drop (AP) (9) From the fluid Reynolds number, Re~, obtain the friction factor, f+, from Figure 8-12. A regression method of Figure 8-12 shows that for Re~ < 500, 0.11183 Re+0.59246
f+ =
(8-46)
Table 8-8 Tube Count for 1-in. OD Tubes on 11/4-in. 0 Pitch Tube C o u n t for 1-in. O D Tubes on 1V4-in. <> Pitch
Shell ID in.
33.00 35.00 37.00 39.00 42.00 45.00 48.00 51.00 54.00 60.00
1
495 556 632 705 822 946 1079 1220 1389 1714
TEMA Type L or M Fixed Tubesheet No. of Passes 2 4
478 552 613 685 799 922 1061 1159 1359 1691
6
472 538 598 672 786 912 1052 1176 1330 1664
1
477 540 608 674 788 910 1037 1181 1337 1658
TEMA Type P Outside Packed Floating Head No. of Passes 2 4
460 526 588 654 765 885 1018 1160 1307 1626
6
1
TEMA Type S Inside Floating Head No. of Passes 2 4
TEMA Type U
6
448 508 568 640 756 866 1000 1142 1292 1594
2
440 498 562 630 744 872 1002 1138 1292 1604
U-Tube No. of Passes 4 6
8
424 484 548 620 728 852 980 1116 1264 1576
Tube C o u n t for 1-in. OD Tubes on 11/4-in. [] Pitch
Shell ID in. 5.047 6.065 7.981 10.02 12.00 13.25 15.25 17.25 19.25 21.25 23.25 25.00 27.00 29.00 31.00 33.00 35.00 37.00 39.00 42.00 45.00 48.00 51.00 54.00 60.00
1
9 12 22 38 56 69 97 129 164 202 234 272 328 378 434 496 554 628 708 811 940 1076 1218 1370 1701
TEMA Type L or M Fixed Tubesheet No. of Passes 2 4 6 4 12 12 20 16 38 32 56 52 66 66 90 88 124 120 158 148 191 184 234 222 267 264 317 310 370 370 428 428 484 484 553 532 621 608 682 682 811 804 931 918 1 0 6 1 1040 1202 1192 1354 1350 1699 1684
Courtesy of TEMA.
6
TEMA Type P Outside Packed Floating Head No. of Passes 1 2 4 6 5 4 4 12 6 4 21 16 16 12 32 32 32 18 52 52 44 24 61 60 52 50 89 84 80 64 113 112 112 96 148 144 140 114 178 178 172 156 216 216 208 192 258 256 256 212 302 300 296 260 356 353 338 314 414 406 392 368 476 460 460 420 542 530 518 484 602 596 580 550 676 649 648 625 782 780 768 730 904 894 874 850 1034 1027 1012 980 1178 1155 1150 1 1 2 5 1322 1 3 0 7 1284 1 2 6 2 1654 1640 1 6 3 2 1 5 8 5
TEMA Type S Inside Floating Head No. of Passes 1 2 4 6 5 4 4 12 6 4 17 12 8 12 30 30 16 18 52 48 42 24 61 56 52 50 85 78 62 64 108 108 104 96 144 136 130 114 173 166 154 156 217 208 194 192 252 240 230 212 296 280 270 260 345 336 310 314 402 390 366 368 461 452 432 420 520 514 494 484 588 572 562 548 661 640 624 620 776 756 738 724 900 882 862 844 1029 1016 984 972 1170 1156 1126 1114 1310 1296 1268 1256 1 6 4 1 1624 1598 1576
TEMA Type U
2
0 4 12 24 38 52 72 98 128 166 200 240 284 332 290 442 254 574 644 758 872 1002 1146 1300 1620
U-Tube No. of Passes 4 6 0 4 8 20 36 48 68 96 124 156 196 232 276 332 384 436 248 560 628 748 868 988 1140 1288 1604
8
Fortran Programs for Chemical Process Design
618
for Re~ > 500, 0.1159
f~
(8-47)
ReO.18597
The shell side pressure drop, AP~, is" AP - t
f~.G~2(_..ID/12 gl 91D~)~(N+I) ) }(N)
(8-48)
Table 8-9 Tube Count for 11/4-in. OD Tubes on 19/16-in.
A Pitch
Tube Count for 11/4-in. OD Tubes on 1o/16-in. ~ Pitch
Shell ID in. 5.047 6.065 7.981 10.02 12.00 13.25 15.25 17.25 19.25 21.25 23.25 25.00 27.00 29.00 31.00 33.00 35.00 37.00 39.00 42.00 45.00 48.00 51.00 54.00 60.00
1 7 8 19 29 42 52 69 92 121 147 174 196 237 280 313 357 416 461 511 596 687 790 896 1008 1243
TEMA Type L or M Fixed Tubesheet No. of Passes 2 4 4 4 6 4 14 12 26 20 38 34 48 44 68 60 84 78 110 104 138 128 165 156 196 184 226 224 269 256 313 294 346 332 401 386 453 432 493 478 579 570 673 662 782 758 871 860 994 968 1243 1210
6
TEMA Type P Outside Packed Floating Head No. of Passes 1 2 4 6 0 0 0 7 6 4 14 14 8 22 20 16 37 36 28 22 44 44 36 28 64 62 48 45 85 78 72 69 109 102 96 86 130 130 116 112 163 152 144 130 184 184 172 164 221 216 208 196 262 252 242 228 302 302 280 270 345 332 318 305 392 383 364 357 442 429 412 407 493 479 460 449 576 557 544 512 657 640 628 596 756 745 728 696 859 839 832 820 964 959 940 892 1199 1195 1170 1116
TEMA Type S Inside Floating Head No. of Passes 2 4
1
TEMA Type U
6
2 0 0 6 14 22 32 48 64 86 114 138 162 196 232 268 310 356 404 452 534 626 720 822 930 1160
U-Tube No. of Passes 4 6 0 0 4 12 20 28 44 60 80 104 132 152 184 220 256 296 344 388 440 522 612 700 800 908 1140
Tube Count for 11/4-in. OD Tubes on 11h6-in. [] Pitch
Shell ID in. 5.047 6.065 7.981 10.02 12.00 13.25 15.25 17.25 19.25 21.25 23.25 25.00
1 4 6 12 24 37 45 61 80 97 124 145 172
TEMA Type L or M Fixed Tubesheet
TEMA Type P Outside Packed Floating Head
TEMA Type S Inside Floating Head
TEMA Type U
No. of Passes 2 4 4 4 6 4 12 12 22 16 34 32 42 42 60 52 76 76 95 88 124 120 145 144 168 164
No. of Passes 2 4 0 0 6 4 12 12 16 16 32 32 38 32 52 52 70 68 88 88 112 112 138 130 164 156
No. of Passes 2 4 0 0 6 4 12 4 12 8 28 16 34 34 48 44 66 56 84 70 108 100 128 128 154 142
No. of Passes 4 6 0 0 4 8 20 28 36 56 68 96 120 136
Courtesy of TEMA.
1 0 6 12 21 32 38 52 70 89 112 138 164
6
1
0 0 0 12 18 24 48 50 80 96 114 136
0 6 12 21 29 38 52 70 85 108 136 154
U-Tube 6
2
0 0 0 12 18 24 48 50 80 96 114 136
0 0 6 12 20 28 42 56 74 98 124 140
Heat Transfer w h e r e G S= g = 9 = N~ =
619
lb/ft2hr and fs = g/gw = 1 acceleration due to gravity, 4.18 x 108 ft/hr 2 density, lb/ft 3 n u m b e r of shells per unit
Alternatively, AP~ can be e x p r e s s e d as"
- { f~"G~"(ID/12)" (N + 1)}(N )
AP
(8-49)
Table 8-10 Tube Count for 11/4-in. OD Tubes on 19/16-in. I-] Pitch Tube C o u n t for 11/4-in. OD Tubes on 1he-in. [] Pitch
Shell ID in.
27.00 29.00 31.00 33.00 35.00 37.00 39.00 42.00 45.00 48.00 51.00 54.00 60.00
1
210 241 272 310 356 396 442 518 602 682 770 862 1084
TEMA Type L or M Fixed Tubesheet
TEMA Type P Outside Packed Floating Head
TEMA Type S Inside Floating Head
TEMA Type U
No. of Passes 2 4
No. of Passes 2 4
No. of Passes 2 4
No. of Passes 4 6
202 234 268 306 353 387 438 518 602 681 760 860 1070
6
202 230 268 302 338 384 434 502 588 676 756 856 1054
1
193 224 258 296 336 378 428 492 570 658 742 838 1042
184 224 256 296 332 370 426 492 566 648 729 823 1034
184 216 256 282 332 370 414 484 556 648 722 810 1026
6
172 198 236 264 304 358 408 464 544 620 712 804 1008
1
184 180 217 212 252 248 289 276 329 316 372 368 420 402 485 476 565 554 653 636 738 726 837 820 1 0 3 6 1028
158 204 234 270 310 354 402 468 546 628 720 812 1012
U-Tube 6
172 198 236 264 304 340 392 464 544 620 705 804 1008
2
176 200 232 272 312 348 396 472 552 628 712 808 1012
8
176 196 232 268 296 348 392 456 536 620 708 804 992
Tube C o u n t for 11/4-in. OD Tubes on 19/1s-in. 0 Pitch
Shell ID in.
5.047 6.065 7.981 10.02 12.00 13.25 15.25 17.25 19.25 21.25 23.25 25.00 27.00 29.00 31.00 33.00 35.00 37.00 39.00 42.00 45.00 48.00 51.00 54.00 60.00
1
5 6 13 24 37 45 60 79 97 124 148 174 209 238 275 314 359 401 442 522 603 682 777 875 1088
TEMA Type L or M Fixed Tubesheet
TEMA Type P Outside Packed Floating Head
TEMA Type S Inside Floating Head
TEMA Type U
No. of Passes 2 4
No. of Passes 2 4
No. of Passes 2 4
No. of Passes 4 6
4 6 10 20 32 40 56 76 94 116 142 166 202 232 264 307 345 387 427 506 583 669 762 857 1080
Courtesy o f TEMA.
4 4 8 16 28 40 56 76 94 112 136 160 192 232 264 300 334 380 424 500 572 660 756 850 1058
6
1
0 5 12 21 32 37 52 70 90 112 140 162 191 442 261 300 341 384 428 497 575 660 743 843 1049
0 4 10 18 28 34 52 70 90 108 138 162 188 430 249 286 330 372 412 484 562 648 728 822 1029
0 4 8 16 28 32 48 64 84 104 128 156 184 416 244 280 320 360 404 472 552 640 716 812 1016
6
1
U-Tube 6
2
0 0 4
0 0 4
12 20 26 40 56 74 96 120 142 170 200 228 268 306 346 390 456 542 618 708 802 1010
12 20 24 36 52 68 88 112 136 164 192 220 256 296 336 380 448 528 604 692 784 984
8
Fortran Programs for Chemical Process Design
620
FLOW L
-~r
O ROTATED SQUARE (45 )
O SQUARE (90 )
PT
PT
/ FLOW
/
~
OTATED TRIANGULAR (600)
TRIANGULAR (30) Figure 8-10. Tube layouts.
where G~ = s= N = N~ =
lb/ft2hr and ~)t = W~W = 1 specific gravity n u m b e r of baffles n u m b e r of shells per unit.
If AP~ is unacceptable, assume a new baffle spacing. (10) The overall heat transfer coefficient, U, is:
U -
1 1 +--+FT+F hio ho 1
'
Btu hrft 2 ~
(8-50)
~
( l l ) The o u t s i d e area of the heat e x c h a n g e r unit A, ft 2 can be expressed as:
a (ODt -
.~.n.N
12
.L ~
/
(8-51)
(12) Heat load on unit Q, Btu/hr, is: Q = U.A.At
(8-52)
.
°
'
~',~ \
,
!
~
~
~
~
.
.~
Xl
\
"l
I1 o o
A\I
..~
-
i
:!,:5
o_
\,
[
~. I
t,n
I
!
r •
o
t.s9 tc~
"O
c~ ',r-',l'--
o
622
..Q
(~ ..Q ' ¢0
q~ c
0 ffJ
~2
"0 -,~ N ¢-
t~
0
cO
-j
.=
CO
O3 I.I.
Heat Transfer
623
Fouling The scale or fouling resistances represent a necessary safety factor that increases the surface of the heat exchanger. This enables the full process duty requirements to be attained between cleaning periods. When an exchanger is first placed in operation there is no dirt or scale on the tubes; consequently, the overall resistance consists of the two film and the tube wall resistances. During operation, dirt or scale accumulates on the surface of the tubes and the overall heat transfer rate decreases as the dirt buildup increases. The rate of this scale or dirt depends on the cleanliness or fouling tendencies of the process fluids. The fouling experienced in most CPI operations are due to:
Crystallization. When salts having an inverse solubility characteristic precipitate on a heat transfer surface hotter than the flowing fluid. Sedimentation. Caused by deposits of particulate matter such as clay, sand, or rust.
Corrosion. When the heat transfer surface material reacts with the fluid to yield corrosion deposits. Chemical reaction product buildup. Caused by organic products and polymers. The surface temperature and presence of reactants, particularly oxygen, can have a very significant effect on the rate of accumulation. Coking. On high temperature surface results in hydrocarbon deposits.
Biofouling. Deposits formed when biological mechanisms attach and grow on the heat transfer surface. Untreated cooling water systems are particularly susceptible to biofouling. The range of overall heat transfer coefficients (U) is about 10 - 200 Btu/hr ftZ~ Table 8-11 lists the U-values for various types of equipment, and fouling factors of some flowing media are shown in Table 8-12. Table 8-13 illustrates a heat exhanger specification form. Factors governing the selection of process fluids in the tube and shell sides of an exchanger are illustrated in Table 8-14. Nomenclature A - outside area of the heat exchanger unit, a t -" f l o w a r e a , ft 2
ft 2
(text continued on page 628)
Table 8-11 Ranges of Overall Heat Transfrer Coefficients in Various Types of Exchangers [U Btu/hrft2~
Process
Equipment Shell-and-tube exchanger
gas ( 1atm)-gas ( 1atm) gas (250atm)-gas (250atm) liquid-gas (1 atm)
Double-pipe exchanger
Irrigated tube bank
Plate exchanger Spiral exchanger
Stirred tank, jacketed
2-12 35-70
liquid-liquid
25-200
liquid-condensing vapor
50-200
gas ( 1atm)-gas ( 1atm)
2-6
gas (250atm)-gas (250atm)
25-90
liquid-gas (250atm)
35-100
liquid-liquid
50-250
water-gas ( 1atm)
3-10
water-gas (250atm)
25-60
water-liquid
50-160
water-condensing vapor
50-200
water-gas (1 atm)
3-10
water-liquid
60-200
liquid-liquid
120-440 160-600
gas (1 atm)-gas (1 atm)
2-6
gas ( 1atm)-liquid
3-10
liquid-condensing steam boiling liquid-condensing steam water-liquid
Stirred tank, coil inside
25-50
liquid-gas (250atm)
liquid-condensing steam Compact exchanger
1-6
liquid-condensing steam water-liquid
90-260 120-300 25-60 120-440 90-210
Source: S. M. Walas, Chemical Process EquipmentISelection and Design, Butterworths Series in Chemical Engineering.
624
Table 8-12 Recommended Minimum Fouling Resistances
Fouling Factor
Gases and Vapors Centrifugal Compressor exhaust
0.001
Reciprocating Compressor exhaust
0.01
Reciprocating Compressor refrigerant vapor
0.0025
Centrifugal compressor refrigerant vapor
0.0015
Oil-free and clean high-quality steam
0.0003
Oil-free and clean low-quality steam
0.0005
Oil-bearing steam
0.001
Compressed air
0.002
Acid gas
0.001
Solvent vapors
0.001
Natural gas
0.001
Liquids Bay water
0.0025
Distilled water
0.0005
Hard well water
0.0033
Untreated cooling tower water
0.0033
Treated cooling tower water
0.0015
Engine jacket water
0.0012
Treated boiler feed water
0.0015
Fuel oils
0.006
Clean organic solvents
0.001
Vegetable oils
0.004
Refrigerant liquids
0.001
Industrial heat transfer oils
0.001
Hydraulic fluid
0.001
Natural gasoline and liquefied petroleum gases
0.001
Rich oil
0.001
Lean oil
0.002
625
Table 8-13 Heat Exchanger Specification Sheet (Courtesy of Procede) Heat
Exchanger
data
Equipment No.(Tag)
sheet
(PROCEDE)
Descript. (Func.) Sheet
N 9. ,
Operating Data SIZE SHELLS PER UNIT
HORIZONTAL CONNECTED IN (parallel or
series)
SURFACE PER UNIT
SURFACE PER SttELI ....
[
I
Performance of one Unit TUBE S I D E
SHELL S I D E
...... 7-- - r
FLUID CIRCULATING TOTAL FLUID ENTERING
OUT
OUT
II
I
VAPOUR
LIQUID
12
STEAM WATER NON-CONDENSABLES FLIYID VAPOURISED OR CONDENSED SPECIFIC GRAVITY LIQUID
9
13 14
9
15 16 17 18 19
Mol Wt VAPOUR Mol Wt NON-CONDENSABLES VISCOSITY LIQUID
9 20
'21
j 22
LATENT HEAT SPECIFIC HEAT THERMAL CONDUCTIVITY
,
I
TEMPERATURE OPERATING PRESSURE
111
I
[.
123
,
[
II[
25 26 27
No. OF PASSES
AU.OW I
CALC I
1
AU,OW I
[
C~.C.
29
FOULING RESISTANCE
3O ~31
TRANSFER RATE SERVICE
Construction of one Shell 35
DESIGN PRESSURE TEST PRESSURE DESIGN TEaMPERATURE METAL TEMPERATURE TUBES SHELL
36 37 .3g
No. OD I.D.
]THICKNESS ]
C~L ...... BAFFLES CROSS TUBE SUPPORTS
TYPE
LONG BAFFLE IMPINGEMENT BAFFLE TYPE OF JO]2~rl"
[ LENGTtt [ I I PITCH SHELL COVER FLTNG HEAD COVER FLOATING SPACING % CUT
41 42 43 44
SPACING SEAL
TYPE ,
39 9 40
9 45
46
SEAL STRIPS
.
TUBE ATTACHM'r
GASKETS SHELL IN
9
47
CONNECTIONS SHELL IN
INTERCONN
FLOATING HEAD SHELL OUT
CONNECTIONS CHANNEL IN
INTERCONN
CHANNEL OUT 9
BOLTS
TUBE SIDE NUTS S.R. INSULATION DATE OF ENQ__UIRY _ _ DRG. No. ~
.53
CORROSION ALLOWABLE SHELL SIDE EXPANSION BELLOWS DESIGN CODE INSPECTION WEIGHT OF ONE UNIT EMPTY DATE OF ORDER INSPECTION ,FHTrlNG ATTACHM NT, BY
PAINTING OPERATING ORDER No.
I-- Approved ,,
,
Date
Service Equipment
Ensineetin8
t
I...
Checked
Proeem
MANUFACTURER
3
6
2
5
1
4
REV
By . .
Company
Aizar.
REV
Address
48 9
49 50 51 52
54 55 .56 57 9 58
59 .60
By .
AI~.
Date .
61 62
No.
Project No.
64
626
Table 8-14 Factors Which Influence the Selection Process Fluids in a Shell and Tube Heat Exchanger
Tube Side
Shell Side
CORROSION: When special alloy materials are necessary to minimize corrosion. It is more economical to place the corrosive fluids in the tubes. Only the tubes, tube sheets and channel need to be alloy. In comparison, if the shell side was selected, the shell side and baffles would have to be alloy in addition to the tubes and tube sheets.
CONDENSING SERVICE: The large free area on the shell side permits minimum pressure drop arrangements as well as higher condensate loadings.
EXCESSIVE FOULING: If mechanical cleaning is desired, the fouling medium should be placed in the tube side. This enables the tubes to be cleaned without removing the bundle from the shell.
BOILING SERVICE: Vapor disengaging space may be provided on the shell side which eliminates the need for a separate dry drum.
HIGH TEMPERATURE: If high temperature service requires special alloy construction, the cost of an alloy shell and bonnet will be saved by using the tube side.
CRITICAL PRESSURE DROP: By varying the baffle, spacing, very low pressure drops may be attained.
HIGH PRESSURE: Tubes, tube sheets, and channel need be designed only for high pressure if the tube side is utilized. Also, integral tube sheet and channel design may be used, thus eliminating one gasketed joint.
VISCOUS FLUIDS: If mechanical cleaning is not required, higher heat transfer rates may be obtained by placing the viscous fluid on the shell side. Due to the flow pattern across the tube bank, turbulent flow may be maintained on the shell side at mass velocities which would yield laminar flow on the tube side.
Source: Morton [7]
627
628
Fortran Programs for Chemical Process Design
(text continued from page 623)
as = B = C = D~ = Fc = FT= Fs = f~ = fs = Gt = G~ = g = h i, h o =
flow area, ft 2 baffle spacing, inch clearance between adjacent tube, inch equivalent diameter, ft temperature difference correction factor, At = (Fc)(LMTD) tube side fouling factor, hr ft2~ shell side fouling factor, hr ft2~ tube side friction factor (ft2/in 2) shell side friction factor (ft2/in 2) tube side mass velocity, (lb/ft2hr) or (lb/ft2sec) shell side mass velocity, (lb/ft2hr) acceleration due to gravity, 32.17 ft/sec 2 (4.18 x l0 s ft/hr 2) heat transfer c o e f f i c i e n t for inside and outside fluids, respectively, Btu/hrft2~ h~o = value of hi when referred to the tube outside diameter, ID = inside diameter, inch (ft) JH = factor for heat transfer, dimensionless. k = thermal conductivity, B t u / h r f t ~ L = tube length, ft L M T D = log mean temperature difference, ~ N = number of shell side baffles N~ = number of shells per unit N t = number of tubes n = number of tube passes OD = outside diameter, inch P = temperature group ( t 2 -- t l ) / ( T 1 - t~) P~ = prandtl number, dimensionless P t = tube pitch, inch AP T, AP t = total, tube side pressure drop, psi. AP~, AP. = return and nozzle side pressure drops, psi AP~ = shell side pressure drop, psi Q = heat flow, Btu/hr R = temperature group ( T ~ - T z ) / ( t 2 - t l ) , dimensionless Re = reynolds number, dimensionless. R d = combined dirt factor, hr ftZ~ Tj = hot fluid inlet temperature, ~ Y 2 = hot fluid outlet temperature, ~ t~ = cold fluid inlet temperature, ~ t 2 = cold fluid outlet temperature, ~ At = true temperature difference, ~
Heat Transfer
U = Vn= V~ = V, = W = w = ~) = ~t = P=
629
overall heat transfer coefficient, Btu/hrft2~ nozzle side fluid velocity, ft/s shell side fluid velocity, ft/s tube side fluid velocity, ft/s mass flow rate of hot fluid, lb/hr mass flow rate of cold fluid, lb/hr viscosity ratio, ( ~ ) 0 ~4 fluid viscosity, cP x 2.42 = lb/ft, hr. fluid density, lb/ft 3
Subscripts s = shell t = tube
DOUBLE PIPE HEAT EXCHANGER A double pipe exchanger consists of one or more pipes or tubes inside a pipe shell. Basically two straight pipe lengths are connected at one end to form a U or "hair-pin." Longitudinal fins may be used on the outside of the inner tube. The flow is true countercurrent, which can be beneficial when very close temperature approaches or very long temperature ranges are required. Such an exchanger is used in service when the heat duty is moderate (that is, UA < 100,00 Btu/hr~ or when one stream is a viscous liquid, or when flow rates are small. This type of exchanger is suitable for high pressure applications because of their smaller diameters. Also, several hairpin sections provide for flexibility in matching heat exchanger requirements with changing process conditions. A double pipe exchanger is suited for "dirty" service because it is easy to dismantle and clean. In addition, a pipe exchanger can be considered in the following situations: 1. When the shell side coefficient is less than half that of the tube side; the annular side coefficient can be made comparable to the tube side. 2. When a high pressure can be catered for more economically in the annulus than in a larger diameter shell. 3. At duties requiring 100 - 200 ft 2 of the surface, which make it more economical. 4. When a true countercurrent flow can be obtained, thus eliminating temperature crosses that require multishell shell and tube units. The equations required for the rating of a double pipe exchanger are as follows.
Fortran Programs for Chemical Process Design
630
The Equations Process Conditions Required Hot fluid:
T~, T2,
Cold fluid:
t~, t 2,
ILkk, AR
W, C,
W, C, ~
k, AR
R D, s
R D, s o r
or 9
p
The diameter of the pipe must be given or assumed. The fluids' velocities must be in the range of 3-10 ft/sec. The following assumes that the cold fluid is in the inner pipe. (1) The heat duty Q, Btu/hr, is" Q
- WC(T
(8-53)
l - T2) - w c ( t 2 - tl)
(2) The log mean temperature difference (LMTD). LMTD - (T, - t 2 )
- (T 2 -
ln{T~
t, )
(8-5)
- t2
Z 2 -il} Inner Pipe (3) The flow area, ap: a
p
71;D 2 z
ft 2
(8-54)
(4) The mass velocity, Gp Gp -
w ap
~,
lb ft2hr
(8-55)
(5) The Reynolds number, Re t Re~ =
D. Gp
(8-56)
(6) The Prandtl number, Pr t Pr~ = c . g k (7) The heat transfer coefficient, h~, Btu/hrft2~
(8-57)
Heat Transfer
hi'D
)o.,4w
DG "
=C
k
lLt
631
(8-58)
h i can be expressed by k) 08 r'~ 033 -~ Re t t'r t
h i -C. where WgwC C C -
(8-59)
1 0.021 for gases 0.023 for non-viscous fluids 0.027 for viscous fluids
h i to h the heat transfer coefficient referred to the pipe outside diameter, Btu/hrft2~ converting
hio
--
io,
inside dia. of inner pipe / outside dia. of inner pipe
hi
ID = hi.oD
(8-60)
Annulus (8) The flow area, a a" ~(D2o
-
,)
D 2
aa =
f12
(8-61)
(9) The equivalent diameter, D e 4 x flow area De
wetted perimeter __
D~
-
D 2 i
ft
(8-62)
Di (10) The mass velocity, G, w G a = -aa '
lb ft:hr
(8-63)
Fortran Programs for Chemical Process Design
632
(11) The Reynolds number, Rea R e a --
De ~G a
(8-64)
(12) The Prandtl number, Pr a Pr a -
c. la
(8-65)
(13) The heat transfer coefficient, h o If Re a < 2100
ho _ 1.8 6 k De
o33pr:33( / ~
(8-66)
t.ra.r~ 0 33
(8-67)
ea" -
If Re a > 2100 ho - C. k RepS De
(14) The overall coefficient, U, Btu/hr. ft. 2 ~ 1 U
=
1 hio
1
-I-
+RD+R
w
(8-68)
h o
(15) The heat transfer area, A, ft 2
Q
A
(8-69)
U D. L M T D Vapor Service
(16) The heat transfer coefficient, h~, Btu/hrft 2~ F 0.0144CpG ~ hi
(8-70)
D~ .2
and 1
1
hif
hi
+ Fol
(h i is corrected for fouling)
(8-71)
Heat Transfer
633
Shell Side (Finned Tube) Figure 8-13 shows examples of extended surfaces on one or both sides of heat exchangers.
(a)
(b)
(e)
i'i L I
I (d)
(g) Liquid flow
Ga~ flow
Figure 8-13. Examples of extended surfaces on one or both sides. (a) Radial fins. (b) Serrated radial fins. (c) Studded surface. (d) Joint between tubesheet and low fin tube with three times bare surface. (e) External axial fins. (f) Internal axial fins. (g) Finned surface with internal spiral to promote turbulence. (h) Plate fins on both sides. (i) Tubes and plate fins. Source: S. M. Walas, Chemical Process Equipment: Selection and Design, Butterworths Series in Chemical Engineering, 1988.
Fortran Programs for Chemical Process Design
634
(17) The equivalent diameter, De, ft De =
4NFA rc(D,,~ + D~,o) - NO + 2HN
(8-72)
(18) The net free cross-sectional area, NFA, shell side, ft 2 N F A - C S A - NH0
(8-73)
(19) The cross-sectional area without fins, CSA, ft 2 CSA - rc ( D 2 _ D2 ) 4 s,i t,o
(8-74)
(20) Finned surface area, ft 2 A t. - 2HN
(8-75)
(21) Outside heat transfer area of tube, ft2/ft (for finned tubes includes fin area) A o - rcD~,o + Af
(8-76)
(22) Parameter for fin efficiency, X
)0.5 X - H
hif 6Kt0
(8-77)
(23) The fin efficiency, e e-
tanhX = 11exp(X)-exp(-X) 1 X X exp(X) + e x p ( - X )
(8-78)
(24) The effective surface efficiency for fins, eelf,
eelf - e
+
/
1 - Ao
(8-79)
(25) The corrected film heat transfer coefficient, hifd, Btu/ft 2hr oF h~fd - (hif)(eeff) (26) The overall heat transfer coefficient, U, Btu/ft2hr~
(8-80)
Heat Transfer
1/ w / U
--
-~t
1
/a/
+
tube wall
hi
~
1
+
635
(8-81)
( h ira )shell tube
where Ai
~'cDt, i
_
m
(8-82)
reD t,O + 2HN
Ao
Pressure Drop, AP (27) The pressure drop in tubes is: AF -
4fG2L 2gp2D
(ft of liquid)
(8-83)
where 16
f -
Re
(8-84)
for Re < 2,300
Using, Wilson et al. [15] correlation for commercial pipe 0.264
f - 0.0035 +
R e 0.42
APp- (AF'P/'144
for Re < 2,300
(8-85) (8-86)
psi
Annulus For an annulus, D~ is: P
4 ~ ( D 2o - D~)
De -
4 rt(Do + D~ )
=Do-D
i
(8-87)
Reynolds number, Re a D;Ga Re a m -
(8-88)
636
Fortran Programs for Chemical Process Design
Pressure drop, AF., ft _
AF. -
f
2
4 G L 2gpZD~ '
ft
(8-89)
The pressure drop due to the reversal of flow in the annulus for each hairpin is: V
2
AF r = ~,
fl/hair
2g
pin
(8-90)
The total annulus pressure drop is" AP-I
(AF~ + A F r ) 9 ] '
psi
(8-91)
Nomenclature
A = cross-sectional area, f12 Ai = inside heat transfer area-tube, ft2/ft A o = outside heat transfer area-tube, ft2/ft (for finned tubes includes fin area) A r - finned transfer area, f12 a p - flow area, ft 2 C = specific heat of hot fluid, Btu/lb~ c = specific heat of cold fluid, Btu/lb~ CSA = cross-sectional area, shell side without fins, ft 2 D = inside diameter, fl D~, D o = for annuli, D~ is the outside diameter of inner pipe, D o is the inside diameter of the outer pipe, inch Dt, ~= tube inside diameter, inch Dt, o = tube outside diameter, inch D~,~ = shell inside diameter, inch D e = equivalent diameter for heat-transfer, ft D e = equivalent diameter for pressure drop, ft. e = fin efficiency e" = effective surface efficiency for fins F O L = fouling factor, hrfl2~ f - friction factor, dimensionless AF = pressure drop, ft
Heat Transfer AF a =
AFr = GGaGp g = H = h~, h o h~o hie = hied = ID = JH = k = Kt = LLMTD = NFA = N = OD = Pr = AP = Q = R D= Re = R ws= T l , T 2 -tl, t 2 =
U = V = W = w = X = p = bt, bt,v = 0 = rt =
637
annulus pressure drop, ft pressure drop due to reversal of flow in the annulus, ft mass velocity, lb/ft2hr mass velocity in annulus, lb/ft2hr mass velocity of inner pipe, lb/ft2hr acceleration due to gravity, 32.2 ft/sec 2 (4.18 x 108 ft/hr 2) fin height, inch heat transfer film coefficient for inside fluid and outside fluid, respectively, Btu/hr.ft.2~ value of h~ when referred to the pipe outside diameter, Btu/hr. ft.2~ heat transfer film coefficient corrected for fouling, Btu/hr.ft.2~ corrected film heat transfer rate, Btu/hr.ft.2~ inside diameter, inch or ft heat transfer factor, dimensionless fluid thermal conductivity, Btu/hr.ft.2~ thermal conductivity of tube material, Btu/hr.ft.2~ pipe length, ft log mean temperature difference, ~ net free cross-sectional area, shell side, ft 2 number of fins outside diameter, inch or ft Prandtl number, dimensionless pressure drop, psi exchanger duty, Btu/hr fouling resistance, hrft2~ Reynolds number, dimensionless wall resistance specific gravity temperature of hot fluid, inlet and outlet respectively, ~ temperature of cold fluid, inlet and outlet respectively, ~ overall heat transfer coefficient, Btu/hr.ft.2~ fluid velocity, ft/sec mass flow rate of hot fluid, lb/hr mass flow rate of cold fluid, lb/hr parameter used in fin efficiency fluid density, lb/ft 3 fluid viscosity (flowing and at wall), cP fin thickness (normally 0.035 inch) 3.1415927
638
Fortran Programs for Chemical Process Design Subscripts
a = annulus p = pipe
AIR C O O L E R DESIGN Air coolers are widely used in the chemical process industries where there are shortages of cooling water and regulatory controls on thermal pollution. An economic comparison is often made between air and water cooling to determine which is advantageous. Air coolers can be used for cooling high pressure streams where the fluid is always inside the tubes. They minimize heat exchanger maintenance costs because descaling of the water-contact surface is eliminated. In addition, there is some savings in first cost because no additional surface area is required to allow for water side fouling between descaling. However, the exchangers are larger because the gas film coefficient is smaller. Air coolers eliminate problems of temperature rise and chemical pollution of water resources. Air cooled heat exchangers have rectangular bundles containing several rows of tubes, horizontally aligned and vertically offset. Air flows vertically upward across the tube bank. The flow can be induced by fans above the bundle or forced by fans below the bundle. The heat transfer is countercurrent, because the hot fluid enters at the top of the bundle and flows downward through successive passes. The cost of an air cooler depends on the length of the tubes and the number of the tube rows. A forced draft air cooler design has a power consumption advantage, if the temperature rise of the air is high. It also allows a more convenient and economical mounting arrangement when a number of bundles and services are to be combined in a single unit. In addition, it develops a high turbulence, and consequently, higher heat transfer coefficients. Conversely, an induced draft design provides a more even distribution of air across the bundles, and for a given bundle elevation, affords more space for location of additional plant equipment beneath the unit. Induced draft units are less likely to recirculate hot exhaust air, because the exit air velocity is two or three times that of a forced draft unit. These units give higher pressure drops and are more expensive. Figure 8-14 illustrates forced and induced air cooled exchanger arrangements. Standard air coolers are in widths of 8, 10, 12, 16, or 20-ft lengths of 4-40ft, and stacks of 3-6 rows of tubes. Tubes are 0.75-1.0 inch OD
FAN~
'
FLUID
PLENUM ~
INLET
ADER
.
HEADER
SUPPORT
DRIVER
I
IFLUI[T
i ioo _ _ _ __
INDUCED DRAFT
_~L
FLUID I~LET TUBES
HEADER
HEADER x
7
FLUID OUTLET
CHAMBERJ ~ ~ A N SUPPORT
.] FAN DRIVER FORCED DRAFT
Figure 8-14. Forced and induced draft air cooled exchangers. 639
640
Fortran Programs for Chemical Process Design
with 7-11 fins/inch each 0.5-0.625 in height and provide a total surface 15-20 times greater than the bare surface of the tube. Fans are 4-12 ft/ diameter; developed pressures are 0.5-1.5 inch water, and require power inputs of 2-5 hp/MBtu/hr or about 7.5 hp/100 ft 2 of exchanger cross section. Spacings are 1.8 times the width of the cooler. Face velocities are about 10ft/sec at a depth of three rows and 8ft/sec at a depth of six rows. The rating methods for air cooled exchangers are outlined by Cook [16] and Ganapathy [17]. Here, the design of air coolers is based upon correlations, tables, and graphs presented by Smith [18] and Brown [19] and fitted to a series of equations developed by Blackwell [20].
The Equations (1) The number of tube rows, R, is: R-C~
+ C2lnIT2-t2 3 U
(8-92)
where C l = 3.1679 C 2 = 3.7948 (2) The area ratio is: A FA
= C 3 ( R ) c4
(8-93)
where C 3 = 1.2557 C 4 = 1.0031 (3) The face velocity of air, FV, ft/min. FV
= C5(C6) R
(8-94)
where C 5 = 720.8542 C 6 = 0.9530 Typical face velocities (FVs) used for design are in Table 8-15. These values result in air cooled heat exchangers that approach an optimum cost [21 ]. This takes into account the purchase cost, the cost of installation, and the cost of power to drive the fans. Table 8-16 lists an estimate of the outlet air temperature, based on 90 ~ to 95~ design ambient air temperature. (4) Estimated air outlet temperature, t~, ~
Table 8-15 Design Face Velocities for Air-Cooled Exchangers
FACE VELOCITY, ft/min (m/sec.) 8 fins/in. (315 fins/m) 2.375 in. (0.0603 m)
10 fins/in. (394 fins/m) 2.375 in. (0.0635 m)
10 fins/in. (394 fins/m ) 2.5 in. (0.0635 m)
pitch
pitch
pitch
650 (3.30)
625 (3.18)
700 (3.56)
615(3.12)
600 (3.05)
600 (3.35)
585 (2.97)
575 (2.92)
625 (3.18)
560 (2.84)
550 (2.79)
600 (3.05)
Number of tube rows
Source: Chopey and Hicks [21].
Table 8-16 Estimated Outlet Air Temperature for Air-Cooled Exchangers
OUTLET AIR TEMPERATURE ~
PROCESS INLET TEMPERATURE ~
U=50
U=100
U=150
175
90
95
lO0
150
75
80
85
125
70
75
80
100
60
65
70
90
55
60
65
80
50
55
60
70
48
50
55
60
45
48
50
50
40
41
42
Source: Chopey and Hicks [21].
641
Fortran Programs for Chemical Process Design
642
tJ - 0 " 0 0 5 u [ ( T ~ +2 T 2 ) -
t 2 I + t2
(8-95)
(5) The effective log mean temperature difference, ~ LMTD -
(T,-
t 2 ) - (T 2 - t , )
(8-5)
In T ~ - t 2 } (6) The heat duty Q, Btu/hr, is" Q - wcAt
(8-96)
where w - fluid flow rate, lb/hr c - specific heat capacity, Btu/lb~ A t - temperature difference, ~ (7) The bare tube surface area based on the tube, OD, ft 2
A -
Q
(8-97)
(U)(LMTD)
(8) The face area of bundle FA, ft 2 A
FA -
(8-98)
C 3 ( R ) c~
(9) The calculated outlet air temperature, tj,, oF '=
t,
Q (1.08)(FA)(FV)
+t
2
(8-99)
(10) The air flow over tubes F, std.ftVmin F - (FA)(FV)
(8-100)
(1 l) The ratio of the bare tube surface area based on the tube OD to the fan horsepower A = Bhp where
+ C
7.4212 C 8 - 12.5342
C 7 -
(R)
(8-101)
Heat Transfer
643
(12) The ratio of air cooler weight to the face area of bundle is" Wt
= C 9 + C,0 ( R )
FA where
(8-102)
36.4 C~0- 9.35 C 9 -
(13) The tube bundle width, W, ft W =
FA
(8-103)
L (14) The area available, A v, f t 2 A v - rc.N~.Nt.D o.L,
ft 2
( 8-104)
where N ~ - n u m b e r of rows N t - n u m b e r of tubes per row = (tube bundle width)/(tube spacing) - W/s L - tube length, ft D o - tube outside diameter, ft If the area available, A v, is less than the area required, A, increase the bundle width, and calculate the new outlet air temperature. Re-calculate L M T D , the new required area, and the new available area. (15) The air-side heat transfer coefficient, h a, Btu/hrftZ~ The air side coefficient is determined on the basis of the outside surface of a bare tube. h, is expressed as: h a - 8(FV) ~ for 10 fins per inch
(8-105)
h a - 6.75(FV) ~ for 8 fins per inch
(8-106)
(16) The tube wall heat transfer coefficient h w, Btu/hrftZ~ 2. k
hw =
D O -D
(8-107) i
where k - thermal conductivity, Btu/hrft~ D o - outside diameter of tube, ft D i - inside diameter of tube, ft (17) The overall heat transfer coefficient U, Btu/hrft2~ is
1 U
=
1 h a
t
1 hi(Di/Do)
+
1
1 + ~ hw h
(8-108)
Fortran Programs for Chemical Process Design
644
where h i = inside of tube heat transfer coefficient h~ = fouling coefficient
The Air-Side Pressure Drop,
AP a
(inch HzO )
The following equations are used to calculate the pressure drop on the air side [21 ]. AP a = 0.0047N~(FV/100) ~s for 10 fins per inch, 2.375-inch spacing (8-109) AP~ = 0.0044N~(FV/100) ~8 for 8 fins per inch, 2.375-inch spacing (8-110) AP~ = 0 . 0 0 3 7 N r ( F V / 1 0 0 ) ~8 for 10 fins per inch, 2.5 inch spacing (8-111) where
N r = the n u m b e r of tube rows FV = face velocity, ft/min AP~ = inch H 2 0
Nomenclature A = A v= Bhp = c = C~, C2, C3 = C a, C 5, C 6 = C 7, C 8, C 9 = C~o = Di= Do= F = FA = FV = ha = hi = h~ = hw= k =
bare-tube surface area, ft 2 available area, ft 2 fan h o r s e p o w e r specific heat of fluid, Btu/lb~ constants constants constants constant inside diameter of tube, ft outside diameter of tube, ft air flow over tubes, stdft3/min face area of bundle, ft 2 face velocity of air, ft/min air-side heat transfer coefficient, Btu/hrftZ~ inside of tube heat transfer coefficient, Btu/hrftZ~ fouling coefficient, Btu/hrftZ~ tube wall heat transfer coefficient, Btu/hrft2~ thermal conductivity, Btu/hrft~
Heat Transfer
L = LMTD = Nr = N~ = APa = Q= R = T~ = T 2 -
t, = t~ = t2 -
At = U = W = w = Wt = =
645
pipe length, ft log mean temperature difference, ~ number of rows number of tubes per row air-side pressure drop, inch H 2 0 exchanger duty, Btu/hr number of tube rows outlet process fluid temperature, ~ inlet process fluid temperature, ~ estimated air outlet temperature, ~ calculated outlet air temperature, ~ inlet air temperature, ~ temperature difference, ~ overall heat transfer coefficient (based on bare-tube O.D.), Btu/hrftZ~ tube bundle width, ft fluid flow rate, lb/hr air cooler weight, lb 3.1415926
HEAT TRACER REQUIREMENTS FOR PIPELINES AND HEAT LOSS FROM INSULATED PIPELINES Pipelines conveying viscous fluids are maintained at an elevated temperature by means of heat tracing. Pipelines containing vapors may also be heat traced to prevent components from condensing out. The heat loss from pipes is often reduced by thermal insulation. The thickness of insulation depends on an economic analysis involving both capital cost and the cost of heat loss from the insulated line. Water lines are commonly insulated to avoid freezing. However, heat is inevitably lost from insulated lines, and if the cooling resulting from this heat loss cannot be tolerated, heat tracing the lines becomes necessary. There are cases where blockages occur in pipelines, which cannot be unblocked by flushing with a solvent or by blowing in steam or air, unless they are heat traced. Many types of fluid heating media are used for heat tracing, such as steam, hot oil, or Dowtherm. Electric heating tape may be used. Steam tracing is selected for about 60 percent of pipe footage in chemical process plants Lam and Sandberg [22] have provided a comprehensive checklist and criteria between steam and electric tracing. Table 8-17 lists a typical checklist for a petroleum refinery plant.
Table 8-17 Checklist to Decide Between Steam and Electric Heat Tracing
PRE-EXISTING PROJECT CONSTRAINTS Heat tracing recommended in company (Yes/no) engineering practices Plant preference PROJECT DESIGN PHASE CRITERIA Total feet of traced pipe Cost of electricity (S/kWh) and steam energy
Electric
Steam
Yes
Yes Yes
4,700 $0.067
4,700 Consider free
$1.67
$1.33
50 +50 ~ No extra
65 +50 ~ No extra
NA*
NA*
0.5 Good
1.5 Good
($/1,000 lb) Estimated annual maintenance cost per foot of tracing (S/ft.) Number of heat-tracing circuits required Needed accuracy of temperature control (degrees) Temperature control cost per circuit for needed accuracy ($) Cost of monitoring one circuit in distributed control system ($) Design time per circuit (h) Design tools available for engineers (Good, Fair, Poor, None) Capital cost of steam capacity, condensate return, etc. ($) CalSital cost of required electrical power ($) Other PROJECT INSTALLATION CRITERIA Labor cost to install tracing and accessories ($/ft) Training time per plant laborer (h) Labor and overhead costs (S/h) Total installed heat-tracing costs ($/ft) Other PROJECT OPERATION CRITERIA Annual maintenance required (h/ft.) Annual cost for replacement parts (S/ft.) Total annual maintenance cost ($) Total annual operating cost ($) Other
Low Low
$30.00 20 $23.50 $62.00
$40.00 20 $23.5O $74.00
0.03
0.05
$~.oo
$0.80
$6,182 $7,179
$6,807 $6,807
*NA = not applicable, as the plant does not have a distributed control system capable of monitoring heat tracing Reproduced by permission of the American Institute of Chemical Engineers, ~ 1992, A.I. ChE. All rights reserved.
646
Heat Transfer
647
The length of a traced line varies from a few feet in a process area to a few thousand feet between offsites and the process area, as well as to hundreds of miles involving underground pipelines conveying crude oil. The most common steam tracing lines are 3/8-inch and 1/2-inch o.d. copper or stainless steel tubing. Larger tubing of 5/8-inch and 3/4-inch o.d. can be used, but is more expensive. The 3/8-inch tube is more easily plugged by debris or sediment, and is therefore used less than 1/2-inch tubing. Copper is preferred for its heat transfer characteristics, but stainless steel generally provides better resistance in corrosive situations. The length of a single trace tube (for example, from steam supply valve to steam trap) is limited by the pressure drop in the trace. In addition, the trap should have a condensate drainage capacity to match the heating load. At steam pressure of 100 psig or higher, Kohli [23] recommends that the length of a single trace should not exceed 200 ft. Conversely, if the steam pressure is lower, a tracer length of 100 ft is recommended. The trace tube is wired to the pipeline to provide greater contact. The conductive heat transfer rate is often low, but this may be increased by putting a layer of heat conducting cement (graphite mixed with sodium silicate or other binders) between the trace and the pipeline. This results in better surface for conductive heat transfer. Figure 8-15 shows various configurations of tracer and lagging. The following equations will allow the design engineer to calculate the heat loss and tracing requirements for any given pipeline, using any hot fluid medium as the heat source. The equations will calculate: 9 9 9 9 9
The surface temperature of insulated traced pipe. Total heat transferred per 100ft of pipe. Total heat transferred for the entire pipeline. Flow rate of hot media. Total number of heat tracers required with and without transfer cement.
Kern [3] and others have shown that the heat transferred through an insulated pipe involves four resistances: 1. 2. 3. 4.
The film resistance on the inside wall of the pipe. Heat resistance through the pipewall. Heat resistance through the insulation. Air film resistance on the outside of the insulation.
The first two resistances are negligible, and therefore are neglected.
Heat-transfer cement-.-
Insulation .-
s Process . f l u i d " " "
Single t r a c e r
T w o tracers
Channel (optional)..... B a n d i n g o r n e t t i"n g -
Three tracers
Figure 8-15. Configuration of heat tracers and lagging. 648
Heat Transfer
649
The Equations (1) The average temperature of the hot medium, ~ (8-112)
Tm,avg = 0. 5(Tm i + Tmo)
(2) The average temperature of pipe and tracer, ~ (8-113)
Tavg = 0.5(Tm,avg + Tp)
(3) The inside diameter of insulation, inch O i = OD + TAL
(8-114)
(4) The outside diameter of insulation, inch D O= D i + 2.T k
(8-115)
(5) Heat lost per foot of pipe Q, Btu/hr.ft Q _ 2rtK~(Ta - T ) Do
(8-116)
ln( i/
The heat lost per foot of pipe can be expressed in terms of the film heat transfer coefficient to air corrected for wind, Btu/hrft2~ Q - hartDo(T~ 12
-
Tair)
(8-117)
Using Equations 8-116 and 8-117 and rearranging the terms gives 2 g K i ( T a - T~) _ hagDo(T S -
ln( i) DO
Tair)
(8-118)
12
That is, T a - T~ = C(T~- Tair)
(8-119)
where
C-(h.)( D~
1 )(lnD~
(8-120)
650
Fortran Programs for Chemical Process Design
Equation 8-119 can be expressed in terms of T, as follows" (8-121)
T,(1 + C)= T~ + C T ~ and T - T.
(8-122)
+ CT~i ~
I+C Equations 8-120 and 8-122 involve two unknowns, h, and T,. An initial value of h, is assumed and T~ is calculated. McAdams [24] indicates that h a usually varies from 1.64 to 5.30 for pipes in still air, depending upon pipe size, surface, andair temperature. Table 8-18 gives values of h, for pipes in still air, and Table 8-19 lists the correction factor for h~ at different wind velocities. (6) The combined convective and radiative heat transfer coefficient (h~ + h~) is given by 564 h + h ~ = D 0~9 o [ 2 7 3 - ( T - T i~)]
(8-123)
(7) The wind factor, WF: WF= C0+C,(T , - T.i~) +
C2(T ~-
(8-124)
T,~) 2
Table 8-18 Values of ha for Pipes in Still Air ( t s - ta) ~ (For an unlagged pipe ts = tw)
Nominal pipe dia., inch.
50
100
150
200
250
300
400
500
1/2 1 2 4 8 12 24
2.12 2.03 1.93 1.84 1.76 .... 1.64
2.48 2.38 2.27 2.16 2.06 2.01 1.93
2.76 2.65 2.52 2.41 2.29 2.24 2.15
3.10 2.98 2.85 2.75 2.60 2.54 2.45
3.41 3.29 3.14 3.01 2.89 2.82 2.72
3.75 3.62 3.47 3.33 3.20 3.12 3.03
4.47 4.33 4.18 4.02 3.83 3.83 3.70
5.30 5.16 4.99 4.83 4.68 4.61 4.48
Source: McAdams [24].
Heat Transfer
651
Table 8-19 Correction Factor for ha at Different Wind Velocities (ts - ta), ~ (For an unlagged pipe, ts = tw) Wind velocity, m/hr
100
200
300
400
500
2.5 5.0 10.0 15.0 20.0 25.0 30.0 35.0
1.46 1.74 2.16 2.50 2.76 2.98 3.15 3.30
1.43 1.69 2.10 2.42 2.69 2.89 3.06 3.21
1.40 1.64 2.02 2.33 2.58 2.78 2.94 3.10
1.36 1.59 1.93 2.27 2.45 2.64 2.81 2.97
1.32 1.53 1.84 2.08 2.30 2.49 2.66 2.81
Source." Kohli [23]
where C O- 2.814 C l - -0.00038857 C2 - - 0 . 0 0 0 0 0 1 2 8 5 7 For zero wind condition, C O- 1.0 Cl - 0.0 C 2 -
0.0
(8) The new film heat transfer coefficient to air corrected for wind, h,(Btu/hrft 2~ F) h a =(h c + h~)(WF)
(8-125)
(9) The total heat lost from pipeline, Qt, Btu/hr Qt - (Q)(LToTAC)
(8-126)
where LTOTAL -- total length of pipe, ft (10) The flow rate of hot m e d i u m W, lb/hr W =
Qt Cp (Ymi - Tmo)
(8-127)
652
Fortran Programs for Chemical Process Design
(1 l) The number of tracers required without heat transfer cement is NTwoc =
Q
(8-128)
a(Tmavg, - Tp)
where a - thermal conductance tracer to pipe without cement, Btu/hr~ of pipe) (12) The number of tracers required with heat transfer cement: NTwc =
Q b(Tm,avg
-
-
(8-129)
Tp )
where b - thermal conductance tracer to pipe with cement, Btu/hr~ of pipe) Table 8-20 lists the values of a and b. Blackwell [20] recommends approximately 1 1/4 inch between pipe and insulation to accommodate a 1/2-inch tracer line and heat transfer cement. He further recommends twice this value for three or more tracers. A 3/8 inch to 1 inch of space may be required for smaller tracers. Tracers are normally spaced equidistantly around the pipe, and are run parallel to it. In the case of heat lost from an insulated pipeline without tracing, the hot medium inlet and outlet temperatures are set to equal the temperature of the pipe.
Nomenclature a = thermal conductance, tracer to pipe without heat transfer cement, Btu/hr~ of pipe) b = thermal conductance, tracer to pipe with cement, Btu/hr~ of pipe) C 0, C~, C 2 = constants for wind factor equation Table 8-20 Thermal Conductance Tracer to Pipe
Tube size, inch 3/8
0.295
3.44
1/2
0.393
4.58
5/8
0.490
5.73
Source." Kohli [23].
Heat Transfer
653
C p - specific heat of hot medium, Btu/lb~ D i - inside diameter of insulation, inch D o = outside diameter of insulation, inch h~ = film heat transfer coefficient to air (corrected for wind), (Btu/hrftZ~ hc + h r = combined convective and radiative heat transfer coefficients, (Btu/hrftZ~ K~ = thermal conductivity of insulation, Btu/hrftZ(~ LTOTAL = total pipeline length, ft Nvwc = number of tracers required with heat transfer cement Nvwoc = number of tracers required without heat transfer cement Q = heat lost per ft of pipe, Btu/hr ft Q, = total heat lost from pipeline, Btu/hr T~ = average temperature of pipe and tracer, ~ T~ir = air temperature, ~ TAL = allowance for tracer diameter, inch Tm a v g - average temperature of hot medium, ~ Ymi--- inlet temperature of hot medium, ~ Tmo -- outlet temperature of hot medium, ~ T p - temperature in pipe, ~ T~ = outside surface temperature of insulation, ~ W = flow rate of hot medium, lb/hr W F = wind factor BATCH H E A T I N G AND C O O L I N G OF FLUIDS Heating or cooling of process fluids in a batch operated vessel is common in the chemical process industries. The process is an unsteady state in nature, because the heat flow, the temperature, or both vary with time at a fixed point. The time required for the heat transfer can be modified by increasing the agitation of the batch fluid, the rate of circulation of the heat transfer medium in a jacket or coil or both or the heat transfer area. Bondy and Lippa [25] have compiled a collection of correlations of heat transfer coefficients in agitated vessels. Batch processes are sometimes disadvantageous because: 9 9 9 9
Use of the heating or cooling medium is intermittent. The liquid being processed is not readily available. The requirements for treating time requires holdup. Cleaning or regeneration is an integral part of the total operating period.
Fortran Programs for Chemical Process Design
654
The variables in batch heating or cooling processes are surface requirement, time, and temperature. Heating a batch may be by external means, such as a jacket or coil, or by withdrawing and recirculating it through an external heat exchanger. In either case, assumptions are made to facilitate calculation: 1. The overall heat transfer coefficient, U, is constant for the process and over the entire surface. 2. Liquid flow rates are at steady state. 3. Specific heats are constant for the process. 4. The heating or cooling medium has a constant inlet temperature. 5. Agitation gives a uniform batch fluid temperature. 6. There is no phase change. 7. Heat losses are negligible.
Batch Heating: Internal Coil, Isothermal Heating Medium When an agitated batch containing M of fluid with specific heat, c, and initial temperature, t, is heated with an isothermal condensing heating medium, T~, the batch temperature t 2, at any time, 0, can be derived by the differential heat balance. For an unsteady state operation as shown in Figure 8-16, the total number of heat transferred is q', and per unit time, 0, is:
I
II
III
IV
dq - dq' = Mc d__tt_ UAAt dO dO Accumulation in the batch
(8-130)
Transfer rate
At-T l -t
(8-~31)
Equating III and IV gives Mc d__tt_ UAAt dO
(8-132)
Rearranging Equation 8-132 gives" dt
UA = ~.d0 At Mc
(8-133)
Heat Transfer
655
T2
M,
t
I
J
I'71 1 I /
heat exchanger w i t h i n the batch
Figure 8-16. Agitated batch vessel.
~tt2 T ldt- t ,
_ UA j'~d0 Mc
(8-134)
Integrating Equation 8-134 from t~ to t 2 while the time passes from 0 to 0 yields: (T~ - t I ) _ UA --.0 In T I - t2 Mc where A = c= M = T~ = t~ =
heat transfer surface specific heat of liquid weight of batch liquid heating medium temperature initial batch temperature t 2 = final batch temperature U = overall heat transfer coefficient 0 = time
(8-135)
Fortran Programs for Chemical Process Design
656
Batch Cooling : Internal Coil Isothermal Cooling Medium Consider the same arrangement containing M of liquid with specific heat, c, and initial temperature, TI, cooled by an isothermal vaporizing medium of temperature, t~. If T is the batch temperature at any time, 0, then dq' = - M c dT - UAAt dO dO
(8-136)
where At=T-t~
(8-137)
Then -Mc~
dT dO
= UAAt
(8-138)
Substituting Equation 8-137 into Equation 8-138 and rearranging gives:
-
A'd0 I~_~T -dT t~ - I ~ U Mc
Integrating from (T~-t!)_ In T ~ - t ,
T l to T 2
(8-139)
while the time passes from 0 to 0 gives:
UA m.0 Mc
(8-140)
where A = c= M = T~ =
heat transfer surface specific heat of liquid weight of batch liquid initial batch temperature T 2 = final batch temperature t~ = cooling medium temperature U = overall heat transfer coefficient 0 = time
Batch Heating with Non-Isothermal Heating Medium The non-isothermal heating medium has a constant flow rate, Wh, specific heat, C h, and inlet temperature, T~, but a variable outlet temperature. For an unsteady state operation,
Heat Transfer
I
II
III
dq' = Mc dt dO
_ WhCh(T
IV
' _ T2 ) _ UAAtLMTD
dO
The log mean temperature difference,
AtLMTD
(8-141)
is"
(w,-t/
T1
AtLMTD ----
657
-- T 2
(8-142)
In T 2 - t
Equating III and IV in Equation 8-141 and rearranging gives: WhC h (Tl
-
Tl
ln/Wl-t/
T 2)
UA
-- T 2
(8-143)
T2 -t
Equation 8-143 becomes" (T~ - t / _ UA In T z - t WhC h T 1 -
T: - t
t
= e
(8-144)
UA/WhC h
(8-145)
Rearranging Equation 8-145 gives" T2 - t +
Y l -t e
UA/WnC"
(8-146)
where K l -
eUA/WhCh
(8-147)
Equating II and III in Equation 8-141 and substituting Equation 8-146 in Equation 8-141 gives"
( { W t}/
Mc dt _ W C h T dO h 1
t+
~
Kl
(8-148)
658
FortranPrograms for Chemical Process Design
: WhC h
t~
I,-
Kl
-1]
i~ I
OWhCh/Kl -1/
dt = So TI - t
Mc
d0
(8-150)
K~
Rearranging and integrating Equation 8-150 from tl to passes from 0 to 0 gives:
In T i - t ~
(8-149)
(Z I - t )
t 2 while
t,)/WhCh//K, 1)0 -
Mc
K,
the time
(8-~5~)
where A = c = Ch= M = TI = tl =
heat transfer surface specific heat of batch liquid heating m e d i u m specific heat weight of batch liquid heating m e d i u m temperature initial batch temperature t 2 = final batch temperature U = overall heat transfer coefficient W h = heating m e d i u m flow rate 0 = time
Batch Cooling" Non-Isothermal Cooling Medium W h e n cooling a batch with internal coil and a non-isothermal cooling medium, the following equation can be applied. dq' = - M c d__TT_ WcC~ (t 2 _ t, ) - UAAtLM~D dO dO where K 2 = e
(8-152)
UA/W~C~
and In
-
tl / _WcCc C )( Mc
(8-~53) K2
where A = heat transfer surface c = specific heat of liquid
Heat Transfer Cc = M = T~ = T2 = t~ = U = Wc = 8=
659
coolant specific heat weight of batch liquid initial batch temperature final batch temperature initial coolant temperature overall heat transfer coefficient coolant flow rate time
Batch Heating Through An External Heat Exchanger, Isothermal Heating Medium Figure 8-17 illustrates the arrangement in which the fluid in the tank is heated by an external heat exchanger. The heating medium is isothermal, therefore any type of exchanger with steam in the shell and tubes can be used. The variable temperature out of the exchanger, t',will differ from the variable tank temperature, t. An energy balance around the tank and the heat exchanger gives:
/ t::
M,
t N h Ch
1 t
Figure 8-17. Batch heating through an external heat exchanger, isothermal heating medium.
660
FortranPrograms for Chemical Process Design I
II
dt dq' = Mc dO dt
III
-- W hC h ( t '
Heat accumulation in the batch
- t)
-
Heat entering the batch by recirculation
UAAtLMTD
Transfer rate in the external exchanger
The log mean temperature difference, (T,-
At L M T D
AtLMTD
~ -t')
ti)-(T
(8-154)
is" (8-155)
=
In( T~- - t' ) Tj - t'
t p ~
t I
(8-156)
In( T~- - tl ) T I - t' Equating II and III in Equation 8-154 gives: WhCh(t"
--
t)
(8-157)
- UAAtLMTD
That is" WhC h (t' - t) - UA
,n{T, t;} (t'-
T l -
t)
(8-158)
t'
Rearranging Equation 8-158 gives (T~-t)_ In ~ i _ t '
UA WhCh
(8-159)
Equation 8-159 can be expressed as" Tl - t
-
e UA/w~C~ (T~
- t')
(8-160)
Heat Transfer
661
where UA/WhCh
K3=e
(8-161) T l -
t
= K 3(Tj
- t')
Therefore
t'-
T l -t]
(8-162)
K3
T l -
Equating I and II in Equation 8-154 Mc
dt
dO
= W h C h (t'
- t)
(8-163)
Substituting Equation 8-162 into Equation 8-163 and rearranging gives:
Me .dt fT,_(T,-t/t_t W hC h
(8-164)
K3
dO
_
(K 3 -
1)(T,
-
t)
(8-165)
K3
St, Tj - t -
K3
Rearranging and integrating Equation 8-166 from tj to passes from 0 to 0 gives:
IT,-tl)-/K3 K-'//WcCh/0 3 Mc
In T I - t2 where A = c= Ch = M = T~t~ =
8_,66
Mc
heat transfer surface specific heat of batch liquid heating medium specific heat weight of batch liquid heating medium temperature initial batch temperature
t 2 while
the time
(8-167)
662
Fortran Programs for Chemical Process Design t 2 = final batch temperature U = overall heat transfer coefficient W h = heating m e d i u m flow rate 0 = time
Batch Cooling Through an External Heat Exchanger, Isothermal Cooling Medium W h e n cooling a batch with an external heat exchanger and an isothermal cooling medium, the equation is:
ln/W' /WcCc//K4'/~ t') Mc K4 where
K 4 =
A = c = Cc = M = T 1= T2t 1= U = Wc= 0 =
(8-168)
UA/ W~C~. e heat transfer surface specific heat of liquid coolant specific heat weight of batch liquid initial batch temperature final batch temperature initial coolant temperature overall heat transfer coefficient coolant flow rate time
Batch Cooling: External Heat Exchanger (Countercurrent Flow), Non-isothermal Cooling Medium W h e n cooling a batch with an external heat exchanger and a nonisothermal cooling medium, the following equation can be used. T~ - t I ln(T 2 _t])-( where K s = A = c Cc = M =
M Ks-
WbWcCc/0 K5WcC-~ - ~VbC
exp{ UA( 1 A V b C - 1/WcC c) } heat transfer surface specific heat of liquid coolant specific heat weight of batch liquid
(8-169)
Heat Transfer
T~ = T2= tl = U = W b= Wc= 0 =
663
initial batch temperature final batch temperature initial coolant temperature overall heat transfer coefficient batch flow rate coolant flow rate time
Batch Heating: External Heat Exchanger and Non-isothermal Heating Medium W h e n heating a batch with an external heat exchanger and nonisothermal heating, the following equation applies:
/
In T i - i ~ where K 6 = A = cChM = T~ = t~t2 = U = Wb= W h= 0 =
-
WbWhCh/0
M
K6WhC h - ~ V b c
exp{UA(1/WbC - l[V~rhCh) } heat transfer surface specific heat of batch liquid heating m e d i u m specific heat weight of batch liquid heating m e d i u m temperature initial batch temperature final batch temperature overall heat transfer coefficient batch flow rate heating m e d i u m flow rate time
Batch Heating: External Heat Exchanger (1-2 Multipass Heat Exchangers), Non-isothermal Heating Medium The procedure used for batch heating with external 1-2 multipass heat exchangers with non-isothermal heating media involves using the same heat balance as defined by the following equation:
I dq' de
= Mc
II
dt dO
-- W b C ( t ' -
III t)-
WhC h ( T , -
IV T2)-
UAAtLMTD (8-171)
Fortran Programs for Chemical Process Design
664
II in
Equating I and dt
Mc
Equation 8-171
= WbC (t' - t)
(8 - 172)
dO Rearranging Equation 8-172 gives:
M
dt
W b
dO
t' = t + ~ .
(8-173)
The parameter S can be defined by
t, t /M//1 /at
S -
=
T~ - t
Wb
T!- t
(8-174)
dO
The parameter R can be defined by equating II and Ill in Equation 171 R - T~ - T 2 = WbC t' - t W hC h
(8-175)
Rearranging Equation 8-174 gives:
i~_~ dt
_
_
S. Wb i~d ~
T~-t
(8-176)
M
Integrating from t~ to t2, as the time passes from 0 to 0 yields:
/_t,/(s Wb0
In T'
f I -
t2
-
(8-177)
M
and S .__
2 ( K 7 - 1) K 7 { R + 1 + (R 2 + 1) 0.5 } - { R + 1 - ( R 2 +
where K 7 = A = c = Ch= M = T~ = t~ = t2 =
exp{ (UA/WbC)(R 2 + 1)~ heat transfer surface specific heat of batch liquid heating m e d i u m specific heat weight of batch liquid initial temperature of heating m e d i u m initial batch temperature final batch temperature
1) 0.5 }
(8-178)
Heat Transfer
U = Wb= W h= 0=
665
overall heat transfer coefficient batch flow rate heating medium flow rate time
Batch Heating and Cooling: External Heat Exchanger (2-4 Multipass Heat Exchangers) The same procedure can be used as in 1-2 multipass heat exchangers. The equation for batch heating with external 2 - 4 multipass heat exchangers and non-isothermal heating media is In T~ - t~
_
)0
(8-177)
where S -
2(K
s
- 1)[1 + { ( 1 - S ) ( 1 - RS)} ~
(8-179)
(K s - 1)(R + 1 ) + (K s + 1)(R: + 1) o.5 and
K 8 - exp
UA (R 2 + 1)~ }
(8-180)
2WbC
Because S cannot be expressed explicitly, Equation 8-179 can be solved only by trial and error, assuming different values of S until an equality is attained. The equations for batch heating and cooling are the same as those developed for the 1-2 multipass exchangers, except that the value of S from Equation 8-179 replaces the value of S from Equation 8-178.
PROBLEMS AND SOLUTIONS Problem 8-1 Kerosene leaves the bottom of a distillation column at 390~ and will be cooled to 200~ by crude oil from storage at 100~ and heated to 170~ Calculate the number of shell passes required, the F-factor, and the corrected LMTD. Hot kerosene inlet temperature
= 390~
Hot kerosene outlet temperature = 200~
666
FortranPrograms for Chemical Process Design
Crude oil inlet temperature
= 100~
Crude oil outlet temperature
- 170~ Solution
The computer program PROG81 calculates the required number of shell passes, the F-factor, the Log Mean Temperature Difference (LMTD), and the Corrected Mean Temperature Difference (CMTD). Table 8-21 shows the input data and computer output of the problem. The number of shells required is 1, the F-factor is 0.8917, the LMTD is 152.2~ and the corrected LMTD is 135.7~ Problem
8-2
Acetone (s = 0.79) at 250~ is to be sent to storage at 100~ and at a rate of 60,000 lb/hr. The heat will be received by 185,000 lb/hr of 100 percent acetic acid (s = 1.07) coming from storage at 90~ and heated to 150~ Pressure drops of 10.0 psi are available for both fluids. Assuming that the fouling factor on the tube side is 0.001 and that on the shell side is 0.003, calculate the heat transfer coefficients for the tube and shell sides, the overall heat transfer coefficient for the exchanger, outside area of unit, and the heat transferred. Available for the service are a large number of 1-2 exchangers having 21 1/4 in. ID shells with 270 tubes 3/4 in. OD, 14 BWG, 16 ft long
Table 8-21 Input Data and Computer Output for the Corrected Mean Temperature Difference in a Shell and Tube Heat Exchanger DATA81.DAT 390.0 I00.0 i.
200.0 170.0
THE
CORRECTED
LMTD
IN
A
SHELL
AND
HOT FLUID INLET TEMPERATURE, oF: HOT FLUID OUTLET TEMPERATURE, oF: COLD FLUID INLET TEMPERATURE, oF: COLD FLUID OUTLET TEMPERATURE, oF: NUMBER OF SERIES EXCHANGER SHELLS: THE NUMBER OF SHELLS REQUIRED: THE F- FACTOR: THE LOG MEAN TEMPERATURE DIFFERENCE,oF: THE CORRECTED L M T D , oF: __-
TUBE
HEAT
EXCHANGER 390.000 200.000 I00.000 170.000 i. i. .8917 152.1959 135.7112
Heat Transfer
667
and laid on 1-in. square pitch. The bundles are arranged for two tube passes with segmental baffles spaced 5 in. apart. Physical property data: Physical property
Acetone
Acetic Acid
Viscosity, cP Density, lb/ft 3
0.20 49.296
0.85 66.768
Specific heat, Btu/lb.~
0.63
0.51
Thermal conductivity, Btu/lb.ftZ(~
0.095
0.098
Solution Exchanger: Hot Fluid (Acetone)
Cold Fluid (Acetic Acid)
Shell side ID=21 1/4 in. Baffle space = 5in. Passes = 1
Tube side Number and length = 270, 16'0" OD, BWG, pitch = 3/4in., 14 BWG, 1 in. square. Passes = 2
Heat Balance: Heat lost by acetone to storage = heat gained by acetic acid from storage that is, W.Cp.(T 2 - T,) - W.Cp.(t2 -t~) (60,000)(0.57)(250 - 100) = w(0.51)(150 - 90) w -- 168,000 lb/hr The computer program PROG82 rates the shell and tube heat exchanger using 168,000 lb/hr of acetic acid in the tube side. Table 8-22 gives the input data and computer output of the heat exchanger design. A minim u m of three shell passes is required to permit the transfer of heat with the temperatures given by the process. The overall heat transfer coefficient is 79 Btu/hrftZ~ and the heat transfer surface is 2545 ft 2. Three exchangers are sufficient for the heat transfer, although the pressure
668
Fortran Programs for Chemical Process Design Table 8-22 Input Data and Computer Output for the Rating of a Shell and Tube Heat Exchanger
DATA82.DAT ACETIC 270.0 S 16.0 150.0 0.098 ACETONE ]..0 0.003 0.20
ACID 0.584
0.75
2.0 0.001 0.51 0.85 168000.0 21.25 250.0 49.296
38.0 i00.0 0.095
1.0 90.0 66.768
5.0 0.63 60000.0
*SIIELL A N D
TUBE
HEAT
EXCHANGER TUBE
FLUID TYPE: FLUID FLOW RATE , Ib/hr." SPECIFIC HEAT CAPACITY, Btu/ib.oF: FLUID DENSITY, ib/ft^3: FLUID VISCOSITY, cP: F L U I D T H E R M A L C O ND. B t u / f t . h . o F : FLUID INLET TEMPERATURE, oF: FLUID OUTLET TEMPERATURE, oF: INSIDE DIAMETER, inch: OUTSIDE DIAMETER, inch: T U B E P I T C H , inch: T U B E L E N G T H , ft.: NUMBER OF TUBES: NUMBER OF PASSES: NUMBER OF BAFFLES: B A F F L E S P A C I N G , inch: FLUID VELOCITY, ft/sec.: REYNOLDS NUMBER: PRANDTL NUMBER: FRICTION FACTOR (ft^2/in^2): HEAT COEFF., Btu/hr.ft^2.oF: PRESSURE D R O P , psi: FOULING FACTOR" APPROACH F A C T O R , F: L O G M E A N T E M P . DIFF. oF: CORRECTED M E A N T E M P . D I F F . oF: OVERALL HEAT COEFF., Btu/hr.ft^2.oF: OUTSIDE AREA OF UNIT, ft^2: H E A T L O A D ON U N I T , B t u / h r : HEAT TRANSFERRED, Btu/hr: .............
RATING*
SIDE
ACETIC ACID 168000. .510 66.768 .850 .098 9O. 150. .584 .750 1.000 16.000 270. 6.
2.783 15828. 10.7048 .00024 211.8 1.5682 .0010 .8749 39.09 34.20 79.0 2544.7 5140800. 6870014.
SHELL
SIDE
ACETONE 60000. .630 49.296 .200 .095 250. i00. 21.250 SQUARE
PITCH
3. 38. 5.0 1.833 53072. 3.2097 .00153 253.4 3.4464 .0030
drop on the shell side is higher than the permissible pressure drop. Fewer exchangers will be inadequate for the service. Problem 8-3 Petroleum distillate oil (28 ~ API) is to be cooled in a double pipe finned tube exchanger with cooling-tower water under the following conditions:
Heat Transfer
669
Tube side: Water flow = 23,310 lb/hr Tin = 80~ Tou t = 120~ Fol = 0.003 la = 0.72 cP K = 0.366 Btu/fthr~ Cp = 1 Btu/lb ~ Density = 62.3 lb/ft 3 N u m b e r of passes = 5 Shell side: Oil flow = 18,000 lb/hr Tin-- 250~ Tou, = 150~ Fol = 0.001 la = 2.45cP K = 0.074 Btu/ft hr~ Cp - 0.518 Btu/lb~ Density = 45 lb/ft 3 N u m b e r of passes = 1 Exchanger size: Shell side: 3 in. (3.068 in. ID, 3.5 in. OD) Tube side: 1 1/2 in. (1.61 in. ID, 1.9 in. OD) Tube length: 12 ft Fins: 24, 0.5 in. high x 0.035 in. wide Thermal conductivity of tube material K = 25 Btu/flhr~ Pressure drops of 10 psi are allowable on both streams, and the fouling factors of 0.001 for the distillate oil and 0.003 for the water are required. Calculate the overall heat transfer coefficient, and the exchanger fin efficiency.
Solution Exchanger: Hot Fluid (Oil)
Cold Fluid (Water)
Shell side
Tube side
ID = 3.068 in.
ID = 1.61 in. OD = 1.9 in. Tube length = 12"0"
Passes = 1
Passes = 5
670
Fortran Programs for Chemical Process Design
Physical property data: Physical property Viscosity, cP Density, lb/ft 3 Specific heat, Btu/lb.~ Thermal conductivity, Btu/lbftZ(~
Oil 2.45 45.0 0.518 0.074
Water 0.72 62.3 1.00 0.366
Heat Balance: Heat lost by oil = heat gained by water that is, Q = W.Cp.(Y,- Y2) = w.cp.(t 2 - t,) Q = (18000)(0.518)(250- 150) = w ( 1 ) ( 1 2 0 - 80) 932400 = 40w w = 233 l0 lb/hr The flow of water required to cool the oil is 23310 lb/hr. The computer program PROG83 rates the double pipe heat exchanger using either fin tubes or bare tubes. Table 8-23 lists the input data and output of the computer program. The fin efficiency is 43.3 percent and the computed overall heat transfer coefficient is 27.3 Btu/hrftZ~ The pressure drops have not been exceeded, and the double pipe exchanger will be satisfactory for the service. Problem 8-4
Calculate a preliminary air-cooler design using the following data. A light hydrocarbon liquid is to be cooled from 170~ to 135~ in an air cooler. The heat transfer rate is 5.0 MM Btu/hr, and the estimated overall heat transfer is 60 Btu/hr ftZ~ The design dry bulb air temperature is 85~ and the tube length is 40ft. Solution
The computer program PROG84 calculates the air cooled heat exchanger area, the face area and the fan horsepower. Table 8-24 shows both the input data and computer output of the design calculations. The exchanger area is 1602 ft 2 and the LMTD is 52~ Face area of the bundle
Heat Transfer
671
Table 8-23 Input Data and Computer Output for the Double Pipe or Longitudinal Finned Tube Heat Exchanger DATA83.DAT WATER LIQUID 1.61 1.0 80.0 62.3 OIL FINS LIQUID 24 3.068 0.518 250.0 0.5 25.0
1.9 0.72 120.0 12.0
3.5 2.45 150.0 0.035 45.0
23310.0 0.366 0.003 5
18000.0 0.074 0.001 1 DOUBLE PIPE HEAT EXCHANGER RATING USING BARE-TUBES/LONGITUDINAL FINNED TUBES FORCED CONVECTION WITH NO CHANGE OF PHASE TUBE
SIDE
WATER FLUID NAME: LIQUID TYPE OF PHASE FLOW: 23310. FLUID FLOW RATE, ib/hr.: 1.000 SPECIFIC HEAT CAPACITY, Btu/Ib.oF: 62.300 FLUID DENSITY, ib/ft^3.: .720 FLUID VISCOSITY, cP: .366 FLUID THERMAL COND., Btu/Ib.oF: 80.000 FLUID INLET TEMPERATURE, oF: 120.000 FLUID OUTLET TEMPERATURE, oF: 1.610 I N S I D E D I A M E T E R , inch: 1.900 O U T S I D E D I A M E T E R , inch: .003 FOULING FACTOR: 12.000 T U B E L E N G T H , ft.: 5 NUMBER OF TUBE PASSES: 24 NUMBER OF FINS: .500 F I N H E I G H T , inch: .035 FIN THICKNESS, inch: 25.000 THERMAL COND. TUBE MATERIAL, Btu/hr.ft.oF: 7.351 FLUID VELOCITY, ft/sec.: 126958. REYNOLDS NUMBER: 4.7607 PRANDTL NUMBER: .000031 FRICTION FACTOR (ft^2/in^2): 2.9424 P R E S S U R E D R O P , psi.: 2.258 FIN MODULUS: 43.335 FIN EFFICIENCY, %: 44.486 EFFECTIVE SURFACE EFFICIENCY, %: 96.92 L O G M E A N T E M P . D I F F . , oF: HEAT TRANSFER FILM COEFF. CORRECTED 264.33 FOR FOULING:, Btu/hr.ft^2.oF: 27.26 OVERALL HEAT TRANSFER COEFF., Btu/hr.ft^2. 932400.0 HEAT LOAD ON UNIT, Btu/hr.: 352.932 HEAT TRANSFER SURFACE ft^2.:
SHELL
SIDE
OIL LIQUID 18000. .518 45.000 2.450 .074 250.000 150.000 3.068 3.500 .001
3.867 3759. 41.503 .000042 .5943
107.04
is 283ft 2, and the fan horsepower is 25.2 bhp. The required air flow is 164266 std ft3/min. Problem 8-5 Determine the number of tracers required to maintain 100 ft of 8-in. (Schedule 40) process line (ID - 7.981 in.) at 500~ Hot tracing
672
FortranPrograms for Chemical Process Design Table 8-24 Input Data and Computer Output for An Air-Cooled Heat Exchanger Design
DATA84.DAT 170.0 60.0
135.0 5000000.0
85.0 40.0
AN
AIR-COOLED
HEAT
EXCHANGER
DESIGN
INLET PROCESS FLUID TEMPERATURE, oF: OUTLET PROCESS FLUID TEMPERATURE, oF: INLET AIR TEMPERATURE, oF: OVERALL HEAT-TRANSFER COEFFICEINT, Btu/hr.ft^2.oF: HEAT LOAD, Btu/hr.: T U B E L E N G T H , ft.: NUMBER OF TUBE ROWS: R A T I O O F B A R E - T U B E S U R F A C E T O F A C E A R E A OF B U N D L E : F A C E V E L O C I T Y OF A I R , f t . / m i n . : ESTIMATED AIR OUTLET TEMPERATURE, oF: EFFECTIVE LOG MEAN TEMPERATURE DIFFERENCE, oF: B A R E - T U B E S U R F A C E A R E A B A S E D ON T U B E OD, ft^2: F A C E A R E A O F B U N D L E , ft^2: CALCULATED OUTLET AIR TEMPERATURE, oF: THE DIFFERENCE BETWEEN THE CALCULATED AIR OUTLET TEMPERATURE AND THE ESTIMATED AIR OUTLET TEMPERATURE IS G R E A T E R T H A N 0.5 EFFECTIVE LOG MEAN TEMPERATURE DIFFERENCE, oF: B A R E - T U B E S U R F A C E A R E A B A S E D O N T U B E OD, ft^2: F A C E A R E A O F B U N D L E , ft^2: CALCULATED OUTLET AIR TEMPERATURE, oF: CALCULATED BARE-TUBE SURFACE AREA B A S E D O N T U B E O U T S I D E D I A M E T E R , ft^2: F A C E A R E A O F B U N D L E , ft^2: AIR FLOW OVER TUBES, std.ft^3/min.: FAN HORSEPOWER, bhp: AIR-COOLER W E I G H T , ib: T U B E B U N D L E W I D T H , ft.:
170.0 135.0 85.0 60.0 5000000. 40.0 4.5 5.7 580.740 105.250 57.058 1460.5 257.9 115.916
TAO-TAOI 52.015 1602.1 282.9 113.184
>0.5
1602.1 282.9 164266. 25.2 22169.8 7.1
medium is available at 630~ and has a heat capacity of 0.53 Btu/lb~ The process line is covered with 2.5 in. of insulation, and this insulation has a thermal conductivity of 0.033 Btu/(hr)(ftz)(~ Design for 0~ air temperature and 20 mph winds. Use 1/2 in. tracers, the hot medium outlet temperature is 550~ Allow approximately 1 1/4 in. between pipe and insulation to accommodate a 1/2 in. in tracer line and heat transfer cement. Assuming the trial film heat transfer coefficient is 4.0 Btu/hrft 2 ~ and the thermal conductances tracer to 1/2 in. pipe are a = 0.393 and b = 4.58 Btu/hr ~ of pipe). Solution The computer program PROG85 calculates the heat tracer requirements and heat loss for an insulated pipe line either with tracing or without tracing. Table 8-25 lists the input data and computer output of the
Heat Transfer
673
Table 8-25 Input Data and Computer Output for Tracer Requirements for Pipelines DATA85.DAT I00.0 550.0 1.25 0.53
500.0 0.0 2.5 4.0
630.0 7.981 0.033 0.393
4.58
HEAT TRACER REQUIREMENTS FOR PIPELINES AND HEAT LOSS FROM AN INSULATED PIPELINE WITH TRACING ***************************************************************************** T O T A L P I P E L I N E L E N G T H , ft.: TEMPERATURE IN P I P E , oF: HOT-MEDIUM INLET TEMPERATURE, oF: HOT MEDIUM OUTLET TEMPERATURE, oF: AIR TEMPERATURE, oF: O U T S I D E D I A M E T E R O F P I P E , in.: A L L O W A N C E F O R T R A C E R D I A M E T E R , in.: INSULATION THICKNESS, in.: THERMAL CONDUCTIVITY OF INSULATION, Btu/hr.ft^2(oF/ft SPECIFIC HEAT OF HOT MEDIUM, Btu/Ib.oF: FILM HEAT TRANSFER COEFFICIENT TO AIR CORRECTED FOR WIND, Btu/ft^2.hr.oF: THERMAL CONDUCTANCE TRACER TO PIPE WITHOUT CEMENT, Btu/hr.oF.ft of pipe: THERMAL CONDUCTANCE TRACER TO PIPE WITH CEMENT, Btu/hr.oF.ft of pipe: OUTSIDE SURFACE TEMPERATURE O F I N S U L A T I O N , oF: THE COMBINED CONVECTIVE AND RADIATIVE HEAT TRANSFER COEFFICIENT, Btu/h.oF.ft^2: WIND FACTOR: HEAT TRANSFER COEFFICIENT TO AIR CORRECTED FOR THE WIND, Btu/hr.ft^2.oF: HEAT LOSS PER FOOT OF PIPE, Btu/hr.ft: TOTAL HEAT LOSS FROM PIPELINE, Btu/hr.: F L O W R A T E O F H O T M E D I U M , ib/hr.: T H E N U M B E R OF T R A C E R S W I T H O U T H E A T T R A N S F E R C E M E N T : THE NUMBER OF TRACERS WITH HEAT TRANSFER CEMENT:
i00.0 500.0 630.0 550.0 .0 7.981 1.25 2.50 .033 .530 4.000 .393 4.580 16.972 1.330 2.807 3.734 252.934 25293.430 596.543 7.15 .61
HEAT LOSS FROM AN INSULATED PIPE WITHOUT TRACING ***************************************************************************** OUTSIDE SURFACE TEMPERATURE OF INSULATION, THE COMBINED CONVECTIVE AND RADIATIVE HEAT TRANSFER COEFFICIENT, Btu/h.oF.ft^2: WIND FACTOR: HEAT TRANSFER COEFFICIENT TO AIR CORRECTED FOR THE WIND, Btu/hr.ft^2.oF: HEAT LOSS PER FOOT OF PIPE, Btu/hr.ft: TOTAL HEAT LOSS FROM PIPELINE, Btu/hr.:
oF:
15.202 1.344 2.808 3.774 206.652 20665.240
problem. The approximate number of tracers without the heat transfer cement of an 8-inch (Schedule 40) process line is 7. The heat transfer cement reduces the number required to 1. The circulation rate of the tracing medium is 596.5 lb/hr, and the heat lost from 100 ft. of pipe line is 25293.4 Btu/hr.
674
FortranPrograms for Chemical Process Design
Problem 8-6 (Internal Coil, Isothermal Heating Medium) A tank containing 55,000 lb (24947.6 kg) of material with a specific heat of 0.5 Btu/lb ~ (2.093 kJ/kg.K) is heated from 72~ (295.4K) to 260~ (399.8K). The tank contains a heating coil with a heat transfer surface of 110 ft 2 (10.22m2), and the overall heat transfer coefficient from the coil to the tank contents is 150 Btu/(hr)(ft2)(~ W/mZ.K). Calculate the time required to heat the tank contents with steam condensing at 350~ (449.8K).
Solution When heating a batch reactor with an internal coil under isothermal condition, Equation 8-135 applies" T I - t I ] _ UA In TI t~ Mc
(8- 35)
The time, 0, required to heat the tank contents with steam condensing at 350~ is,
T I -
In T I - t 0__
UA
tt ] 2
'
hr
ln( 3 5 0 - 72 / 3 5 0 - 260 150 x 110 ]
55,000 • 615 = 1.87 hr
Problem 8-7 Batch Cooling: External Heat Exchanger (Counterflow), Non-isothermal Cooling Medium For the tank described in PROBLEM 8-6, calculate the time required to cool the batch from 260~ (399.8K) to 150~ (338.7K), if an external
Heat Transfer
675
heat exchanger with a heat transfer surface of 2 5 0 f t 2 (23.23m 2) is available. The batch material is circulated through the exchanger at the rate of 30,000 lb/hr (13608 kg/h). Cooling water is available at a temperature of 85~ (302.6K) and a flow rate of 10,000 lb/hr (4536 kg/h). The overall heat transfer coefficient in the heat exchanger is 250 Btu/hr f t 2 ~ (1419.5 W / m 2 K). Solution
Equation 8-169 applies when cooling a batch with an external heat exchanger and a non-isothermal cooling medium.
/T tl)/Ks
In T I - t2
-
M
WbWcCc/0
KsW~C ~ - ~rbC
(8-169)
where
K5 exp{uA/'
Wbc
')t
W~Cc
Using the values in Table 8-26, K 5 is calculated as follows" K 5 - exp{250 • 250 /
1 30,000 • 0.5
10,000 • 1.0
= 0.1245 The time, 0, required to cool the batch is determined from Equation 8-169, l n { 2 6 0 - 85} _ / 0 " 1 2 5 - 1 / 260 - 85 55,000
3o, ooo( ~o, ooo)( ~.o) /o o. 1245(10,0-00)iil 0)- i5()-i000)(0.5) 0 - 2.854 hr Table 8-26
A =250 U =250
W b - 30,000 Wc- 10,000
M =55,000 Cc- 1.0
C =0.5 260~
T1 -
150~ tl - 85~ T2-
676
Fortran Programs for Chemical Process Design P r o b l e m 8-8
8000 gal (30.28m 3) of liquid hydrocarbon under pressure at 350~ (449.8K) is required for a batch extraction process. The storage temperature of the liquid is 100~ (310.9K). Available as a heating medium is a 12,000 lb/hr (5443.2 kg/h) 28 ~ API oil stream at a temperature of 400~ (477.6K). A pump connected to the batch is capable of circulating 50,000 lb/hr (22680.0 kg/h) of the hydrocarbon. Available for the service is 400 ft 2 (37.16m 2) of clean double pipe exchanger surface that gives a U c of 50 Btu/hrft2~ (283.9 W/m2.K) in counterflow streams. Calculate for the flow rates: 1. The time required to heat the agitated batch using the double pipe countercurrent flow exchanger. 2. The time required using a 1-2 exchanger with the same surface and coefficient. 3. The time required using a 2-4 exchanger with the same surface and coefficient. Physical property data: Liquid hydrocarbon Specific gravity: 0.88 Specific heat capacity: 0.48 Btu/lb ~ (2.01kJ/kg.K) 28 ~ API oil: Specific heat capacity: 0.6 Btu/lb ~ (2.51 kJ/kg.K)
Solution Volume of liquid hydrocarbon in the batch - 8000 gal Specific gravity - 0.88 Mass (M) of liquid hydrocarbon in the batch - 8000 x 0.88 x 8.34 = 58713.6 59,000 lb.
Table 8-27
V - 8000
W h - 12,000
C h - 0.6
A - 400
t~ - 100~
Wb - 50,000
Uc - 50
c - 0.48
T1 - 400~
t2 - 350~
Heat Transfer
677
(1) The time required to heat the agitated batch using the double pipe countercurrent exchanger can be determined from Equation 8-170. In T ~ - _ t t ) _ ( K
u
1)( WbWhCh )0 M
6 -
K6W hC h --
WbC
where (
')}
/
K 6 - expJUA[
1 WbC
WhC h
WbC -- (50,000)(0.48) = 24,000 WhC h -- (12,000)(0.60) = 7,200
{
/ '
K 6 - exp (50 x 400) 24,000
7,200
= 0.143 ln(400 ) -- 100) 300 4 ) - (0"059,000 143 - 13( 0 (50' 000)(12' 000) l n ( 4 0 0 - 1 0 0 ) ) - ( 0 . 1 4 3 - 1)( (50,000)(12,000)(0;6_)0/0 400 - 350 59,000 ((Jli~43i(;7,200) - 24, 0 - 7.87 hr (2) Equation 8-177 applies for the time to heat the agitated batch using a 1-2 exchanger. In
and
(T'-t' / /S'Wb/0 TI
i~
-
M
(8-177)
Fortran Programs for Chemical Process Design
678
2(K 7 - 1)
S m
KT{R + 1+
(i2--~ -- l) 0"5 } - { R
--it- l - ( i 2 - - 1
- 1) 0.5 }
(8-178)
where UA ( R 2 + 1) 0.5} K 7 -- exp WbC and R m
WbC WhC h
24,000 7,200 = 3.33 K7
- exp~ (50)(400) (3.332 + 1) 0.5} / 24,000 = 18.127
Substituting the value of K 7 into Equation 8-178 gives, 2(18.127 - 1) 18.127{3.33+1+(3.332 + 1 ) ~
S
1 - - ( 3 . 3 3 2 + 1) 0.5 }
= 0.2435 The value of S in Equation 8-177 gives in(400-100)) 400 - 3-~
(0.2435x50,000) 59~b00 0
0 - 8.68 hr (3) Equations 8-177, 8-179, and 8-180 apply for the time to heat the agitated batch using a 2-4 exchanger. 2 ( K s - 1){1 + [ ( 1 - S ) ( 1 - RS)] ~ } S -
(K 8 - 1)(R + 1)+ (K 8 + 1 ) ( R 2 -t- 1)0.5
(8-179)
Heat Transfer
679
and K 8 -exP{2wbcUA
(R2+ 1)o.5}
(8-180)
Equation 8-179 is an implicit equation involving S on both sides, and can be solved by trial and error until an equality is reached. Rearranging Equation 8-179 gives LHS
RHS
S{(K 8 - 1)(R + 1)+ (U 8 + 1)(8 2 + 1)0.5} (8-181) = 2(K s - 1){1 + [ ( 1 - S ) ( 1 - RS)] ~
{/ K8-exp
5ox4oo 2x5Oi000x0.48
3.332+1)~
= 4.2576 R-
3.33
Substituting S - 0.262 in Equation 8-177 gives in(400-100))_(0-262x50,000) 4 0 0 - 350 59. 0-0-0
0
0 - 8.07 hr
Table 8-28
S
LHR
RHS
0.260
8.418
8.566
0.261
8.45
8.539
0.262
8.588
8.573
0.263
8.515
8.485
680
Fortran Programs for Chemical Process Design References
1. Cheremisinoff, N. P., Heat Transfer Pocket Handbook, Houston, Gulf Publishing Company, 1984. 2. Bowan, R. A., A. C. Mueller, and W. M. Nagle, Mean Temperature Difference in Design, Trans. A.S.M.E., May 1940, pp. 283-293. 3. Kern, D. Q., Process Heat Transfer, McGraw-Hill Co., New York, 1950. 4. Shah, R. K., E C. Subbarao, and R. A. Mashelkar, Heat Transfer Equipment Design, Hemisphere Publishing Corporation, New York, 1988. 5. Chisholm, D. (Ed.), Developments in Heat Exchanger Technology, 1, Applied Science Publishers Ltd., London, 1980. 6. Donohue, D. A., Heat Exchanger Design, Petroleum Refiner, Vol. 34, No. 11, Nov., 1955, pp. 175-184. 7. Morton, D. S., Thermal Design of Heat Exchangers, Industrial And Engineering Chemistry, Vol. 52, No. 6, June, 1960, pp. 474-478. 8. Lord, R. C., P. E. Minton, and R. P. Slusser, "Design of Heat Exchangers," Chem. Eng., Jan. 26, 1970, pp. 96-118. 9. Gulley, D. L., "Use Computers to Select Exchangers," Petroleum Refine, Vol. 39; No. 7, July 1960, pp. 149-156. 10. Polley, G. T., M. H. Panjeh-Shahi, and M. Picon Nunez, "Rapid Design Algorithms For Shell and Tube and Compact Heat Exchangers," Trans. IChemE, Vol. 69, Part A, Nov. 1991, pp. 435-445. 11. S ieder, E. N., and G. E. Tate, "Heat Transfer and Pressure Drop of Liquids in Tubes," Ind., Eng. Chem., Vol. 28, No. 12, Dec. 1936, pp. 1429-1435. 12. Hedrick, P. E., "Calculate Heat Transfer For Tubes In the Transition Region," Chem. Eng., June 1990, p. 147. 13. Frank, O., "In Practical Aspects of Heat Transfer," Proc. of 1976 Fall Lecture Series of New Jersey- North Jersey Sections of AIChE., A.I. ChE., New York, 1976, pp. 1-25. 14. Sandler, H. H. and E. T., Luckiewicz, "Practical Process Engineeri n g ~ A Working Approach To Plant Design," McGraw-Hill Book Company, New York, 1987. 15. Wilson, R. E., W. H. McAdams, and M. Seltzer, "The Flow of Fluids Through Commercial Pipe Lines," The Journal of Ind. and Eng. Chem., Vol. 14, No. 2, Feb. 1922, pp. 105-119. 16. Cook, E. M., "Rating Methods for Selection of Air Cooled Heat Exchangers," Chem. Eng., August 3, 1964, pp. 97-104.
Heat Transfer
681
17. Ganapathy, V., "Process Design Criteria," Chem. Eng., March 27, 1978, pp. 112-119. 18. Smith, E. C., "Air-Cooled Heat Exchangers," Chem. Eng., Nov. 17, 1958, pp. 145-150. 19. Brown, R., "A Procedure for Preliminary Estimates," Chem. Eng., March 27, 1978, pp. 108-111. 20. Blackwell, W. W., Chemical Process Design On A Programmable Calculator, McGraw-Hill Book Company, New York, 1984. 21. Chopey, N. E and Hicks, T. G., Handbook, of Chemical Engineering Calculations, McGraw-Hill Book Company, New York, 1984. 22. Lam, V. and Sandberg, C., "Choose the Right Heat Tracing System," Chem. Eng. Prog. March, 1992, pp. 63-67. 23. Kohli, I. E, "Steam Tracing of Pipelines," Chem. Eng., March 26, 1979, p. 163. 24. McAdams, W. H., Heat Transmission, 3rd Ed., McGraw-Hill, New York, 1954, p. 179. 25. Bondy, F. and S. Lippa, "Heat Transfer in agitated vessels," Chem. Eng., April, 1983, pp. 62-71.
PROGRAM
THIS HEAT THE i. 2.
PROGRAM CALCULATES EXCHANGERS
3. 4. 5. 6. 7. 8.
THE
CORRECTED
L.M.T.D.
IN
SHELL-AND-TUBE
PROGRAM CALCULATES: THE IDEAL AND TRUE MEAN TEMPERATURE DIFFERENCE FOR ONE OR MORE EXCHANGER IN SERIES. THE PROGRAM WILL INCREASE THE NUMBER OF EXCHANGER SHELL UNTIL A 'REASONABLE' F-FACTOR IS O B T A I N E D THUS ELIMINATING THE NEED FOR THE CHARTS AND GRAPHS NORMALLY USED TO CALCULATE F-FACTORS FOR SHELL-AND-TUBE HEAT EXCHANGERS. THE
i. 2.
PROG81
PROGRAM
IS
BASED
ON
THE
FOLLOWING
ASSUMPTIONS:
THE HOT AND COLD FLUIDS FLOW COUNTERCURRENT TO EACH OTHER. THE OVERALL HEAT TRANSFER COEFFICIENT (U) IS C O N S T A N T THROUGHOUT THE HEAT EXCHANGER. T H E F L O W R A T E O F E A C H F L U I D IS C O N S T A N T . THE SPECIFIC H E A T O F E A C H F L U I D IS C O N S T A N T . T H E R E IS N O C O N D E N S A T I O N OF VAPOR OR BOILING OF LIQUID IN ANY PART OF THE EXCHANGER. HEAT LOSSES ARE NEGLIGIBLE. T H E R E IS E Q U A L H E A T T R A N S F E R SURFACE IN EACH PASS. THE TEMPERATURE OF THE SHELL-SIDE F L U I D IN A N Y S H E L L - S I D E P A S S IS U N I F O R M OVER ANY CROSS-SECTION.
THI TH2 TCI TC2 N LMTD F DELTI DELT2 DELT
= = = = = = = = = =
HOT FLUID INLET TEMPERATURE, oF. HOT FLUID OUTLET TEMPERATURE, oF. COLD FLUID INLET TEMPERATURE, oF. COLD FLUID OUTLET TEMPERATURE, oF. NUMBER OF SERIES EXCHANGER SHELLS REQUIRED. LOG MEAN TEMPERATURE DIFFERENCE. CORRECTION FACTOR. TH2-TCI, oF. THI-TC2, oF. LMTD.
REAL
LMTD,
OPEN OPEN
(UNIT=3, (UNIT=l,
READ READ READ READ READ
THE THE THE THE THE
R E A D (3, R E A D (3, READ (3, G O T O i0
N
FILE='DATA81.DAT', FILE='PRN')
STATUS='OLD',
ERR=I8)
HOT FLUID INLET TEMPERATURE, oF: T H I HOT FLUID OUTLET TEMPERATURE, oF: T H 2 COLD FLUID INLET TEMPERATURE, oF: T C I COLD FLUID OUTLET TEMPERATURE, oF: T C 2 INITIAL NUMBER OF SERIES EXCHANGER SHELLS *, *, *,
ERR=I9) ERR=I9) ERR=I9)
THI, TCl, N
TH2 TC2
682
REQUIRED:
N
18 i00
W R I T E (*, i00) F O R M A T (6X, ' D A T A G O T O 999
19 ii0
W R I T E (*, ii0) F O R M A T (6X, ' E R R O R G O T O 999
i0 120
W R I T E (i, 120) FORMAT (///,10X,'THE
130
W R I T E (i, 130) FORMAT ( ' EXCHANGER',/IH
FILE
DOES
MESSAGE
NOT
EXIST')
IN T H E
CORRECTED
DATA
LMTD
VALUE')
IN A S H E L L
AND
TUBE
HEAT',\)
,7 8 ( I H * ) )
140
W R I T E (I, 140) TH1, T H 2 FORMAT(6X,'HOT FLUID INLET TEMPERATURE, oF:', T60, F 9 . 3 , / , 6 X , 'HOT F L U I D O U T L E T T E M P E R A T U R E , oF:',T60, F9.3)
150
W R I T E (I, 150) TCl, T C 2 FORMAT(6X,'COLD FLUID INLET TEMPERATURE, oF:',T60, 'COLD FLUID OUTLET TEMPERATURE, oF:', T60,
160
W R I T E (i, 160) N FORMAT(6X,'NUMBER
OF
SERIES
EXCHANGER
SHELLS:',T60,F4.0)
P = (TC2-TCI)/(THI-TCI) R = (THI-TH2)/(TC2-TCI) RSQRT = (R*'2+I.)**0.5 15
IF (R .EQ. 1.0) T H E N G O T O 25 ELSE VALI = 1.0-((P*R-I.0)/(P-I.0))**(I./N) VAL2 = R-((P*R-I.0)/(P-I.0))**(I./N) P1 = V A L I / V A L 2 ENDIF VAL3 VAL4
= =
(2.0/PI)-I.0-R+RSQRT (2.0/PI)-I.0-R-RSQRT
A = VAL3/VAL4 IF ( A .LT. 0.0) T H E N G O T O 30 ELSE VAL5 = (RSQRT/(R-I.0))*ALOG((I.0-PI)/(I.0-PI*R)) F = VAL5/ALOG(A) ENDIF GO TO 30
GO 25
40
N = N+I TO
15
P2 = P / ( N - P * ( N - I . ) ) VAL6 = (2.0/P2)-2.0+RSQRT
683
F9.3,/,6X, F9.3)
VAL7 = (2.0/P2)-2.0-RSQRT B = VAL6/VAL7 IF ( B . L T . 0.0) T H E N G O T O 30 ELSE VAL8 = (RSQRT*P2)/(I.0-P2) F = VAL8/ALOG(B) ENDIF 40
IF ( F .GT. G O T O 45 ELSE N = N+I G O T O 15 ENDIF
45
DELTI = THI-TC2 DELT2 = TH2-TCI IF ( D E L T I .EQ. D E L T 2 ) G O T O 50 ELSE CALCULATE
0.75)
THE
LOG
THEN
MEAN
THEN
TEMPERATURE
DIFFERENCE
LMTD = (DELTI-DELT2)/ALOG(DELTI/DELT2) ENDIF G O T O 55 50
DELT
= LMTD
CALCULATE
C 55
170
180
CLMTD
THE
CORRECTED
LOG
MEAN
TEMPERATURE
DIFFERENCE
F*LMTD
WRITE (I, 170) N, F, L M T D , C L M T D FORMAT (6X,'THE NUMBER OF SHELLS REQUIRED:',T60, F4.0,/,6X, 'THE F- FACTOR:',T60, F8.4,/,6X, 'THE LOG MEAN TEMPERATURE DIFFERENCE,oF:',T60,F8.4,/,6X, 'THE CORRECTED LMTD, oF:',T60, F8.4) WRITE (i, 180) FORMAT (IH ,78(IH-))
FORM
999
=
FEED
THE *)
PRINTING
WRITE
(i,
CLOSE CLOSE STOP END
(3,STATUS='KEEP') (i)
PAPER
TO
TOP
CHAR(12)
684
OF
THE
NEXT
PAGE.
PROGRAM
PROG82
************************************************************* THIS PROGRAM RATES A SHELL AND TUBE HEAT EXCHANGER WITH EITHER A SINGLE SHELL PASS AND ANY MULTIPLE OF TWO TUBE PASSES OR TWO OR MORE SHELL PASSES. THE PROGRAM ASSUMES THAT THERE IS N O C H A N G E O F P H A S E . THE PROGRAM USES DEVELOPED CORRELATIONS FOR FRICTION FACTORS IN BOTH THE SHELL AND TUBE SIDES. HEDRICK'S CORRELATION (Chem. Eng. June, 1990) FOR ESTIMATING THE HEAT TRANSFER COEFFICIENT FOR TUBES IN T H E T R A N S I T I O N REGION IS E M P L O Y E D IN THE PROGRAH. ************************************************************ NOMENCLATURE: i. 2. 3. 4. 5. 6. 7. 8. 9. I0. ii. 12. 13. 14. 15. 16.
TUBE
FLUID TYPE = NUMBER OF TUBES = TUBE INSIDE DIA., inch = TUBE OUTSIDE DIA., inch = TUBE PITCH, inch = PITCH TYPE (TRIANGLE/SQUARE) = TUBE LENGTH, ft. = NUMBER OF PASSES = FOULING FACTOR = INLET TEMPERATURE, oF = OUTLET TEMPERATURE, oF = SPECIFIC HEAT CAPACITY (Btu/iboF) = VISCOSITY, cP = DENSITY, ib/ft^3. = FLUID THERMAL CONDUCTIVITY, (Btu/ft.h.oF)= MASS FLOWRATE, ib/hr. = NOMENCLATURE:
i. 2. 3. 4. 5. 6. 7. 8. 9. I0. ii. 12. 13.
PARAMETER
SIDE
SHELL
SIDE
FLUID TYPE = NUMBER OF SHELL PASSES = SHELL INSIDE DIA., inch = NUMBER OF BAFFLES = BAFFLE SPACING, inch = FOULING FACTOR = INLET TEMPERATURE, oF = OUTLET TEMPERATURE, oF = SPECIFIC HEAT CAPACITY, (Btu/ib.oF) = VISCOSITY, cP = DENSITY, ib/ft.^3 = FLUID THERMAL CONDUCTIVITY, (Btu/ft.h.oF)= MASS FLOWRATE, ib/hr. =
(PI
=
3.1415927,
G=32.174)
CHARACTER*30 FTS,FSS CHARACTER TYPE COMMON/TUBE1/ COMMON/TUBE2/
FTS, TYPE NT, T I D , T O D ,
TP,
685
TL,
FTS NT TID TOD TP T/S TL TNP TFF TTI TT2 TSHC TVIS TDEN TFK TW
TNP
FSS NS SID NB BSP SFF TSI TS2 SSHC SVIS SDEN SFK SW
COMMON/TUBE3/ COMMON/TUBE4/ COMMON/TUBE5/ COMMON/TUBE6/
TFF, TTI, TT2, TSHC, TVIS, TFK, TW RET, PRT, TFRF, HT, TV TDELP, TRDELP, TOTDP
COMMON/SHELL1/ COMMON/SHELL2/ COMMON/SHELL3/ COMMON/SHELL4/
COMMON~SHELL5~ COMMON/SHELL6/ COMMON/OUT/
ii
FSS NS, SID, NB, BSP, SFF TSI, TS2, SSHC, SVIS, SDEN SFK, SW RES, PRS, SFRF, HS, SV SDELP
Q, AREA,
NS,
NB,
F, LMTD,
U, QI,
REAL
NT,
OPEN OPEN
(UNIT = 3, F I L E = ' D A T A 8 2 . D A T ' , (UNIT = i, F I L E = ' P R N ' )
READ
THE TUBE
READ
THE FLUID TYPE:
R E A D (3, ii, F O R M A T (A)
CMTD
LMTD
SIDE HEAT
EXCHANGER
STATUS='OLD',
ERR=
18)
PA/tAMETERS
FTS
ERR=I9) FTS
R E A D THE N U M B E R OF TUBES: NT R E A D THE TUBE INSIDE DIAMETER, inch: TID R E A D THE TUBE O U T S I D E DIAMETER, inch: TOD R E A D THE T U B E PITCH, inch: TP R E A D THE TYPE OF PITCH (TRIANGULAR: T) or
12
TDEN
R E A D (3, *, ERR=Ig) NT, TID, R E A D ( 3, 12, ERR=I9) TYPE F O R M A T (A)
TOD,
(SQUARE:
S):
TYPE
TP
READ READ READ READ READ READ READ READ READ READ
THE THE THE THE THE THE THE THE THE THE
TUBE LENGTH, ft.: TL N U M B E R OF PASSES: TNP T U B E SIDE F O U L I N G FACTOR: TFF INLET T E M P E R A T U R E , oF: TTI O U T L E T T E M P E R A T U R E , oF: TT2 S P E C I F I C HEAT CAPACITY OF FLUID, (Btu/ib.oF): T S H C FLUID V I S C O S I T Y , cP: TVIS F LUID DENSITY, ib/ft^3: TDEN FLUID T H E R M A L CONDUCTIVITY, B t u / h r . f t . o F . : TFK FLUID FLOWP~TE, ib/hr.: TW
READ READ READ
(3, * , ERR=I9) (3, * , ERR=I9) (3, * , ERR=I9)
TL, TNP, TFF, TTI TT2, TSHC, TVIS, TDEN TFK, TW
READ
THE SHELL
HEAT
READ
THE FLUID TYPE:
SIDE
EXCHANGER
FSS
686
PARAMETERS
13
18
20 19 21
C 15
R E A D (3, 13, F O R M A T (A)
ERR=I9)FSS
READ READ READ READ READ READ READ READ READ READ READ READ
THE THE THE THE THE THE THE THE THE THE THE THE
NUMBER SHELL NUMBER BAFFLE SHELL INLET OULET SHELL FLUID FLUID FLUID FLUID
OF SHELL: NS S I D E I N S I D E DIAMETER, inch: SID OF BAFFLES: NB SPACING, inch: BSP S I D E F O U L I N G FACTOR, SFF T E M P E R A T U R E , oF: TSI T E M P E R A T U R E , oF: TS2 SIDE S P E C I F I C H E A T C A P A C I T Y , B t u / i b . o F . : V I S C O S I T Y , cP: SVIS D E N S I T Y , ib/ft^3.: SDEN THERMAL CONDUCTIVITY, Btu/hr.ft.oF.: SFK F L O W R A T E , ib/hr.: SW.
READ READ READ
(3, (3, (3,
* , ERRs19) * , ERR=I9) * , ERR=I9)
NS, SID, NB, BSP SFF, TSI, TS2, SSHC SVIS, SDEN, SFK, SW
GO TO
15
WRITE FORMAT GO TO WRITE FORMAT GO TO
(*, 20) (3X, 'ERROR M E S S A G E IN T H E D A T A VALUE') 999 (*, 21) (3X, 'DATA V A L U E D O E S NOT EXIST') 999
TUBE
SIDE CALCULATION
CALL
TUBE
SHELL CALL
SIDE CALCULATION SHELL
CALCULATE
THE
HEAT LOAD
Q = TW*TSHC*ABS(TT2-TTI) CALCULATE VALI VAL2 LMTD
CALCULATE R = P =
THE
LOG M E A N
TEMPERATURE
DIFFERENCE
= (TSI-TT2)-(TS2-TTI) = ALOG((TSI-TT2)/(TS2-TTI)) = ABS (VALIMAL2)
THE APPROACH
FACTOR
(TSI-TS2)/(TT2-TTI) (TT2-TTI) / (TSI-TTI)
IF (NS .EQ. 1.0 .AND. PX = P / ( N S - N S * P + P )
R
.EQ.
1.0)
687
THEN
(LMTD)
SSHC
SUM1 SUM2 SUM3 SUM4
F
=
SUMI/SUM4
GO
55
= (PX*(R*R+I.0)**0.5)/(I.0-PX) = 2.0/PX-I.0-R+(R*R+I.0)**0.5 = 2.0/PX-I.0-R-(R*R+I.0)**0.5 = ALOG(SUM2/SUH3)
TO
i00
ELSEIF (NS .EQ. 1 . 0 .AND. R .GT. 1.0) SUM5 = ((R*P-I.0)/(P-I.0))**(I.0/NS) PX = ( I . 0 - S U M S ) / ( R - S U ~ 5 ) SUM6 = (R*R+I.0)**0.5/(R-I.0) SUM7 = ALOG((I.0-PX)/(I.0-R*PX)) SUM41 = ((2.0/PX)-I.0-R+(R*R+I.0)**0.5) SUM42 = ((2.0/PX)-I.0-R-(R*R+I.0)**0.5) IF (SUM41 .LT. 0 . 0 .OR. NS = NS+I. TNP = TNP+2. G O T O 55 ELSE SUM43 = ALOG(SUM41/SUH42) ENDIF F
=
.LT.
0.0)
THEN
(SUM6*SUM7)/SUM43
I F (F .LT. 0 . 8 ) NS = NS+I.0 TNP = TNP+2. G O T O 55 ELSE END IF GO
SUM42
THEN
TO
THEN
I00
ELSEIF
(NS
.GE.
2.0
.AND.
NT
.GE.
4.0)
THEN
SUM8 = (R*R+I.0)**0.5/(2.0*(R-I.0)) SUM9 = ALOG((I.0-P)/(I.0-P*R)) SUM10 = 2/P-I.0-R+((2/P)*((I.0-P)*(I-P*R))**0.5)+(R*R+I.)**0.5 SUM11 = 2/P-I.0-R+((2/P)*((I.0-P)*(I.-P*R))**0.5)-(R*R+I.)**0.5 F = (SUMS*SUM9)/ALOG(SUMI0/SUMII) ENDIF C
CORRECTED i00
C C
CMTD
=
MEAN
CALCULATE THE Btu/hr.ft^2.oF U
=
DIFFERENCE
OVERALL
HEAT
TRANSFER
COEFFICIENT
1.0/(I./HT+I./HS+TFF+SFF)
CALCULATE AREA
T~PERATURE
F*LMTD
=
THE
OUTSIDE
AREA
OF
THE
(TOD/12.0*PI*NT*NS*TL)
688
HEAT
EXCHANGER
UNIT
ft^2.
Q1
999
= AREA*U*CMTD
CALL
RESULT
FORM
FEED
THE
PRINTING
PAPER
WRITE
(I,
CLOSE CLOSE STOP END
([]NIT =3, S T A T U S = ' K E E P ' ) ( U N I T = i)
TO T O P OF T H E
*) C H A R ( 1 2 )
689
NEXT
PAGE.
* T H I S PROGR2~4 C A L C U L A T E S T}{E TUBE * R E Y N O L D S NUMBER, P R A N D T L NUMBER,
SUBROUTINE
SIDE H E A T T R A N S F E R C O E F F I C I E N T , * F R I C T I O N F A C T O R AND P R E S S U R E DROP.*
TUBE
PARA!4ETER (PI : 3 . 1 4 1 5 9 2 7 , C H A R A C T E R * 3 0 FTS, FSS CHARACTER TYPE COMMON/TUBE1/ COMMON/TUBE2/ COMMON/TUBE3/ CO~4ON/TUBE4/ COHMON/TUBES/
COM!.'.ON/TUBE6/ COMMON/SHELL1/
G:32.174)
FTS, T Y P E NT, TID, TOD, TP, TL, TNP TFF, TTI, TT2, TSHC, TVIS, TFK, TW RET, PRT, TFRF, HT, TV TDELP, TRDELP, T O T D P
TDEN
FSS
COMHON/SHELL2/ NS, SID, NB, BSP, SFF CO.~[MON/SHELL3/ TSl, TS2, COM/.[ON/SHELL4/ SFK, SW C O M M O N / S H E L L S / RES, PRS, CO~4MON/SHELL6/ S D E L P
COMMON~OUT~ Q, AREA, REAL
NT,
NS,
CALCULATE TFA
=
THE
NB,
SSHC,
SVIS,
SFRF,
HS,
SDEN
SV
F, I2,~TD, U, QI,
CHTD
LMTD
FLOW
AREA:
TFA,
ft ^2
(PI*TID**2*NT)/(4.0*I44.0*TNP)
CALCULATE
THE I.~SS V E L O C I T Y ,
ib/hr.ft~2
GT : T W / T F A CALCULATE RET
:
=
NUMBER:
THE
PRANDTL
NUT[BER:
IF (RET .GT. 2 0 0 0 . 0 X1 : R E T / 1 0 0 0 . 0 X2 = i 0 . 0 * T I D / T L =
PRT
(TSHC*TVIS*2.42)/TFK
C H E C K TI{A~ THE R E Y N O L D S ( i. e. 2 0 0 0 < R E T < I 0 , 0 0 0 )
x3
RET
(GT*TID)/(12.0*2.42*TVlS)
CALCULATE PRT
THE R E Y N O L D S
NUHBER
.AND.
RET
IS IN THE
.LT.
TRANSITION
i0000.0)
REGION
THEN
(i.0-(Xi/i0.0)**0.256)
Xa = X2**X3 B! : ( - 3 . 0 8 + 3 . 0 7 5 " X I + ( 0 . 3 2 5 6 7 * X ! * * 2 ) - ( 0 . 0 2 1 8 5 * X I * * 3 ) ) * X 4 HT = (16. I/TOD) * ( B I * T F K * P R T * * 0 . 3 3 ) GO TO ELSE
ii0 IF
(RET
.GT.
i0000.0)
THEN
690
HT = 0.027*TFK*(12.0/TID)*(RET**0.8)*(PRT**0.33) ENDIF Ii0
HT
= HT*TID/TOD
CALCULATE
THE
TUBE
FRICTION
FACTOR
IF (RET .GT. i 0 0 0 . 0 ) T H E N TFRF = 0.0029/(RET**0.25603) ELSE ENDIF CALCULATE TV
THE
FLUID
VELOCITY,
ft./s.
= GT/(3600.0*TDEN)
CALCULATE TDELP
=
THE
PRESSURE
=
PRESSURE DROP CORRELATION.
DROP,
psi.
OF R E T U R N
LOSSES,
psi.
(2.5*TNP*TDEN*TV**2)/(2*G*I44.0)
CALCULATE THE TOTAL T U B E SIDE, psi. TOTDP
SIDE
(TFRF*(GT/3600.0)**2*TL*TNP)/(2.0*G*TDEN*TID/12.0)
CALCULATE THE USING FRANK'S TRDELP
TUBE
PRESSURE
DROP
= TDELP+TRDELP
RETURN END
691
EXCLUDING
THE
NOZZLE
IN T H E
**************************************************************** * T H I S P R O G R A M C A L C U L A T E S THE SHELL SIDE }{EAT T R A N S F E R * C O E F F I C I E N T , R E Y N O L D S NUMBER, P R A N D T L NUMBER, F R I C T I O N F A C T O R *AND P R E S S U R E DROP. **************************************************************** SUBROUTINE
SHELL
P A R A M E T E R (PI = 3.1415927, C H A R A C T E R * 3 0 FTS, FSS CHARACTER TYPE COMMON/TUBE1/ COMMON/TUBE2/ COMMON/TUBE3/ COMMON/TUBE4/ COMMON/TUBE5/ COMMON/TUBE6/
FTS, T Y P E NT, TID, TOD, TP, TL, TNP TFF, TTI, TT2, TSHC, TVIS, TFK, TW RET, PRT, TFRF, HT, TV TDELP, TRDELP, T O T D P
COMMON/SHELL1/ COMMON/SHELL2/ COMMON/SHELL3/ COMMON/SHELL4/ COMMON/SHELL5/ COMMON/SHELL6/ COMMON/OUT/ REAL
NT,
CHECK
IF
NS,
(TYPE
DE =
NB,
.EQ.
TDEN
FSS NS, SID, NB, BSP, SFF TSI, TS2, SSHC, SVIS, SDEN SFK, SW RES, PRS, SFRF, HS, SV SDELP
Q, AREA,
WHETHER
G=32.174)
F, LMTD,
U,
QI,
CMTD
LMTD
PITCH
'T'
TYPE
.OR.
IS TRIANGUIJkR
TYPE
.EQ.
OR S Q U A R E
't') THEN
((I.72*TP**2)-(0.5*PI*TOD**2))/(0.5*PI*I2.0*TOD)
GO TO ELSE
120 IF
(TYPE
.EQ.
'S'
.OR.
TYPE
.EQ.
's')
THEN
DE = 4 . * ( ( T P * * 2 ) - ( P I * T O D * * 2 / 4 . 0 ) ) / ( P I * I 2 . 0 * T O D ) ENDIF C
CALCULATE 120
C
THE
TUBE
CLEARANCE,
inch
TC = T P - T O D CALCULATE IF
(NS
SFA
=
GO TO
THE
.GE.
SHELL
2.0
FLOW
.AND.
NT
AREA, .GE.
ft^2. 4.0)
(0.5*(SID*TC*BSP))/(144.0*TP) 130
ELSE SFA = ENDIF
(SID*TC*BSP)/(144.0*TP)
692
THEN
* * *
CALCULATE
C 130
GS
THE
SUPERFICIAL
SHELL
VELOCITY,
FLOW
RATE ,
Ib/ft^2.hr.
= SW/SFA
CALCULATE SV
SHELL
THE
ft./sec.
= SW/(3600.0*SDEN*SFA)
CALCULATE RES
=
THE
CALCULATE PRS
REYNOLDS
NUMBER
(DE*GS)/(2.42*SVIS)
=
THE
PRANDTL
NUMBER
(2.42*SSHC*SVIS)/SFK
CALCULATE
THE
SHELL
SIDE
HEAT
TRANSFER
COEFFICIENT
HS = 0 . 3 6 / D E * S F K * ( R E S * * 0 . 5 5 ) * ( P R S * * 0 . 3 3 3 ) CHECK WHETHER T H A N 500 IF
(RES
SFRF GO
=
TO
.LT.
140
SHELL'S
500.0)
REYNOLDS
NUMBER
IS L E S S
THEN
0.II183/(RES**0.59246) 140
ELSEIF
(RES
SFRF ENDIF
0.01159/(RES**0.18597)
=
CALCULATE
C
THE
.ST.
THE
500.0)
SHELL
SIDE
THEN
PRESSURE
DROP,
VALI = SFRF*(GS/3600.0)**2*SID/12.0*(NB+I.) VAL2 = 64.4*SDEN*DE SDELP = (VALI/VAL2)*NS
RETURN END
693
psi.
OR
GREATER
*************************************************************** THIS PROGRAM PRINTS THE RESULTS OF THE SHELL AND TUBE HEAT EXCHANGER ONTO A PRINTER *************************************************************** SUBROUTINE RESULT CHARACTER*30 FTS,FSS C H A R A C T E R TYPE COMMON/TUBE1/
FTS,
TYPE
COb~ON/TUBE2/ NT, TID, 'rOD, TP, TL, TNP COMTi.ON/TUBE3/ TFF, TTI, TT2, TSHC, TVIS, C O M M O N / T U B E 4 / TFK, TW COMMON~TUBES~ RET, PRT, TFRF, HT, TV C O M M O N / T U B E 6 / TDELP, TRDELP, TOTDP
TDEN
C O M M O N / S H E L L 1 / FSS COCk,ION/SHELL2/ NS, SID, NB, BSP, SFF C O M M O N / S H E L L 3 / TSI, TS2, SSHC, SVIS, SDEN COM}!ON/SHELL4/ SFK, SW C O M M O N / S H E L L 5 / RES, PRS, SFRF, HS, SV C O M M O N / S H E L L 6 / SDELP COMMON/OUT/
Q, AREA,
REAL NT, NS, NB,
F, LMTD,
LMTD
150
WRITE (I, 150) FO~4AT (///,18X,'*SHELL
160
WRITE (i, 160) FOm4AT (78(IH*))
170
WRITE (i, 170) FORMAT (40X,'TUBE
180
WRITE (i, 180) FORMAT (78(IH-))
190
W R I T E (i, 190) FTS, FSS FORM_AT (2X,'FLUID TYPE:',T40,
200
WRITE (i, 200) TW, SW FORMAT (2X,'FLUID FLOW RATE
210 *
U, QI, CMTD
AND TUBE HEAT EXCHANGER
SIDE',IOX,'SHELL
W R I T E (I, 210) TSHC, FORMAT (2X,'SPECIFIC F8.3)
SIDE')
AI5, T60,
AI5)
, !b/hr.:',T40,
SSHC HEAT CAPACITY,
220
W R I T E (I, 220)TDEN, SDEN FORMAT ( 2 X , ' F L U I D D E N S I T Y ,
230
W R I T E (i, 230) TVIS, SVIS FORMAT (2X,'FLUID VISCOSITY,
240
W R I T E (i, 240) TFK, SFK FORMAT (2X,'FLUID T H E R M A L
250
W R I T E (i, 250) TTI, TSI FORMAT (2X,'FLUID INLET TEMPERATURE,
~hTING*')
FI0.0,T60,FI0.O)
Btu/ib.oF:',T40,
FS.3,T60,
Ib/ft^3:',T40,FS.3,T60,F8.3)
cP:',T40,FS.3,T60,FS.3)
COND.
Btu/ft.h.oF:',T40,F8.3,T60,FS.3)
694
oF:',T40,FS.0,T60,FS.0)
260
WRITE (i, 260) TT2, TS2 FORMAT (2X,'FLUID OUTLET TEMPERATURE,
270
WRITE (i, 270) TID, SID FORMAT (2X,'INSIDE DIAMETER,
280
WRITE (i, 280) TOD FORMAT (2X,'OUTSIDE DIAMETER, IF (TYPE
.EQ.
'T' .OR. TYPE
oF:',T40,F8.0,T60,F8.0)
inch:',T40,F8.3,T60,FS.3)
inch:',T40,F8.3)
.EQ.
't') THEN
290
WRITE (I, 290) TP FORMAT (2X,'TUBE PITCH, inch:',T40,FS.3,T60,'TRIANGULAR ELSEIF (TYPE .EQ. 'S' .OR. TYPE .EQ. 's') THEN
300
WRITE (i, 300) TP FORMAT (2X,'TUBE PITCH, ENDIF
iDch:',T40,F8.3,T60,'SQUARE
PITCH')
PITCH')
310
WRITE (i, 310) TL FORMAT (2X,'TUBE LENGTH,
315
WRITE (i, 315) NT FORMAT (2X,'NUMBER OF TUBES:',
320
WRITE (i, 320) TNP, NS FORMAT (2X,'NUMBER OF PASSES:',T40,F4.0,T60,F4.0)
340
WRITE (I, 340) NB FORMAT (2X,'NUMBER OF BAFFLES:',T60,F4.0)
350
WRITE (i, 350) BSP FORMAT (2X,'BAFFLE SPACING,
inch:',T60,F4.1)
360
WRITE (i, 360) TV, SV FORMAT (2X,'FLUID VELOCITY,
ft/sec.:',T40,FS.3,T60,F8.3)
370
WRITE (I, 370) RET, RES FORMAT (2X,'REYNOLDS NUMBER:',T40,F9.0,T60,F9.0)
380
WRITE (I, 380) PRT, PRS FORMAT (2X,'PRANDTL NUMBER:',T40,F8.4,T60,F8.4)
390
WRITE (i, 390) TFRF, SFRF FORMAT (2X,'FRICTION FACTOR
400
WRITE (I, 400) HT, HS FORMAT (2X,'HEAT COEFF.,
410
WRITE (i, 410) TOTDP, SDELP FORMAT (2X,'PRESSURE DROP, psi:',T40,FS.4,T60,F8.4)
420
WRITE (i, 420) TFF, SFF FORMAT (2X,'FOULING FACTOR:',T40,F8.4,T60,F8.4)
430
WRITE (I, 430) F FORMAT (2X,'APPROACH FACTOR,
ft.:',T40,F8.3) T40, F6.0)
(ft^2/in^2):',T40,F8.5,T60,F8.5)
Btu/hr.ft^2.oF:',T40,F9.l,T60,F9.1)
F:', T40, F8.4)
695
440
W R I T E (i, 440) LMTD FORMAT (2X,'LOG MEAN TEMP.
450
W R I T E (I, 450) CMTD F O R M A T (2X,'CORRECTED
460
W R I T E (I, 460) U FORMAT (2X,'OVERALL
470
W R I T E (i, 470) AREA F O R M A T (2X,'OUTSIDE AREA OF UNIT,
480
WRITE (I, 480) Q FORMAT (2X,'HEAT LOAD ON UNIT,
490
W R I T E (i, 490) Q1 F O R M A T (2X,'HEAT TRANSFERRED,
500
WRITE (i, 500) F O R M A T ( IH ,78 (IH-) )
MEAN TEMP.
HEAT COEFF.,
FORM FEED THE PRINTING WRITE
DIFF.
oF:',T40,F8.2)
DIFF.
oF:',T40,F8.2)
Btu/hr.ft^2.oF:',T40,F9.1)
ft^2:',T40,F9.1)
Btu/hr:',T40,Fl2.0)
Btu/hr:',T40,Fl2.0)
PAPER TO THE TOP OF THE NEXT PAGE.
(i, *) CHAR(12)
RETURN END
696
PROGRAM
C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C
PROG83
THIS PROGRAM RATES DOUBLE PIPE HEAT EXCHANGERS USING BARE TUBES OR LONGITUDINAL FINNED TUBES. THE PROGRAM CALCULATES THE HEAT LOAD, THE LOG MEAN TEMPERATURE DIFFERENCE FOR COUNTER CURRENT FLOW, THE CORRECTED FILM HEAT TRANSFER COEFFICIENTS IN BOTH THE TUBE AND THE SHELL SIDES, THE OVERALL HEAT TRANSFER COEFFICIENT AND THE HEAT TRANSFER SURFACE. THE PROGRAM FURTHER CALCULATES THE FRICTION FACTOR (Using correlations given by Dennis Wright: Basic Programs for chemical engineers, Van Nostrand Reinhold Company, NY 1986) AND THE PRESSURE DROP IN THE TUBE AND THE SHELL SIDES OF THE DOUBLE PIPE HEAT EXCHANGERS. ******************************************************************** HI K RE PR DEQ VIS VISW VIST VISS VISF J G CP AREA IDT IDF FOL HIF
= = = = = = = = = = = = = = = = = =
IDS ODT DELTW KT AI AO
= = = = = =
UO NFA AF X FE ESEF HIFD TDEN
= = = = = = = =
C
SDEN
=
C C C C C C C C C
NTP NSP NFP FOLT FOLS FOLF FTTUBE FTSHELL FLUIDT
= = = = = = = = =
HEAT-TRANSFER FILM COEFFICIENT, Btu/ft^2 oF.h FLUID THERMAL CONDUCTIVITY, B t u / f t . h . o F REYNOLDS NUMBER PRANDTL NUMBER EQUIVALENT DIAMETER, ft. FLUID VISCOSITY (FLOWING), cP. FLUID VISCOSITY (AT WALL), cP. FLUID VISCOSITY (TUBE SIDE), cP. FLUID VISCOSITY (SHELL SIDE - bare tube), cP. FLUID VISCOSITY (SHELL SIDE - finned tube), cP. HEAT-TRANSFER FACTOR MASS FLOW RATE, Ib/h.ft^2. FLUID SPECIFIC HEAT, Btu/ib.oF. HEAT TRANSFER SURFACE AREA, ft^2. INSIDE-TUBE DIAMETER, in. INSIDE DIAMETER (finned tube), in. FOULING FACTOR HEAT-TRANSFER FILM COEFFICIENT CORRECTED FOR FOULING, Btu/ft^2.oF.h. INSIDE SHELL DIAMETER, in. OUTSIDE TUBE DIAMETER, in. TUBE WALL THICKNESS, ft. THERMAL CONDUCTIVITY OF TUBE MATERIAL, Btu/ft.h.oF. INSIDE HEAT-TRANSFER AREA-TUBE, ft^2/ft. OUTSIDE HEAT-TRANSFER AREA-TUBE, ft^2/ft (FOR FINNED TUBES INCLUDES FIN AREA). OVERALL HEAT-TRANSFER COEFFICIENT, Btu/h.ft^2.oF. NET FREE CROSS-SECTIONAL AREA, SHELL SIDE, ft^2. FINNED TRANSFER AREA, ft^2 . PARAMETER USED IN FIN EFFICIENCY CALCULATION FIN EFFICIENCY (%). EFFECTIVE SURFACE EFFICIENCY FOR FINS (%). CORRECTED FILM HEAT-TRANSFER RATE, Btu/ft^2.h.oF TUBE SIDE FLUID DENSITY, Ib/ft^3. SHELL SIDE FLUID DENSITY, ib/ft^3. NUMBER OF TUBE PASSES. NUMBER OF SHELL PASSES (bare-tube). NUMBER OF SHELL PASSES (finned-tube). FOULING FACTOR OF THE TUBE SIDE. FOULING FACTOR OF THE SHELL SIDE (bare-tube). FOULING FACTOR OF THE SHELL SIDE (finned-tube). FLUID NAME IN THE TUBE SIDE. FLUID NAME IN THE SHELL SIDE FLUID PHASE FLOW IN THE TUBE SIDE.
697
FLUIDS TUBE
= F L U I D P H A S E F L O W IN T H E S H E L L SIDE. = C H E C K S TO D E T E R M I N E W H E T H E R T H E D O U B L E P I P E H E A T E X C H A N G E R IS B A R E - T U B E D O R F I N N E D - T U B E . = LOG MEAN TEMPERATURE DIFFERENCE (oF). = T U B E L E N G T H , ft. = F L U I D F L O W R A T E T U B E SIDE, Ib/hr. = F L U I D F L O W R A T E S H E L L S I D E ( B A R E - T U B E ) , Ib/hr. = FLUID FLOWRATE SHELL SIDE (FINNED-TUBE), Ib/hr.
LMTD TL WT WS WF
CHARACTER*30 FLUIDT, FLUIDS, EXTERNAL HTFCV,HTFCL,HTFCJ
FLUIDF,
REAL REAL REAL REAL REAL
ODTF,
ODSF,
ODFF
FTSHELL,
TDEN,
SDEN
IDTF, IDSF, IDFF, IDT,ODT,KT IDS,ODS,KS,KST IDF,ODF,KF,KFT LMTD
COMMON TUBE COMMON/DATA/FTTUBE,
TUBE,
FTTUBE,
FTSHELL
COMMON/DATAI/FLUIDT,IDT,ODT,WT,CPT,VIST,KT,TTI,TT2,FOLT,TL,NTP *
COMMON/DATA2/FLUIDS,IDS,ODS,WS,CPS,VISS,KS,TSI,TS2,FOLS,KST,NSP COMMON/DATA3/FLUIDF,IDF,ODF,WF,CPF,VISF,KF,TFI,TF2,FOLF, FHT,FTHICK,NF,KFT,NFP COMMON/DATA4/ PI COMMON/DATA5/ IDTF, IDSF, IDFF, ODTF, ODS F, O D F F
COMMON/RESI/VELT,RET,PRT,FRICTT,DROPT,HTFT,HIFTU COMMON/RES2/VELS,RES,PRS,FRICTS,DROPS,HTFS,HIFS COMMON/RES3/VELF,REF,PRF,FRICTF,DROPF,HTFF,HIFF,X,FE,ESEF,HIFD, *
UO
COMMON/RES4/ OPEN OPEN PI
LMTD,
AREA,
(UNIT=3, FILE='DATA83.DAT', ( U N I T = i, F I L E = ' P R N ' )
STATUS='OLD',
ERR=I8)
= 3.1415927
TUBE-SIDE INPUT
HEAT-TRANSFER
NAME
OF
IN T H E FTTUBE
R E A D (3, 9, F O R M A T (A)
ERR=I9)
INPUT
PHASE
Ii
R E A D (3, ii, F O R M A T (A )
READ READ READ READ READ READ
FLUID
THE THE THE THE THE THE
CALCULATIONS
FLUID
9 C
Q
FLOW
ERR=I9)
TUBE
(e.g.
SIDE
liquid/vapor)
FLUIDT
I N S I D E T U B E D I A M E T E R , inch.: I D T OUTSIDE TUBE DIAMETER, inch.: ODT F L U I D F L O W R A T E IN T H E T U B E SIDE, i b / h r . : W T FLUID SPECIFIC HEAT CAPACITY, Btu/Ib.oF.: CPT F L U I D V I S C O S I T Y , cP: V I S T FLUID THERMAL CONDUCTIVITY, KT: B t u / h r . f t . o F :
698
KT
C C C
READ READ READ READ READ READ
THE THE THE THE THE THE
FLUID INLET TEMPERATURE, oF: TTI FLUID OUTLET TEMPERATURE, oF: TT2 TUBE SIDE FOULING FACTOR: FOLT TUBE SIDE FLUID DENSITY, Ib/ft^3: T U B E L E N G T H , ft.: TL N U M B E R OF T U B E P A S S E S : N T P
READ READ READ READ
(3, (3, (3, (3,
*, *, *, *,
ERR=I9) ERR=I9) ERR=I9) ERR=I9)
GO TO
i0
CHECK i.e.,
WHETHER WHETHER
INPUT
NAME
OF
THE THE
IDT, ODT, W T CPT, V I S T , KT TTI, TT2, F O L T TDEN, TL, N T P
HEAT HEAT
FLUID
EXCHANGER EXCHANGER
IN T H E
R E A D ( 3, 14, F O R M A T (A)
ERR=I9)
FTSHELL
R E A D (3, 22, F O R M A T (A)
ERR=I9)
TUBE
22
'FINS'
.OR.
(TUBE
.EQ.
G O T O 33 E L S E I F ( T U BE READ
INPUT
34
DATA
.EQ.
VALUES
FLUID
R E A D (3, 34, FORMAT(A)
PHASE
IS B A R E - T U B E HAS FINS
SHELL
5 14
IF
TDEN
TUBE
FLOW
ERR=I9)
.EQ.
'fins')
TUBE
SHELL-SIDE
(e.g.
FINNED-TUBE
SIDE
'BARE-TUBE'.OR. FOR THE
OR
THEN
.EQ.
'bare-tube')
BARE-TUBE
liquid/vapor)
FLUIDS
READ READ READ READ READ READ READ READ READ READ READ READ
THE THE THE THE THE THE THE THE THE THE THE THE
I N S I D E D I A M E T E R , i n c h . : IDS O U T S I D E D I A M E T E R , inch.: O D S F L U I D F L O W R A T E , i b / h r . : WS FLUID SPECIFIC HEAT CAPACITY, Btu/Ib.oF: CPS F L U I D V I S C O S I T Y , cP.: V I S S FLUID THERMAL CONDUCTIVITY, Btu/ft.hr.oF: KS FLUID INLET TEMPERATURE, oF: TSI FLUID OUTLET TEMPERATURE, oF: T S 2 SHELL SIDE FOULING FACTOR: FOLS TUBE THERMAL CONDUCTIVITY, Btu/ft.hr.oF: KST FLUID DENSITY, ib/ft^3.: SDEN N U M B E R OF S H E L L P A S S E S : N S P
READ READ READ READ
(3, (3, (3, (3,
*, *, *, *,
ERR=I9) ERR=I9) ERR=I9) ERR=I9)
IDS, CPS, TSI, KST,
ODS, W S V I S S , KS TS2, F O L S SDEN, N S P
699
THEN
ENDIF CALCULATE CALL GO TO C
READ
C
INPUT 33 44
THE
LOGMTD
LOG
MEAN
TEMPERATURE
(TSI,
TS2,
TTI,
TT2,
DIFFERENCE,
(oF)
LMTD)
20 DATA VALUES PHASE
FLOW
R E A D (3, 44, F O R M A T (A )
FOR OF
THE
SHELL-SIDE
FLUID
ERR=I9)
IN T H E
FINNED
SHELL
SIDE
TUBE (e.g.
Liquid/vapor)
FLUIDF
READ READ READ READ READ READ READ READ READ READ READ READ READ READ READ
THE THE THE THE THE THE THE THE THE THE THE THE THE THE THE
NUMBER OF FINS: NF I N S I D E D I A M E T E R , i n c h . : IDF OUTSIDE DIAMETER, inch.: ODF FLUID FLOWRATE, ib/hr.: WF FLUID SPECIFIC HEAT, Btu/ib.oF: CPF F L U I D V I S C O S I T Y , cP.: V I S F FLUID THERMAL CONDUCTIVITY, Btu/hr.ft.oF: KF FLUID INLET TEMPERATURE, oF: T F I F L U I D O U T L E T T E M P E R A T U R E , oF: T F 2 FLUID FOULING FACTOR: FOLF FINS HEIGHT, inch.: FHT FINS THICHNESS, inch.: FTHICK TUBE SIDE THERMAL CONDUCTIVITY, Btu/hr.ft.oF: FLUID DENSITY, ib/ft^3: SDEN NUMBER OF PASSES: NFP
READ READ READ READ READ READ
(3, (3, (3, (3, (3, (3,
* * * * * *
CALCULATE CALL
, , , , , ,
ERR=I9) ERR=f9) ERR=f9) ERR=f9) ERR=f9) ERR=f9)
THE
LOGMTD
CALCULATE
NF IDF, CPF, TFI, FHT, KFT,
LOG
MEAN
TEMPERATURE
(TFI,
TF2,
TTI,
THE
HEAT
LOAD
SHELL-SIDE
GO T O
CALCULATIONS
TT2,
ON U N I T ,
DIFFERENCE,
LMTD) Btu/hr.
(FINNED-TUBE)
30
i00
W R I T E (*, I00) FORMAT(//,6X,'DATA G O T O 999
19
WRITE
(*,
FILE
KFT
ODF, W F V I S F , KF TF2, F O L F FTHICK SDEN, NFP
Q = WF*CPF*(TFI-TF2)
18
LMTD
DOES
NOT
ii0)
700
EXIST')
LMTD
(oF)
FORMAT(//,6X,'ERROR G O T O 999
ii0
TUBE-SIDE
C i0
CALL PROGI GO TO 5
20
CALL PROG2
SHELL-SIDE
C
MESSAGE
IN T H E D A T A V A L U E ' )
CALCULATIONS
CALCULATIONS ( B A R E - T U B E )
G O T O 40 SHELL-SIDE
C
CALCULATIONS
30
CALL PROG3
40
AREA = Q/(UO*LMTD)
CALCULATE
C
(FINNED-TUBE)
THE HEAT TRANSFER
S U R F A C E AREA,
(AREA,
ft^2).
CALL RESULTS
CLOSE CLOSE
( 3, S T A T U S = ' K E E P ' ) (i)
STOP END
999
***************************************************************** P R O G R A M C A L C U L A T E S H E A T - T R A N S F E R F I L M C O E F F I C I E N T IN T H E T U B E SIDE HEAT EXCHANGER ***************************************************************** SUBROUTINE
PROGI
CHARACTER*30 REAL REAL REAL
FLUIDT,
FTTUBE,
IDT, ODT, K T IDTF, IDSF, IDFF, ODTF, IDF, ODF, KF, K F T
FTSHELL,FLUIDF
ODSF,
ODFF
C O M M O N / D A T A / F T T U B E , F T S H E L L , TDEN, S D E N COMMON/DATAI/FLUIDT,IDT,ODT,WT,CPT,VIST,KT,TTI,TT2,FOLT,TL,NTP
COMMON/DATA3/FLUIDF,IDF,ODF,WF,CPF,VISF,KF,TFI,TF2,FOLF, *
FHT,FTHICK,NF,KFT,NFP COMMON/DATA4/PI COMMON/DATAL/IDTF, IDSF,
IDFF,
ODTF,
ODSF,
ODFF
COMMON/RESI/VELT,RET,PRT,FRICTT,DROPT,HTFT,HIFTU IDTF = IDT/12.0 ODTF = ODT/12.0 DEQT = IDTF CALCULATE
THE CROSS-SECTIONAL
A R E A OF T U B E
701
AT
=
(PI*IDTF**2)/4.0
CALCULATE
THE
MASS
THE
FLUID
VELOCITY,
ib/ft^2.hr.
ST = WT/AT CALCULATE VELT
=
THE
REYNOLDS
NUMBER
(GT*DEQT)/(2.42*VIST)
CALCULATE PRT
ft./sec.
= GT/(3600.0*TDEN)
CALCULATE RET
VELOCITY,
=
THE
PRANDTL
NUMBER
(CPT*2.42*VIST)/KT
CALCULATE THE FRICTION FACTOR (Dennis Wright: for chemical engineers: Van Nostrand Reinhold IF
(RET
FRICTT ELSEIF FRICTT ENDIF
.GT.
2100.0)
Basic Programs C o m p a n y , NY 1986).
THEN
= 0.00033/(RET**0.2) (RET .LT. 2 1 0 0 . 0 ) T H E N = 16/RET
CALCULATE
THE
DROPT
=
CHECK
WHETHER
PRESSURE
DROP
(4.0*FRICTT*TL*NTP*(GT/3600.0)**2)/(64.4*TDEN*DEQT)
FLUID
IN T H E
TUBE
SIDE
IS L I Q U I D
OR VAPOR.
IF ( F L U I D T .EQ. " L I Q U I D ' . O R . F L U I D T .EQ. ' l i q u i d ' ) T H E N G O T O 30 E L S E I F ( F L U I D T .EQ. ' V A P O R ' .OR. F L U I D T .EQ. " v a p o r ' ) T H E N CALCULATE
THE
HTFT = HTFCV ENDIF GO TO 30
FILM
COEFFICIENT
90
I F ( R E T .LT. 2 1 0 0 . 0 ) T H E N G O T O 50 ELSE HTFT = HTFCL (RET,PRT,KT,DEQT) ENDIF GO TO
50
HEAT-TRANSFER (CPT,GT,DEQT)
HTFT
90
= HTFCJ
(RET,
PRT,
KT,
DEQT,
702
TL)
IN T H E
VAPOR
STATE
CALCULATE THE HEAT-TRANSFER FOULING, Btu/hr.ft^2.oF 90
FILM COEFFICIENT
CORRECTED
FOR
HIFTU = HTFT/(I.0+HTFT*FOLT) RETURN END
P R O G R A M C A L C U L A T E S H E A T - T R A N S F E R F I L M C O E F F I C I E N T IN T H E S H E L L S I D E ( B A R E - T U B E ) A N D T H E O V E R A L L H E A T T R A N S F E R C O E F F I C I E N T OF THE HEAT EXCHANGER
SUBROUTINE
PROG2
CHARACTER*30 FLUIDS, FLUIDT, F T S H E L L , F T T U B E R E A L IDS, IDT, ODS, ODT, KS, KT R E A L IDTF, IDSF, IDFF, ODTF, ODSF, O D F F REAL LMTD
COMMON/DATA/FTTUBE, F T S H E L L , TDEN, S D E N COMMON/DATAI/FLUIDT,IDT,ODT,WT,CPT,VIST,KT,TTI,TT2,FOLT,TL,NTP COMMON/DATA2/FLUIDS,IDS,ODS,WS,CPS,VISS,KS,TSI,TS2,FOLS,KST,NSP COMMON/DATA4/PI COMMON/DATA5/IDTF, IDSF, IDFF, ODTF, ODSF, O D F F
COMMON/RESl/VELT,RET,PRT,FRICTT,DROPT,HTFT,HIFTU COMMON/RES2/VELS,RES,PRS,FRICTS,DROPS,HTFS,HIFS COMMON/RES4/LMTD, IDSF = ODSF = DEQS = RATIO1
CALCULATE AS =
AREA,
Q
IDS/12.0 ODS/12.0 IDSF-ODTF = IDT/ODT THE CROSS-SECTIONAL
AREA
(PI*IDSF**2)/4.0
CALCULATE
THE MASS VELOCITY,
Ib/ft^2.hr.
GS = W S / A S CALCULATE
THE FLUID VELOCITY,
ft./sec.
VELS = GS/(3600.0*SDEN) CALCULATE RES =
NUMBER
(GS*DEQS)/(2.42*VISS)
CALCULATE PRS =
THE REYNOLDS
THE PRANDTL NUMBER
(CPS*2.42*VISS)/KS
CALCULATE THE FRICTION FACTOR (Dennis Wright: Basic Programs c h e m i c a l e n g i n e e r s , V a n N o s t r a n d R e i n h o l d C o m p a n y , NY 1986.)
703
for
CALCULATE CALL
FFACTOR
CALCULATE CALL
IF
THE
(RES,
THE
PDROP
FACTOR
FRICTS)
PRESSURE
(FRICTS,
(FLUIDS
GO TO
FRICTION
.EQ.
DROP,
TL,
psi.
NSP,
'LIQUID'
GS,
.OR.
SDEN,
FLUIDS
DEQS,
.EQ.
DROPS)
'liquid')
THEN
3O
ELSEIF
(FLUIDS
CALCULATE
THE
.EQ. HEAT
'VAPOR'
.OR.
FLUIDS
.EQ.
TRANSFER
FILM
COEFFICIENT
'vapor') IN T H E
THEN
VAPOR
HTFS = HTFCV(CPS,GS,DEQS) ENDIF GO TO
30
5O
IF (RES .LT. G O T O 50 ELSE HTFS = HTFCL ENDIF G O T O 90
2100.0)
HTFS
(RES,
= HTFCJ
CALCULATE THE FOR FOULING.
C C 90 C
90
HIFS
THEN
(RES,PRS,KS,DEQS)
PRS,
KS,
HEAT-TRANSFER
DEQS, FILM
TL) COEFFICIENT
CORRECTED
= HTFS/(I.0+HTFS*FOLS)
CALCULATE
THE
OVERALL
HEAT
TRANSFER
COEFFICIENT.
DELTW = (ODT/12.)-(IDT/12.0) RATIO2 = (DELTW/KST)+(I.0/(HIFTU*RATIOI))+(I.0/HIFS) UO = 1.0/RATIO2 RETURN END
PROGRAM CALCULATES HEAT-TRANSFER FILM COEFFICIENT IN T H E SHELL SIDE (FINNED-TUBE) AND THE OVERALL HEAT TRANSFER COEFFICIENT OF THE HEAT EXCHANGER.
SUBROUTINE CHARACTER*30
REAL
PROG3 FLUIDT,FLUIDF,FTSHELL,FTTUBE
IDF,ODF,KF,KFT,KT,NFA,IDT,ODT
704
STATE
REAL
IDTF,
IDSF,
IDFF,
ODTF,
ODSF,
ODFF
COMMON/DATA/FTTUBE,
FTSHELL, TDEN, SDEN COMMON/DATAI/FLUIDT,IDT,ODT,WT,CPT,VIST,KT,TTI,TT2,FOLT,TL,NTP COMMON/DATA3/FLUIDF,IDF,ODF,WF,CPF,VISF,KF,TFI,TF2,FOLF, FHT,FTHICK,NF,KFT,NFP COMMON/DATA4/PI COMMON/DATA5/IDTF, IDSF, IDFF, O D T F , O D S F , O D F F
COMMON/RES3/VELF,REF,PRF,FRICTF,DROPF,HTFF,HIFF,X,FE,ESEF,HIFD, UO IDFF = IDF/12.0 ODFF = ODF/12.0 ODTF = ODT/12.0 AF = (2.0*FHT*FLOAT(NF))/12.0 AO = (PI*ODTF)/12.0+AF CALCULATE CSA
=
CALCULATE NFA
AREA,
SHELL
SIDE
WITHOUT
FINS,
ft^2.
NET
FREE
CROSS-SECTIONAL
AREA,
SHELL
SIDE,
ft^2.
= CSA-(FHT*FTHICK*FLOAT(NF))/144.0
CALCULATE CAF
CROSS-SECTIONAL
(PI*(IDFF**2-ODTF**2))/4.0
=
THE
CROSS-SECTIONAL
AREA.
(PI*IDFF**2)/4.0
CALCULATE
THE
MASS
VELOCITY,
ib/ftA2.hr.
GF = W F / N F A CALCULATE VELF
THE
FLUID
VELOCITY,
ft./sec.
= GF/(3600.0*SDEN)
CALCULATE
THE
WETTED
PERIMETER.
DENOM = (PI*(IDFF+ODTF))-(FTHICK*FLOAT(NF))/12.0+AF DEQF = (4.0*NFA)/DENOM CALCULATE REF
=
CALCULATE PRF
=
CHECK
THE
THE
FFACTOR
CALCULATE CALL
REYNOLDS
NUMBER
PRANDTL
NUMBER
(CPF*2.42*VISF)/KF
CALCULATE CALL
THE
(GF*DEQF)/(2.42*VISF)
PDROP
THE
FRICTION (REF,
FRICTF)
PRESSURE
(FRICTF,
WHETHER
THE
FACTOR
TL,
FLUID
DROP NFP,
GF,
IN T H E
SDEN,
SHELL
705
DEQF,
SIDE
DROPF)
IS L I Q U I D
OR VAPOR.
IF(FLUIDF GO
TO
.EQ.
(FLUIDF
CALCULATE
THE
HTFF = HTFCV ENDIF GO
50 C C
TO
.EQ.
'VAPOR"
HEAT-TRANSFER (CPF,
GF,
HTFF
HIFF
= HTFCJ
(REF,
PRF,
THEN
.OR.
FLUIDF
FILM
COEFFICIENT
.EQ.
'vapor') IN
THE
THEN
VAPOR
KF,
DEQF, FILM
TL) COEFFICIENT
CORRECTED
= HTFF/(I.0+HTFF*FOLF) THE
OVERALL
C
CALCULATE
THE
PARAMETER
HEAT-TRANSFER X,
USED
IN
COEFFICIENT. THE
FIN
EFFICIENCY
FHT*(HIFF/(6.0*KFT*FTHICK))**0.5
CALCULATE
THE
FIN
EFFICIENCY
= EXP(X)-EXP(-X) = EXP(X)+EXP(-X) (I.0/X*(VALI/VAL2))
CALCULATE THE EFFECTIVE SURFACE ESEF = FE*(AF/AO)+(I.0-AF/AO) CALCULATE HIFD
'liquid')
DEQF)
HEAT-TRANSFER
CALCULATE
VALI VAL2 FE =
.EQ.
90
C
X =
FLUIDF
DEQF)
IF ( R E F .LT. 2 1 0 0 . 0 ) T H E N G O T O 50 ELSE HTFF = HTFCL (REF, P R F , KF, ENDIF G O T O 9O
CALCULATE THE FOR FOULING. 90
.OR.
30
ELSEIF
30
'LIQUID'
THE
CORRECTED
FILM
EFFICIENCY
HEAT
FOR
TRANSFER
FINS
RATE
= HIFF*ESEF
CONVERT THE FIN TO PERCENTAGES.
EFFICIENCY
AND
EFFECTIVE
SURFACE
FE = 100.0*FE ESEF = 100.0*ESEF CALCULATE
OVERALL
HEAT
TRANSFER
COEFFICIENT.
DELTW = (ODT/12.0)-(IDT/12.0) RATIO3 = (PI*IDT)/((PI*ODT)+AF) RATIO4 = (DELTN/KFT)+(I.0/(HIFF*RATIO3))+(I.0/HIFD) UO = 1.O/RATIO4
706
EFFICIENCY
STATE.
RETURN END
THIS LMTD
PROGRAM (oF)
SUBROUTINE REAL LMTD
CALCULATES
LOGMTD
DELTI = THI - TC2 DELT2 = TH2 - TCI LMTD = ABS((DELTI
(THI,
THE
LOG
TH2,
MEAN
TCI,
- DELT2)/ALOG
TEMPERATURE
TC2,
DIFFERENCE,
LMTD)
(DELTI/DELT2))
RETURN END
THIS SUBPROGRAM EVALUATES THE HEAT TRANSFER FILM COEFFICIENT IN THE VAPOR STATE OF A DOUBLE PIPE HEAT EXCHANGER. ****************************************************************** FUNCTION HTFCV
=
HTFCV
(CPI,
GI,
DEQI)
(0.OI44*CPI*(GI**O.8))/(DEQI**0.2)
RETURN END
THIS SUBPROGRAM EVALUATES THE HEAT TRANSFER FILM COEFFICIENT IN THE LIQUID STATE OF A DOUBLE PIPE HEAT EXCHANGER.
FUNCTION REAL K1 HTFCL =
HTFCL
(RE1,
PRI,
KI,
DI)
O.023*(REI**O.8)*(PRI**0.333)*(KI/DI)*I.O
RETURN END
THIS SUBPROGRAM EVALUATES THE FOR REYNOLDS NUMBER LESS THAN HEAT EXCHANGER
FUNCTION REAL
HTFCJ
(RE,
PR,
KI,
HEAT TRANSFER FILM 2100.0 OF A DOUBLE
DI,
COEFFICIENT PIPE
TLI)
K1
HTFCJ
=
1.86*(RE**0.333)*(PR**0.333)*(KI/DI)*(DI/TLI)**0.333
RETURN END
707
C A L C U L A T E THE F R I C T I O N F A C T O R IN T H E S H E L L S I D E OF T H E D O U B L E PIPE HEAT EXCHANGER (Dennis Wright: B a s i c P r o g r a m s for c h e m i c a l e n g i n e e r s , Van N o s t r a n d R e i n h o l d c o m p a n y , NY 1986)
SUBROUTINE IF
(RE
FACTOR
FFACTOR
.GT.
2100)
(RE,
FACTOR)
THEN
= 0.00033/(RE**0.25)
ELSEIF
(RE
FACTOR ENDIF RETURN END
= 16.0/RE
.LT.
2100)
THEN
T H I S P R O G R A M C A L C U L A T E S THE P R E S S U R E A DOUBLE PIPE HEAT EXCHANGER
SUBROUTINE DROP
=
PDROP
(FRICT,
TLEN,
NP,
DROP
G, DEN,
FOR THE S H E L L
EQDIA,
S I D E OF
DROP)
(4*FRICT*TLEN*NP*(G/3600.O)**2)/(64.4*DEN*EQDIA)
RETURN END
THIS
PROGRAM
SUBROUTINE
THE R E S U L T S
OF THE D O U B L E
PIPE HEAT
EXCHANGERS
RESULTS
CHARACTER*30 REAL REAL REAL REAL REAL
PRINTS
FLUIDT,
FLUIDS,
IDTF, IDSF, IDFF, ODTF, IDT, ODT, KT IDS, ODS, KS, KST IDF, ODF, KF, K F T LMTD
COMMON TUBE COMMON/DATA/FTTUBE,
FTSHELL,
FLUIDF,
TUBE,
ODSF,
ODFF
TDEN,
SDEN
FTTUBE,
FTSHELL
COMMON/DATAI/FLUIDT,IDT,ODT,WT,CPT,VIST,KT,TTI,TT2,FOLT,TL,NTP COMMON/DATA2/FLUIDS,IDS,ODS,WS,CPS,VISS,KS,TSI,TS2,FOLS,KST,NSP COMMON/DATA3/FLUIDF,IDF,ODF,WF,CPF,VISF,KF,TFI,TF2,FOLF, *
FHT,FTHICK,NF,KFT,NFP COMMON/DATA4/PI COMMON/DATA5/IDTF,IDSF,IDFF,ODTF,ODSF,ODFF
COMMON/RESI/VELT,RET,PRT,FRICTT,DROPT,HTFT,HIFTU COMMON/RES2/VELS,RES,PRS,FRICTS,DROPS,HTFS,HIFS COMMON/RES3/VELF,REF,PRF,FRICTF,DROPF,HTFF,HIFF,X,FE,ESEF,HIFD, *UO COMMON/RES4/LMTD,AREA,Q WRITE
(i,
120)
708
FORMAT
120 *
*
(/,18X,'DOUBLE PIPE HEAT EXCHANGER RATING',/,18X, 'USING B A R E - T U B E S / L O N G I T U D I N A L FINNED TUBES'/,18X, 'FORCED CONVECTION WITH NO CHANGE OF PHASE')
130
WRITE (I, 130) FORMAT (IH ,78(IH*))
140
WRITE ( 1 , 14o) FORMAT ( 45X, 'TUBE SIDE',
150
WRITE (i, 150) FORMAT (78 (IH- ) )
160
WRITE (i, 160) FTTUBE, FTSHELL FORMAT (2X,'FLUID NAME:', T50, AI5,
T65, AI5)
IF (TUBE
'fins')
170
WRITE (I, 170) FLUIDT, FLUIDF FORMAT (2X,'TYPE OF PHASE FLOW:',
180
WRITE (i, 180) WT, WF FORMAT (2X,'FLUID FLOW RATE,
190
.EQ.
'FINS'
10X,
'SHELL SIDE' )
.OR. TUBE
.EQ.
T50, AI5,
ib/hr.:',
WRITE (i, 190) CPT, CPF FORMAT (2X,'SPECIFIC HEAT CAPACITY, T60, F8.3)
200
WRITE (i, 200) TDEN, SDEN FORMAT (2X,'FLUID DENSITY,
210
WRITE (I, 210) VIST, VISF FORMAT (2X,'FLUID VISCOSITY,
ib/ft^3.: ' , T45, cP:',
T65, AI5) FI0.0,
T60,
Btu/Ib.oF:' , T45,
T45,
F8.3,
F8.3,
T60,
F8.3)
F8.3)
Btu/Ib.oF:' , T45,
F8.3,
WRITE (i, 220) KT, KF FORMAT (2X,'FLUID THERMAL COND., T60, F8.3)
230
WRITE (I, 230) TTI, TFI FORMAT (2X,'FLUID INLET TEMPERATURE, T60, F8.3)
240
WRITE (i, 240) TT2, TF2 FORMAT (2X,'FLUID OUTLET TEMPERATURE, T60, F8.3)
250
WRITE (i, 250) IDT, IDF FORMAT (2X,'INSIDE DIAMETER,
260
WRITE (i, 260) ODT, ODF FORMAT (2X,'OUTSIDE DIAMETER,
inch:',
270
WRITE (i, 270) FOLT, FOLF FORMAT (2X,'FOULING FACTOR:',
T45,
inch:',
F8.3,
FI0.0)
T60,
220
280
T45,
THEN
oF:',
T45,
oF:',
T45,
F8.3,
T45,
F8.3,
T45,
F8.3,
T60,
WRITE (i, 280) TL, NTP FORMAT (2X,'TUBE LENGTH, ft.:', T45, F8.3,/, 2X,'NUMBER OF TUBE PASSES:', T45, I2)
709
F8.3,
F8.3,
T60, T60,
F8.3)
F8.3) F8.3)
* *
W R I T E (i, 290) NF, FHT, FTHICK FORMAT (2X, 'NUMBER OF FINS:', T45, I2,/, 2X,'FIN HEIGHT, inch:', T45, F8.3,/, 2X,'FIN THICKNESS, inch:', T45, F8.3)
*
WRITE (I, 300) KFT FORMAT (2X,'THERMAL COND. T45,F8.3)
290
300
TUBE MATERIAL,
Btu/hr.ft.oF:',
310
WRITE (i, 310) VELT, VELF FORMAT (2X,'FLUID VELOCITY,
320
W R I T E (i, 320) RET, REF FORMAT (2X,'REYNOLDS NUMBER:' , T45,
330
WRITE (i, 330) PRT, PRF FORMAT (2X,'PRANDTL NUMBER:',
340
WRITE (i, 340) FRICTT, FRICTF FORMAT (2X,'FRICTION F A C T O R (ft^2/in^2): ' , T45,
350
WRITE (i, 350) DROPT, DROPF FORMAT (2X,'PRESSURE DROP, psi.:',
360 * *
T45,
F9.0,
F8.4,
T45,
F8.3,
T60,
T60,
F8.4,
T60,
DIFF.,
oF:',
T45,
F8.3)
F9.0)
F8.3)
F8.6, T60,
T60,
F8.3)
F8.2)
*
*
WRITE (i, 390) UO FORMAT (2X,'OVERALL HEAT T R A N S F E R COEFF., T45, F9.2)
*
WRITE (I, 400) Q, A R E A FORMAT (2X,'HEAT LOAD ON UNIT, Btu/hr.:', T45, FI2.1,/, 2X,'HEAT T R A N S F E R SURFACE ft^2.: ' , T45, F8.3)
390
400
ELSEIF
(TUBE
.EQ.
'BARE-TUBE'
.OR. TUBE
410
WRITE (i, 410) FLUIDT, FLUIDS FORMAT (2X,'TYPE OF PHASE FLOW:',
420
W R I T E (i, 420) WT, WS FORMAT (2X,'FLUID FLOWRATE:,
430 *
ib/hr.:',
WRITE (i, 440) TDEN, SDEN FORMAT (2X,'FLUID DENSITY, WRITE
(i, 450) VIST,
.EQ.
T45,
710
'bare-tube')
THEN
T60, AI5) FI0.0,
Btu/ib.oF:',
ib/ft^3: ' , T45,
VISS
F9.2)
Btu/hr.ft^2.oF: ' ,
T45, AI5,
W R I T E (i, 430) CPT, CPS FORMAT (2X,'SPECIFIC HEAT CAPACITY, F8.3)
F8.6)
F8.4)
W R I T E (i, 380) HIFTU, HIFF FORMAT (2X,'HEAT T R A N S F E R FILM COEFF. C O R R E C T E D ' , / , 2 X , 'FOR FOULING:, Btu/hr.ft^2.oF: ' , T45, F9.2, T60,
380
440
T45,
WRITE (i, 360) X, FE, ESEF FORMAT (2X,'FIN MODULUS:', T45, F8.3,/, 2X,'FIN EFFICIENCY, %:', T45, F8.3,/, 2 X , ' E F F E C T I V E SURFACE EFFICIENCY, %:', T45, WRITE (i, 370) LMTD FORMAT (2X,'LOG MEAN TEMP.
370
ft/sec.:',
F8.3,
T60,
FI0.0)
T45,
FS.3,T60,
T60,
F8.3)
450
FORMAT
460 *
(2X,'FLUID VISCOSITY,
cP:',
W R I T E (i, 460) KT, KS FORMAT (2X,'FLUID T H E R M A L COND., T60, F8.3)
T45,
F8.3,
T60,
F8.3)
Btu/Ib.oF:',
T45,
F8.3,
470
WRITE (i, 470) TTI, TSl FORMAT (2X,'FLUID INLET TEMPERATURE,
480
WRITE (i, 480) TT2, TS2 FORMAT (2X,'FLUID OUTLET TEMPERATURE,
490
W R I T E (i, 490) IDT, IDS FORMAT (2X,'INSIDE DIAMETER,
500
W R I T E (i, 500) ODT, ODS FORMAT (2X,'OUTSIDE DIAMETER,
inch:',
510
WRITE (I, 510) FOLT, FOLS FORMAT (2X,'FOULING FACTOR:',
T45,
520 *
W R I T E (i, 520) EFT FORMAT (2X,'THERMAL COND. T45, F8.3)
OF:',T45,
F8.3,
oF:',T40,
inch:',T45,
F8.3,
T45,
F8.3,
TUBE MATERIAL,
T60,
540
W R I T E (i, 540) RET, RES FORMAT (2X,'REYNOLDS NUMBER:',
550
W R I T E (i, 550) PRT, PRS FORMAT (2X,'PRANDTL NUMBER:',
560
W R I T E (i, 560) FRICTT, FRICTS FORMAT (2X,' FRICTION FACTOR (ft~2/in^2): ' , T45,
570
WRITE (i, 570) DROPT, DROPS FORMAT (2X,'PRESSURE DROP, psi:',
T45,
580
W R I T E (i, 580) LMTD FORMAT (2X,'LOG M E A N TEMP.
oF:',
T45,
DIFF.,
T45,
F9.0,
F8.3,
T60,
F8.3,
T60,
T60,
F8.4, T45,
T60,
F9.0)
F8.3)
F8.5,T60,F8.5)
T60,
F8.4)
F8.2)
*
*
WRITE (i, 600) UO FORMAT (2X,'OVERALL HEAT T R A N S F E R FILM COEFF., T45, F9.2)
*
W R I T E (i, 610) Q, A R E A F O R M A T (2X,'HEAT LOAD ON UNIT , Btu/hr.:', T45, FI2.1,/, 2X,'HEAT T R A N S F E R SURFACE, ft^2.: ' , T45, F8.3)
600
610
WRITE (i, 620) FORMAT (IH ,78(IH-)) FORM FEED THE PRINTING PAPER TO TOP OF THE NEXT PAGE. WRITE
(i, *) CHAR(12)
RETURN END
711
F9.2)
Btu/hr.ft^2.oF: ' ,
ENDIF
C
F8.3)
WRITE (i, 590) HIFTU, HIFS FORMAT (2X,'HEAT T R A N S F E R FILM COEFF. CORRECTED',/,2X, 'FOR FOULING:, Btu/hr.ft^2.oF: ' , T45, F9.2, T60,
590
620
F8.3)
Btu/hr.ft.oF:',
WRITE (i, 530) VELT, VELS FORMAT (2X,'FLUID VELOCITY,
T45,
F8.3)
F8.3)
530
ft/sec.:',
F8.3)
F8.3,T60,F8.3)
F8.3,
T60,
T60,
PROGRAM
PROG84
THE SIZING OF AIR-COOLED HEAT EXCHANGERS. THE PROGRAM PERFORMS PRELIMINARY AIR-COOLER WITH A RANGE OF INPUT DATA. THE i. 2. 3. 4.
DESIGN
PROGRAM CALCULATES: THE NUMBER OF TUBE ROWS (TUBE BUNDLE DEPTH). OUTLET AIR TEMPERATURE. LOG MEAN TEMPERATURE DIFFERENCE. TOTAL BARE-TUBE SURFACE AREA (BASED ON 1 inch ON 2 3/8 inch TRIANGULAR SPACING.). COOLER FACE AREA (plan area). AIR VELOCITY ACROSS TUBES. TOTAL AIR FLOW. FAN HORSEPOWER (bhp = brake horsepower). TOTAL BUNDLE WEIGHT. TUBE BUNDLE WIDTH FOR A GIVEN TUBE LENGTH.
5. 6. 7. 8. 9. i0.
CALCULATIONS
OD
TUBING
THIS PROGRAM IS B A S E D O N C O R R E L A T I O N S PRESENTED IN ARTICLES BY E . C . S m i t h A N D R. B r o w n . THE CORRELATIONS PRESENTED BY GRAPHS AND TABLES IN THE ORIGINAL ARTICLES AND FITTED TO A SERIES OF EQUATION BY W.W. Blackwell ARE USED IN THIS PROGRAM.
R TPI TAI BTSA FA FV TAOI U
* * * * * * *
*
NUMBER OF TUBE ROWS. INLET PROCESS FLUID TEMPERATURE, oF. INLET AIR TEMPERATURE, oF. BARE-TUBE S U R F A C E A R E A B A S E D O N T U B E OD, f t ^ 2 . FACE AREA OF BUNDLE, ft^2. FACE VELOCITY OF AIR,ft^2. ESTIMATED AIR OUTLET TEMPERATURE, oF. OVERALL HEAT-TRANSFER COEFFICIENT (BASED ON BARE-TUBE OD) B t u / h r . f t ^ 2 o F . TPO = OUTLET PROCESS FLUID TEMPERATURE, oF. LMTD = EFFECTIVE LOG MEAN TEMPERATURE DIFFERENCE, oF. Q = HEAT LOAD, Btu/hr. TAO = CALCULATED OUTLET AIR TEMPERATURE, oF. F = AIR FLOW OVER TUBES, std ft^3/min. BHP = FAN HORSEPOWER, brake horsepower. WT = AIR-COOLER WEIGHT, lb. W = TUBE BUNDLE, WIDTH, ft. TL = TUBE LENGTH, ft. CI,C2,C3,C4,C5,C6,C7,C8,C9,CI0 = CONSTANTS
REAL OPEN OPEN
LMTD (UNIT=3, FILE='DATA84.DAT', ( U N I T =i, F I L E = ' P R N ' )
CONSTANTS
Cl C2
= =
= = = = = = = =
USED
IN
THE
PROGRAM
3.1679 3.7948
712
STATUS='OLD',
ERR=I8)
C3 = 1 . 2 5 5 7 C4 = 1 . 0 0 3 1 C5 = 7 2 0 . 8 5 4 2 C6 = 0 . 9 5 3 0 C7 = 7 . 4 2 1 2 C8 = 1 2 . 5 3 4 2 C9 = 36.4 CI0 = 9.35
READ READ READ READ READ READ
THE THE THE THE THE THE
R E A D (3, R E A D (3, G O T O 20
I N L E T P R O C E S S F L U I D T E M P E R A T U R E , oF: T P I O U T L E T P R O C E S S F L U I D T E M P E R A T U R E , oF: T P O I N L E T A I R T E M P E R A T U R E , oF: T A I OVERALL HEAT-TRANSFER COEFFICIENT, Btu/hr.ft^2.oF: HEAT LOAD, Btu/hr.: Q T U B E L E N G T H , ft.: T L
* , ERR=I9) * , ERR=I9)
TPI, TPO, U, Q, T L
18 i00
W R I T E (*, i00) F O R M A T (6X, ' D A T A G O T O 999
19 ii0
W R I T E (*, ii0) F O R M A T (6X, ' E R R O R M E S S A G E G O T O 999
20 120
W R I T E (I, 120) FORMAT (///,20X,'AN
130
140
FILE
DOES
U
TAI
NOT
EXIST')
IN T H E
AIR-COOLED
DATA VALUE')
HEAT
EXCHANGER
DESIGN',/,78(IH*))
W R I T E (i, 130) TPI, TPO, T A I FORMAT (6X,'INLET PROCESS FLUID TEMPERATURE, oF:',T60, F8.1, /,6X,'OUTLET PROCESS FLUID TEMPERATURE, oF:',T60,F8.1, /,6X,'INLET AIR TEMPERATURE, oF:',T60,F8.1) W R I T E (i, 140) U, Q, T L FORMAT (6X,'OVERALL HEAT-TRANSFER COEFFICEINT, Btu/hr.ft^2.oF: T60, F 8 . 1 , / , 6 X , ' H E A T LOAD, Btu/hr.:',T60, FI2.0,/,6X, ' T U B E L E N G T H , f t . : ' , T60, F 8 . 1 )
CALCULATE R = C1
THE
NUMBER
CALCULATE THE RATIO TUBE OD TO THE FACE RATIO1
OF T U B E
ROWS
+ C2*(ALOG((TPI-TAI)/U)) OF B A R E - T U B E S U R F A C E A R E A B A S E D AREA OF BUNDLE , RATIOI=BTSA/FA
= C3"(R**C4)
CALCULATE
THE
FACE
VELOCITY
O F AIR,
FV = C5"(C6,*R)
713
ft/min.
ON THE
'
W R I T E (i, 150) R, R A T I O 1 , F V FORMAT (6X,'NUMBER OF TUBE ROWS:',T60,F6.1,/,6X, 'RATIO OF BARE-TUBE SURFACE TO FACE AREA OF BUNDLE:', /, 6X, ' F A C E V E L O C I T Y OF AIR, f t . / m i n . : ' , T60, F 8 . 3 )
150
CALCULATE TAOI
160
C 25
=
THE
ESTIMATED
AIR
OUTLET
W R I T E (I, 160) T A O I F O R M A T (6X, ' E S T I M A T E D
AIR
CALCULATE
TEMPERATURE
VALI VAn2 LMTD
TEMPERATURE,
(0.005*U*((TPO+TPI)/2.0-TAI))
THE
LOG MEAN
OUTLET
oF:
T60,
F6.1,
TAOI
+ TAI
TEMPERATURE,
oF:',T60,
DIFFERENCE,
oF:
F8.3)
LMTD.
= (TPO-TAI)-(TPI-TAOI) = ALOG((TPO-TAI)/(TPI-TAOI)) = VALI/VAL2
CALCULATE BTSA
BARE-TUBE
SURFACE
AREA
BASED
ON
TUBE,
OD:
ft^2:
BTSA
= Q/(U*LMTD)
CALCULATE
THE
FACE
AREA
OF
BUNDLE,
ft^2:
FA
FA = BTSA/RATIOI W R I T E (i, 170) L M T D , B T S A , FA FORMAT (6X,'EFFECTIVE LOG MEAN TEMPERATURE DIFFERENCE, oF:',T60, F 8 . 3 , /, 6 X , ' B A R E - T U B E S U R F A C E A R E A B A S E D O N T U B E OD, ft^2: ' , T60, F 8 . 1 , /, 6 X , ' F A C E A R E A OF B U N D L E , f t ^ 2 : ' , T 6 0 , F 8 . 1 )
170
CALCULATED TAO
=
OUTLET
AIR
(Q/(FA*FV*I.08))
W R I T E (i, 180) T A O FORMAT (6X,'CALCULATED
180
TEMPERATURE,
oF:
TAO
+ TAI
OUTLET
AIR
TEMPERATURE,
oF:',
T60,
F8.3)
NECESSARY CONDITION FOR SIZING AN AIR-COOLED EXCHANGER. CHECK WHETHER THE DIFFERENCE BETWEEN THE CALCULATED AIR OUTLET T E M P E R A T U R E A N D T H E E S T I M A T E D A I R O U T L E T T E M P E R A T U R E IS G R E A T E R T H A N / O R E Q U A L T O 0.5 (i.e. ( T A O - T A O I ) .GE. 0.5)) A
IF T H E D I F F E R E N C E IS G R E A T E R T H A N O R E Q U A L T O ESTIMATED AIR OUTLET TEMPERATURE EQUAL TO THE OUTLET TEMPERATURE AND REPEAT THE CALCULATION TEMPERATURE DIFFERENCE. IF
190 w
((TAO-TAOI)
.GE.
0.5)
0.5, T H E N S E T T H E CALCULATED AIR FROM THE LOG MEAN
THEN
W R I T E (i, 190) F O R M A T ( 6 X , ' T H E D I F F E R E N C E B E T W E E N T H E C A L C U L A T E D A I R ' , /, ' O U T L E T T E M P E R A T U R E A N D T H E E S T I M A T E D A I R O U T L E T ' , /, 6X, ' T E M P E R A T U R E IS G R E A T E R T H A N 0 . 5 ' , T 6 0 , ' T A O - T A O I >0.5') TAOI = TAO G O T O 25 ELSE ENDIF
714
6X,
200
W R I T E (i, 200) B T S A , F A F O R M A T ( 6 X , ' C A L C U L A T E D B A R E - T U B E S U R F A C E A R E A ' , /, 6X, ' B A S E D ON T U B E O U T S I D E D I A M E T E R , ft^2: ' , T60, F8.1, / , 6 X , ' F A C E A R E A OF B U N D L E , ft^2: ' , T60, F8.1) CALCULATE
AIR
FLOW OVER
TUBES,
std
ft^3/min.:
F
F = FA*FV CALCULATE
FAN HORSEPOWER:
BHP
BHP = BTSA/(C7+(C8*R)) CALCULATE
AIR-COOLER
WEIGHT,
ib:
WT.
WIDTH,
ft:
W
WT = FA*(C9+(CI0*R)) CALCULATE
TUBE
BUNDLE
W = FA/TL C 210
W R I T E (i, 210) F, B H P F O R M A T ( 6 X , ' A I R F L O W O V E R T U B E S , s t d . f t ^ 3 / m i n . : ' , T60, /, 6X, 'FAN H O R S E P O W E R , b h p : ' , T60, F8.1)
220
W R I T E (i, 220) WT, W F O R M A T ( 6 X , ' A I R - C O O L E R W E I G H T , Ib:', T60, F9.1, 'TUBE BUNDLE WIDTH, ft.:',T60,F8.1)
230
999
6X,
W R I T E (i, 230) F O R M A T (IH , 7 8 ( I H - ) ) FORM
C
/,
FEED THE PRINTING
PAPER
WRITE
(i,
CLOSE CLOSE STOP END
(3, S T A T U S = ' K E E P ' ) (i)
TO T O P OF T H E N E X T
*) C H A R ( 1 2 )
715
PAGE.
F9.0,
PROGRAM
PROG85
HEAT-TRACER REQUIREMENTS FOR PIPELINES. THE PROGRAM CALCULATES THE HEAT LOSS AND TRACING REQUIREMENTS FOR ANY GIVEN PIPELINE USING HOT OIL OR SOME OTHER HOT FLUID MEDIUM AS THE HEAT SOURCE. IT A L S O C A L C U L A T E S THE HEAT LOSS FROM AN INSULATED PIPELINE WITHOUT A HEAT TRACER. THIS I. 2. 3. 4. 5.
PROGRAM WILL CALCULATE: SURFACE TEMPERATURE OF INSULATED TRACED PIPE. TOTAL HEAT TRANSFERRED P E R i 0 0 ft. O F P I P E . TOTAL HEAT TRANSFERRED FOR ENTIRE PIPELINE. FLOW RATE FOR HOT MEDIA. TOTAL NUMBER OF HEAT TRACERS REQUIRED WITH AND TRANSFER CEMENT.
HEAT TRANSFERRED RESISTANCES: i. 2. 3. 4.
THROUGH
AN
INSULATED
PIPE
ENCOUNTERS
FILM RESISTANCE ON THE INSIDE WALL OF THE HEAT RESISTANCE THROUGH THE PIPE WALL. HEAT RESISTANCE THROUGH THE INSULATION. AIR-FILM RESISTANCE ON THE OUTSIDE OF THE
HOWEVER, THE FIRST VERY SMALL AND ARE TMEDAV TMI TMO TAVG DI OD TAL DOS TK Q KINS TS HA
TWO RESISTANCES, i. A N D THEREFORE NEGLIGIBLE IN
= = = = = = = = = = = = =
WITHOUT
FOUR
PIPE.
INSULATION.
2. A R E N O R M A L L Y THIS PROGRAM.
AVERAGE TEMPERATURE OF HOT MEDIUM, oF. HOT-MEDIUM INLET TEMPERATURE, oF. HOT-MEDIUM OUTLET TEMPERATURE, oF. AVERAGE TEMPERATURE OF PIPE AND TRACER, oF. INSIDE DIAMETER OF INSULATION, in. OUTSIDE DIAMETER O F P I P E , in. ALLOWANCE FOR TRACER DIAMETER, in. OUTSIDE DIAMETER OF INSULATION, in. INSULATION THICKNESS, in. HEAT LOSS PER FOOT OF PIPE, Btu/hr.ft. THERMAL CONDUCTIVITY OF INSULATION, Btu/hr.ft^2.(oF/ft). OUTSIDE SURFACE TEMPERATURE OF INSULATION, oF. FILM HEAT-TRANSFER COEFFICIENT TO AIR CORRECTED FOR THE WIND, Btu/hr.ftA2.oF. TAIR = AIR TEMPERATURE, oF. HCOMB = HC+HR: COMBINED CONVECTIVE AND RADIATIVE HEAT TRANSFER CO-EFFICIENT, Btu/hr.ft^2.oF. WF = WIND FACTOR. QT = TOTAL HEAT LOSS FROM PIPELINE, Btu/hr. W = FLOW RATE OF HOT MEDIUM, ib/hr. TOTL = TOTAL PIPELINE LENGTH, ft. CP = SPECIFIC HEAT OF HOT MEDIUM, Btu/ib.oF. TWOC = NUMBER OF TRACERS REQUIRED WITHOUT HEAT-TRANSFER CEMENT. TCA = THERMAL CONDUCTANCE, TRACER TO PIPE WITHOUT CEMENT, Btu/hr.oF(ft of pipe). TWC = NUMBER OF TRACERS REQUIRED WITH HEAT TRANSFER CEMENT. TCB = THERMAL CONDUCTANCE, TRACER TO PIPE WITH CEMENT, Btu/hr.oF(ft of pipe). TP = TEMPERATURE I N T H E P I P E , oF. ***************************************************************
716
R E A L OD, OPEN OPEN
KINS
(UNIT=3, (UNIT=l,
FILE ='DATA85.DAT', FILE ='PRN')
STATUS='OLD',
ERR=I8)
PI = 3 . 1 4 1 5 9 2 7 R E A D THE T O T A L L E N G T H OF PIPE, ft.: T O T L R E A D THE T E M P E R A T U R E IN THE PIPE, oF: TP R E A D THE H O T - M E D I U M I N L E T T E M P E R A T U R E , oF: TMI R E A D THE H O T - M E D I U M O U T L E T T E M P E R A T U R E , oF: TMO R E A D THE A I R T E M P E R A T U R E , oF: T A I R R E A D THE O U T S I D E D I A M E T E R OF PIPE, inch.: OD R E A D THE A L L O W A N C E FOR THE T R A C E R D I A M E T E R , inch.: T A L R E A D T H E I N S U L A T I O N T H I C K N E S S , inch.: TK R E A D THE T H E R M A L C O N D U C T I V I T Y OF I N S U L A T I O N , B t u / h r . f t ^ 2 ( o F / f t ) : K I N S R E A D T H E S P E C I F I C H E A T C A P A C I T Y OF THE H O T M E D I U M , B t u / I b . o F : CP R E A D THE F I L M H E A T T R A N S F E R C O E F F I C I E N T TO A I R C O R R E C T E D FOR THE WIND, B t u / h r . f t ^ 2 . o F : HA R E A D THE T H E R M A L C O N D U C T A N C E , T R A C E R TO P I P E W I T H O U T CEMENT, B t u / h r . o F (ft. of pipe).: T C A R E A D THE T H E R M A L C O N D U C T A N C E , T R A C E R TO P I P E W I T H CEMENT, B t u / h r . o F (ft. of pipe).: TCB
READ READ READ READ
(3, * , (3, * , (3, * , (3, * ,
ERR=I9) ERR=I9) ERR=I9) ERR=I9)
TOTL, TP, TMI TMO, TAIR, OD TAL, TK, K I N S CP, HA, TCA, TCB
GO TO 20 18 i00
W R I T E (*, i00) F O R M A T (6X, 'DATA F I L E D O E S NOT EXIST') GO TO 999
19 ii0
W R I T E (*, ii0) F O R M A T (6X, 'ERROR M E S S A G E GO TO 999
20 120
W R I T E (i, 120) F O R M A T (///, 10X, 'HEAT T R A C E R R E Q U I R E M E N T S FOR P I P E L I N E S A N D ', /, 10X, 'HEAT L O S S F R O M AN I N S U L A T E D P I P E L I N E W I T H T R A C I N G ' , /, 78(IH*))
130
140
150
IN THE D A T A V A L U E ' )
W R I T E ( I, 130) TOTL, TP, TMI F O R M A T (6X, 'TOTAL P I P E L I N E LENGTH, f t . : ' , T 6 0 , F 9 . 1 , / , 6X, ' T E M P E R A T U R E IN PIPE, o F : ' , T 6 0 , F 9 . 1 , / , 6X, ' H O T - M E D I U M I N L E T T E M P E R A T U R E , o F : ' , T 6 0 , F 9 . 1 ) W R I T E (i, 140) TMO, TAIR, OD F O R M A T (6X, 'HOT M E D I U M O U T L E T T E M P E R A T U R E , o F : ' , T 6 0 , F9.1,/, 6X, 'AIR T E M P E R A T U R E , o F : ' , T 6 0 , F 9 . 1 , / , 6X, ' O U T S I D E D I A M E T E R OF PIPE, i n . : ' , T 6 0 , F 9 . 3 ) W R I T E (i, 150) TAL, TK, K I N S F O R M A T (6X, ' A L L O W A N C E FOR T R A C E R D I A M E T E R , in.:', T60, F9.2,/, 6X, ' I N S U L A T I O N T H I C K N E S S , in.:', T60, F9.2, /, 6X, ' T H E R M A L C O N D U C T I V I T Y OF I N S U L A T I O N , B t u / h r . f t ^ 2 ( o F / f t ) : ' , T60,
717
*
160 * *
* * * *
F9.3) W R I T E (i, 160) CP, HA, T C A , T C B FORMAT (6X,'SPECIFIC HEAT OF HOT MEDIUM, Btu/Ib.oF:',T60,F9.3, /,6X,'FILM HEAT TRANSFER COEFFICIENT TO AIR', /,6X,'CORRECTED FOR WIND, Btu/ft^2.hr.oF:',T60,F9.3, /,6X,'THERMAL CONDUCTANCE TRACER TO PIPE', /,6X,'WITHOUT CEMENT, Btu/hr.oF.ft of pipe:',T60,F9.3 /,6X,'THERMAL CONDUCTANCE TRACER TO PIPE', /,6X,'WITH CEMENT, Btu/hr.oF.ft of pipe:',T60,F9.3) CALCULATE CONTRL
THE
AVERAGE
TEMPERATURE
OF
30
TMEDAV = 0.5*(TMI+TMO) TA = 0.5*(TMEDAV+TP) DI = O D + T A L DO = DI+2.0*TK HA1 = HA
40
X = (ALOG(DO/DI)*HAI*DO)/(24.0*KINS) TS = (TA+X*TAIR)/(I.0+X)
170 *
W R I T E (i, 1 7 0 ) T S F O R M A T (6X, ' O U T S I D E T60,F9.3)
CALCULATE THE COEFFICIENT. HCOMB
180
HOT
MEDIUM,
oF
= 0.0
=
SURFACE
COMBINED
TEMPERATURE
CONVECTIVE
AND
OF
INSULATION,
RADIATIVE
564.0/((DO**0.19)*(273.0-(TS-TAIR))
HEAT
oF:',
TRANSFER
)
W R I T E (i, 180) H C O M B FORMAT (6X,'THE COMBINED CONVECTIVE AND RADIATIVE', /, 6X, 'HEAT TRANSFER COEFFICIENT, Btu/h.oF.ft^2: ' , T60, F9.3)
CONSTANTS
FOR
THE
WIND
FACTOR
CO C1 C2
= 2.814 = -0.00038857 = -0.0000012857
WF
= C0+(CI*(TS-TAIR))+(C2*((TS-TAIR)**2))
CALCULATED FILM HEAT-TRANSFER THE WIND, HA2: Btu/hr.ft^2.oF HA2
TO
AIR
CORRECTED
FOR
= HCOMB*WF
IF ( ( H A 2 - H A I ) HA1 = HA2 G O T O 40 ELSE
.GE.
0.01)
CALCULATE
HEAT
FLOW
QINS
COEFFICIENT
=
THE
THEN
THROUGH
THE
INSULATION
(2.0*PI*KINS*(TA-TS))/(ALOG(DO/DI)
718
)
Btu/hr.(lin
ft).
CALCULATE QRC = ENDIF
190
T H E H E A T F L O W BY R A D I A T I O N
AND CONVECTION
TO A I R
(HAI*PI*DO*(TS-TAIR))/12.0
W R I T E (i, 190) WF, HA2 F O R M A T ( 6 X , ' W I N D F A C T O R : ' , T 6 0 , F9.3, /, 6X, 'HEAT T R A N S F E R C O E F F I C I E N T T O AIR', /, 6X, ' C O R R E C T E D F O R T H E WIND, B t u / h r . f t ^ 2 . o F : ' , T60, CALCULATE
THE TOTAL HEAT LOST FROM PIPELINE
F9.3)
,Btu/hr.
QT = Q I N S * T O T L
200
W R I T E (i, 200) QINS, QT F O R M A T ( 6 X , ' H E A T L O S S P E R F O O T OF PIPE, B t u / h r . f t : ' , T 6 0 , F 9 . 3 , / , 6 X , ' T O T A L H E A T L O S S F R O M P I P E L I N E , B t u / h r . : ' , T60, F9.3) IF ( C O N T R L G O T O 999 ELSE CALCULATE
.EQ.
1.0)
THEN
T H E F L O W R A T E OF H O T M E D I U M ,
ib/h
W = QT/(CP*(TMI-TMO))
210
W R I T E (i, 210) W F O R M A T ( 6 X , ' F L O W R A T E OF H O T M E D I U M ,
ib/hr.:',
C A L C U L A T E T H E N U M B E R OF T R A C E R S R E Q U I R E D H E A T - T R A N S F E R CEMENT.
C C
T60,
F9.3)
WITHOUT
TWOC = QINS/(TCA*(TMEDAV-TP)) C A L C U L A T E T H E N U M B E R OF T R A C E R S R E Q U I R E D W I T H HEAT-TRANSFER CEMENT. TWC = QINS/(TCB*(TMEDAV-TP)) ENDIF
220
230
W R I T E (i, 220) TWOC, T W C F O R M A T ( 6 X , ' T H E N U M B E R OF T R A C E R S W I T H O U T H E A T T R A N S F E R C E M E N T : ' , T60, F 9 . 2 , / , 6 X , 'THE N U M B E R OF T R A C E R S W I T H H E A T T R A N S F E R C E M E N T : ' , T 6 0 , F9.2) W R I T E ( 1, 230) F O R M A T ( IH ,78 (IH-) )
C C C
C A L C U L A T I O N OF H E A T L O S S F R O M A N I N S U L A T E D TRACING, WHERE TMI=TMO=TP, AND TA=0.0
240
W R I T E (i, 240) F O R M A T (//, 6 X , ' H E A T
250
W R I T E (i, 250) F O R M A T (" W I T H O U T
LOSS FROM AN INSULATED
TRACING',
/IH
719
,78(IH*))
PIPE WITHOUT
PIPE',k)
C
TO
CALCULATE
THE
TMI = TP TMO = TP TAL = 0.0 CONTRL = CONTRL GO TO 30 CLOSE CLOSE 999
( 3, (i)
HEAT
+
STATUS='
LOSS
FROM
AN
1.0
KEEP'
)
STOP END
720
INSULATED
PIPE,
CONTRL=I.0
CHAPTER 9
Engineering Economics INTRODUCTION Project evaluation enables the technical and economic feasibility of a chemical process to be assessed using preliminary process design and economic evaluations. Once a process flowsheet is available, these evaluations can be classified into several steps: material balance calculations, equipment sizing, equipment cost determination, utilities requirements, investment cost estimation, sales volume forecasting, manufacturing cost estimation, and finally profitability and sensitivity analysis. The results of an economic evaluation are reviewed together with other relevant aspects, such as, competition and likely product life in arriving at project investment decisions. The decisions are essential in order to both plan and allocate the long-term use of available resources. The objectives of an economic appraisal are: 9 To ensure that the expected future benefits justify the expenditure of resources. 9 To choose the best project from among alternatives to achieve future benefits. 9 To use all available resources. These objectives ensure that the right project is undertaken and is likely to attain the desired profitability. In the chemical process industries, an investment project may arise from any of a range of activities. It may be a minor modification to an existing plant, a major plant expansion or revamping, a completely new plant (on an existing or greenfield site) or the development of an entirely new process or product. For a major or a new plant, economic 721
722
Fortran Programs for Chemical Process Design
assessment with increasing degrees of accuracy may be carried out at different stages as the plant progresses. This may be based on an initial research and development (R&D), through various stages of the project (e.g., pilot plants, material evaluation, preliminary plant design), which leads to the decision whether or not to proceed with investment in a full scale plant for the process. Table 9-1 lists examples of the use of engineering economics. The approach used for economic evaluation depends on the quality of the information, that is, the stage in the project at which it is undertaken. Table 9-1 Use of Chemical Engineering Economics Production or Plant Technical Services
A. Plant equipment continuously needs repair, replacement, or modernization. The responsible engineer should know roughly what the comparative performance, costs, and payout periods are, even if there is a plant engineering group to do that type of analysis, or a firm price quotation will be obtained later. B. Plant changes, such as those initiated by the ever increasing costs of energy and environmental requirements, necessitate that many energy saving, pollution, and hazardous waste control possibilities must be considered. To make intelligent recommendations, the responsible engineer should personally conduct design and cost estimates, pay-back, and economic calculations on the alternatives before making even preliminary recommendations. C. Competitors' processing methods, as well as R&D, sales, or management suggested changes must be continuously examined. Supervisors or other groups may be responsible, but the staff engineer can help a great deal by making preliminary cost estimates and economic analyses of the changes to guide his or her own thinking (and hopefully the group's position). D. All engineers should have a feel for their company's business, products, and economics. This requires occasional economic reading, and a basic understanding of the company's annual reports and general industry economic news. Research and Development A. In the process of being creative, one thinks of many novel ideas. During the analytical phase of creative thinking many of the ideas will require a quick cost estimation and economic analysis to provide a better idea of their merit. Even though supervisors or others may be assigned to do this work, the chances of conceiving good ideas and having them accepted increases immensely if some economic screening can be done by the originator.
B. While conducting R&D studies, there are always many stumbling points or alternative directions that may be taken to solve problems. Often brief cost estimates and economic analyses will help the engineer in deciding which are the most promising directions to pursue. C. After an early or intermediate stage of an R&D program has been successful, new funding requests usually are required to continue the study. These requests can always benefit from having potential preliminary economic analyses. Later, in the final stages of a successful project, the engineer may be part of a team assigned to provide a more definitive preliminary economic projection and analysis. D. In dealing with production, sales, or management personnel, one can usually gain more respect, and be considered more practical and less "theoretical," by having a reasonable knowledge of the costs and economics of the projects under study, and general industry economics.
Sales A. A general knowledge of company costs, profits, and competition are very helpful for more effective salesmanship. B. Salesmen often recommend new products, improvements, or pricing ideas to their management. A cost and economic estimate for these ideas should be helpful in the proposal report. C. Salesmen sometimes perform market surveys. Again, a general economic knowledge of the industries and companies surveyed may be essential, and is always useful. D. Salesmen may move into management, where economic knowledge is a major part of the job.
Engineering A. Because of the extreme specialization of most engineering companies and many company engineering departments, cost estimating and economics may not be directly required in many engineering company or department jobs. However, other jobs will deal exclusively with cost estimating and economic analysis, and all will benefit from a good, fluent knowledge of the basic economic procedures. Engineering departments or companies usually have well developed in-house methods and data that must be used, but the basics are still applicable.
General A. All chemical engineers are assumed to know the rudiments of cost estimating, economic evaluation, and the economics of their industry. A high percentage will find this knowledge useful or necessary throughout their careers. (table continued on next page)
723
724
Fortran Programs for Chemical Process Design Table 9-1 (continued)
B. All work situations are more or less competitive, and one means of maintaining the highest advancement potential with most jobs is to convince superiors of your knowledge and interest in management, business, and economics. Associated with this is the demonstration of ability, an interest in accepting responsibility, and ability to communicate. Many companies promote people whom they think can "manage," such as those with MBA (master of business administration) degrees or with perceived equivalent capabilities, ahead of people with a better performance record. Basically, a confidence that you can learn managerial skills as you need them and a knowledge of economics should make most chemical engineers equal or preferred candidates for advancement. Source: Garrett [10], Courtesy of Chapman and Hall
Project Evaluation Investment decisions are often based upon several criteria, such as annual return on investment (ROI), payback period (PBP), net present value (NPV), the average rate of return (ARR), present value ratio (PVR), or the internal rate of return (IRR). Discounted cash flow rate on return (DCFRR) is another popular means of evaluating the economic viability of a proposed project. Horwitz [ 1] recommended the D C F R R as the best means to determine the return on investment, because it accounts for the time value of money. The internal rate of return as an investment criterion gives the possibility that given cash flows may result in more than one internal rate of return. Cannaday et al. [2] developed a method for determining the relevance of an internal rate of return. They inferred that an internal rate of return is relevant, if its derivative with respect to each of the cash flows is positive. Powell [3] reviewed the basics of various discounted cash flow techniques for project evaluation. Discounting is a method that accounts for the time value of money to provide either for the capital or to convert the cash flows to a common point in time so that they are summed. Ward [4] proposed a new concept known as the net return rate (NRR) that provides a better indication of a project's profitability. Techniques and criteria for economic evaluation of projects are widely available in the literature and texts [5,6,7,8,9,10]. A summary of the conventional decision criteria is given here.
Engineering Economics
725
Cash Flows Return On Investment (ROI) In engineering economic evaluation, rate of return on investment is the percentage ratio of average yearly profit (net cash flow) over the productive life of the project, divided by the total initial investment. This is calculated after income taxes have been deducted from the gross or pre-tax income. The remainder or net income may be used either for paying dividends, reinvestment, or can be spent for other means. ROI is defined by ROI =
Annual return Investment
x 100
(9-1)
The annual return may be the gross income, net pre-tax income, net after-tax income, cash flow, or profit. These may be calculated for one particular year or as an average over the project life. Investment may be the original total investment, depreciated book-value investment, lifetime average investment, fixed capital investment, or equity investment. The investment includes working capital and sometimes capitalized expenses such as interest on capital during construction.
Payback Period (PBP) Payback period is widely used when long-term cash flows are difficult to forecast, because no information is required beyond the break-even point. It may be used for preliminary evaluation or as a project screening device for high risk projects in times of uncertainty. Payback period is usually measured as the time from the start of production to recovery of the capital investment. The payback period is the time taken for the cumulative net cash flow from start-up of the plant to equal the depreciable fixed capital investment (CFc - S). It is the value of t that satisfies the equation t=(PBP)
CcF - (CFc - S)
(9-2)
t=0
where CcF = net annual cash flow CFc = fixed capital cost S = salvage value Figure 9-1 shows the cumulative cash flow diagram for a project. The PBP is the time that elapses from the start of the project, A, to the
726
Fortran Programs for Chemical Process Design
I
Recovered Capital = i Land value + Salvage value l + Working capita] J
Cumulative cash flow
$
- I
A
-
F
Start- up
§
Land value
'
O
'
E
'
)
\ Working capital ,
,
/ Effect o f "D tax credits
Figure 9-1. Cumulative cash flow diagram. break-even point, E, where the rising part of the curve passes the zero cash position line. The PBP thus measures the time required for the cumulative project investment and other expenditure to be balanced by the cumulative income.
Present Worth (Or Present Value) In an economic evaluation of a project, it is often necessary to evaluate the present value of funds that will be received at some definite time in the future. The present value (PV) of a future amount can be considered as the present principal at a given rate and compounded to give the actual amount received at a future date. The relationship between the indicated future amount and the present value is determined by a discount factor. Discounting evaluates each year's flow on an equal basis. It does this by means of the discount, or present value factor, and the reciprocal of the compound interest factor (1 + i)" with i = interest rate n = the year in which the interest is compounded
Engineering Economics
The discount factor =
727
(9-3)
(l+i) n
If C n represents the amount available after n interest periods, P is the initial principal and the discreet compound interest rate is i. The present value, PV, can be expressed as: PV-
P =
(9-4)
Cn (l+i) n
Net Present Value (NPV) The net present value of a project is the cumulative sum of the discounted cash flows including the investment. The NPV corresponds to the total discounted net return, above and beyond the cost of capital and the recovery of the investment. The NPV represents a discounted return or profit, but is not a measure of the profitability. Each cash flow is evaluated by computing its present value. This is done by taking a cash flow of year n and multiplying it by the discount factor for the n th year. Presentvalue~
(9-5)
I [ ( ln+ i1) .
The present value, p, at year 0 of a cash flow, Ct, in year t at an annual discount rate of i is p =
Ct
(9-6)
(l+i) t
For a complete project, the earlier cash flows are usually negative and the later ones positive. The net present value, NPV, is the sum of the individual present values of the yearly cash flows. This is expressed as: NPV-C
o+
C
C2
Cn
~ + ~ + . . . + ~ (1 + i) (1 + i) 2 (1 + i)"
(9-7)
Equation 9-7 can be expressed as: NPV - ~ p
-
Ct )' t=o ( l + t
(9-8)
The life of the project n years must be specified together with the estimated cash flows in each year up to n.
728
Fortran Programs for Chemical Process Design
NPV = net present value C o = Initial investment C n =
cash flow
n = year n i = interest rate of return (ROI/100) If a project includes a series of identical yearly cash flows, such as the net inflow for several years, their present values can be obtained in one calculation instead of singly. For yearly cash flows, C, from year m to year n, then the sum of their present values is: p=
C
1
i(1 + i) m-~
1 - (l+i)"-m+'
(9-9)
Figure 9-2 shows the cumulative net present values stages in a project. Tables 9-2 through 9-5 are the discount factors for computing the net present value. Assuming that the investment is made in year 0 (C o = I), and the cash flows over the project life are constant, then Equation 9-7 is simplified to give
NPV
1 i/n] I n=l
(9-10)
1+
The term 1/(1 +i) is a geometric progression whose sum can be expressed as the single term
,•
1
n=l (1 + i)n
(1 + i)" - 1
(9-11)
i(1 + i) ~
where Equation 9-11 becomes the present value of an annuity. Equation 9-7 can thus be expressed as: NPV-I(l+i)ni(l+i)n-ll-I
(9-12)
Engineering Economics
729
Cumulative
net p r e s e n t value
Curve 3
Project
time
(years)
Figure 9-2. Net present value (NVP) of a project.
The internal rate of return (IRR) is that value of i that makes NPV equal to 0. Therefore, if NPV is set to 0, the IRR that makes the future cash flows equal to the investment (the "break-even" point) can be estimated. Equation 9-12 then becomes: I (1 + i ) " - 1 -- =
C
where I C in-
i(1 + i) ~
(9-13)
investment cash flow for each year rate of return (IRR/100) years of project life
Equation 9-13 is defined as the annuity with I, the present value, and C, the equal payments, over n, years at interest, i. The I/C term is referred to as the payback period. If I and C are evaluated and the life of the project is known, i can be computed by trial and error. The value of i can be determined from Figure 9-3. (text continued on page 735)
"0
~
'8
0
U.
U
I3
0
~
OP 0
O~ m
•
0
0
0
0
,i
0
0
,i
0
0
,i
0
0
,i
0
0
$1
0
0 ~
.i
0
0
0
sl
0
0
0
,I
0 1"--, 0
0
~D ~ ,
el
~1
0
0
0
0
$1
0
0
~1
IO ,,-,I 0 0
.i
0
0
ii
0
0
....I - "
0
0
0
~
0
0 0
0
~
0
~
0 0
~
~ ~
0
~
0 ~
0
0
~
0
0
~ ~
0
0!0
0
~ 0
~
0
0
~
~ ~
0
0
0
0
0
~
0
0
0
~
0
~
0
m
~
~
0
0
0
~
0 0
0
0
~
~
~
0
•
r-I , ~
.1
0
0
.i
0 4 1 . 0 IX) 0,1 '~0 r l ~00~1 IX) I-~ r l (X) %00") ,-I ¢~ ~'- ',.0 ',~ (D t,. kO ,,,01.01.0 ~1, ,~1, 0") O") ('fl O~ 04 O~104 ,-I ,.4=~-.I ~-I
0
,1
0
.1
0 ~
0
rl
~i
0 0
.i
r-I ' ~
0
0 ~
0
0
(X) ~'-. ~'- ,,.0 ,,.0 I.~ IX'I ~") ',~1, ',~1, O~ 0"1 ¢ , % i 0 3 0 , 1 0 4 0 4 0 . 1 0 ~ "1 '1 " 1 ~ 1 " 1 " I " 1 "~ "~ "1 "1 "1 " 1 " 0 0 0 0 0 0 0 0 010 0 0 0 0 0 0 0 0 0
lO ~- O~ I 0 0 0 0 3 0 0
,,-I 0 0 "1
00~
0
kO Ol ~
~--I 0
0 %D ~1 {~ 0
00iO
,~ 0 0
0
'~
0
,~ O~ 03 (~ ,~ 0
0
0
0
O~ "~ ~ ~ U3
0 0~0
0~0
0
0
0
0
0
0
0 0
0
0
~
~
0
0
,-I 0
0'0
~ 0 0
"~ ~0 tO ~0
~ 03 Oq O~ ~OiO ~0 ,~ O~ ~ ~
O~ ~0 ~0 ~ i t ~-
~
~
00~ 0
, - 4 0 0 0 0 1 0 0 0 0 0 0 0
00~
u3 ~
0
0
r~ '~ O~ '~"
~
0
, - ' 4 0 0 ' 0 1 0 0 0 0 0 0 00
0
0
0
0
~
0
~
~
0
~
~ 0
0
~ ~
0
~
0
oooooooI~oo
0
0
0
o
~
~
oioo
0
0!0
o
,
0
0
o
~
0
0
0
0
0
0
o
~ ,-I ,-,I ~ ~ ~T~,q~ b'3 ~ ~0 ~ '~" 0") 0~1 ~-~ 0
0
0
o
~
0
~ ,-I O~ ~'I u'l ~ 0 0 0 3 ~00 ~ ~o ,~ OI 0 (%) ~ LO 03 O~ 0 O~ O~ O~ O~ ~ O0 i~0 ~0 ~0 "I 0 0 0 0 0
~iO ~ ~
~0 ,-III13 ~0 b3 ,-I ~
~
~
,~p ,-I ~
0
4
~
.I , - 4 0 0 0 0 0 0 0 0 0 ! 0
-
0 0 00~ 00~ ,
~
~
~
0 ~
o
o
~
~
!
~
o
0 0 0 0 0 1 0 " 1 ~0 ~
o
730
0 if)
Ii
~
~
,+-
i
0
dO
:el
0
l 4.1 !114 iO:3
! O 0"1
O
gl
O
O
O
O
O
C) O
O
0
O
0
0
0
O
O
O
00iO
O 0
0
O
O
0
0
C) O
O
O
0
0
0
O
O
0
O 0
O
O
0
0
0
l~ OO
0
0
O
OIl~
0
0
0
O4 ~O ~O ~
0
0
O
~O M) O
0
O 0
e-4 e-4 e.-I O
r-I O~ !~ O
! 0 [i"1 i:~ 1,,.,. i ~ 0 0 r l I ~ 03 O~ I ~ i ~ i-I!0,1 l'~ kO I.FI ,Ill, i',"1 0"1 (Xl :00B ' 0 It) "~" 'I~ 0"101 Ol ,-I i-.I ,--I ,-I 0 0 O O 0 0 0 0 ie--I O t q Ol ,~P 1~ O
0
0
~1~ O~101 OI Ol r l
O
0
0
0
o
O 0
0
GO ['~ IF) ' ~
0
•-I 0
0 O
rt 0
0
0 0 0 0
0 0
0
0
0
0
0
0
O
0
0
0:0
0
O
0
0
0
0!0
O
0
0
0
,'-I 0
O
O
0
O
O
O
O
O
T.-.I r-I r,~ r l
O
O
Or~ Or~ 04 Ol r l O
O
~ O
O
[~ ~0 I O , ~ O
O10
~
O
r-40
O
ooloooooooooooooooooo
i,O I1"11"~O~ Cll 1~ Ol I~O ~@~ ~'10D ~ 04 ~D l'~ t,O IO ' ~ "~ Orl:Orl O,101 CM r-I r.4 e-I ~,,-4 ~ 1 0 O
0
O O
,
ooooooglooooooooooooo
~oooooooooooooooooooo
,
0
O
0
O
0
O
O
0
O
0
O
1,1"1i
0
O
0
0
O
O~ ~1 ( ~ I 0
0
O
00'l
0
O
O
0
O
O
O
O
'1
O
O
O
O
r-I O
0
0!0
,-.I ~1 ,....I ~
0
0
i ~ 1-'~- ~0 [ 0 i.~ ,,~I,,@ t ~ o-i ('el Ol t-~ Ol Ol r l 0
0
0
00~
0
~-t 0
731
"0
~o~
,,..o o 0
~o 0
O~ O~
g
O0
0 (~ 0 ~J m
~
r'~ ~
'q' ~
OI O~ ~'~ r'~ 0 0 0
0
0
0
0
0
0
0
0
,-4000o0o000o0o!oooo00010
0
0
0
0
0
~ 0
0
. 0
0
0
0
0 0
0
:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
C) 0
0
0 0 0 0
0
0
0
0
0
O
0
0 0 0 0 0
~'~ ~0 , ~ ~'~ OI Ol!~-.; , ~ r~ 0
',..~ 0
0 r'~id
o
o
o
o
o
o
o
o
o
o
o
o
o
o
0 0
oo
O0
o
o
00~ O~ ~0 ~ 0 0 0 ~ ~0 ' ~ , ~ O~ ~ ~0 '~" 0'~ O~ O~ ,"'~ ,"~ ,"~ 0 0 ~"~:~0 ,~ ~ I'~ OI ,r..~ r-~ ,r-I 0 0 0 0 0 0 0 0 0 0 0
0
0 0 0
0
0
0
0
0 0 0 0
0
0 0 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
~'~ ~0 ,~ ( ~ ~q 04 ,-4 ,-.~ ,..~ 0
,~ c ~ o
0
0
r~O0
0
010
0
0
0
0
0
0
0 0
0
0
0:0
0
0
0
0
0
0
0
0
0
0
0
0 0 0 0
0 0 0 0
0
0
0
0
~
0
0 0
0
0
0
0
0
0
0
0
0
0
0
0
O0 kO iO ,~ ¢~ O~ iN ,-~ ,-; ,-~ 0
0
,-~ 0
0
0
0
0 0 0 0
0
0 0
0
0
0
0 0
0
0
~ ; ' ~ 0 ~0 ,~ fO (X; 0,1 ,-I ,-I , - I I 0
0
0
0
0:0
~
0 0 "1 0 0
0
0
0 0
0
0
0
~
0
0
0
0
0
0
~
!
0
~
~ 0
~
~
0
0
0
0
0
0
0
0
,-.~ 0 0
0
0
0
,---~ 0
0
0
0
0
O~ O~ ~-~ ~-~ ,-~ 0
0
0
0
0
4
~
-
0
OD kO ~0 ,~ ("I ~
0
~
-
1
~
0
~
,
~
0
~
0
0
0
~
~
0
~
0
~
~
0
732
0
~
m
0o:
90-=
• g
m
W
4
0
0
0
0
I~ I 0 IT1 0,,I ~--I V-I 0
0
0
0
0
o
~
0
00iO
0
'
0
0
,
o
o!o
~ ~ ~ ~i~ ~ ~ ~!000iO o
~ ~
o ~
0
0
0
0
0
0
0 ~ ~ 0 0
~
0
0
~ 0
0
o
0
0
0
0
0
0
o
o 0
o
0
0
0
0 0
0
0
~ 0
0
0
0
0
0
0
0
0
~
~
0
0
o
0
0
o 0
0
0
o
0
0
0
0
0
~ 0
~ 0
0
0 ~ ~ 0
0
0
~
g
~ 0
0
0
0
0
~
0
0
0 0 0
0
0
,
0
0
0
~ ~ 0 0
0
0
0
0
0
0 I
0:0
o
o
~
o
~
~
o
0
0
0
0
0
0
0
0
0
o
~
0
0
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 0 ~ ~ ~ ~ ~ ~ ~ ~ 0 0 0 0 0 0 0 0 0 0 0
1
0
0
0
0
0
0
0
~ ~
0
~ ~:~ ~ ~ ~ 0 0 ~ ~ ~ ~ ~ O~ ~ 0 0 0 0 0
0
0
o
~ ~ ~ ~ ~ ~ H ~ ~ ~ 0 0 0 0 0 0 ~ 0 0 0 0 0 0 0 0 0 0 0
0
0
0
0
~
0
~ ~ ~ ~ ~ ~ I 0 0 0 0 0 0 0 0 0 0 0 0 : 0 0 0 0 0 0
0
o
o!o ~
o
~ ~
0 ~ O ~ 0 ~ ~ ~ ~ 0 ~i~ ~ ~
0 ~ 0
0
0 0
0
0
010
0
0
0
0
0
0
0
~ ~
~ ~
0
0
0
0
0
0 ~
0 ~
o
~
0
0
o
0
0
0
~!~ ~ ~
0
o
0
0
0
0
0
0
~ ~
o
~ ~ 0
o
0
0
~ ~ 0
~ ~ 0
0
0
~ ~
~iO
0 0
0 0
~
0
0
0
o
0
0
~
0
~ ~ ~ ~ ~ ~ ~ ~ 0 0 0 0 ~ 0 0 0 0 0 0 0 0 0 0 0 0 0
~ ~
o
~ 0
0
0 ~ 0
0
0
~ ~ 0
0
~
~
~
~ ~
~!~ ~,~ ~ ~ ~ ~ ~ ~ ~ ~
~ 0
0
0
0
o
0
0
~ ~ 0 0 0
O0
0
0 0 0
old
0
0
0
00iO
~ ~ ~ ~ 0
0 ~ ~ ~ ~ ~:~ ~ ~ 0 ~ ~ ~ ~ ~ 0 ~ ~ 0 ~ ~ ~ ~ ~ ~ ~ 0 ~ 0 0 0 0 HO 0 O 0 0 0 0 0 0 : 0 0 0
~ ~ ~ ~ ~ ~ ~ ~ 0
0
~
0
~ ~
o
~
0 ~ ~ ~
~
~
~
~ ~
0
~
0!~ 01~ ~ 0'~ ~
m
~
~
0 0
o
0
0 ~
0
~ooooooooooioooooooooo
O
0
0
~
0 ~ ~l~ ~ 0 0 ~ 0 ~ 0 0 O~ ~ ~ ~ ~
~
0
~!oooo~!oooooooo~iooooo
~
O~ ~ 0 ~ 0 ~ 0 ~i~
~
~
0
~
0 0 0 0
0
0
0
0 0 0 0
~
0
~
0
~ ~
~
0
733
o
23Li ii
1
1
1
I
I
i
I
1 i
.....I
I
I
1 'i'
1
I
I'
I
I
I I I
21
19
17
n = 25
A
+
15
I
13
+
,
11
n=lO
n-5
1
5
9
13
17
21
25
29
DCF, % Figure 9-3. Graphical solution for simplified DCF calculation. (Constant cash flow, compounded annually, no salvage or working capital return.) Source: Horwitz [1]. 734
Engineering Economics
735
(text continued from page 729)
The NPV measures the direct incentive to invest in a given proposal as a bonus or premium over the amount an investor could otherwise earn by investing the same money in a safe alternative, which would yield a return calculated at the rate, i. The resulting NPV from a project's cash flow is a measure of the cash profit that the project will produce after recovering the initial investment and meeting all costs, including the cost of capital. The more positive the NPV is, the more attractive the proposition. If NPV is 0, the viability of the project is marginal; if it is negative, the proposal is unattractive.
Discounted Cash Flow Rate of Return (DCFRR) The discounted cash flow rate of return is known by other terms, for example, the profitability index, the true rate of return, the investor's rate of return, and the internal rate of return. It is defined as the discount rate, i, which makes the NPV of a project equal to zero. This can be expressed mathematically by NVP - Z p
Ct
t:O
(1
+:t
)t
= 0
(9-14)
The main advantage of DCFRR over NPV is that it is independent of the zero or base year that is chosen. In contrast, the value of NPV varies acccording to the zero year chosen. In calculating the NPV, the cost of capital has to be explicitly included as i in the discounting calculations. In computing the DCFRR, the cost of capital is not included. Instead the value calculated for i is compared with the cost of capital to see whether the project is profitable. The DCFRR for a project is the rate of return on investment. It measures the efficiency of the capital and determines the earning power of the project investment. Therefore, a DCFRR of say 20 percent implies that 20 percent per year will be earned on the investment, in addition to which the project generates sufficient money to repay the original investment plus any interest payable on borrowed capital plus all taxes and expenses.
Net Return Rate (NRR) The net return rate is analogous to the rate of return and is the net average discounted "return" on the investment over and above the cost of capital. This is defined by:
Fortran Programs for Chemical Process Design
736
NRR
-
NPV (Discounted i n v e s t m e n t / ( Pr~
x 100 /
(9-15)
where the investment is discounted to the same point as the NPV. Holland et al. [7] introduced the NPV/investment ratio as a normalized measure of the total discounted return over the life of the investment. Ward [4] showed that the NPV can be divided by the number of cash flow increments (venture lifetime) so that the NRR corresponds to the average discounted net return on investment. The cost of capital is already accounted for by the discount rate in the NPV computation, and therefore the NRR is the true return rate. Depreciation
Estimation of depreciation charges may be based on: 1. 2. 3. 4.
cost of operation tax allowance means of building up a fund to finance plant replacement measure of falling value
The annual depreciation charge can be calculated using "straight line" depreciation, and is expressed as: D - CFc - S where D = CFc = n = S =
(9-16)
annual depreciation initial fixed capital cost n years of projected life salvage value
Assuming that CFc is the initial fixed capital investment, and S is the projected salvage value at the end of n years of projected life, then the depreciated rate, dj, for any particular year, j, is" Dj - (CFc - S)dj
(9-17)
where Dj = annual depreciation charge With the straight line calculation proeedure, where dj is constant, combining Equation 9-16 and Equation 9-17 gives:
Engineering Economics
1
d - --
737
(9-18)
n
The various components of a plant such as equipment, buildings, and improvements are characterized by projected lifetimes. During this period, each item depreciates from its initial investment cost, CFC, to a salvage value, S, over the period of n years of its projected lifetime. At the end of any particular year, k, the depreciated value or book value, Vk, is: Vk -- CFC -- Z
Dj
(9-19)
where Dj is the annual depreciation charge for year j. Substituting Equation 9-17 into Equation 9-19 gives k (CvC -- S)dj
Vk -- CFC -- Z !
(9-20)
k
= CFC -- (CFc -- S ) Z
dj 1
For the straight line depreciation procedure, k k Zdj-Zd-kd-I
1
1 (9-21) n
and V k - CFc
k
(CFc -- S)
(9-22)
Double Declining Balance (DDB) Depreciation Equipment and complete plants depreciate and lose value more rapidly in the early stages of life. The depreciation based upon the declining book value balance can be expressed as: D j - dj.Vj_,
(9-23)
The rate of depreciation, dj, is the same for each year, j; however, the depreciation charges decrease each year because the book value decreases each year. For a declining balance method, the depreciation
738
Fortran Programs for Chemical Process Design
rate of decline is up to twice, but no more than twice the straight line rate. This is given by: dj - d - -
2
(9-24)
n
Capitalized Cost The capitalized cost, C K, of a piece of equipment of a fixed capital cost, Cvc, having a finite life of n years and an annual interest rate, i, is defined by (9-25)
(C K - Cvc)(1 + i) ~ : C K - S where S = salvage or scrap value
C K is in excess of CFc by an amount, which, when compounded at an annual interest rate, i, for n years, will have a future worth of C K less the salvage or scrap value, S. If the renewal cost of the equipment and the interest rate are constants at ( C F c - S) and i, then CK is the amount of the capital required to replace the equipment in perpetuity. Rearranging Equation 9-25 gives
CK --
{
s ]E
C v c - (l+i-------~ ( l + i ) ~ - 1
1
(9-26)
or
C K = ( C F c - S.fd)f K
(9-27)
where fd = discount factor fK = the capitalized cost factor = (1 + i)n/[(1 + i) ~ - 1]
The Average Rate Of Return (ARR) The average rate of return (ARR) method averages out the cash flow over the life of the project. This is defined by ARR
-
average cash flow x 100 original investment
(9-28)
The higher the percentage value of the ARR, the better the profitability of the project.
Engineering Economics
739
Present Value Ratio (Present Worth Ratio) A commonly used profitability index in conjunction with the NPV method shows how closely a project has met the criterion of economic performance. This index is known as the present value ratio (PVR) or present worth ratio (PWR), and is defined as Present value
present value of all positive cash flows present value of all negative cash flows
(9-29)
The present value ratio (PVR) gives an indication of how much the project makes relative to the investment. A ratio of 1.0 shows that the income just matches the expected income from capital invested for a given interest rate. A ratio of less than 1.0 indicates that the income does not come up to the minimum expectations. A ratio of more than 1.0 means that the project exceeds the minimum expectations.
Profitability A project is profitable if its earnings are greater than the cost of capital. In addition, the larger the additional earnings, the more profitable the venture, and the greater the justification for putting the capital at risk. Therefore, a profitability estimate attempts to quantify the risk taken. The methods used to assess profitability are: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.
return on investment (ROI) payback period (PB) net present value (NPV) discounted cash flow rate of return (DCFRR) net return rate (NRR) equivalent maximum investment period (EMIP) interest recovery period (IRP) rate of return on depreciated investment rate of return on average investment capitalized cost average rate of return (ARR) present value ratio (PVR)
Abrams [11] has listed other methods for assessing a project's profitability.
740
Fortran Programs for Chemical Process Design
Economic Analysis Computer programs have been developed to estimate the net present value (NPV), present value ratio (PVR), net return rate (NRR), average rate of return (ARR), payback period (PBP) and discounted cash flow rate of return (DCFRR). These analyses are done for a given cash flow over the operating life of a project. These programs can be incorporated as subroutines into larger programs, if required. In addition, a detailed computer program has been developed to review an economic project using Kirkpatrick's [ 12] input data. These data are defined as follows:
Annual Revenue, $. The money received (sales minus the cost of sales) for one-year production from the plant. This is assumed as being constant for life of the project. Annual Operating Cost, $. The cost of raw materials, labor, utilities, administration, insurance, and royalties, etc., but does not include debt service payments. Depreciating Base, $. The capitalized cost of the facility and less non-depreciable items, such as land and inventory. No salvage is subtracted because double declining balance depreciation is used. Project Life, Years. The length of time for which the facility is to be operated. It is also the term of the loan and the depreciation time. Initial Loan, $. The capitalized cost minus owner equity. Payments/Year. The number of payments on the loan per year: 1-annually, 2-biannually, 4-quarterly, and 12-monthly. Periodic Interest Rate. The annual interest rate divided by the payments per year. For a 10 percent annual interest rate and monthly repayments, this is 0.10/12. Investment Tax Credit, $. The percentage of the initial investment allowed as a tax credit in the year the investment is made. Tax Rate. The percentage tax that must be paid on the project's pretax income. This rate is assumed to remain constant during the life of the project. Debt Service/Period, $. The amount of each loan payment, that is:
Engineering Economics
741
I Annual interest ] (Loan) Payments per year 1-II+
-] Annual interest / Payments per year
/yer,xPayments/ year
l
The Salvage Value (or Scrap Value). The projected salvage value of equipment at the end of the project lifetime is that portion of the fixed capital that cannot be depreciated. Land Value. Land is not considered depreciable. It can be used indefinitely for succeeding projects on a specific site, or it can be sold. Working capital. The capital invested in various necessary inventoried items, which are completely recoverable at any time. The calculations for every year of the project life are: 1. Calculate the depreciation as double declining (that is, twice the depreciation based divided by project life), and subtract it from the depreciation base. 2. Calculate the yearly interest and principal of the debt service payments. 3. Subtract from the revenue, the operating cost, annual depreciation, and interest. 4. Subtract from positive pre-tax income, until no negative pre-tax income remains, if the pre-tax income is negative or has been negative in a prior year. 5. Calculate the income tax due at the given rate, and apply the investment tax credit against the income tax due until the credit is exhausted, if after Step 4, the pre-tax income is still positive. 6. Deduct the income tax remaining after Step 5 from the pre-tax income, leaving the after-tax income. 7. Add the after-tax income to the depreciation for the year, yielding the cash flow. 8. Determine the loan balance at the end of the year. 9. Determine the amount of unused depreciation after the last year of the project's life. Because double declining depreciation does not totally exhaust the depreciation account, the unused depreciaton should be added to the cash flow of the last year as salvage value recovered at the termination of the project under consideration.
742 10. 11. 12. 13. 14.
Fortran Programs for Chemical Process Design
Calculate the net present value, NPV, for a known discount rate. Determine the present value ratio, PVR. Calculate the net return rate, NRR. Calculate the average rate of return, ARR. Estimate the payback period, PBP.
For a given discount rate, calculate the discount factor during the operating life of the project. Multiply the discount factor by the cash flow and obtain the net present value and the net return rate. Valle-Riesta [8] has listed alternative methods of calculating cash flow, as shown in Table 9-6. Methods 1 and 2 in Table 9-6 give identical results.
Table 9-6 Method of Computing Cash Flow from Project Method 1
Method 2
1. Cost of Manufacture (COM) includes depreciation
1. Cost of Manufacture (COM) includes depreciation
2. General expenses
2. Depreciation
3. Total operating expense (3) = (1) + (2)
3. COM less depreciation (3)+(1)-(2)
4. Total sales
4. General expenses
5. Profit before taxes
5. Out of pocket expenditure
6. Income taxes (6) = 1/2 (5)
6. Total sales
7. Profit after tax (7) = (5) - (6) = 1/2 (5)
7. Cash flow before taxes (7)=(6)-(5)
8. Depreciation
8. Profit before taxes (8) = (7) - (2)
9. Continuous cash flow from project (9)=(7)+(8)
9. Income tax (9) = 1/2 (8) 10. Profit after tax (10) = (8) - (9) = 1/2 (8) 11. Continuous cash flow from project (11)=(10)+(2)
Source: Valle-Riesta [81
Engineering Economics
743
Cash flows into a project can be time-dependent, in which the cash flows occur in a continuous process rather than on a one-time basis. Figure 9-4 illustrates a continuous cash flow diagram. Continuous cash flows into the project are from sales revenues, and cash flows out are for out-of-pocket expenses. The difference between the incoming and outgoing cash flow is the net cash flow generated by the project. The combined net cash flow generated by all the company's projects is reduced by the income tax payment to yield the net continuous cash flow. Expressing the definition of profit with the continuous cash flow results in the following: Profit before taxes - continuous cash f l o w - depreciation before taxes Profit after taxes - continuous cash flow - depreciation after taxes
Cash flow out
Cash flow in (from sales)
r
(out-of-pocket cash expenses)
Project
Net cash flow generated by project
V..Net cash flow from other projects ,.,
Income tax Cash flow (after taxes ) to corporation
Corporation
Figure 9-4. A continuous cash flow diagram. Source: Valle-Riestra [8].
744
Fortran Programs for Chemical Process Design
It is useful to keep in mind that: Cash flow ~: profit Allen [9] has provided a systematic procedure for assessing investment proposals for new plant and equipment, exploiting new technology, and replacing uneconomic, inefficient, and obsolete plants, process, and equipment.
Inflation A decrease in the average purchasing value of currency is referred to as inflation. An inflation rate of 15 percent, for example, means that the average cost of goods and services will increase 15 percent in one year. The result is that commencing construction one year early will reduce the amount of money expended by 15 percent. Since the 1980s, inflation has been considered in most economic project evaluations. When inflation is used in economic evaluations, all items except interest on a loan and depreciation are considered to increase in value at the same rate as inflation. Generally, interest is set at the time a loan is negotiated and does not change with inflation. In addition, depreciation depends on the method (for example, straight line or double declining balance) used and the capital charges incurred before start-up are not affected by the inflation rate after start-up. Determining the profitability of a project (for example, NPV), the interest rate is assumed to be greater than the inflation rate. Money may be lost on the project while the net present value indicates the opposite, if the inflation rate is greater than the interest rate. There are cases in which the interest rate is set at the expected inflation rate plus a real expected interest rate. The real expected interest rate is the interest rate that is used to calculate the net present value when there is no inflation. Alternatively, the present value is calculated using the inflation rate as the interest rate, the net present value is then determined using the real expected interest rate. CAPITAL COST E S T I M A T I O N Capital cost estimation is an essential part of investment appraisal. Many types of capital cost estimates are made, ranging from the order of magnitude to detailed estimates requiring the collection of accurate technical data. The American Association of Cost Engineers defined five types of cost estimates as follows:
Engineering Economics
745
Order-of-magnitude estimate (ratio estimate). Approximate method based on cost data for previous similar types of plant. Probable error within 10 to 50 percent. Study estimate (factored estimate). Better than order-of-magnitude but requires knowledge of major items of equipment. Used for feasibility surveys. Probable error up to 30 percent. Preliminary estimate (budget authorization estimate). More detailed information required than for study estimate. Probable error up to 20 percent. Definitive estimate (project control estimate). Based on considerable data obtained before preparing completed drawings and specifications. Probable error within 10 percent. Detailed estimate (firm or contractor's estimate). Requires completed drawings and specifications. Probable error within 10 percent. Process plant designs start from preliminary designs based on approximate technical data, calculations, and cost data to final designs that require detailed and accurate data, calculations, and quotations. Cost estimates of a proposed plant are continuously carried out during the development of a process from the laboratory to construction. The total capital cost, CTc, of a project consists of the fixed capital cost, CFc, plus the working capital, Cwc, plus the cost of land and any other non-depreciable assets, C L. This is given by CTc = CFc + Cwc + C L
(9-30)
The fixed capital cost, CFc, is the capital required to provide all the depreciable facilities. CFc may be divided into two classes known as the battery limits and auxiliary facilities. The boundary of battery limits includes all manufacturing and processing equipment. The auxiliary facilities are the storage areas, administration offices, utilities and other essential and non-essential supporting facilities.
Equipment Cost Estimations By Capacity Ratio Exponents It is often necessary to calculate the cost of a piece of equipment when there are no available cost data for the particular size of capacity. If the cost of a piece of equipment or plant size or capacity, Q~, is C~, the cost C2 of a similar piece of equipment or plant size or capacity, Q2, can be calculated from the equation
746
Fortran Programs for Chemical Process Design
/ Q2/ n'
(9-31)
C2 - Cl -~1 where
the value, m, depends on the type of equipment or plant. The value of the index, m, is generally taken as 0.6 [13], the well known six-tenths rule. This value can be used to get a rough estimate of the capital cost, if there are insufficient data to calculate the index for the particular size of equipment required. Table 9-7 lists values of m for various types of equipment. Cost indexes should be used to bring the cost data to a desired year. A cost index is a value for a given point in time showing the cost at that time relative to a certain base time. If the cost at some time in the past is known, the equipment cost at the present time can be determined from the equation Present c~
- previ~
c~
(9-32)
)present p r e v i o uindex index s
Cost indexes are used to give a general estimate, but no index can account for all the factors. Many different types of cost indexes are Table 9-7 Typical Exponents for Equipment Cost vs Capacity
Equipment
Exponent (m)
Reciprocating compressor Turboblowers compressor Electric motors Evaporators Heat exchangers Piping Pumps Rectangular tanks Spherical tanks Towers, constant diameter Towers, constant height
0.75 0.5 0.8 0.5 0.65 to 0.95 0.7 to 0.9 0.7 to 0.9 0.5 0.7 0.7 1.0
Source: Institution of Chemical Engineers [15].
Engineering Economics
747
published in magazines such as the Chemical Engineering Plant cost index, Engineering News-Records construction index, the Oil & Gas Journal, and Process Engineering. Table 9-8 shows the international plant cost indexes from March 1992 to February 1993. Factored Cost Estimate The purchased cost of an item of equipment, free on board (FOB) is quoted by a supplier, and may be multiplied by a factor of 1.1 to give the approximate delivered cost. The factorial methods for estimating the total installed cost of a process plant are based on a combination of materials, labor, and overhead cost components. The fixed capital cost, Ccv, of a plant based on design can be estimated using the Lang Factor method [14] given by the equation Cvc - fL ~ CEQ
(9-33)
where fc = 3.10 for solids processing fc = 3.63 for mixed solids-fluid processing fL = 4.74 for fluid processing ~CEQ is the sum of the delivered costs of all the major items of process equipment. The major advantage of the Lang method is that the cost of equipment is available. Other methods for estimating capital investment consider the fixedcapital investment required as a separate unit. These are known as the functional-unit estimates, the process step scoring method, and the modular estimate. The functional unit may be characterized as a unit operation, unit process, or separation method that involves energy transfer, moving parts, or a high level of internals. The unit includes all process streams together with side or recycle streams. Bridgwater [ 16] proposed seven functional units, namely, compressor, reactor, absorber, solvent extractor, solvent recovery column, main distillation column, and furnace and waste heat boiler. Taylor [ 17] developed the step counting method, based on a system in which a complexity score accounting for factors such as throughput, corrosion problems, and reaction time is estimated for each process step. The modular estimate considers individual modules in the total system with each module consisting of a group of similar items. For the modular estimate, all heat exchangers are classified in one module, all furnaces in another, all vertical process vessels in another,
O O II
~g
=.9.= °~
0o0
.o~=
~
I
O~
'
~
0 ~ 0
~
!
~
.
0 ~
~-t ~"-I r-I r l
•
~
~
o
0
O0
0
0
0
0
~ ~
0
0
0
'
0 ~
~
0
~
l l l O
~
0
0
~
~
0
~
0
gddd4dg~
0
0
. ~
~
O~
0
~
O 0 0 0 : ~ O 0 ~
~
0
SddMi~®o=
~
~ 0 ! ~ 0 ~ 0 ~
,~
O~
I.'3, ' r l
I".. (Z)
~:) CO (~0 LO 0 0 0 ,--I i - I r'-I ~ ,'-I
~-'-~ O
o og~ ~-I 0'~
o: ° o'~io3
,-I ,-I ,--4 ,--4
04
~ t ,M
0
~=,~
•
O
O
"O ~
O~ tN
,-4 ~1 ,r"; ,--I
~M ,~-4 r-I ,"1 ,M ~-'1
04
• -Ii,.--i
O
CO;O 0 ,-I ,r-'l;r'-I
O ~ 0 ~ ~ 0 ~
~
"~
g
W ,-,,1 r"l
•
g i 0® g i g o ~
8~
748
0]
.p o
II
o q-i
e.-i o .H ul ,,,,i O
II
,-4
II
O1.
Z H
r.=.] H r.9 Z r~ co r.J
r~
Engineering Economics
749
etc. The total cost estimate is considered under six general groupings. T h e s e are c h e m i c a l p r o c e s s i n g , solids handling, site d e v e l o p m e n t , industrial buildings, offsite facilities, and project indirects [18].
Nomenclature ARR = C = CcF = CFc = C K= CL= Co = Cn= Cvc = Cwc = C~ = C2= D = DCFRR = Dj = dj = EMIP = fd = fK = I= IRP = IRR = i= m = NPV = NRR = n = PBP = PV = PVR = PWR = Q~ =
average rate of return cash flow for each year net annual cash flow fixed capital cost capitalized cost land cost initial investment cost cash flow total capital cost w o r k i n g capital cost capital cost of the designed plant capital cost of the existing plant annual depreciation discounted cash flow rate of return annual depreciation charge depreciation rate equivalent m a x i m u m investment period discount factor capitalized cost factor investment cost interest recovery period internal rate of return interest rate of return (ROI/100) exponential p o w e r for cost capacity relationships net present value net return rate years of project life p a y b a c k period present value present value ratio present worth ratio capacity of the designed plant Q2 = capacity of existing plant R O I = return of investment S = salvage value
750
Fortran Programs for Chemical Process Design
PROBLEMS AND SOLUTIONS Problem 9-1
Consider a plant costing $1,000,000 to build that produces a product A. For the same capital outlay a different plant can be erected to produce an alternative product B. Conditions are such that each plant will only be in operation for eight years and then both will be scrapped. The cash flows in each of the eight years obtained by selling A and B are shown in Table 9-9. A choice is being made about which plant is more profitable. Solution
The computer program PROG91 calculates the net present value and the net return rate at discount rates of 5, 10, 15, 20, 25, 30, 35, and 40%. Tables 9-10 and 9-11 give both the input data and computer outputs for products A and B. Figure 9-5 shows a plot of the cumulative cash flows against the project life, and Figure 9-6 gives a plot of the NPV against the discount rate. Figure 9-5 gives the payback period of product A between 3 and 4 years and product B is about 2 years. The results show
Table 9-9 Annual Cash Flows and Cumulative Cash Flows
Year
Product A Cash Flows $
Product A Cumulative Cash Flows $
Product B Cash Flows $
Product B Cumulative Cash Flows $
1 2 3 4 5 6 7 8
-1,000,000 100,000 200,000 300,000 400,000 500,000 600,000 700,000 800,000
-1,000,000 -900,000 -700,000 -400,000 0 500,000 1,100,000 1,800,000 2,600,000
-1,000,000 800,000 700,000 600,000 500,000 400,000 300,000 200,000 100,000
-1,000,000 -200,000 500,000 1,100,000 1,600,000 2,000,000 2,300,000 2,500,000 2,600,000
Engineering Economics
751
Table 9-10 Input Data and Computer Output for the Net Present Value of Product A at 10 Percent Discount Rate DATA91.DAT 8 i0 -i000000 i00000 2OOOOO 300000 400000 500000 600000 70OOOO 800000
NET PRESENT VALUE CALCULATION ****************************************************************************** 9
YEARLY
i0.00
YEAR
CASH
0 1 2 3 4 5 6 7 8
THE
FLOWS
($ )
PRESENT
VALUE
FLOWS
INCLUDING
ANNUAL
CUMULATIVE CASH FLOWS
-i000000.00 i00000.00 200000.00 300000.00 400000.00 500000.00 600000.00 700000.00 800000.00
NET
CASH
PERCENTAGE
2.136
RATE:
14.20
VALUE
THE
NET
RETURN
THE
AVERAGE
RATE
THE
PAYBACK
PERIOD
OF RETURN: IS B E T W E E N :
1.0000 .9091 .8264 .7513 .6830 .6209 .5645 .5132 .4665
PRESENT V A L U E ($ ) -I000000.00 90909.09 165289.25 225394.43 273205.36 310460.63 338684.31 359210.63 373205.84
1136359.53
RATIO:
PRESENT
0
RATE
DISCOUNT FACTOR
($ )
-i000000.00 -900000.00 -700000.00 -400000.00 .00 500000.00 ii00000.00 1800000.00 2600000.00
($ ) :
YEAR
DISCOUNT
45.00 3
% % AND
4
YEARS
that product B gives greater present value ratios than product A. In addition, product B gives greater net present values at different discount rates than product A. These show that product B is more promising than product A. Further profitability indexes (ARR, NRR, PBP) suggest that product B is a better choice than product A. Problem 9-2 Using the cash flows of products A and B in Problem 9-1, determine the discount cash flow rate of return (DCFRR).
752
Fortran Programs for Chemical Process Design Table 9-11 Input Data and Computer Output for the Net Present Value of Product B at 10 Percent Discount Rate
DATA91.DAT 8 i0 -i000000 800000 700000 600000 500000 400000 300000 200000 I00000
NET
9
PRESENT
YEARLY
I0.00
YEAR
CASH
0 1 2 3 4 5 6 7 8
THE
FLOWS
PRESENT
($)
VALUE
PRESENT
VALUE
THE
NET
RETURN
THE
AVERAGE
RATE
THE
PAYBACK
PERIOD
CASH
INCLUDING
ANNUAL
C~TIVE CASH FLOWS
YEAR
DISCOUNT
0
RATE
DISCOUNT FACTOR
($ )
-i000000.00 -200000.00 500000.00 ii00000.00 1600000.00 2000000.00 2300000.00 2500000.00 2600000.00
1.0000 .9091 .8264 .7513 .6830 .6209 .5645 .5132 .4665
PRESENT V A L U E ($ ) -i000000.00 727272.71 578512.37 450788.85 341506.70 248368.50 169342.16 102631.61 46650.73
1665073.63
($):
RATIO:
2.665
RATE: OF
CALCULATION
FLOWS
PERCENTAGE
-i000000.00 800000.00 700000.00 600000.00 500000.00 400000.00 300000.00 200000.00 i00000.00
NET
VALUE
RETURN: IS
20.81
%
45.00
%
BETWEEN:
1
AND
2
YEARS
Solution The computer program PROG92 determines the discounted cash flow rate of return (DCFRR). Tables 9-12 and 9-13 illustrate both the input data and computer outputs for products A and B. The DCFRR of product A is 28.264%, and that of product B is 64.863%. The results further confirm that product B is more promising than product A. Problem 9-3 Calculate the yearly return of investment on the following financing data as shown in Table 9-14.
Figure 9-6. Net present value vs. discount rate. 753
Fortran Programs for Chemical Process Design
754
Table 9-12 Input Data and Computer Output for the Discount Cash Flow Rate of Return (DCFRR) of Product A DATA92.DAT 9 -i000000 I00000 200000 300000 400000 500000 600000 700000 80O0O0
DISCOUNT CASH FLOW RATE OF RETURN CALCULATION ****************************************************************************
9
YEARLY
CASH
FLOWS
INCLUDING
YEAR
0
YEAR C A S H F L O W ($ ) **************************************************************************** 0 1 2 3 4 5 6 7 8
THE
DISCOUNT
-i000000.00 i00000.00 200000.00 300000.00 400000.00 500000.00 60000~.00 700000.00 800OOO.0O
CASH
FLOW
RATE
OF RETURN
(%):
28.264
Solution The computer program PROG93 computes the following: the yearly cash flows, the cumulative cash flows, the present value, the net present value, present value ratio, average return rate, net return rate, and the payback period. Table 9-15 gives the input data and computer output for the cash flows during 10 years of the project life, and at a discount rate of 5 percent. The computed salvage value of the investment is $4,294,967. The cash flows generated by the computer program PROG93 is then used to determine the DCFRR from program PROG92. Table 9-16 lists the input data and computer output for DCFRR of the investment as 6.347 percent. (text continued on page 761)
Table 9-13 Input Data and Computer Output for the Discount Cash Flow Rate of Return (DCFRR) of Product B DATA92.DAT 9 -i000000 800000 700000 600000 500000 400000 300000 200000 i00000
DISCOUNT
9
CASH
YEARLY
YEAR
DISCOUNT
CASH
RATE
FLOWS
CASH
0 1 2 3 4 5 6 7 8
THE
FLOW
OF
RETURN
INCLUDING
FLOW
CALCULATION
YEAR
0
($)
-i000000.00 800000.00 700000.00 600000.00 500000.00 400000.00 300000.00 200000.00 i00000.00
CASH
FLOW
RATE
OF RETURN
(%):
64.863
Table 9-14 Financing Data 1.
Annual revenue, $
9,000,000
2.
Annual operating cost $
1,200,000
3.
Depreciating base, $
4.
Project life, years
5.
Initial loan, $
6.
Number of payment per year
12
7.
Annual interest, %
10
8.
Investment credit, %
10
9.
Tax rate, %
50
10.
40,000,000 10 30,000,000
Rate of return, %
5
755
Table 9-15 Input Data and Computer Output for the Economic Project Evaluation at 5 Percent Discount Rate DATA93.DAT 9000000 1200000 40000000 i0 30000000 12 i0 i0 5O 5
E C O N O M I C E V A L U A T I O N OF A P R O J E C T **************************************************************************** 1
ANNUAL
REVENUE
2
ANNUAL
OPERATING
$:
3
DEPRECIATION
4
PROJECT
BASE
YEARS:
LOAN
$:
5
INITIAL NUMBER
OF
INTEREST,
PAYMENTS
7
ANNUAL
8
INVESTMENT
CREDIT,
9
TAX
%:
RATE,
DISCOUNT
RATE
$:
1200000.00
$:
LIFE,
6
i0
9000000.00
COST
40000000.00 10. 30000000.00
PER
YEAR:
%:
12. I0.
%:
i0. 50.
%:
5.00
YEAR 1 **************************************************************************** REVENUE
$:
OPERATING
9000000.00
COST
DEPRECIATION INTEREST PRE-TAX TAX AT AFTER CASH
$:
1200000.00
$:
8000000.00
$:
2917171.30
INCOME 50.%,
TAX FLOW
$:
-3117171.30
$:
INCOME
.00 $:
-3117171.30
$:
4882828.70
756
Table 9-15 (continued) YEAR 2 ****************************************************************************
REVENUE
$:
OPERATING
9 0 0 0 0 0 0 . O0
COST
DEPRECIATION INTEREST
$:
PRE-TAX
INCOME
TAX
AT
AFTER
50.%, TAX
$:
1200000.00
$:
6400000.00 2724472.52 $:
-1324472.52
$:
.00
INCOME
$:
-1324472.52
CASH FLOW $: 5075527.48 ****************************************************************************
YEAR
3
****************************************************************************
REVENUE
$:
OPERATING
9000000.00
COST
DEPRECIATION INTEREST
AT
AFTER
1 2 0 0 0 0 0 . O0
$:
5 1 2 0 0 0 0 9 00
$:
PRE-TAX TAX
$:
2 5 1 1 5 9 5 9 66
INCOME 50.%,
TAX
$:
168404.34
$:
.00
INCOME
$:
168404.34
CASH FLOW $: 5288404.34 ****************************************************************************
YEAR 4 ****************************************************************************
REVENUE
$:
OPERATING
9000000.00
COST
DEPRECIATION INTEREST PRE-TAX TAX
AT
AFTER CASH
$:
1200000.00
$:
4096000.00
$:
2276427.81
INCOME 50.%,
TAX FLOW
$:
1427572.19
$:
INCOME
.00
$:
1427572.19
$:
5523572.19
(ruble continued on next page)
757
Table 9-15 (continued) YEAR 5 ***************************************************************************** REVENUE
COST
DEPRECIATION INTEREST
$:
1200000.00 3 2 7 6 8 0 0 . O0
$ :
2016634.81
$ :
PRE-TAX
INCOME
TAX AT AFTER
9000000.00
$ :
OPERATING
50.%, TAX
$:
2506565.19
$:
.00
INCOME
$:
2506565.19
CASH FLOW $: 5783365.19 ******************************************************************************
YEAR 6 **************************************************************************** REVENUE
OPERATING
COST
DEPRECIATION INTEREST
1200000.00 2 6 2 1 4 4 0 . O0 1729638.09
INCOME
AT
AFTER
$: $ :
$ :
PRE-TAX TAX
9 0 0 0 0 0 0 . O0
$ :
50.%, TAX
$:
3109819.75
$:
.00
INCOME
3109819.75
$ :
CASH FLOW $: 5 7 3 1 2 5 9 . 75 ****************************************************************************
YEAR
REVENUE
$:
OPERATING
INTEREST
TAX
AT
AFTER
9000000.00
COST
DEPRECIATION
PRE-TAX
7
$:
1200000.00
$:
2097152.00
$:
1412589.07
INCOME 50.%,
TAX
$:
4290259.00
$:
INCOME
.00 $:
4290259.00
CASH FLOW $: 6387411.00 ****************************************************************************
758
Table 9-15 (continued) YEAR 8 **************************************************************************** REVENUE
$:
OPERATING
DEPRECIATION INTEREST
1200000.00
$:
1 6 7 7 7 2 2 . O0 1062340.87
INCOME
AT
AFTER
$:
$:
PRE-TAX TAX
9 0 0 0 0 0 0 . O0
COST
50. %, TAX
$:
5059937.50
$:
2230008.00
INCOME
$:
2829929.50
CASH FLOW $: 4507651.13 ****************************************************************************
YEAR REVENUE
$:
OPERATING
INTEREST
$: $:
1342177.00 6 7 5 4 1 7 . i0
INCOME
AT
1200000.00
$:
PRE-TAX
AFTER
9 0 0 0 0 0 0 . O0
COST
DEPRECIATION
TAX
9
50. %, TAX
$:
5782405.50
$:
2891202.75
INCOME
$:
2891202.75
CASH FLOW $: 4233380.00 ****************************************************************************
YEAR
REVENUE
$:
9000000.00
OPERATING COST DEPRECIATION INTEREST PRE-TAX TAX
AT
AFTER
10
$:
1200000.00
$:
1073742.00
$:
247977.37
INCOME 50.%,
TAX
$:
6478281.00
$:
INCOME
3239140.50 $:
3239140.50
CASH FLOW $: 4312882.38 *************************************************************************** SALVAGE
VALUE
$:
4294967.30
(table continued on next page)
759
Table 9-15 (continued) ECONOMIC PROJECT EVALUATION PRESENT VALUE AT A GIVEN DISCOUNT
NET
ii
YEARLY
5.00
YEARLY
YEAR
0 1 2 3 4 5 6 7 8 9 i0
THE
CASH
CASH
FLOWS
PRESENT
FLOWS
PERCENTAGE
($)
($ )
CUMULATIVE CASH FLOWS
($):
1.0000 .9524 .9070 .8638 .8227 .7835 .7462 .7107 .6768 .6446 .6139
42778442.19 1.069
RATE:
10.695
VALUE
NET
RETURN
THE
AVERAGE
RATE
THE
PAYBACK
PERIOD
OF R E T U R N :
14.005 7
IS B E T W E E N :
760
% % AND
8
0
RATE
DISCOUNT FACTOR
($ )
RATIO:
PRESENT
YEAR
DISCOUNT
-40000000.00 -35117171.30 -30041643.82 -24753239.47 -19229667.28 -13446302.09 -7715042.34 -1327631.34 3180019.78 7413399.78 16021249.45
VALUE
THE
INCLUDING
ANNUAL
FLOWS
-40000000.00 4882828.70 5075527.48 5288404.34 5523572.19 5783365.19 5731259.75 6387411.00 4507651.13 4233380.00 8607849.67
NET
CASH
RATE
YEARS
PRESENT V A L U E ($ ) -40000000.00 4650313.26 4603653.46 4568323.13 4544257.34 4531418.98 4276755.43 4539415.19 3050956.82 2728875.61 5284472.96
Engineering Economics
761
Table 9-16 Input Data and Computer Output for the Discount Cash Flow Rate of Retern (DCFRR) the the Economic Project Evaluation DATA92.DAT ii -40000000.0 4882828.70 5075527.48 5288404.34 5523572.19 5783365.19 5731259.75 6387411.00 4507651.13 4233380.00 8607849.67
DISCOUNT
ii
YEARLY
CASH
FLOW
CASH
RATE
FLOWS
OF
RETURN
INCLUDING
CALCULATION
YEAR
0
YEAR C A S H F L O W ($) **************************************************************************** 0 1 2 3 4 5 6 7 8 9 i0
THE
DISCOUNT
-40000000.00 4882829.00 5075528.00 5288405.00 5523572.00 5783365.00 5731260.00 6387411.00 4507651.00 4233380.00 8607850.00
CASH
FLOW
RATE
OF
RETURN
(%):
6.347
(text continued from page 754)
References 1. Horwitz, B. A., "The Mathematics of Discounted Cash Flow Analysis," Chem. Eng., May 1980, pp. 169-174. 2. Cannaday, R. E., E E. Colwell, and H. Paley, "Relevant and Irrelevant Internal Rates of Return," The Engineering Economist, Vol. 32, No. 1, 1986, pp. 17-33. 3. Powell, T. E., "A Review of Recent Developments in Project Evaluation," Chem. Eng., Nov. 1985, pp. 187. 4. Ward, T. J., "Estimate Profitability Using Net Return Rate," Chem. Eng., March 1989, pp. 151-155.
762
Fortran Programs for Chemical Process Design
5. Klumpar, I. V., "Project Evaluation By Computer," Chem. Eng., June 29, 1970, pp. 76-84. 6. Linsley, J., "Return on Investment Discounted and Undiscounted," Chem. Eng., May 1979, pp. 201-204. 7. Holland, F. A., F. A. Watson, and J. K. Wilkinson, Introduction to Process Economics, 2nd Ed., John Wiley & Sons Ltd., New York, 1976. 8. Valle-Riestra, J. E, Project Evaluation in The Chemical Process Industries, McGraw-Hill Book Company, New York, 1983. 9. Allen, D. H., A Guide to the Economic Evaluation of Projects, The Institution of Chemical Engineers, 2nd. Ed., England, 1980. 10. Garrett, D. E., Chemical Engineering Economics, Van Nostrand Reinhold, New York, 1989. 11. Abrams, H. J., The Chemical Engineer, No. 241, 1970. 12. Kirkpatrick, D. M., "Calculator Program Speeds Up Project Financial Analysis, Chem. Eng., August 1979, pp. 103-107. 13. Peters, M. S., and K. D. Timmerhaus, Plant Design and Economics For Chemical Engineers, 3rd Ed., McGraw-Hill Int. Book Company, N.Y., 1981. 14. Lang, H. J., "Simplified Approach to Preliminary Cost Estimates," Chem. Eng., 55, June 1948, p. 112. 15. Institution of Chemical Engineers, A New Guide to Capital Cost Estimating, London, 1977. 16. Bridgwater, A. V., The Functional Unit Approach to Rapid Cost Estimation, ACCE Bull., 18, 5, 1976, p. 153. 17. Taylor, J. H., "The Process Step Scoring Method For Making Quick Capital Estimates," Eng. & Process Economics, 2, 1977, pp. 259-267. 18. Dodge, W. J., et al., The Module Estimating Technique As An Aid in Developing Plant Capital Costs, Trans, AACE, 1962.
PROGRAM
PROG91
****************************************************************** * THIS PROGRAM CALCULATES THE YEARLY CASH FLOWS, THE CUMULATIVE * CASH FLOWS, DISCOUNT FACTORS AT A GIVEN RATE AND PRESENT * VALUES. THE PROGRAM FURTHER CALCULATES THE NET PRESENT VALUE, * PRESENT VALUE RATIO, THE AVERAGE RATE OF RETURN, THE NET * RETURN RATE, AND THE PAYBACK PERIOD. ****************************************************************** ARR = AVERAGE RATE OF RETURN = YEARLY CASH FLOW YCF = DISCOUNT FACTOR DF = CUMULATIVE CASH FLOW CUCF NPV = NET PRESENT VALUE NOCF = NUMBER OF PROJECT LIFE EXCLUDING YEAR 0 NRR = NET RETURN RATE PV = PRESENT VALUE PVR = PRESENT VALUE RATIO TIME = PAYBACK PERIOD *******************************************************************
R E A L * 8 YCF, DF, EXTERNAL XNPV REAL NRR INTEGER
TIME,
DIMENSION
NPV,
CUCF
TIME1
YCF(0:100),
OPEN OPEN
(UNIT (UNIT
READ
THE
NUMBER
READ
(3,
*,
READ READ
THE THE
ANNUAL YEARLY
READ READ
(3, (3,
*, *,
GO TO
PV,
= 3, = 1,
FILE FILE
OF
ERR=19)
DF(0:100),
= =
PV(0:100),
'DATA91.DAT', 'PRN')
YEARLY
CASH
FLOWS
STATUS
='OLD',
EXCLUDING
YEAR
NOCF
D I S C O U N T R A T E IN P E R C E N T A G E : CASH FLOW: YCF
ERR=19) ERR=I9)
CUCF(0:100)
DISC (YCF(K),
K = 0,
NOCF)
i0
18 21
W R I T E (*, 217 FORMAT (6X,'DATA GO TO 999
FILE
19 23
W R I T E (*, 23) FORMAT(6X,'ERROR GO TO 999
MESSAGE
DOES
NOT
EXIST')
IN T H E
763
DATA
VALUE')
DISC
ERR=f8)
0: N O C F
* * * * *
W R I T E (I, I00) FORMAT (//,25X,'NET
i0 i00
NOCFI
= NOCF
PRESENT
W R I T E (i, ii0) N O C F I FORMAT(/,2OX,I4,3X,'YEARLu
ii0
VALUE
CASH
FLOWS
W R I T E (I, 120) D I S C F O R M A T (/, 20X, F 8 . 2 , 3 X, 'P E R C E N T A G E
120 9
1H
CALCULATION',/IH
INCLUDING
ANNUAL
W R I T E (i, 130) F O R M A T (/, 7X, " Y E A R ' , 5X, 'C A S H
FLOWS
140
W R I T E (I, 140) F O R M A T (IOX, " D I S C O U N T ' ,
'PRESENT')
W R I T E (i, 150) FORMAT (34X,'CASH FLOWS /IH , 78 ( Z H - ) ) CALCULATE
THE
CUMULATIVE
CUCF(0) = YCF(0) DO I = I, N O C F CUCF(I) = CUCF(I-I) E N D DO
DISCOUNT
8X,
($)',
CASH
6X,
'FACTOR',
10X,
FLOW
+ YCF(I)
DO 15 II = 0, 0 IF (Ii .EQ. 0) T H E N R1 = 0.0 DF(II) = 1.0/((I.O+RI)**II) PV(II) = YCF(II)*DF(II) ELSE ENDIF CONTINUE R1 = D I S C / I O 0 . 0
20
160
170
0')
R A T E ',/,
( $ )', 4X, 'C U M U L A T I V E ' , \ )
R1 = D I S C / 1 0 0 . 0 PV(0) = Y C F ( 0 ) * I . 0
15
YEAR
,78(1H-))
130
150
,78(IH*))
+ 1
DO 20 II = i, N O C F DF(II) = I.O/((I.O+RI)**II) PV(Ii) = YCF(II)*DF(II) CONTINUE
DO K = O, N O C F W R I T E (I, 160) K, Y C F ( K ) , C U C F ( K ) , D F ( K ) , P V ( K ) FORMAT (5X,I3,5X,F14.2,5X,F14.2,5X,F9.4,5X,F14.2) E N D DO W R I T E (i, 170) F O R M A T ( 78 ( IH- ) )
764
'VALUE
($)',
C
CALCULATE
THE NET
PRESENT
VALUE
FROM THE
PRESENT
VALUE
N P V = 0.0 D O J = 0, N O C F NPV = NPV + PV(J) END DO
180
W R I T E (I, 180) N P V F O R M A T (IH0, 6 X , ' T H E
NET PRESENT
VALUE
($):',
CALCULATE THE PRESENT VALUE RATIO, PVR PVR = PRESENT VALUE OF ALL POSITIVE CASH PRESENT VALUE OF ALL NEGATIVE CASH
3X,
T40,
F14.2)
FLOWS/ FLOWS
S U M 1 = 0.0 D O K = 1, N O C F SUM1 = SUM1 + PV(K) END DO PVR = SUM1
190
/ABS(YCF(O))
W R I T E (i, 190) P V R F O R M A T (IH0, 6X, ' P R E S E N T
VALUE
RATIO:',
3X,
T40,
F8.3)
C A L C U L A T E T H E N E T R E T U R N R A T E (NRR) i.e. T H E N E T P R E S E N T V A L U E D I V I D E D BY T H E P R O D U C T O F I N I T I A L I N V E S T M E N T A N D T H E P R O J E C T L I F E ( E X C L U D I N G Y E A R 0).
NRR
200
= ABS(NPV
/(ABS(PV(0) )*NOCF) )*i00
W R I T E (i, 200) N R R F O R M A T ( 1H0, 6X, 'T H E N E T R E T U R N
RATE: ' , 3X,T40,
F8.2,3X,'%')
C A L C U L A T E T H E A V E R A G E R A T E O F R E T U R N (ARR) i.e. T H E A V E R A G E C A S H F L O W D U R I N G T H E L I F E O F T H E P R O J E C T ( E X C L U D I N G Y E A R 0). S U M = 0.0 D O I = i, N O C F SUM = SUM + YCF(I) END DO AVSUM = SUM/(NOCF) ARR = (AVSUM/ABS(YCF(O)))*100.0
210
W R I T E (1, 210) A R R FORMAT (1H0,6X,'THE 3X,'%')
CALCULATE
THE
D O I = O, N O C F IF ( C U C F ( I + I )
AVERAGE
PAYBACK
.GT.
TIME
CUCF(I)
RATE
FROM
OF RETURN:',3X,T40,F8.2,
THE CUMULATIVE
.AND.
765
CUCF(I+I)
~
CASH
FLOW,
0.0)
THEN
TIME:
YEARS
TEMP = CUCF(I+Z) CUCF(I+I) = CUCF(I) CUCF(I) = TEMP TIME = I TIME1 = TIME + 1 G O T O 40 ELSE ENDIF END DO 40 220
W R I T E (i, 2 2 0 ) T I M E , T I M E 1 FORMAT (IH0,6X,'THE PAYBACK PERIOD IS BETWEEN:' 3X,T45,I2,2X,'AND',2X,I2,3X,'YEARS')
FORM
999
FEED
THE
PRINTING
WRITE
(i,
*)
CLOSE CLOSE
(3, (I)
STATUS
PAPER
TO
TOP
CHAR(12) =
"KEEP')
STOP END
766
OF
THE
NEXT
PAGE.
PROGRAM
PROG92
************************************************************** * THIS PROGRAM CALCULATES THE DISCOUNT CASH FLOW RATE OF * RETURN FROM A SET OF YEARLY CASH FLOWS **************************************************************
* *
YCF = YEARLY CASH FLOW DCFRR = DISCOUNT CASH FLOW RATE OF RETURN NOCF = THE NUMBER OF YEARLY CASH FLOW INCLUDING YEAR 0 **************************************************************
EXTERNAL
DCFRR
DIMENSION
YCF
(I:i00)
OPEN OPEN
( U N I T = 3, F I L E = ( U N I T = I, F I L E =
READ
THE NUMBER
READ
(3,
*, E R R = I 9 )
READ
THE
YEARLY
READ
(3,
*, E R R = I 9 )
GO TO
'DATA92.DAT', 'PRN')
OF YEARLY
CASH
FLOWS
STATUS
=
INCLUDING
'OLD',
YEAR
E R R = 18)
0: N O C F
NOCF
CASH
FLOWS:
YCF
(YCF(K),
K = i, N O C F )
i0
18 21
W R I T E (*, 21) F O R M A T (6X, ' D A T A F I L E G O T O 999
19 23
W R I T E (*, 23) F O R M A T ( 6X, " E R R O R M E S S A G E G O T O 999
i0 i00
W R I T E (I, i00) FORMAT (///,20X,'DISCOUNT
DOES
NOT
EXIST')
IN T H E D A T A V A L U E ' )
CASH
FLOW RATE
OF RETURN
CALCULATION',
/1H , 7 8 ( 1 H * ) ) ii0
W R I T E (i, ii0) N O C F FORMAT (/,IH0,15X,I4,3X,'YEARLY
120
W R I T E (I, 120) F O R M A T (//, 1 7 X , ' Y E A R ' ,
130 20
D O 20 K = i, N O C F L=K1 W R I T E (I, 130) L, Y C F ( K ) F O R M A T (15X, I3, 11X, F 1 4 . 2 ) CONTINUE WRITE
(i,
12X,
CASH
FLOWS
'CASH FLOW
140)
767
INCLUDING
($)',
/IH
YEAR
0')
,78(IH*))
140
FORMAT
150
WRITE (1, 1 5 0 ) D C F FORMAT (/, 1 H O , 6X, " T H E D I S C O U N T 3X, T S 0 , F 8 . 3 )
DCF
= DCFRR
FORM
999
( 78 ( I H - ) )
FEED
(YCF,
THE
NOCF)
PRINTING
WRITE
(i,
*)
CLOSE CLOSE
(3, (i)
STATUS
PAPER
CASH
TO
TOP
FLOW
OF
RATE
THE
OF
NEXT
RETURN
( % ) : ',
PAGE.
CHAR(12) =
'KEEP')
STOP END **************************************************************** THIS PROGRAM CALCULATES THE DISCOUNT CASH FLOW RETURN OF A OF YEARLY CASH FLOWS ****************************************************************
SET
FUNCTION D C F R R (CF, I Y R S ) DIMENSION CF (1:100) X I F = i. M = 1 10
30
PV
DPV
40
= CF(IYRS)
I F (M .GT. I 0 0 ) T H E N G O T O 20 ELSE D O 30 J = i, I Y R S - 1 PV = PV*XIF + CF(IYRS-J) CONTINUE ENDIF =
(IYRS-I)*CF(IYRS)
D O 40 J = i, I Y R S - 2 DPV = DPV*XIF + (IYRS-J-I)*CF(IYRS-J) CONTINUE P = PV/DPV IF ((ABS(P)-I.E-4) G O T O 50 ELSE Xl = 1/XIF - 1. DCFRR = i00 * Xl GO TO ENDIF
.GT.
0.0)
THEN
60
50
XIF = XIF - P M = M + 1 G O T O i0
20 160
WRITE (i, 1 6 0 ) FORMAT (//,IH0,3X,'DCFRR CONVERGENCE OCCUR AFTER I00 TRIES',/)
60
RETURN END
768
OF
NEXT
CASH
FLOW
DOES
,
PROGRAM
PROG93
**************************************************************** * ECONOMIC EVALUATION OF PROJECTS * THE PROGRAM CALCULATES YEARLY RETURN OF INVESTMENT AND THE * PRESENT VALUE AT A GIVEN DISCOUNT RATE. * THE PROGRAM ALSO CALCULATES THE NET PRESENT VALUE, THE * AVERAGE RATE OF RETURN, THE NET RETURN RATE AND THE PAYBACK * TIME ****************************************************************
x(1) x(2) x(3) x(4) x(5) x(e) x(7) x(8) x(9)
= ANNUAL REVENUE, $. = ANNUAL OPERATING C O S T , $. = DEPRECIATION B A S E , $. = PROJECT LIFE, YEARS. = I N I T I A L L O A N , $. = NUMBER OF PAYMENTS PER YEAR = ANNUAL INTEREST, %. = INVESTMENT CREDIT, %. = T A X R A T E , %. ARR = AVERAGE RATE OF RETURN CF = C A S H F L O W , $. CUCF = CUMULATIVE C A S H F L O W , $. DF = DISCOUNT FACTOR N = NUMBER OF YEARS NRR = THE NET RETURN RATE NPV = T H E N E T P R E S E N T V A L U E , $. PV = PRESENT VALUE PVR = PRESENT VALUE RATIO R = RATE OF RETURN ***************************************************************
REAL*8,
B,
DIMENSION EXTERNAL
i00
E,
SI,
BT,
X(I:I00),
CF,
I N T E G E R A, REAL NRR
FL,
OPEN OPEN
(UNIT (UNIT
= 3, = 1,
READ READ
(3, (3,
*, *,
N,
TIME,
DF,
PV,
CUCF(0:I00),
NPV DF(0:I00),
PV(0:I00)
FILE FILE
= =
TIME1
'DATA93.DAT', 'PRN')
STATUS
=
'OLD',
ERR
ERR=I9)(X(I),I=I,9) ERR=19)R
W R I T E (1, 1 0 0 ) FORMAT (///, 22X,'ECONOMIC
I
CUCF,
FUN
/1H ,78(1H*))
ii0
X,
CF(0:I00),
EVALUATION
OF
A PROJECT',
= 1
WRITE ( 1 , 1 1 0 ) I , X ( I ) F O R M A T ( I H 0 , 6X, I2, 6 X , ' A N N U A L
REVENUE
769
$:',T55,
F14.2)
=
18)
* * * * * 9
I = I+l
120
W R I T E (i, 120) I, X(I) F O R M A T (IH0, 6X, I2, 6X,
130
W R I T E (I, 130) I, X(I) F O R M A T (IH0, 6X, I2, 6X,
'ANNUAL
OPERATING
COST
$:',T55,
F14.2)
I = I + 1
'DEPRECIATION
BASE
$:',T55,
F14.2)
I = I + 1
140
W R I T E (i, 140) I, X(I) F O R M A T (IH0, 6X, I2, 6X,
150
W R I T E (i, 150) I, X(I) F O R M A T (IH0, 6X, I2, 6X,
"PROJECT
LIFE,
YEARS:',T55,
"INITIAL
LOAN
$:',T55,
F3.0)
I = I + 1
F14.2)
I = I + 1
160
W R I T E (i, 160) I, X(I) FORMAT (IH0,6X,I2,6X,'NUMBER
OF P A Y M E N T S
PER YEAR:',T55,F4.0)
I = I + 1
170
W R I T E (I, 170) I, X(I) F O R M A T (IHO, 6X, I2, 6X,
180
W R I T E (i, 180) I, X(I) F O R M A T (IH0, 6X, I2, 6X,
190
W R I T E (i, 190) I, X(I) F O R M A T (IH0, 6X, I2, 6X,
"ANNUAL
INTEREST,
%:',T55,
F4.0)
I = I + 1
"INVESTMENT
CREDIT,
"TAX RATE,
%:',T55,
%:',T55,
F4.0)
I = I + 1
F4.0)
I = I + 1
200
W R I T E (i, 200) I, R F O R M A T (IH0, 6X, I2,
210
W R I T E (i, 210) F O R M A T ( 78 ( IH- ) )
GO TO 18 220
6X,
'DISCOUNT
RATE
%:',T55,
20
W R I T E (*, 220) F O R M A T (6X, "DATA F I L E
DOES
N O T EXIST')
GO TO 999 19 230
W R I T E (*, 230) F O R M A T (6X, 'ERROR M E S S A G E
IN T H E D A T A V A L U E ' )
GO TO 999
770
F6.2)
20
A = 0 FL = 0 IF (FL .EQ. G O T O 60 ELSE
22
i) T H E N
Q7 = X(3) Q5 = x ( 5 ) Q2 = X(7) x(7)
=
x(7)/(loo.o.x(6))
Q1 = X(8) x(8) = (x(8)*x(3))/loo.o P3 = ( X ( 5 ) * X ( 7 ) ) / ( I . O - ( I . 0 + X ( 7 ) ) * * ( - X ( 4 ) * X ( 6 ) ) ) ENDIF 21
A = A + 1 D = (2.0*X(3))/X(4) X(3) = X(3) - D I = X(6)
25
B =
B +
VAL1
=
(x(5)*x(7)) Q5
IF (VALI GO TO 30 ELSE
(X(5)*X(7))
0.0)
W R I T E (1, 240) F O R M A T (IH0, 6X,
240
250 *
-
P3
THEN
'ERROR
IN T H E
DATA VALUE')
W R I T E (1, 250) FORMAT (IH0,6X,'I.E. THE TOTAL LOAN PLUS THE 6 X , ' P E R I O D IS L E S S T H A N T H E P A Y M E N T S ' ) ENDIF G O TO
3o
+
.GT.
x(5)
INTEREST
999
=
x(5)
+
(x(5),x(7))
P3
-
I = I - 1 IF (I .LT. GO T O 25 ELSE
0 .OR.
I .GT.
0) T H E N
260
W R I T E (i, 260) A F O R M A T (/, IHI, 32X,
270
W R I T E (i, 270) X(1) F O R M A T (IH0, 6X, ' R E V E N U E
280
W R I T E (i, 280) X(2) F O R M A T (IH0, 6X, ' O P E R A T I N G
290
W R I T E (i, 2907 D F O R M A T (IH0, 6X,
'DEPRECIATION
300
W R I T E (i, 300) B F O R M A T (IH0, 6X,
'INTEREST
"YEAR',
2X,
$:',
I2,
T55,
COST
T55,
771
, 78(IH*))
F14.2)
$:',
$:',
$:',
/IH
T55,
T55,
F14.2)
F14.2)
F14.2)
PER',/IH
,
ENDIF
E = X(1) - X(2) - D X1 = E IF (Xl .LT. 0.0) T H E N G O T O 40 ELSE Xl = E - P O ENDIF IF (Xl .LT. 0.0) T H E N G O T O 5O ELSE E = Xl P O = 0.0 S1
=
(E'X(9))/100.0
xl
=
sl
-
x(8)
ENDIF IF (Xl .EQ. G O T O 55 ELSE X(8)
=
B
0.0
X(8)
-
.OR.
Xl
.GT.
0.0)
THEN
Sl
Sl = 0.0 ENDIF 70 310
W R I T E (i, 310) E F O R M A T (IH0, 6X,
320
W R I T E (i, 320) X ( 9 ) , Sl F O R M A T (IH0, 6X, ' T A X A T ' , F 4 . 0 , ' % ,
330
W R I T E (i, 330) BT F O R M A T (IH0, 6X, ' A F T E R
'PRE-TAX
INCOME
$:',
T55,
F14.2)
$:',
T55,
F14.2)
$:',
T55,
F14.2)
B T = E - S1
CF(A)
= BT
TAX
INCOME
+ D
340
W R I T E (i, 340) C F ( A ) F O R M A T (IH0, 6X, ' C A S H
350
W R I T E (i, 350) FORMAT (78(IH*)
FLOW
$:',
T55,
F14.2)
)
B = 0.0 IF
((A-X(4))
GO TO ELSE
360
0.0)
THEN
W R I T E (i, 360) X(3) F O R M A T (IHO, 6X, ' S A L V A G E ENDIF
GO TO 40
.LT.
21
VALUE
$:',
60
P O = P O - Xl S1 = 0.0
772
T55,
F14.2)
GO PO Xl GO S1
50
55
T O 70 = -Xl = 0.0 TO 40 = X1
x(8)
o.o
=
G O T O 70 FL = 1 GO TO
22
CALCULATE
60 370
,
THE NET
VALUE
OF
INVESTMENT
W R I T E (i, 370) FORMAT (1HI,30X,'ECONOMIC PROJECT EVALUATION',/IH ,20X, 'NET P R E S E N T V A L U E A T A G I V E N D I S C O U N T R A T E ' , / , 7 8 ( I H * ) ) NOCF = X(4) N = x(4)
380
PRESENT
+
1
W R I T E (i, 380) F O R M A T (/,IH0,
NOCF 22X,I3,3X,'YEARLY
CASH
390
W R I T E (i, 390) R F O R M A T (/, I H 0 , 2 0 X , F 8 . 2 , 3 X , " P E R C E N T A G E 1H , 7 8 ( 1 H - ) )
400
W R I T E ( 1, 400 ) F O R M A T (/, IH0, 7X, 'YEAR', 5X,
410
420
15X,'YEARLY "CASH FLOWS
W R I T E (i, 410) F O R M A T (10X, ' D I S C O U N T ' , W R I T E (i, 420) F O R M A T (34X, ' C A S H F L O W S /1H , 78(IH-) )
CALCULATIVE CUCF(0)
ANNUAL
($)','6X,
CASH
' F A C T O R ' , 10X,
FLOW
DO
CF(N)
= CF(N)
CUCF(N) R1
+ CF(I)
+ X(3)
= CUCF(N-I)
+ CF(N)
= R/100.0
CF(0) PV(0)
= -Q7 = CF(0)*I.0
CALCULATE
THE
PRESENT
VALUE
DISCOUNT
YEAR
0')
R A T E ',/,
'PRESENT')
= -Q7
I = i, N-I C U C F (I) = C U C F ( I - I ) E N D DO
INCLUDING
CASH FLOWS ($)',/IH ,78(IH-),/IH0, ($)', 3X, ' C U M U L A T I V E ' , \ )
8X,
THE CUMULATIVE
FLOWS
FOR YEAR
773
0
'VALUE
($)',
D O 75 Ii = 0, 0 IF (Ii .EQ. 0) T H E N R1 = 0.0 D F (Ii) = 1 . 0 / ( ( I . 0 + R I ) * * I I ) PV(II)
75
= CF(II)*DF(II)
ELSE ENDIF CONTINUE
CALCULATE
RI
=
THE
PRESENT
VALUE
FOR
SUBSEQUENT
FOR
THE
YEARS
R/100
D O 80 Ii = i, N - I I2 = I i - I DF (II)= 1.0/((I.0+RI)**II) PV(II) = CF(II)*DF(II)
C
8O
CONTINUE CALCULATE THE PRESENT THE SALVAGE VALUE
C C
DF(N) PV(N) DO
90 K=0,
OF THE YEARLY CASH FLOWS, AND THE PRESENT VALUES
PLUS
CUMULATIVE
W R I T E (i, 430) K, C F ( K ) , C U C F ( K ) , D F ( K ) , P V ( K ) F O R M A T (5X, I3, 5X, F 1 4 . 2 , 5X, F 1 4 . 2 , 5X, F9.4, CONTINUE
440
W R I T E (i, 440) FORMAT (78(IH-)) CALCULATE N P V = 0.0 D O J = I, NPV = NPV END DO
450
YEAR
N
90
C
FINAL
= i/((I+RI)**N) = CF(N)* DF(N)
PRINT THE VALUES DISCOUNT FACTORS
430
VALUE
THE
NET
PRESENT
5X,
CASH
F14.2)
VALUE
NOCF
+ PV(J)
W R I T E (I, 450) N P V F O R M A T (IH0, 6X, 'THE
CALCULATE THE PVR = PRESENT = PRESENT
NET
PRESENT
VALUE
PRESENT VALUE RATIO, PVR VALUE OF ALL POSITIVE CASH VALUE OF ALL NEGATIVE CASH
774
($):',3X,T40,FI4.2)
FLOWS/ FLOWS
FLOWS
S U M = 0.0 DOK= i, N SUM = SUM + PV(K) END DO PVR
460
= SUM/ABS(CF(0) )
W R I T E (i, 460) P V R F O R M A T ( IH0, 6X, 'P R E S E N T
R A T I O : ' , 3X,
VALUE
C A L C U L A T E T H E N E T R E T U R N R A T E (NRR) i.e. T H E D I V I D E D BY T H E P R O D U C T O F I N I T I A L I N V E S T M E N T ( E X C L U D I N G Y E A R 0). NRR
470
= ABS
SUM1 DO
NET
RETURN
AVERAGE Y E A R 0).
= 0.0
=
SUMI
+CF(I)
DO
)*i00.0
W R I T E (i, 480) A R R F O R M A T (IH0, 6X, 'THE A V E R A G E 3X, '%" )
CALCULATE THE TIME: Years
PAYBACK
TIME
D O I = O, N IF ( C U C F ( I + I ) .GT. C U C F ( I ) T E M P = C U C F (I+l) C U C F (I+l) = C U C F (I) C U C F (I) = T E M P TIME = I T I M E 1 = T I M E +i G O T O 44 ELSE ENDIF END DO
44 490
RATE:',3X,T40,FS.3,3X,'%')
T H E A V E R A G E R A T E O F R E T U R N (ARR) i.e. T H E DURING THE LIFE OF THE PROJECT (EXCLUDING
AVSUM = SUMI/N ARR = (AVSUM/ABS(CF(0))
480
PRESENT VALUE THE PROJECT LIFE
I = i, N
SUMI
END
NET AND
F8.3)
(NPV/(ABS(CF(0))*N))*I00
W R I T E (i, 4707 N R R FORMAT (IH0,6X,'THE CALCULATE CASH FLOW
C C
T40,
RATE
FROM
.AND.
THE
OF RETURN:',3X,T40,F8.3,
CUMULATIVE
CUCF(I+I).GE.
W R I T E (i, 490) T I M E , T I M E 1 F O R M A T ( I H 0 , 6 X , ' T H E P A Y B A C K P E R I O D IS B E T W E E N : ' 3X,T45,I2,2X,'AND',2X,I2,2X,'YEARS')
775
CASH
0.07
FLOW
THEN
FORM
999
FEED THE
PRINTING
WRITE
(i,
*) C H A R ( 1 2 )
CLOSE CLOSE
(3, (i)
STATUS
=
PAPER
TO TOP OF THE NEXT
"KEEP')
STOP END
776
PAGE.
CHAPTER 10
The International System of Units (SI) and Conversion Tables The International System of Units, or the SI units, are derived from Systeme International d'Unites and are evolved from the mass-lengthtime-temperature system. This is derived from the seven base units of length, mass, time, temperature, amount of substance, electric current, and luminous intensity. Also, two supplementary units of plane angle and solid angle are required to describe the physical and chemical properties. Table 10-1 lists the supplementary units and their symbols. All other units in SI are derived from the nine base and supplementary units. Table 10-2 gives approved derived units with names, formulas, and their symbols. Lists of derived SI units that do not have approved names but are widely used in chemical engineering are given in Table 10-3. The wide range in magnitude of the units used in normal practice requires the use of different sized units, rather than a powers-of-ten numerical multiplier. SI provides prefixes for decimal multiples and submultiples of the base supplementary and approved derived units. Table 10-4 shows these prefixes by name, symbol, and magnitude. In addition to learning the new units and symbols, conversion is required when numerical values are reported in imperial or the c.g.s units. The conversion of units is mainly handled through the use of conversion tables as listed in Table 10-5.
777
Table 10-1 SI and Supplementary Units Unit
Symbol
Type
Quantity and Symbol
base
Length, L
base
mass, m
base
time, t
second
base
temperature, T
Kelvin
K
base
amount of substance, n
mole
tool
base
electric current, I
ampere
A
base
luminous intensity, I
candela
cd
Supplementary
plane angle, 0
radian
rad
Supplementary
solid angle, co
steradian
sr
Unit meter
m
kilogram
kg
Reproduced by permission of the American Institute of Chemical Engineers 9 1979, A.I. Ch.E. All rights reserved.
778
Table 10-2 SI Derived Units with Special Names
Quantity and symbol
Unit
Unit symbol
Formula
frequency, f
hertz
Hz
s-i
force, F
newton
N
kg.m]s 2
pressure, stress p,'c
pascal
Pa
N/m 2, kg/m.s 2
energy, work, quantity of heat, E,W,Q
joule
power, radiant flux, P
watt
quantity of electricity, electric charge, Q
coulomb
electric potential, potential difference, electromotive force, E
volt
capacitance, C
farad
C/V, A2.sa]kg.m 2
electric resistance, R
ohm
V/A, m2.kg/A2.s 3
conductance, G
siemens
A/V, A2.s3/kg.m 2
magnetic flux, ~)
weber
magnetic flux density, B
tesla
inductance, L
henry
H
Wb/A, m2.kg/A.s
luminous flux, F
lumen
lm
cd.sr
illuminance, B
lux
lx
cd.sr]m 2
radioactivity, )v
becquerel
Bq
S-l
absorbed dose, D
gray
Gy
J/kg
N/m, kg.m2/s 2
W
J/s, kg.m2/s 3 A.s
V
Wb
W/A, kg/A.s 3
V.s, m2.kg/A.s 2
Wb/m 2, kg/A.s 2
Reproduced by permission of the American Institute of Chemical Engineers 9 1979, A.I. Ch.E. All rights reserved.
779
Table 10-3 Some Derived SI Units
Property
Common Symbol
SI units formula
thermal conductivity
k
W/m.K
heat transfer rate
q
W
heat transfer coefficient
h
W/m2.K
specific enthalpy
H
J/kg
heat capacity
Cp
J/kg.K
Newtonian viscosity
g
Pa.s, kg/m.s
kinematic viscosity
v
m2/s
thermal diffusivity
c~
m2s
volumetric flow rate
q
m3/s
power
P
W
enthropy
S
J/K
density
9
kg/m 3
mass velocity
G
kg/s.m 2
concentration
c
kg/m 3
concentration
c
mol/m 3
velocity
u
m/s
acceleration
a,g
m/s 2
mass transfer coefficient
kc
m/s
mass diffusivity
D
m2/s
moment
I
N.m
thermal flux
q/A
W/m 2
mass flux (molar)
Na/A
mol/m2.s
momentum flux
~y/A
Pa
mass transfer rate
Na
mol/s
mass flow rate
w
kg/s
surface tension gas constant
N/m R
Pa.m3/mol.K, J/mol.K
Reproduced by permission of the American Institute of Chemical Engineers 9 1979, A.I. Ch.E. All rights reserved.
780
Table 10-4 Magnitude Prefixes for SI Units
Name
Symbol
Magnitude
atto
10-18
femto
10-15
pico
10-12
nano
10 -9
micro
10 - 6
milli
m
10 .3
centi
10 -2
deci
lO-I
deka
da
101
hecto
102
kilo
103
mega
M
106
giga
G
109
tera
1012
peta
10 Is
exa
1018
Reproduced by permission of the American Institute of Chemical Engineers 9 1979, A.I. Ch.E. All rights reserved.
781
e T-- C I11 0
l" 0
E
E
E
.__
~
o
X
T
~
X
"T
d
rq
~
rn
r-e3
~
oo
"T
o
i
?
~
~0
X rq
eq
~
~
782
eq
x
0
~
E
c~J
E
.~.
X
.
~
~
,~
"d"
c~
X
'2 0 X
783
w
X
~
o
~.~
".~
u",
E
E
co
?
°
x
?
x
T
g
~
_
x
x
(3O
0
r-.
oO
x
--
(N
x
~
0
D--~
04
("-
O0
t,q
__.,
~
,,i,
~
~
~
~
X
x
0
~
0
~
(N
X
0"')
O0
e4
~
X
o4
X
("3
r~h
0
0", eq
,,.d
[.~
"~
X
""
784
r,h
~
---
"--
X
~
-
2
~
~
X
c'q
0"~
~
cq
785
t',l
~
~
c~ '--~
~
oo 0",
o
e~
=
03
03 c-
o-,
co
786
-
oo
X
oo r'4
~C'q ,~
,,,o
0
0 ,-X
~
o,
r---
e
~
---
0
¢*'3
x
',,D
× g g g _ r-{"i
0
x o ~
•
o rn
~"
C'q
r~
C,C t'~
0
~
o
~
~c o
-
~
0 X
•--~
%" ,3o
'
O0
~
~
~
~
787
.-~
II
d-
D'-
II
%
~. II
788
Cr'~
~1~ II
L~ o
~
D"
~1~ II
o I]
II
II
II
(/)
..Q
~
0
~
c'q
~
X ~
"T
~
X oQ
?
X p-
789
0 P,l
--
t¢3 X
v~ cq
"I 0
X
_
u-;
,,D P~
T
--
~. 0
~
_
--
E
X
'9
X
3
~
o
o
E
~
o
~
X
~
rd
m
--
t
X
~
~
~
X
x
___.
~
r--
~
x
~
i
,,~
-
-
°
~
r --
X
P
~
",.D
~
~
~
~
~,0 ~1
~
~
X
~
r'~
~
x
~
:~~. E
R~
~
c~
.
C:D
oO ~
X
~,
~
~
r"h
~
X
0"~
OC
~
~
•
M:~
~q
~
C,
~;~
•
"--
--
~ - _
790
~
Z
~
a_
~
oJ
~
X
o
I 0
0
~
"T
X
0 ~
"T ~,1
~
~
_
~
rn
~
~
,-2
x
o
~ o
X
,,.d
0 '~
~
,,¢ --
-
,d
~
c-,i
791
X
I o
x -
o
c4
ce
~ t--
0
~
c-I
p-.
C t
"T X
0 ~
,-
Z
Z
0
.Q
-z 0
Q_
0
X r'.q oo r'q
792
X oo ,,q"~
m
X [--,cC~ oO
m
"~
-~ ..~
0 -~
5 M:) ~r~
x C~• ~
~ ~ a~
x ~ c',l
~ eq
C~ o
"t" X
'f @
"X
"t
T
X t"-17"--
X
~
~ ~
X
~
0
0
'T X
.
,
X 0
~
--
~ ,"~
X
~
G'; C~,
X
X C'q r'---
.,¢
t"q P-:.
.
G',
~
x
~ ~'h
~
O~
G'h 0",
~.
,,~-
,rq
0
~
c-,,I
vh
m
t~
x
~:~
oo
o,I ~
00
O'
x
r---
Lt"~
~
~
~ ~
o,,I
0
,-
0
Q,. ,r-
0
¢f"l
O,r,1:"-
~ - ~ ~_1E
(D 0 ,..-
0,.1~
LL
793
m,c
C
~
I:1.
.~
0
x
0
--
x
0
X 0
~ X
'~
"M,
eq
X "--'
o X
_
cd
r,q
"
o
x ~', '~-
r,h,
"=
S
~ ~ O0 17"-,
c,,h, ,.-,
-
0
oo
,~
S
~h o
,~-
rq
',,,d
r-:
oc
~'
,d
~
~'
O",,
oo
"T
_
~
x 0",
kO
x
x O',
oo
x
x ~
~
a<
~--
~
a4
w.-~
--
r--
_
rq
it.-~
,d
o
~
[-......
r--
X
C)"x
m
C~,
O's oO 0 0
x
0
:ax O~
oo
x,@ ~
~
-
_
c5
C'x'l ax
~ 00
°
~
C"l
C:,
•
("4 C
~
~
~
r~
E
~
x,~
"~
E
0
"~
o.J
~
eq
o
x
o
C:~
a-, X,C
794
~o
%
oo
~
x
S
G'~
& _
',6
0",,
~4D
G",
~r
~
M:)
~
x
oo
~-
2
A -
~ ~
~
oo
E
X
oc
oO
X
~
~
X
X
~
~o~o
~
X
G'~ c'4
c'4 °°
~
I
"--' X
cq
,l"" ~ ' --
c'4
I.I~ "~
~ X
:=
I~ ~
795
o..
~
CL
cO
"P
x
x
~t
~
cq
t
x
I'-.-
_
~ cq
q:;
~ ~
C~
0
oO O",,
oO
clo
To
C:,
,3O i,th
0
C~ X
O,
--
C~ X ,rq
¢',1
r,q
C~ x i,r3
~
,"q
X <::7,
c,~
~
oo
C'q
796
X
X
X
~
X
~
~
x
r-/
X
X
T
~
c)
P'-,
~
~
~
~
cq
r4
X
~
,"-
~,~
~
T
~
~
~
'~
e~
X
rz
06
_
~
~
x t'N
~%
& ..Q
797
~
T
r--
~6
C~
~m
~
,,m
~
-
V'~
an
'=
~
0
o
LL
c~
oo
cq
~
~
~
X
d
x ~
0
~
r--.
%
,._,
o
X
c4
--
798
~
~
X 0
oO
X c,q
oo
c~
0",
X
.
X
~/
oo
~d
r--
a',,
C'-I
°E ¢J L.
¢J
X
X
°~ ~ c-
LL
N
,,~
-~ m
E
c,j
LL
2
X
m
X
PQ
C'~.
*:::t"
~
X
r"--
X
799
Z
X
x
~
Z.,
x o
.
~ ~
:>', 'u
O~
ir~
X
oo
X
_o
~
Ip-
-oc
X
X
~-
od
~
,,~
~
~
o_
o
800
il
c~
,o,
""
Bibliography BOOKS AND JOURNALS
Aerstin, F. and G. Street, Applied Chemical Process Design, Plenum Press, New York, 1978. Allen, D. H., A Guide to the Economic Evaluation of Projects, 2nd ed., The Institution of Chemical Engineers, U.K., 1980. American Institute of Chemical Engineers: AIChEApplication Software Survey for Personal Computers, New York, 1984. Andrew, W. G. and H. B. Williams, Applied Instrumentation in the Process Industries, vol. 2, 2nd ed., Gulf Publishing Co., Houston, 1980. API Recommended Practice 520, Sizing, Selection, and Installation of Pressure-Relieving Devices in Refineries, Part I "Sizing and Selection," 5th ed., July 1990, Part II "Installation," 3rd ed., American Petroleum Institute, Washington, D.C., 1988. Beaton, C. F. and G. F. Hewitt, Physical Property Data for the Chemical and Mechanical Engineer, Hemisphere Publishing Corp., New York, 1989. Ben-Horim, M., Essentials of Corporate Finance, Allyn and Bacon, Inc., Boston, 1987. B loch, H. E, Process Plant Machinery, Butterworths, Boston, 1989. Bowman, J. and R. Turton, "Quick Design and Evaluation," Chemical Engineering, July 1990, pp. 92-99. Branan, C., The Process Engineer's Pocket Handbook, Gulf Publishing Co., Houston, 1976. Chapra, S. C. and R. E Canale, Numerical Methods for Engineers With Personal Computer Applications, McGraw-Hill Book Co., New York, 1985. 801
802
Fortran Programs for Chemical Process Design
Cheremisinoff, N. E, Heat Transfer Pocket Handbook, Gulf Publishing Co., Houston, 1984. Chopey, N. E and T. G. Hicks, Handbook of Chemical Engineering Calculations, McGraw-Hill Book Co., New York, 1984. Constantinides, A., Applied Numerical Methods With Personal Computers, McGraw-Hill Book Co., New York, 1987. Coulson, J. M., J. F. Richardson, and R. K. Sinott, Chemical Engineering, (S.I. units)Design, vol. 6, Pergamon Press, 1983. Crowl, D. A. and J. E Louvar, Chemical Process Safety: Fundamentals with Applications, Prentice Hall, Englewood Cliffs, New Jersey, 1990. Deutsch, D. J. and the Staff of Chemical Engineering, Process Piping Systems, McGraw-Hill Publications Co., New York, 1981. Deutsch, D. J. and the Staff of Chemical Engineering, Microcomputer Programs for Chemical Engineers, Chemical Engineering, McGrawHill Publications Co., New York, 1984. Escoe, A. K., Mechanical Design of Process Systems, vol. 2, Gulf Publishing Co., Houston, 1986. European Federation of Chemical Series No. 39: First U.K., National Conference on Heat Transfer, vols. 1 and 2, The Institution of Chemical Engineers, U.K., 1984. Evans, F. L., Jr., Equipment Design Handbook for Refineries and Chemical Plants, vol. 1, Gulf Publishing Co., Houston, 1980. Evans, E L., Jr., Equipment Design Handbook for Refineries and Chemical Plants, vol. 2, Gulf Publishing Co., Houston, 1979. Evett, J. B. and C. Liu, Fluid Mechanics and Hydraulics~Schaum's Solved Problems Series, McGraw-Hill Book Co., New York, 1989. Fraas, A. P., Heat Exchanger Design, 2nd ed., John Wiley and Sons, Inc., New York, 1989. Garay, E E., Pump Application Desk Book, The Fairmont Press Inc., 1989. Garrett, D. E., Chemical Engineering Economics, Van Nostrand Reinhold, New York, 1989. Gas Processors Suppliers Association: Engineering Data Book, vols. 1 and 2, 10th ed., Oklahoma, ] 987. Gerald, C. E, and E O. Wheatley, Applied Numerical Analysis, 4th ed., Addison-Wesley Publishing Co., New York, 1989. Gupta, J. E, Fundamentals of Heat Exchanger and Pressure Vessel Technology, Hemisphere Publishing Corporation, Washington, 1986. Hedderich, C. E, M. D. Kelleher, and G. N. Vanderplaats, "Design and Optimization of Air-Cooled Heat Exchangers", Journal of Heat Transfer, vol. 104, November 1982, pp. 683-690.
Bibliography
803
Himmelblau, D. M., Basic Principles and Calculations in Chemical Engineering, 5th ed., Prentice-Hall, Englewood Cliffs, New Jersey, 1989. Hines, A. L. and R. N. Maddox, Mass Transfer Fundamentals and Applications, Prentice-Hall Inc., Englewood Cliffs, New Jersey, 1985. Holland, F. A., F. A. Watson, and J. K. Wilkinson, Introduction to Economics, 2nd ed., John Wiley and Sons Ltd., New York, 1983. Kahaner, D., C. Moler, and S. Nash, Numerical Methods and Software, Prentice Hall, Englewood Cliffs, New Jersey, 1989. Larowski, A. and M. A. Taylor, Systematic Procedure for Selection of Heat Exchangers, Proc. Instn. Mech. Engrs., vol. 197A, I.Mech.E., January 1983, pp. 51-69. Leesley, M. E., Computer-Aided Process Plant Design, Gulf Publishing Co., Houston, 1982. Luyben, W. L and L. A. Wenzel, Chemical Process Analysis~Mass and Energy Balances, Prentice-Hall, Englewood Cliffs, New Jersey, 1988. Mah, R. S. H., and W. D. Seider, Foundations of Computer-Aided Chemical Process Design, vols. 1 and 2, Engineering Foundation, New York, 1980. McGuire, J. T., Pumps for Chemical Processing, Marcel Dekker, Inc., New York, 1990. Miller, R. W., Flow Measurement Engineering Handbook, McGrawHill Book Co., New York, 1983. Nakamura, S., Applied Numerical Methods with Software, Prentice-Hall International, Inc., New Jersey, 1991. Noggle, J. H., Practical Curve Fitting and Data Analysis~Software and Self-Instruction for Scientists and Engineers, Ellis Horwood/PTR Prentice Hall, 1993. Pachner, J., Handbook of Numerical Analysis Applications~with Programs for Engineers and Scientists, McGraw-Hill Book Co., New York, 1984. Perry, H. R. and D. Green, Perry's Chemical Engineers' Handbook, 6th ed., McGraw-Hill Book Co., New York, 1984. Reid, R. C., J. M. Prausnitz, B. E. Poling, The Properties of Gases and Liquids, 4th ed., McGraw-Hill Book Co., New York, 1987. Sandler, H. J., and E. T. Luckiewicz, Practical Process Engineering~A Working Approach To Plant Design, McGraw-Hill Book Co., New York, 1987. Seader, J. D., Use of Computers in Teaching Process Design. Presented at the Chemical Engineering Division of the American Society for Engineering Education's Summer School for Chemical Engineering Educators, Santa Barbara, CA. August 1982.
804
FortranPrograms for Chemical Process Design
Seader, J. D., Computer Modeling of Chemical Processes, AIChE Monograph Series 15, vol. 81., American Institute of Chemical Engineers, New York, 1985. Squires, R. G. and G. V. Reklaitis, Computer Applications to Chemical Engineering~Process Design and Simulation, American Chemical Society Symposium Series 124, American Chemical Society, Washington, D.C., 1980. Tao, B. Y., "A Basic Method and General Caveats," Part 1, Chemical Engineering Tutorial, Numerical Methods, Chemical Engineering, August 17, 1987, pp. 145-148. Tao, B. Y., "Find Your Roots," Part 4, Chemical Engineering Tutorial, Numerical Methods, Chemical Engineering, April 25, 1988, p. 85. Tao, B. Y., "Ordinary Differential Equations Solved the Easy Way," Part 6, Chemical Engineering Tutorial, Numerical Methods, Chemical Engineering, November 2 l, 1988, pp. 87-99. The Center For Chemical Process Safety of the American Institute of Chemical Engineers: Instructor's Guide~Safety, Health and Loss Prevention in Chemical Processes~Problems For Undergraduate Engineering Curricula, American Institute of Chemical Engineers, New York, 1990. Valle-Riestra, J. E, Project Evaluation in the Chemical Process Industries, McGraw-Hill Book Co., New York, 1983. Walas, S. M., Phase Equilibria in Chemical Engineering, Butterworths Publishers, 1985. Walas, S. M., Chemical Process Equipment~Selection and Design, Butterworths, 1988. Wankat, E C., Equilibrium Staged Separations, Elsevier Science Publishing Company Inc., New York, 1988. Yaws, C. R., "Physical Properties~A Guide to the Physical Thermodynamic and Transport Property Data of Industrially Important Chemical Compounds," Chemical Engineering, McGraw-Hill Publishing Company, New York, 1977. PERIODICALS
Chemical and Engineering News. A weekly publication of the American Chemical Society. It gives the financial condition for over 100 various chemical companies, the production rates for large-volume chemicals, foreign trade statistics, and world production statistics for selected chemicals.
Bibliography
805
Chemical Engineering. A publication of McGraw-Hill having articles and news covering all aspects of process and project engineering. Chemical Engineering Progress. A monthly publication of the American Institute of Chemical Engineers. It contains articles on engineering and technical information as well as news of the society. It also publishes a symposium series of volumes on specific topics. Hydrocarbon Processing. A monthly publication of the Gulf Publishing Company. This covers process and project engineering of refineries and petrochemical operations. It has a flow sheet in every issue and gives over 100 processes flow sheets in its yearly handbook. Journal of the Air and Waste Management Association (formerly Journal of the Air Pollution Control Association. A monthly journal of the Air Pollution Control Association that present articles on air pollution, waste management, and methods of abatement with research articles. Journal of Chemical and Engineering Data. A quarterly publication of the American Chemical Society. It gives many specific data. Journal of Physical and Chemical Reference Data. A quarterly publication of the American Chemical Society. It contains mainly physical and chemical property data. Industrial and Engineering Chemistry-Research. A monthly publication of the American Chemical Society. It is mainly involved with laboratory developments. It reports research studies on various processes, unit operations, and products. Oil and Gas Journal. A weekly publication of the PenWell Publishing Company. This reports on business and technology for the petroleum and natural gas industry. There are articles on processes, processing techniques, and costs. It gives marketing production, exploration studies, and current news. The Chemical Engineer. A bi-weekly publication of the U.K. Institution of Chemical Engineers. It features articles on new technology as well as news of the society.
Appendix A Table A1-1 Selected Constants for Liquid Density Equation
Compound
A
B
Tc~
Fluorine
0.5649
0.2828
-129.0
Chlorine
0.5615
0.2720
144.0
Sulfur dioxide
0.5164
0.2554
157.6
Carbon monoxide
0.2931
0.2706
-140.1
Carbon dioxide
0.4576
0.2590
31.1
Hydrogen chloride
0.4183
0.2619
51.5
Ammonia
0.2312
0.2471
132.4
Water
0.3471
0.2740
374.2
Hydrogen peroxide
0.4375
0.2505
455.0
Hydrogen
0.0315
0.3473
-240.2
Nitrogen
0.3026
0.2763
- 146.8
Oxygen
0.4227
0.2797
-118.5
Ethylene
0.2118
0.2784
9.9
Methane
0.1611
0.2877
-82.6
Ethane
0.2202
0.3041
32.3
Propane
0.2204
0.2753
96.7
Benzene
0.3051
0.2714
288.94
806
Table A1-1 (continued) Toluene
0.2883
0.2624
318.8
Aniline
0.3392
0.2761
426.0
Phenol
0.4094
0.3246
420.0
Cyclopropane
0.2614
0.2826
124.9
Cyclohexane
0.2729
0.2727
280.3
1,3 Butadiene
0.2444
0.2710
152.0
Methanol
0.2928
0.2760
239.4
Chloroform
0.5165
0.2666
263.4
Carbon tetrachloride
0.5591
0.2736
283.2
By Permission: C.L. Yaws et al. Physical Properties, A Chemical Engineering Publication, McGraw-Hill Publication Co., New York, 1977.
807
C 0
IJJ
0 (3
._~
~.~ ~.~
c
o {.}
? rrr
X
0~=-
×
0
0
cO
E 0 0
~
,
~
~
,
~
I
~ I
,
=
,
~
~
808
I
.~
T
=
I
I
~ l
i
~
,
~F.
I
~
7
~o
,T
'
0
~
~
~
[
t"-I
"
~
~~.~
~ I
'
I
T
0
o
Z
-
~ I
N
~ ~-
$ ~
2 ~
2 ~
2 _~
2 ~
2 ~
2
-
~
]
~
u
I
~
I
~ ~
~
u
~ ~
~
I
m
m
~
~
m
~
~
~ ~ ~ ~ ~~
809
c~
0
ILl
e"
e,, 0
o
f-
I
m
o
I
x
o x
o
X m
<
¢--,s o c-~
E o
o
~~
0o
I
o
u
~
"~
810
I
o
_
o
~
o
~
"~
<
~
o
~
o
°
~
I
°
~
I
~
o
~
~
o
,~-
I
I
c~
I
I
,~-
I
Z
e~
cq
I
I
I
C'q
•
0
eq
~'~
~
0
I
0
~ I
1
C~.
I
0
Cq
~D
0
~
I
~
~-q
I
,-~
~
0
0
0
IT M
~-
0
~
~"
~
eq ~ I
~'~
0
o~
~-
C~
~-
I~
I
~
~
0
0
~
~
O0 ~
~
I
~"
cq
~
I
I'~
I~
~
~
---
O~
811
I
C~
I
~-,
oo
c~
Table A1-4 Selected Constants for Liquid Thermal Conductivity Equation Compound
A
B x 10-2
C x 10-4
Fluorine
612.54
-162.29
-118.41
-219 to -140
Chlorine
559.01
-48.30
-15.24
-101 to 132
2140.81
-783.66
71.43
-50 to 150
Carbon monoxide
475.48
3.31
-214.26
-205 to -145
Carbon dioxide
972.06
-201.53
-22.99
-56 to 26
Hydrogen chloride
1071.70
-18.44
-65.81
-114 to 31
Ammonia
2551.30
-376.62
-29.35
-77 to 100
Water
-916.62
1254.73
-152.12
0 to 350
Hydrogen peroxide
-466.56
805.86
-87.58
0 to 400
Hydrogen
-20.14
2473.70
-5347.26
-259 to-241
Nitrogen
627.99
-368.91
-22.57
-209 to -152
Oxygen
583.79
-210.49
-48.31
-218 to -135
Ethylene
851.45
-228.94
-4.71
-169.2 to -4.0
Methane
722.72
-144.42
-76.36
182.6 to -90
Ethane
699.31
-165.88
-4.87
-183.2 to 20
Propane
623.51
-126.79
-2.12
-187.7 to 80.0
Benzene
424.26
1.14
-9.03
5.53 to 260
Toluene
485.10
-53.84
-0.59
-95 to 308
Aniline
537.55
-30.42
-1.49
-6.15 to 408
Phenol
440.93
86.70
-7.01
40.75 to 396
Cyclopropane
396.82
-42.10
-6.72
-127.42 to 117
Cyclohexane
388.26
-22.72
-3.30
6.55 to 254
1,3 Butadiene
718.26
-187.18
11.74
-108.9 to 120
Methanol
770.13
-114.28
2.79
-97.6 to 210
Chloroform
390.25
-20.58
-5.06
-63.2 to 237
Carbon tetrachloride
383.95
-45.45
-0.24
-22.9 to 224
Sulfur dioxide
Range ~
By Permission: C.L. Yaws et al., Physical Properties, A Chemical Engineering Publication, McGraw-Hill Publication Co., New York, 1977.
812
Table A1-5 Selected Constants for Liquid Surface Tension Equation
Compound
T1, ~
Tc, ~
R
Fluorine
-200.0
-129.0
0.8811
-219.6 to -129.0
Chlorine
20.0
144.0
1.0508
-101.0 to 144.0
Sulfur dioxide
30.0
157.6
1.1768
-72.7 to 157.6
-193.0
-140.1
1.1441
-191.5 to-140.1
20.0
31.1
1.3015
-56.5 to 31.1
Hydrogen chloride
-93.0
51.5
1.0972
-114.2 to 51.5
Ammonia
-45.0
132.4
1.1548
-77.74 to 132.4
Water
25.0
374.2
0.8105
0 to 100.0
Water
100.0
374.2
1.1690
100.0 to 374.2
18.2
455.0
0.9141
-0.43 to 455.0
Hydrogen
-256.0
-240.2
1.1012
-259 to -240.2
Nitrogen
-203.0
-146.8
1.2123
-209.9 to-146.8
Oxygen
-202.0
-118.5
1.1933
-218.4 to-118.5
Ethylene
-120.0
9.9
1.2760
-169.2 to 9.9
Methane
-168.16
-82.6
1.3941
-182.6 to -82.6
Ethane
-120.0
32.3
1.2060
-183.2 to 32.3
Propane
-90.0
96.7
1.1982
-187.7 to 96.7
Benzene
20.0
288.94
1.2243
5.53 to 288.94
Touluene
20.0
318.8
1.2364
-95.0 to 318.8
Aniline
20.0
426.0
1.1022
-6.15 to 426.0
Phenol
60.0
420.0
1.0725
40.75 to 420.0
Cyclopropane
10.0
124.9
1.3201
-127.42 to 124.9
Cyclohexane
20.0
280.3
1.4246
6.55 to 280.3
1,3 Butadiene
40.0
152.0
1.2055
-4.41 to 152.0
Methanol
20.0
239.4
0.8115
-97.6 to 239.4
Chloroform
25.0
263.4
1.1824
-63.2 to 263.4
Carbon tetrachloride
30.0
283.2
1.2278
-22.9 to 283.2
Carbon monoxide Carbon dioxide
Hydrogen peroxide
Range, ~
By Permission: C.L. Yaws et al., Physical Properties, A Chemical Engineering publication, McGraw-Hill, New York, 1977.
813
c-
O
k~ -I O" ill
13.
i=..
o ¢-
C 0 "0
O0
? O~ c0~
n-
I
~o O "rX ill
0
0
rn
<
¢."-1 0 El.
E 0
o
I
•
~
~ I
~
~ I
814
~
I
N I
~; ~
~
~
~
~
I
I
I
N ~
I
~ ~ I
o~
o I
~ ~ ~
~
I
G
eq
I
•
~
I
~'~
~
~
~
c~
I
~-
I~
-
~
~
~
I
I
"~-
~
~
I
I
~- ~
~
~
-
I
[
,~
~
~C~
[
L
<:~
I
~
C~ /
~'- _ ~
815
I
~-
~
~
c~
"~
~
I
C~
~
'43
I
@
C~
",~
"~.
F
Table A1-7 Selected Constants for Enthalpy of Vaporization Equation
Compound
AHvl, cal/g
T1, ~
Tc, ~
R
Fluorine
41.1
-188.1
-129.0
0.38
Chlorine
69.6
-34.06
144.0
0.38
Sulfur dioxide
93.0
-10.0
157.6
0.38
Carbon monoxide
51.6
-191.5
-140.1
0.38
Carbon dioxide
56.1
0.0
31.1
0.38
Hydrogen chloride
105.8
-85.03
51.5
0.38
Ammonia
327.4
-33.43
132.4
0.38
Water
538.7
100.0
374.2
0.38
Hydrogen peroxide
321.9
150.2
455.0
0.38
Hydrogen
107.0
-252.8
-240.2
0.237
Nitrogen
47.5
-195.8
-146.8
0.38
Oxygen
50.9
-183.0
-118.5
0.38
Ethylene
115.4
-103.7
9.9
0.38
Methane
121.7
-161.5
-82.6
0.38
Ethane
116.7
-88.2
32.3
0.38
Propane
101.8
-42.1
96.7
0.38
Benzene
94.1
80.1
288.94
0.38
Toluene
86.1
110.6
318.8
0.38
Aniline
112.4
184.4
426.0
0.38
Phenol
116.4
181.8
420.0
0.38
Cyclopropane
113.8
-32.8
124.9
0.38
1,3 Butadiene
100.2
-4.41
152.0
0.38
Methanol
260.1
64.7
239.4
0.40
Chloroform
58.9
61.3
263.4
0.38
Carbon tetrachloride
46.55
76.7
283.2
0.38
By Permission: C.L. Yaws et al., Physical Properties, A Chemical Engineering publication, McGraw-Hill, New York, 1977.
816
Table A1-8 Selected Constants for Gas Heat Capacity Equation Compound
A
B x 10-3
Fluorine
5.89
6.94
-5.48
1.52
298-1500
Chlorine
7.00
5.05
-4.39
1.30
298-1500
Sulfur dioxide
5.85
15.40
2.91
298-1500
Carbon monoxide
6.92
-0.65
2.80
-1.14
298-1500
Carbon dioxide
5.14
15.4
-9.94
2.42
298-1500
Hydrogen chloride
7.24
-1.76
3.07
-1.00
298-1500
Ammonia
6.07
8.23
-0.16
-0.66
298-1500
Water
8.10
-0.72
3.63
-1.16
298-1500
Hydrogen peroxide
5.52
19.80
-13.90
3.74
298-1500
Hydrogen
6.88
-0.022
0.21
0.13
298-1500
Nitrogen
7.07
-1.32
3.31
-1.26
298-1500
Oxygen
6.22
2.71
-0.37
-0.22
298-1500
Ethylene
0.934
4.01
298-1500
Methane
5.04
-5.37
298-1500
Ethane
2.46
36.1
-7.0
-0.46
298-1500
Propane
-0.58
69.9
-32.9
6.54
298-1500
Benzene
-8.79
116.0
-76.1
18.9
298-1500
Toluene
-9.34
138.5
-87.2
20.6
298-1500
Aniline
-8.11
143.4
-107.0
30.7
298-1500
Phenol
-5.68
126.0
-85.4
20.5
298-1500
Cyclopropane
-6.28
79.8
-50.5
12.2
298-1500
1,3 Butadiene
-0.56
81.1
-53.5
13.6
298-1500
Methanol
3.62
24.9
-7.05
Chloroform
7.71
34.3
-26.40
7.29
298-1500
33.2
-29.3
8.58
298-1500
Carbon tetrachloride
12.6
36.9 9.32
C x 10-6 D x 10-9
-11.1
-19.3 8.87
Range K
298-1500
By Permission: C. L. Yaws et al. Physical Properties, A Chemical Engineering publication, McGraw-Hill, New York, 1977.
817
Table A1-9 Selected Constants for Heat of Formation Equation Compound
A
B x 10-3
C x 10-6
Range, K
Sulfur dioxide
-69.6
-5.29
Sulfur dioxide
-86.9
0.32
717 to 1500
-0.188
298 to 1500
Nitrogen dioxide
7.94
298 to 717
- 1.05
298 to 1500
Carbon monoxide
-26.5
0.84
Carbon dioxide
-93.9
-0.43
298 to 1500
Hydrogen chloride
-21.9
-0.610
298 to 1500
Ammonia
-9.34
-6.20
2.36
298 to 1500
Water
-57.4
-1.79
Hydrogen peroxide
-31.8
-3.04
1.19
298 to 1500
Methane
-15.4
-9.59
3.50
298 to 1500
Ethane
-16.4
-14.8
6.13
298 to 1500
Propane
-20.0
-19.1
8.15
298 to 1500
Benzene
23.7
-15.3
6.27
298 to 1500
Toluene
16.8
-19.0
7.84
298 to 1500
Aniline
25.2
-17.6
8.98
298 to 1500
Phenol
-19.3
-14.6
7.18
298 to 1500
16.9
-16.7
7.90
298 to 1500
-21.6
-32.0
15.80
298 to 1500
29.0
- 10.1
4.13
298 to 1500
Methanol
-44.96
-11.9
4.98
298 to 1500
Chloroform
-24.7
0.0334
298 to 1500
Carbon tetrachloride
-24.0
2.42
298 to 1500
Cyclopropane Cyclohexane 1,3 Butadiene
298 to 1500
By Permission: C. L. Yaws et al. Physical Properties, A Chemical Engineering publication, McGraw-Hill, New York, 1977.
818
Table A1-10 Selected Constants for Free Energy of Formation Equation Compound
A
B x 10-3
Sulfur dioxide
-71.9
0.25
Sulfur dioxide
-86.8
Nitrogen dioxide
7.82
Range, K 298 to 717
17.7
717 to 1500
15.1
298 to 1500
-21.3
298 to 1500
Carbon monoxide
-26.5
Carbon dioxide
-94.2
-0.42
298 to 1500
Hydrogen chloride
-22.3
-1.72
298 to 1500
Ammonia
- 12.3
27.2
298 to 1500
Water
-58.6
12.7
298 to 1500
Hydrogen peroxide
-33.2
26.4
298 to 1500
Methane
-20.1
24.9
298 to 1500
Ethane
-23.3
49.7
298 to 1500
Propane
-28.8
74.7
298 to 1500
Benzene
16.7
45.9
298 to 1500
Toluene
7.8
68.7
298 to 1500
Aniline
18.5
70.6
298 to 1500
Phenol
-25.0
56.5
298 to 1500
10.3
47.7
298 to 1500
-35.1
139.0
298 to 1500
24.2
38.6
298 to 1500
Methanol
-50.2
36.5
298 to 1500
Chloroform
-24.8
26.9
298 to 1500
Carbon tetrachloride
-22.6
32.1
298 to 1500
Cyclopropane Cyclohexane 1,3 Butadiene
By Permission: C. L. Yaws et al. Physical Properties, A Chemical Engineering publication, McGraw-Hill, New York, 1977.
819
Table A1-11 Selected Constants for Gas Thermal Conductivity Equation Compound
A
Fluorine
1.8654
Chlorine
3.25
Sulfur dioxide Carbon monoxide Carbon dioxide Hydrogen chloride Ammonia Water Hydrogen peroxide Hydrogen Nitrogen Oxygen Ethylene Methane Ethane Propane
B x 10-2 C x 10 -4 D x 10-8
Range ~
19.79
1.24
-17.77
-130 to 525
5.8
0.21
-1.25
-80 to 1200 0 to 1400
-19.31
15.15
-0.33
0.55
1.21
21.79
-0.8416
1.958
-160 to 1400
-17.23
19.14
0.1308
-2.514
-90 to 1400
-0.26
12.67
-0.25
0.16
-150 to 1400
0.91
12.87
2.93
-8.68
0 to 1400
17.53
-2.42
4.3
-21.73
0 to 800
-21.07
16.97
0.17
-1.56
0 to 1200
19.34
159.74
-9.93
37.29
-160 to 1200
23.44
-1.21
3.591
-160 to 1200
23.8
-0.8939
2.324
-160 to 1200
28.65
0.7963
-3.262
-75 to 1000
20.84
2.815
-8.631
0 to 1000
52.57
-4.593
39.74
0 to 750
-1.122
5.198
-20.08
0 to 1000
0.9359 -0.7816 -42.04 -4.463 -75.8 4.438
Benzene
-20.19
8.64
2.34
-9.69
0 to 1000
Toluene
18.14
-9.57
5.66
-22.22
0 to 1000
Aniline
-26.39
11.89
1.55
-4.30
0 to 1000
Phenol
-31.87
15.26
1.74
-4.40
0 to 1000
Cyclopropane
-20.46
9.74
3.77
-16.28
0 to 800
Cyclohexane
-20.57
4.45
4.07
-17.31
0 to 800
1,3 Butadiene
-67.92
29.96
1.74
-12.20
0 to 1000
Methanol
-18.62
9.95
2.90
-12.38
0 to 1000
Chloroform
-5.732
6.29
0.5904
-3.352
25 to 1000
Carbon tetrachloride
-0.4161
4.067
0.6115
-3.566
25 to 1000
By Permission." C. L. Yaws et al. Physical Properties, A Chemical Engineering publication, McGraw-Hill, New York, 1977.
820
Table A1-12 Selected Constants for Gas Viscosity Equation Compound Fluorine Chlorine
A 22.09
B x 10-2 76.9
C x 10-6 -211.6
Range ~ -200 to 1000
5.175
45.69
-88.54
-200 to 1200
Sulfur dioxide
-3.793
46.45
-72.76
-100 to 1400
Carbon monoxide
32.28
47.47
-96.48
-200 to 1400
Carbon dioxide
25.45
45.49
-86.49
-100 to 1400
Hydrogen chloride
-9.554
54.45
-96.56
-120 to 1400
Ammonia
-9.372
38.99
-44.05
-200 to 1200
Water Hydrogen peroxide
-31.89 5.381
41.45
-8.272
0 to 1000
28.98
38.40
-80 to 1000
-37.51
-160 to 1200
Hydrogen
21.87
22.2
Nitrogen
30.43
49.89
-109.3
-160 to 1200
Oxygen
18.11
66.32
-187.9
-160 to 1000
Ethylene Methane
3.586 15.96
35.13
-80.55
-100 to 800
34.39
-81.40
-80 to 1000
Ethane
5.576
30.64
-53.07
-80 to 1000
Propane
4.912
27.12
-38.06
-80 to 1000
32.45
-72.32
0 to 1000
27.11
-40.18
0 to 1000
Benzene Toluene
-15.76 -8.421
Aniline
-14.98
29.03
-1.116
0 to 1000
Phenol
-16.41
32.00
0
0 to 1000
Cyclopropane
-7.787
34.78
-81.3
0 to 1000
Cyclohexane
-4.705
26.32
-44.1
0 to 1000
34.32
-80.8
0 to 1000
1,3 Butadiene
-10.67
Methanol
-5.636
34.45
-3.34
0 to 900
Chloroform
-6.688
37.26
-50.87
0 to 1000
5.698
32.73
-40.28
0 to 1000
Carbon tetrachloride
By Permission: C. L. Yaws et al. Physical Properties, A Chemical Engineering publication, McGraw-Hill, New York, 1977.
821
Appendix B Table B-1 Compressibility Factor of Natural Gas ***************************************************************************** TEMPERATURE, 6O. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500.
oF
psia.
SPECIFIC .550 COMPRESSIBILITY .98160 .97934 .97263 .96270 .95042 .93651 .92156 .90610 .89053 .87520 .86041 .84636 .83322 .82110 .81008 .80021 .79151 .78399 .77767 .77253 .76860 .76586 .76432 .76395 .76473
822
GRAVITY
FACTOR
Z
Table B-1 (continued) ***************************************************************************** TEMPERATURE, 60. PRESSURE 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .550 COMPRESSIBILITY .76663 .76960 .77354 .77838 .78401 .79032 .79718 .80447 .81208 .81989 .82780 .83573 .84363 .85144 .85916 .86678 .87436 .88195 .88966 .89761 .90597 .91495 .92478 .93575 .94817
823
GRAVITY
FACTOR
Z
Table B-2 Compressibility Factor of Natural Gas ***************************************************************************** TEMPERATURE, 70. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .550 COMPRESSIBILITY .98208 .98046 .97453 .96546 .95411 .94117 .92721 .91272 .89810 .88369 .86975 .85649 .84406 .83257 .82209 .81267 .80432 .79706 .79089 .78583 .78187 .77903 .77729 .77665 .77710 .77859 .78109 .78452 .78880 .79383 .79951 .80572 .81234 .81926 .82638 .83360 .84085 .84806 .85519 .86223 .86919 .87610 .88303 .89006 .89733 .90499 .91323 .92228 .93241 .94392
824
GRAVITY
FACTOR
Z
Table B-3 Compressibility Factor of Natural Gas ***************************************************************************** TEMPERATURE, 80. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. I000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .550 COMPRESSIBILITY .98250 .98147 .97625 .96798 .95750 .94547 .93243 .91886 .90513 .89158 .87845 .86594 .85419 .84330 .83334 .82434 .81634 .80933 .80333 .79834 .79437 .79143 .78952 .78864 .78878 .78990 .79197 .79492 .79868 .80317 .80826 .81387 .81987 .82616 .83264 .83922 .84582 .85239 .85889 .86531 .87165 .87794 .88425 .89066 .89729 .90429 .91185 .92017 .92952 .94017
825
GRAVITY
FACTOR
Z
Table B-4 Compressibility Factor of Natural Gas **************************************************************************** TEMPERATURE, 90. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .550 COMPRESSIBILITY .98288 .98238 .97781 .97029 .96061 .94943 .93726 .92455 .91167 .89893 .88657 .87476 .86366 .85334 .84387 .83529 .82762 .82085 .81501 .81010 .80613 .80311 .80105 .79995 .79980 .80058 .80226 .80477 .80806 .81203 .81658 .82163 .82705 .83275 .83864 .84462 .85063 .85661 .86253 .86836 .87413 .87984 .88558 .89141 .89745 .90385 .91076 .91841 .92702 .93688
826
GRAVITY
FACTOR
Z
Table B-5 Compressibility Factor of Natural Gas **************************************************************************** TEMPERATURE, I00. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .550 COMPRESSIBILITY .98321 .98320 .97923 .97239 .96348 .95308 .94173 .92983 .91775 .90577 .89413 .88300 .87251 .86274 .85374 .84556 .83820 .83167 .82599 .82116 .81720 .81411 .81192 .81062 .81021 .81067 .81199 .81410 .81694 .82043 .82449 .82901 .83390 .83905 .84439 .84982 .85528 .86071 .86608 .87137 .87660 .88179 .88699 .89228 .89778 .90360 .90993 .91694 .92487 .93398
827
GRAVITY
FACTOR
Z
Table B-6 Compressibility Factor of Natural Gas TEMPERATURE, 60. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .600 COMPRESSIBILITY .96443 .95901 .94996 .93810 .92410 .90857 .89204 .87496 .85775 .84077 .82432 .80866 .79403 .78060 .76851 .75787 .74877 .74124 .73532 .73098 .72821 .72695 .72715 .72871 .73155 .73556 .74062 .74663 .75345 .76096 .76903 .77756 .78642 .79552 .80475 .81403 .82330 .83251 .84163 .85066 .85961 .86852 .87748 .88658 .89598 .90584 .91638 .92786 .94058 .95488
828
GRAVITY
FACTOR
Z
Table B-7 Compressibility Factor of Natural Gas **************************************************************************** TEMPERATURE, 70. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. 1000. 1100. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .600
GRAVITY
COMPRESSIBILITY .96511 .96051 .95238 .94152 .92858 .91413 .89868 .88267 .86649 .85049 .83495 .82015 .80628 .79352 .78201 .77186 .76314 .75589 .75015 .74589 .74311 .74175 .74175 .74304 .74553 .74912 .75370 .75917 .76540 .77229 .77970 .78754 .79569 .80406 .81255 .82110 .82963 .83810 .84649 .85478 .86300 .87119 .87942 .88779 .89643 .90552 .91525 .92587 .93767 .95097
829
FACTOR
Z
Table B-8 Compressibility Factor of Natural Gas **************************************************************************** TEMPERATURE, 80. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. I000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4OO0. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .600 COMPRESSIBILITY .96572 .96186 .95459 .94466 .93271 .91927 .90483 .88983 .87462 .85955 .84490 .83090 .81776 .80565 .79470 .78502 .77667 .76971 .76415 .75999 .75721 .75576 .75560 .75665 .75882 .76203 .76618 .77115 .77684 .78315 .78995 .79716 .80465 .81235 .82016 .82802 .83587 .84366 .85136 .85898 .86653 .87404 .88160 .88928 .89723 .90560 .91458 .92440 .93534 .94770
830
GRAVITY
FACTOR
Z
Table B-9 Compressibility Factor of Natural Gas **************************************************************************** TEMPERATURE, 90. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. I000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .600
GRAVITY
COMPRESSIBILITY .96626 .96308 .95660 .94754 .93650 .92401 .91054 .89648 .88220 .86801 .85419 .84096 .82852 .81703 .80662 .79739 .78941 .78273 .77735 .77330 .77053 .76902 .76872 .76955 .77144 .77431 .77805 .78257 .78777 .79354 .79979 .80640 .81329 .82037 .82756 .83478 .84199 .84915 .85622 .86322 .87014 .87703 .88396 .89102 .89832 .90602 .91429 .92337 .93351 .94499
831
FACTOR
Z
Table B-IO Compressibility Factor of Natural Gas **************************************************************************** TEMPERATURE, i00. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .600 COMPRESSIBILITY .96674 .96419 .95843 .95018 .94000 .92840 .91583 .90266 .88926 .87590 .86287 .85037 .83860 .82771 .81782 .80903 .80141 .79499 .78981 .78586 .78312 .78156 .78113 .78178 .78341 .78596 .78934 .79345 .79819 .80348 .80920 .81528 .82161 .82811 .83472 .84136 .84798 .85455 .86104 .86745 .87380 .88012 .88647 .89293 .89964 .90672 .91434 .92273 .93212 .94279
832
GRAVITY
FACTOR
Z
Table B-11 Compressibility Factor of Natural Gas ***************************************************************************** TEMPERATURE, 60. PRESSURE I00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .650
GRAVITY
COMPRESSIBILITY .94835 .93926 .92722 .91276 .89642 .87870 .86004 .84088 .82161 .80258 .78414 .76659 .75021 .73524 .72189 .71033 .70067 .69302 .68738 .68375 .68206 .68223 .68411 .68756 .69242 .69851 .70565 .71370 .72248 .73185 .74169 .75188 .76231 .77288 .78353 .79418 .80478 .81531 .82573 .83606 .84632 .85656 .86688 .87737 .88819 .89954 .91163 .92474 .93919 .95536
833
FACTOR
Z
Table B-12 Compressibility Factor of Natural Gas **************************************************************************** TEMPERATURE, 70. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .650 COMPRESSIBILITY .94926 .94120 .93025 .91696 .90180 .88527 .86780 .84979 .83162 .81365 .79618 .77953 .76395 .74969 .73694 .72588 .71663 .70926 .70381 .70027 .69856 .69861 .70029 .70345 .70794 .71358 .72022 .72769 .73584 .74455 .75368 .76313 .77280 .78259 .79245 .80230 .81210 .82183 .83145 .84098 .85045 .85990 .86941 .87910 .88910 .89959 .91079 .92296 .93640 .95147
834
GRAVITY
FACTOR
Z
Table B-13 Compressibility Factor of Natural Gas **************************************************************************** TEMPERATURE, 80. PRESSURE I00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .650 COMPRESSIBILITY .95008 .94295 .93303 .92081 .90677 .89136 .87501 .85809 .84098 .82400 .80747 .79167 .77687 .76329 .75114 .74058 .73172 .72465 .71940 .71595 .71426 .71422 .71573 .71863 .72279 .72803 .73420 .74115 .74874 .75683 .76531 .77408 .78305 .79213 .80125 .81037 .81943 .82841 .83730 .84609 .85482 .86354 .87231 .88125 .89049 .90019 .91056 .92186 .93435 .94839
835
GRAVITY
FACTOR
Z
Table B-14 Compressibility Factor of Natural Gas TEMPERATURE, 90. PRESSURE I00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .650 COMPRESSIBILITY .95082 .94455 .93557 .92435 .91136 .89701 .88170 .86582 .84971 .83368 .81805 .80307 .78902 .77611 .76453 .75445 .74599 .73922 .73417 .73084 .72916 .72907 .73043 .73311 .73697 .74185 .74760 .75408 .76115 .76868 .77657 .78471 .79303 .80145 .80990 .81834 .82672 .83501 .84322 .85133 .85938 .86742 .87551 .88376 .89228 .90125 .91085 .92133 .93295 .94602
836
GRAVITY
FACTOR
Z
Table B-15 Compressibility Factor of Natural Gas ***************************************************************************** TEMPERATURE, i00. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .650 COMPRESSIBILITY .95149 .94600 .93790 .92761 .91559 .90224 .88793 .87303 .85786 .84274 .82796 .81378 .80044 .78817 .77715 .76755 .75947 .75300 .74816 .74495 .74331 .74317 .74441 .74691 .75051 .75506 .76044 .76648 .77307 .78009 .78743 .79501 .80273 .81054 .81837 .82618 .83393 .84160 .84917 .85665 .86408 .87149 .87894 .88655 .89442 .90270 .91159 .92131 .93211 .94429
837
GRAVITY
FACTOR
Z
Table B-16 Compressibility Factor of Natural Gas
TEMPERATURE, 60. PRESSURE I00. 200. 300. 400. 500. 600. 700. 800. 900. i000. Ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .700 COMPRESSIBILITY .93263 .91942 .90381 .88617 .86692 .84646 .82520 .80352 .78179 .76039 .73966 .71995 .70158 .68488 .67009 .65746 .64714 .63925 .63382 .63083 .63018 .63173 .63527 .64060 .64746 .65562 .66486 .67495 .68571 .69697 .70859 .72045 .73247 .74455 .75664 .76868 .78064 .79249 .80424 .81590 .82749 .83908 .85077 .86267 .87494 .88778 .90143 .91618 .93237 .95040
838
GRAVITY
FACTOR
Z
Table B-17 Compressibility Factor of Natural Gas ***************************************************************************** TEMPERATURE, 70. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. I000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .700 COMPRESSIBILITY .93383 .92188 .90756 .89125 .87332 .85417 .83419 .81374 .79318 .77287 .75316 .73437 .71684 .70086 .68669 .67456 .66464 .65703 .65178 .64886 .64817 .64958 .65289 .65789 .66434 .67202 .68070 .69017 .70025 .71079 .72165 .73272 .74391 .75515 .76638 .77755 .78864 .79963 .81050 .82129 .83201 .84274 .85355 .86456 .87593 .88783 .90051 .91423 .92932 .94614
839
GRAVITY
FACTOR
Z
Table B-18 Compressibility Factor of Natural Gas TEMPERATURE, 80. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. I000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .700 COMPRESSIBILITY .93491 .92411 .91100 .89592 .87924 .86133 .84256 .82329 .80385 .78460 .76587 .74798 .73125 .71598 .70242 .69080 .68128 .67397 .66891 .66607 .66538 .66668 .66980 .67451 .68061 .68785 .69603 .70494 .71440 .72428 .73444 .74477 .75521 .76567 .77611 .78649 .79677 .80695 .81702 .82700 .83693 .84685 .85684 .86704 .87756 .88860 .90037 .91313 .92718 .94288
840
GRAVITY
FACTOR
Z
Table B-19 Compressibility Factor of Natural Gas **************************************************************************** TEMPERATURE, 9O. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .70O COMPRESSIBILITY .93589 .92615 .91416 .90024 .88473 .86799 .85037 .83221 .81385 .79561 .77782 .76080 .74485 .73027 .71731 .70619 .69708 .69007 .68522 .68250 .68182 .68304 .68600 .69047 .69625 .70310 .71083 .71923 .72814 .73741 .74693 .75659 .76633 .77608 .78579 .79543 .80498 .81441 .82374 .83298 .84215 .85133 .86058 .87001 .87975 .88998 .90091 .91277 .92586 .94051
841
GRAVITY
FACTOR
Z
Table B-20 Compressibility Factor of Natural Gas TEMPERATURE, i00. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .700 COMPRESSIBILITY .93677 .92801 .91706 .90422 .88981 .87418 .85765 .84055 .82321 .80594 .78906 .77287 .75769 .74378 .73141 .72078 .71207 .70538 .70074 .69814 .69750 .69868 .70150 .70577 .71127 .71778 .72510 .73304 .74144 .75016 .75909 .76814 .77724 .78633 .79538 .80434 .81320 .82195 .83059 .83914 .84763 .85612 .86467 .87340 .88242 .89190 .90204 .91307 .92527 .93894
842
GRAVITY
FACTOR
Z
Table B-21 Compressibility Factor of Natural Gas **************************************************************************** TEMPERATURE, 60. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .750 COMPRESSIBILITY .91676 .89894 .87920 .85783 .83515 .81149 .78720 .76262 .73811 .71403 .69075 .66866 .64813 .62953 .61318 .59936 .58829 .58009 .57483 .57244 .57280 .57572 .58092 .58813 .59701 .60728 .61862 .63080 .64357 .65675 .67019 .68378 .69742 .71106 .72463 .73811 .75147 .76471 .77782 .79084 .80381 .81680 .82990 .84324 .85699 .87136 .88660 .90302 .92099 .94090
843
GRAVITY
FACTOR
Z
Table B-22 Compressibility Factor of Natural Gas **************************************************************************** TEMPERATURE, 70. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .750 COMPRESSIBILITY .91829 .90199 .88377 .86390 .84268 .82044 .79751 .77423 .75093 .72797 .70573 .68457 .66487 .64698 .63124 .61791 .60721 .59927 .59415 .59179 .59208 .59481 .59974 .60657 .61499 .62472 .63545 .64694 .65898 .67137 .68398 .69671 .70946 .72217 .73482 .74735 .75977 .77206 .78423 .79630 .80832 .82036 .83250 .84487 .85764 .87099 .88517 .90047 .91723 .93584
844
GRAVITY
FACTOR
Z
Table B-23 Compressibility Factor of Natural Gas TEMPERATURE, 80. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .750 COMPRESSIBILITY .91968 .90479 .88798 .86951 .84968 .82879 .80716 .78511 .76299 .74113 .71989 .69965 .68076 .66358 .64844 .63561 .62530 .61764 .61268 .61039 .61064 .61323 .61792 .62442 .63244 .64168 .65186 .66274 .67410 .68577 .69763 .70955 .72148 .73336 .74514 .75681 .76835 .77976 .79105 .80225 .81339 .82454 .83580 .84727 .85911 .87151 .88470 .89895 .91458 .93197
845
GRAVITY
FACTOR
Z
Table B-24 Compressibility Factor of Natural Gas **************************************************************************** TEMPERATURE, 90. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .750 COMPRESSIBILITY .92094 .90735 .89186 .87470 .85618 .83657 .81618 .79532 .77433 .75352 .73327 .71391 .69583 .67936 .66482 .65248 .64257 .63520 .63043 .62823 .62847 .63096 .63546 .64168 .64935 .65815 .66784 .67816 .68890 .69992 .71108 .72227 .73345 .74455 .75554 .76640 .77714 .78774 .79821 .8O86O .81892 .82926 .83969 .85033 .86131 .87283 .88509 .89836 .91294 .92919
846
GRAVITY
FACTOR
Z
Table B-25 Compressibility Factor of Natural Gas TEMPERATURE, i00. PRESSURE i00. 200. 300. 400. 500. 600. 700. 800. 900. i000. ii00. 1200. 1300. 1400. 1500. 1600. 1700. 1800. 1900. 2000. 2100. 2200. 2300. 2400. 2500. 2600. 2700. 2800. 2900. 3000. 3100. 3200. 3300. 3400. 3500. 3600. 3700. 3800. 3900. 4000. 4100. 4200. 4300. 4400. 4500. 4600. 4700. 4800. 4900. 5000.
oF
psia.
SPECIFIC .750 COMPRESSIBILITY .92209 .90969 .89543 .87951 .86221 .84382 .82461 .80490 .78499 .76520 .74589 .72741 .71011 .69432 .68038 .66855 .65904 .65198 .64742 .64532 .64558 .64800 .65234 .65833 .66568 .67411 .68335 .69316 .70336 .71378 .72430 .73483 .74531 .75569 .76595 .77608 .78607 .79592 .80565 .81528 .82485 .83443 .84410 .85396 .86415 .87485 .88625 .89861 .91221 .92739
847
GRAVITY
FACTOR
Z
Appendix C COMPILING THE FORTRAN SOURCE CODE The FORTRAN source code, like any high level code, is a compiler language, and the programmer must translate (compile) the code to be recognized by the computer. An intermediate program called a compiler is required to expedite this translation. The compiler used for translating (compiling) the programs in this book is the Microsoft (MS) F O R T R A N Version 5 compiler, developed and marketed by the Microsoft Corporation. Both FORTRAN Compiler Version 5 and the latest Version 5.1 are designed for compiling a FORTRAN source program on the personal computer. The MS-FORTRAN compiler consists of a set of floppy diskettes, a reference manual, and a user's guide. These give information about the files on the diskettes, and how they are used. To compile the FORTRAN source code, the programmer needs a personal computer with a hard disk having a minimum of five megabyte disk space. The FORTRAN source program is written and edited by using any text editor or word processor. This is entered on the program with an appropriate filename, with the extension FOR. An object program (extension OBJ) and an executable program (extension EXE) with the same filename as the source program are created during compilation and stored on the program. The source code is created using the Microsoft FORTRAN text editor or a word processor in non-document mode. Using Microsoft text editor, the source code of a file PROG 11.FOR can be created from the C:\> prompt, command line by typing: C:k>m P R O G l l . F O R The following procedure compiles and links the source code. 848
Appendix C
849
From the C:\>prompt command line, type fl/c/4Yb/FsCon PROGll.FOR where/c = compiles without linking the source code /4Yb = Enables the extended error handling at run time /FsCon = Produces a source code listing on the screen The following messages will appear on the screen:
Microsoft ~a) FORTRAN Optimizing Compiler Version 5.00 Copyright
link PROG ll,,nul,llibfore/exe/nodef, nul The following messages will appear on the screen:
Microsoft ~a) Segmented - Executable Linker Version 5.03 Copyright ~c) Microsoft Corp 1984-1989. All rights reserved. A few seconds are required to compile the link step. When the drive light stops blinking, the C:\>prompt will return to the screen. Compilation is then complete. A directory listing the files will include the following:
9 9 9 9
PROG.FOR PROGll.OBJ PROGll.EXE PROGll.LST
Files with extensions MAP, and LST can be created and stored at the direction of the compiler program during compilation. The text for these files many be displayed, however only two files, PROG11.FOR and PROG11.LST will be displayed in readable form. The files with the extensions OBJ, MAP and EXE will be displayed in machine codes.
Executing the FORTRAN Program Results of P R O G l l are obtained by executing or running the program from the C:\> prompt. The executable filename is typed either with or without the extension (EXE).
850
Fortran Programs for Chemical Process Design
C:\>PROGll After compilation has been completed, an executable file is created and stored, and the results are obtained. The files with extensions F O R and EXE are retained. Other files with the extensions OBJ, MAP, LST, and BAK resulting from editing the source program may be deleted to create more space on the hard disk drive.
Creating a Batch File A batch file is a file containing one or more Disk Operating System (DOS) commands which are automatically executed one at a time when the batch command is initiated. A batch file can be assigned any suitable filename but must have the extension BAT. The batch file can be created by copying from the console (keyboard) with the internal COPY command or from a text editor or a word processor. Using the Microsoft text editor, creating a batch file C O M P I L E . B A T from compiling and running the computer program PROG 11 involves the following sequence of commands. From the C:\>prompt command line, type C:\>m COMPILE.BAT The text editor screen is displayed and the following commands can then be typed.
@ECHO OFF @ECHO C O M P I L E THE S O U R C E P R O G R A M P R O G l l fl/c/4Yb/FsCon PROGll.FOR @ ECHO LINK THE OBJECT CODE OF P R O G R A M P R O G l l link PROGll,,nul,llibfore/exe/nodef, nul @ECHO run the executable code of program PROGI1 PROGll Errors Errors detected during the compilation are located by the source program line number and appropriate numbered error messages are displayed. The error message numbers refer to the MS-FORTRAN error messages listed in the Microsoft FORTRAN User's Guide. Errors detected during the compilation are usually errors in FORTRAN syntax or procedure. Compilation is aborted when errors are detected, and the C:\>prompt is displayed. A source program may not be executed successfully even though no errors are detected during compilation. These
Appendix C
851
are known as run time errors. These types of errors abort execution and display error messages to assist in identifying the errors. These error messages may be explicit and are sometimes difficult to detect. Examples of these errors are an attempt to calculate the square root of a negative number or divide by zero. A way of de-bugging errors is by having print or write statements at various stages of computation. Alternatively, a debugger software tool can be used to permit the programmer to execute his program one instruction at a time, and thus allows him to examine the state of his program variables after any instruction. Microsoft provides a high-level code degugger (CodeView) for this purpose.
Running the FORTRAN Program Once the program has been typed into the computer using a text editor or a word processor in non-document mode and stored in a file, it must be compiled. A compiler is a program that translates a high-level language to machine language. The compilation step is the first stage in running the FORTRAN program on the computer. As the compiler translates statements, it also checks for syntax errors. These errors, also called compiler errors, are errors in the statements such as misspellings and punctuation errors. If these errors are detected, the compiler will print error messages or diagnostics for the programmer. After debugging the program, it can be recompiled using the MS-FORTRAN compiler. After a successful compilation, a linkage editor program performs the final stage before the program is executed. The FORTRAN program is often referred to as the source program. The source code is converted into the machine language by the compiler and prepared for execution by the linkage editor. The linking process inserts pieces of the program in the right places in the object code to produce an executable program. This is sometimes known as a binary program, which is stored in a file. The data are inputted in the execution stage to obtain the output. This process is illustrated by the following block diagram. Data
FORTRAN source program
Compiler and linkage Stages
Object program
Executing Stage
Computer Output
The procedures given will enable users and readers of this book to readily compile and run all the source codes contained in the diskette.
Index Compressors, 420 Conditions of use, 376 Control valve for liquid, gas, steam, and two-phase flows, 340-345 Control valve sizing, 337 Corner taps, 332 Correction factors for control valve flow coefficient, 342 Correlation coefficient, 9, 10, 15, 18 Cramer's rule, 5 Critical condition, 343 Critical pressure, 163 Critical velocity, 162 Croker's equation, 163 Curve fitting program, 2 Cyclone collection efficiency, 280-281 Cyclone design, 274-284 Cyclone design factor, 281 Cyclone design procedure, 275-283 Cyclones, 257 Demister separators, 257 Density of liquids, 104 Desiccant reactivation, 290 Difference table, A, 30, 32 Diffusion coefficients (Diffusities), 122 Discharge reactive forces, 357 Discharge system, 375 Discharge temperature, 430 Dished ends, 268-269 Effect of back pressure, 355 Effect of pressure drop on pipework, 356-357 Ellipsoidal dished head, 272
ASME Unfired Pressure Code Section VIII, Division I, 272 Acentric factor, 112 Adams-Moulton fourth step method, 44 Adiabatic calorimetry, 362 Adiabatic compressor, 429 Adiabatic flow, 160 Adsorption by solid desiccants, 284-288 Affinity laws, 443-447 Air sizing, 352-353 Algorithm, 27 Applicability of recommended vent sizing methods, 377 Area of the segment, 268 Baker's map, 172 Bernoulli's equation, 166 Bernoulli's equation, 152 Bisection method, 26 Blackwell's polynomial, 260, 262 Boyle, W.J., 366 Brake horsepower, 442 Break horsepower, 431 Cavitation, 346 Centrifugal compressors, 421-422 Centrifugal pump efficiency, 441-443 Centrifugal pumps, 436 Choked flow, 339-340 Coefficient of determination, 8, 10, 15, 18 Coefficient of discharge, 332 Coker's analytical equations, 176 Colebrook, 24, 157 Compressibility Z factor, 125 Compressible fluid flow, 160
852
Index Elliptical ends, 268-269 Equipment sizing, 256 Equivalent length, 154 Erosion corrosion, 179-180 Error mean squares, 10 Error sum of squares, 8-11 Euler and Modified Euler methods, 40 Excess head loss, 154 F-distribution, 11, 15 Fauske's method, 371-373 First order ordinary differential equations, 39 Fittings, 155-157 Flange taps, 332 Flashing and cavitation, 340 Flashing steam condensate, 183-186 Flow coefficients for control valves, 341 Flow patterns, 172 Flow rate, 166-170 Flow regimes, 173-176 Free energies of formation, 118 Fuller, Schettler and Giddings, 123, 128 Gas dryer (Dehydrating) design, 284-291 Gas horsepower, 428 Gas or vapor sizing, 348-351 Gas phase diffusion coefficients, 123 Gauss elimination, 19 Gauss-Jordan method, 19 Gauss-Seidel method, 19-24 Gaussian Quadrature, 37 Globe valves, 337-338 Head blank diameter, 273-274 Head loss, 154 Heat capacities of gases, 114 Heat capacity of liquids, 104 Heats of formation, 115 Hemispherical ends, 268-270 Hemispherical head, 272 Herning-Zipperer correlation, 121 Homogeneous two-phase venting, 373-374 Hooper, W.W., 155 Horizontal drum, 264-266 Horizontal ends, 268-269 Hydraulic brake horsepower, 442 Hydraulics of the system, 437-439 Incompressible fluids, 150-160 Installation, 345-346
853
Instrument sizing, 331 Interpolating polynomials, 32 Interpolations, 30 Isothermal flow, 160 Knockout or surge drums, 256-258 Laminar flow, 159 Leung's method, 370-371 Linear interpolation (regula-falsi method), 27 Linear regression, 2, 6 Linearize, 14 Liquid phase diffusion coefficients, 123 Liquid sizing, 351-352 Mach number, 162-165 Mak, 163 Mathematical modeling, 166-171 Matrix, 14-24 Maximum flow, 161 Mechanical losses, 431 Milne's method, 44 Multi-step methods, 43 Multiple regression, 12 Newton Raphson method, 28 Newton-Gregory backward polynomial, 33 Newton-Gregory forward polynomial, 32 Noise, 346 Noise suppression, 355-356 Nonlinear equations, 24 Nonlinear functions, 2 Nth order differential equations, 38 Ordinary differential equations, 37 Orifice sizes for relief valves, 360 Orifice sizing for liquid and gas flows, 331-337 Overall pressure drop, 158-159 Packed beds, 186-189 Partly filled vessels and tanks, 268-271 Physical property data, 103 Pipe enlargement, 156 Pipe reduction, 156 Pipe taps, 332 Piping requirements, 266-267 Polynomial regression, 15 Polytropic compressor, 426 Pressure drop, 161 Pressure drop, 339 Pressure drop, 170-171
854
Fortran Programs for Chemical Process Design
Pressure drop, 279-280 Pressure drop, 288-289 Pressure drop, 154-159 Pressure drop, 176-179 Pressure relief design verification, 359 Pump hydraulics calculations, 439-441 Radius taps, 332 Reciprocating compressors, 422 Redlich-Kwong, 25 Regression sum of squares, 8-11 Relief valve location, 357-358 Relief valve sizing, 347 Reynolds number, 154 Runaway reaction, 361-362 Runge-Kutta methods, 41-42 Runge-Kutta-Gill method, 42 Runge-Kutta-Merson method, 43 Safety relief valve, 160 Saltation velocity, 278-279 Screen handling, 189-194 Secant method, 29 Shell thickness, 272-273 Simplified Nomograph method, 366-369 Simpson's 1/3 Rule, 36 Simpson's 3/8 Rule, 36 Simultaneous linear equations, 18 Solution of integration, 34 Sonic velocity, 162 Steam sizing, 351 Stifling central difference, 34 Subcritical condition, 343 Surface tensions of liquids, 110
Surge control of, 433-434 Tail pipe, 160 Taylor series expansion, 39 Thermal conductivity of gases, 120 Thermal conductivity of liquids, 109 Torispherical head, 273 Total mean squares, 10 Total sum of squares, 7-11 Treatment of, 435 Trouble shooting cyclone maloperations, 280 Turbulent flow, 159 Two-phase flow, 172 Two-phase flow relief sizing, 361 Two-phase flow through an orifice, 374-375 Two-phase vertical downflow, 181-183 Typical relief valves, 348-350 Underwood, 25 Upstream velocity, 163 Vapor pressure, 111 Vena-Contracta taps, 332 Vent areas and diameters of, 367 Vent sizing methods, 370 Vertical separators, 259-264 Vessel design, 271-273 Viscosity of gases, 121 Viscosity of liquids, 104 Water, 103 Watkin's correlation, 260 Wilke-Chang method, 123, 127 fire sizing, 353-355