Professional Documents
Culture Documents
ebook download Flow Analysis for Hydrocarbon Pipeline Engineering 1st Edition - eBook PDF all chapter
ebook download Flow Analysis for Hydrocarbon Pipeline Engineering 1st Edition - eBook PDF all chapter
ebook download Flow Analysis for Hydrocarbon Pipeline Engineering 1st Edition - eBook PDF all chapter
https://ebooksecure.com/download/hydrocarbon-biorefinery-
sustainable-processing-of-biomass-for-hydrocarbon-biofuels-ebook-
pdf/
https://ebooksecure.com/download/flow-assurance-volume-ii-ebook-
pdf/
http://ebooksecure.com/product/ebook-pdf-energy-deposition-for-
high-speed-flow-control/
https://ebooksecure.com/download/thermodynamics-and-applications-
in-hydrocarbon-energy-production-ebook-pdf/
Hydrocarbon Fluid Inclusions in Petroliferous Basins
1st Edition Nandakumar - eBook PDF
https://ebooksecure.com/download/hydrocarbon-fluid-inclusions-in-
petroliferous-basins-ebook-pdf/
https://ebooksecure.com/download/advanced-algorithms-for-mineral-
and-hydrocarbon-exploration-using-synthetic-aperture-radar-ebook-
pdf/
https://ebooksecure.com/download/entropy-analysis-in-thermal-
engineering-systems-ebook-pdf/
https://ebooksecure.com/download/reaction-mechanisms-in-
environmental-engineering-analysis-and-prediction-ebook-pdf/
http://ebooksecure.com/product/engineering-economic-
analysis-13th-edition-ebook-pdf/
FLOW ANALYSIS FOR
HYDROCARBON
PIPELINE ENGINEERING
ALESSANDRO TERENZI
Saipem S.p.A., Fano, Italy
Alessandro Terenzi
Gulf Professional Publishing is an imprint of Elsevier
50 Hampshire Street, 5th Floor, Cambridge, MA 02139, United States
The Boulevard, Langford Lane, Kidlington, Oxford, OX5 1GB, United Kingdom
This book and the individual contributions contained in it are protected under copyright
by the Publisher (other than as may be noted herein).
Notices
Knowledge and best practice in this field are constantly changing. As new research and
experience broaden our understanding, changes in research methods, professional
practices, or medical treatment may become necessary.
Practitioners and researchers must always rely on their own experience and knowledge in
evaluating and using any information, methods, compounds, or experiments described
herein. In using such information or methods they should be mindful of their own safety
and the safety of others, including parties for whom they have a professional
responsibility.
To the fullest extent of the law, neither the Publisher nor the authors, contributors, or
editors, assume any liability for any injury and/or damage to persons or property as a
matter of products liability, negligence or otherwise, or from any use or operation of any
methods, products, instructions, or ideas contained in the material herein.
ISBN: 978-0-12-822466-3
v j
vi Contents
References 118
Further reading 119
Index 343
CHAPTER ONE
Basics of hydrocarbons
thermodynamics
Contents
1.1 Introduction 1
1.2 Equation of state 2
1.3 Other real fluid properties 4
1.4 The principle of corresponding states 5
1.5 Equilibrium and stability of one-component fluids 10
1.6 Vaporeliquid equilibrium for one-component fluids 14
1.7 Vaporeliquid equilibrium for multicomponent fluids 21
1.8 Equation of state for multicomponent mixtures 29
1.9 Phase diagrams of reservoir fluids 32
References 38
Further reading 39
1.1 Introduction
Hydrocarbons transported by pipeline systems are usually composed
by a large number of components; at ambient temperatures, some of them
are present in the gas phase, while others are liquids. Some heavier compo-
nents may also appear as solid in some critical operating conditions (hy-
drates, waxes). Water is often present in the transported fluid mixture,
and it is usually treated as a separate phase, even if a hydrocarbon liquid
is present. The behavior of hydrocarbon mixtures depends on their com-
positions as well as the pressure and temperature conditions encountered.
The thermodynamics of mixtures is determined by the contributions of
single components; for this reason, the properties of single components
are covered first. The treatment begins with the description of the equa-
tions of state, defining the relationship between the main fluid properties;
starting with the simplest approach based on ideal gas model, more com-
plex and realistic models are introduced. Thermodynamic equilibrium
conditions are discussed by considering the relevant trends of entropy
and free energies, for specific systems. Stable equilibrium occurs when it is
independent on time and its previous history, and it is able to resist to small
thermodynamic parameter fluctuations. These concepts are applied to the
analysis of vaporeliquid phase transformations, referred to both single
components and binary mixtures. The discussion is further extended to
multicomponent mixtures, as typical of hydrocarbon fluids. The descrip-
tion of their properties is developed by treating the interaction of different
components, the phase behavior including a vaporeliquid coexistence
condition occupying a finite region of the pressureetemperature diagram,
retrograde condensation phenomena, the different behaviors of reservoir
fluid as depending on their dominant components, and the interaction
with the water phase.
ZV2
v2 P
CV ðV2 ; T Þ ¼ CV ðV1 ; T Þ T dV (1.9)
vT 2 V
V1
where CP and CV are the constant pressure and constant volume heat ca-
pacities, respectively.
In practice, heat capacity data are usually collected for low pressure con-
ditions or large specific volumes where all fluids are ideal gases. Hence, if P1
or V1 are taken as 0 and N, respectively in Eqs. (1.8) and (1.9) above, it is
possible to write:
ZP 2
v V
CP ðP; T Þ ¼ CP* ðT Þ T dP (1.10)
vT 2 P
0
Basics of hydrocarbons thermodynamics 5
ZV
v2 P
CV ðV ; T Þ ¼ CV* ðT Þ T dV (1.11)
vT 2 V
N
where the asterisk denotes the ideal gas heat capacity. Usually, the tem-
perature dependence of the ideal gas heat capacity is given in polynomial
form as follows:
CP* ðT Þ ¼ A þ BT þ CT 2 þ DT 3 (1.12)
Other thermodynamic variables that allow to calculate the deviations of
the real fluid behavior from the ideal gas status are the “Departure
Functions.”
In particular, it is possible to show that, for what concerns the enthalpy H
and the entropy S, their changes for a real fluid are equal to that of an ideal
gas undergoing the same transformation plus the departure of the fluid from
the ideal gas behavior at the end state less the departure from the ideal gas
behavior at the initial state. These “Departure Functions” can be computed
from the equation of state, based on the following:
ZP
vV
H H IG
¼ V T dP (1.13)
vT P
0
ZP
vV R
SS IG
¼ dP (1.14)
vT P P
0
T1
T2
TC
T3
T4
P
V
Figure 1.1 Isotherms of the Van der Waals EOS in a plane (P,V).
Basics of hydrocarbons thermodynamics 7
where the first and second derivative of P with respect to V vanishes simul-
taneously. This is expressed analytically by the following requirements:
2
vP v P
¼ 0 and ¼ 0 at PC and VC (1.15)
vV TC vV 2 TC
By replacing Eq. (1.3) in the relations (1.15), the following expressions of
the Van der Waals parameters a and b are obtained:
VC 9VC RTC
b¼a¼ (1.16)
3 8
Using (1.16) in the Van der Waals Eq. (1.3), it is possible to get the pres-
sure PC and the compressibility factor ZC at the critical point:
a P C VC 3
PC ¼ 2
ZC ¼ ¼ (1.17)
27b RTC 8
By using the above expressions and by defining the dimensionless vari-
ables called reduced temperature Tr, reduced pressure Pr and reduced vol-
ume Vr
P T V
Pr ¼ ; Tr ¼ ; Vr ¼ (1.18)
PC TC VC
the following form of the Van der Waals equation of state is obtained:
3
Pr þ 2 ð3Vr 1Þ ¼ 8Tr (1.19)
Vr
From (1.19) it is concluded that all the fluids obeying the Van der Waals
equation of state have the same numerical value of reduced volume for given
values of Pr and Tr. Two fluids having the same values of reduced pressure
and temperature are said to be in corresponding states.
The principle of the corresponding states has been historically repre-
sented by drawing the compressibility factor Z as function of reduced pres-
sure and temperature, as shown in Fig. 1.2, where the compressibility data
for several fluids have been reported.
Fig. 1.2 demonstrates that the idea of the corresponding states is reason-
able, since the general trend of the data confirms the similarity represented
by (1.19). However, it can be observed that compressibility factors for inor-
ganic fluids are almost always below those for hydrocarbons. Furthermore, if
(1.19) were universally valid, all fluids would have the same value of the crit-
ical compressibility ZC ¼ 0.375, as shown by (1.17), while for most fluids,
the critical compressibility is in the range 0.23e0.31.
8 Flow Analysis for Hydrocarbon Pipeline Engineering
Figure 1.2 Compressibility factor for several fluids as a function of reduced pressure
and temperature. From Su and Chang (1946).
The modern version of the corresponding states idea is the use of gener-
alized EoS.
The Van der Waals equation is the first example of application of this
approach. In fact, the expressions (1.16), rewritten in terms of the critical
pressure and temperature in this way,
27R2 TC2 RTC
a¼ b¼ (1.22)
64PC 8PC
demonstrate that the thermodynamic properties of a class of fluids with
parameters a and b that have not been derived from a set of experimental data
can be described by knowing the fluid critical properties only. As it was said
before, the Van der Waals equation is not accurate enough, and other more
sophisticated equations are used.
In particular, we consider here the PengeRobinson equation already pre-
sented in Section 1.1, by showing that its generalized form is given by the
following:
RT aðT Þ
P¼ 2 (1.23)
V b V þ 2bV b2
with:
R2 TC2
aðT Þ ¼ 0:45724 aðT Þ (1.24)
PC
RTC
b ¼ 0:0778 (1.25)
PC
rffiffiffiffiffiffiffi 2
T
aðT Þ ¼ 1 þ c 1 (1.26)
TC
This equation can be used to calculate not only the compressibility fac-
tor, but also the departure functions for the other thermodynamic
properties.
Another very popular cubic equation of state used in the oil and gas in-
dustry is the SRK (SoaveeRedlicheKwong):
RT aðT Þ
P¼ (1.28)
V b V ðV þ bÞ
with:
R2 TC2
aðT Þ ¼ 0:42748 aðT Þ (1.29)
PC
RTC
b ¼ 0:08664 (1.30)
PC
rffiffiffiffiffiffiffi 2
T
aðT Þ ¼ 1 þ c 1 (1.31)
TC
where:
U ¼ specific internal energy
Q_ ¼ heat transfer rate
S_ irr ¼ rate of internal generation of entropy by irreversible processes 0
In (1.33) only work due to deformation of the system boundaries is
considered.
For an adiabatic (Q_ ¼ 0) and constant volume system, the system of en-
ergy and entropy balances equations becomes
dU
¼0 (1.35)
dt
dS _
¼ Sirr 0 (1.36)
dt
Since the entropy function can only increase during the approach to
equilibrium due to (1.36), the entropy must be a maximum at equilibrium.
Hence, the equilibrium criterion for a closed and isolated system is as
follows:
S ¼ maximum (1.37)
This principle can be illustrated by referring to the simple system shown
in Fig. 1.3.
The system is composed by two subsystems containing different amounts
of the same molecular species of particles of a single-component fluid (N
represents the number of moles). They are connected by a channel of infin-
itesimal volume equipped by an ideal valve opening instantaneously. The
system is assumed adiabatic and constant volume, exchanging neither mass
neither energy with the external environment. However, the two subsys-
tems can exchange heat and mass across the communication channel
when the valve is open. For the global system, the total number of moles
N, the total internal energy U, the total volume, and the total entropy are
given by the addition of the two subsystems contributions:
N ¼ N1 þ N2 (1.38)
U ¼ U1 þ U 2 (1.39)
V ¼ V 1 þ V2 (1.40)
S ¼ S1 þ S2 (1.41)
By using the fundamental thermodynamic relationships, the entropy
change of each i-th subsystem after communication and mixing of particles
can be expressed as a function of changes in the number of moles, volumes,
and internal energy by the following:
vSi vSi vSi 1 Pi Gi
dSi ¼ dUi þ dVi þ dNi ¼ dUi þ dVi dNi
vUi vVi vNi Ti Ti Ti
(1.42)
where Gi is the i-th subsystem molar Gibbs energy.
The entropy change dS of the overall system can be easily obtained by
summing the two subsystems contributions, by considering that the total
quantities given by (1.38), (1.39), and (1.40) are constant:
1 1 P1 P2 G1 G2
dS ¼ dU1 þ dV1 dN1 (1.43)
T1 T2 T1 T2 T1 T2
Since the entropy must be a maximum at equilibrium, the (1.25) expres-
sion must vanish for system variations, thus obtaining the following:
1 1
¼ 0 T1 ¼ T2 (1.44)
T1 T2
P1 P2
¼ 0 P1 ¼ P2 (1.45)
T1 T2
G1 G2
¼ 0 G1 ¼ G 2 (1.46)
T1 T2
Hence, the equilibrium condition for an adiabatic isolated system states
that all its subsystems must have the same temperature, the same pressure,
and the same molar Gibbs energy.
The above discussion is based on the condition dS ¼ 0, which is neces-
sary but not sufficient for S to reach a maximum value. The further
Basics of hydrocarbons thermodynamics 13
Actually for all the systems considered here, the application of the equi-
librium criteria determines that they are at uniform temperature, pressure,
and molar Gibbs free energy.
The equilibrium and stability conditions for the system under consider-
ation, written for a single-component fluid, are summarized in Table 1.1. It
is possible to show that they are also valid for multicomponent fluids.
From the stability criteria listed in Table 1.1, three fundamental thermo-
dynamic inequalities can be derived for systems considered in a stable equi-
librium state:
vP vU
CV > 0; < 0; > 0 (1.55)
vV T vT
T1
T2
T3
T4
T5
P
V
Figure 1.4 Isotherms on a plane (P,V) predicted by a cubic equation of state.
Isotherm T1 < T3
Isobaric Line
P
Isotherm T1 < T3
P
V L
V V
V
Figure 1.6 Real low-temperature isotherm in a plane (P,V) including the vaporeliquid
phase transition.
where P 0 and P 00 are the minimum and maximum pressure values in the phase
transition region. Graphically, this corresponds to the equality between the
regions A and B of Fig. 1.5, comprised between the horizontal transition line
and the isotherm curve given by the cubic EoS. Fig. 1.4 must be replaced by
Fig. 1.7, showing the true thermodynamic behavior associated to the phase
transition, in which the two-phase mixture region is included inside a dome-
shaped envelope curve crossing the low-temperature isotherms. For
T1
T2
TC
T4
T5
V
Figure 1.7 Real isotherms in a plane (P,V) including the vaporeliquid coexistence
region.
18 Flow Analysis for Hydrocarbon Pipeline Engineering
Critical Point
(TC , PC )
P
T
Figure 1.8 Liquidevapor transition curve in a plane (P,T).
Isotherm T1 < T3
Superheated Liquid
Subcooled Vapour
P
VV VL
V
GIG ðT ; PÞ in (1.67) represents the Gibbs free energy of the fluid treated
as an ideal gas.
The fugacity has in fact the units of pressure, and it becomes equal to the
pressure at pressure low enough that the fluid approaches the ideal gas state.
The reason for introducing this parameter in the phase equilibrium
calculations is that it is directly related to the EoS by the expression
(1.67), and it possible to show that the Gibbs free energy equality crite-
rion shown in (1.59) is equivalent to the equality of fugacities or fugacity
coefficients:
f V ðT ; PÞ ¼ f L ðT ; PÞ (1.68)
fV ðT ; PÞ ¼ fL ðT ; PÞ (1.69)
For low pressure liquids, it can be found that the fugacity is equal to its
vapor pressure at the same temperature, that is:
f L ðT ; PÞ ¼ P vap ðT Þ (1.70)
IM
!
G i ðT ; PÞ Gi ðT ; PÞ
fi ðT ; P; yÞ ¼ yi P exp
V
(1.73)
RT
22 Flow Analysis for Hydrocarbon Pipeline Engineering
(2) The fugacity of the i-th component in the liquid phase fi L ðT ; P; xÞ can
be expressed by the activity coefficient model:
vap
fi L ðT ; P; xÞ ¼ xi gi ðT ; P; xÞPi ðT Þ (1.76)
vap
that is, it is proportional to the component vapor pressure Pi ðT Þ
at the
specified temperature. A further simplification can be made if the liquid
phase is assumed to behave as an ideal liquid mixture (gi ðT ; P; xÞ ¼ 1):
vap
fiL ðT ; P; xÞ ¼ xi Pi ðT Þ (1.77)
The application of the equilibrium condition (1.56) becomes the
following:
vap
yi P ¼ Pi ¼ xi Pi ðT Þ (1.78)
By summing (1.63) over all components we obtain the following:
X vap
P¼ xi Pi ðT Þ (1.79)
i
Eq. (1.79), called Raoult’s law, shows that the total pressure of an ideal
mixture P is given by the sum of the products of liquid phase mole fractions
by vapor pressure of each component.
Fig. 1.10 shows Eq. (1.79) in graphical form, with reference to a binary
mixture whose lighter component liquid mole fraction is x1 and its vapor
vap
pressure is P1 , while the same parameters relevant to the heavier compo-
vap
nent are called x2 and P2 , respectively. The most important conclusion
drawn from this diagram is that the equilibrium pressure is a linear function
of the liquid phase mole fraction.
Once the equilibrium total pressure has been obtained for a certain liquid
molar composition, the vapor equilibrium composition can be calculated by
(1.78); for instance, the lighter component vapor molar fraction is the
following:
vap
x1 P1
y1 ¼ (1.80)
P
The complete vaporeliquid equilibrium diagram can be built by vary-
ing the liquid molar composition and determining the corresponding va-
por molar composition by (1.80). Fig. 1.11 presents the equilibrium
pressure as function of the composition of both phases at fixed
24 Flow Analysis for Hydrocarbon Pipeline Engineering
0.9
T=fixed
0.8
0.7
P
0.6
P (bar)
x1P1vap
0.5
0.4
0.3
x2P2vap
0.2
0.1
0
0 0.2 0.4 0.6 0.8 1
Lighter Component Mole Fraction in the Liquid Phase
Figure 1.10 Equilibrium pressure and species liquid phase fugacities versus liquid mole
fraction for a low pressure ideal binary mixture at fixed temperature.
1
T=fixed
0.9 Liquid
0.8
x y
0.6
0.5 Vapour
0.4
0.3
0 0.2 0.4 0.6 0.8 1
Lighter Component Mole Fraction
Figure 1.11 Equilibrium pressure versus lighter component mole fraction for a low
pressure ideal binary mixture at fixed temperature.
250
Spinal irritation,
251
252
253
Vaginismus,
246
Vomiting,
254
Synonyms,
206
Treatment,
273
282
283
276
285
286
Climatic,
283
282
283
274
281-286
285
275
280
Gold and sodium chloride, use of,
279
286
287
276
Hydrotherapy in,
281
282
in children,
275
Iron and zinc salts, use in,
278
280
Metallo-therapy,
284
277
278
Mitchell's rest-cure,
279
Moral,
276
Musk, valerian, asafœtida, etc.,
278
Nitrite of amyl,
285
of contractures,
286
of paralyses,
286
of paroxysms,
285
278
287
Prophylactic and hygienic,
274
Sea-bathing in,
283
884
of vertigo,
425
1055
Hysterical headache,
402
insanity,
148
YSTERO-EPILEPSY
288
288
Diagnosis,
307
308
from simulation,
310
307
Etiology,
291
291
Emotional,
293
Painful menstruation,
293
291
History,
289
Pathology,
291
Prognosis,
310
Symptoms,
293
Anæsthesia,
298
Contracture,
297
Digestive,
297
Hallucinations,
301
298
301
of delirium,
301
of emotional attitudes,
301
of epileptoid period,
300
of irregular types,
302
of regular types,
293
of paroxysms,
293
304
306
Ovarian hyperæsthesia,
298
299
Permanent,
307
Prodromal,
297
Treatment,
310
Compression of nerve-trunks,
310
311-313
313
Metallo-therapy,
313
312
313
311
Varieties,
290
I.
720
in cerebral meningeal hemorrhage,
715
in neuritis,
1194
in tubercular meningitis,
736
138
116
117
Illusions in nervous diseases,
20
138
791
319
of hysteria,
222-229
Impulsive insanity,
146
47-50
346
NFANTILE
PINAL
P
ARALYSIS
1113
Anatomical lesions,
1131
1133
1138
1139
1138
1139
1139
Microscopic lesions,
1137
1140-1444
1132
1149
Course of,
1148
Definitions,
1113
1127
1128
Dislocations in,
1130
Mechanism of,
1128
1131
1127