Professional Documents
Culture Documents
net/publication/4265563
CITATIONS READS
50 6,319
2 authors:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by James H. Taylor on 08 September 2015.
Abstract— Oil production facilities proved to have complex provided satisfactory results for such equipment as flash
and challenging dynamic behavior. To address the challenging tanks and distillation columns [2]. The basic equations in
task of control and optimization of such facilities, a dynamic this approach are used to describe the material balances,
mathematical modeling study is done. The focus of this paper
is on the three-phase separator, where each phase dynamics are
equilibrium relations, the composition summation equa-
modeled. The hydrodynamics of liquid-liquid separation are tions, and the enthalpy equations. Nonequilibrium models
modeled based on the API design criteria. Given some simpli- have been developed to describe real physical separation
fying assumptions, the oil and gas phases’ dynamic behaviors processes. other modeling approaches were also considered
are modeled assuming vapor-liquid phase equilibrium at the such as the computational model, the collocation model,
oil surface. In order to validate the developed mathematical and the bubble residence contact time model [3].
model, an oil production facility simulation model is designed
based on such model. The simulation model consists of a The hydrodynamics of the separator’s aqueous part have
two-phase separator followed by a three-phase separator. An been modeled using a complex mathematical-numerical
upset in the oil component of the incoming oil-well stream
is introduced to analyze its effect of the different process
model, which describes the coalescence and settling of
variables and produced oil quality. The simulation results oil droplets in oil-water dispersions. The model takes into
demonstrated the sophistication of the model in spite of its account separator dimensions, flow rates, fluid physical
simplicity. properties, fluid quality and drop size distribution. The
output of the model is the quality of the output oil
[4]. Another model, which describes the kinetics of low
I. INTRODUCTION Reynolds number coalescence of oil droplets in water-oil
The function of an oil production facility is to separate the dispersions, has been developed to give the volumes of
oil well stream into three components, “phases” (oil, gas, separated continuous phase and coalesced drops [5]. A
and water), and process these phases into some marketable computational fluid dynamic (CFD) model was developed
products or dispose them in an environmentally acceptable to model the hydrodynamics of a three-phase separator.
manner. In mechanical devices called ”separators”, gas is The CFD model, which was based on the time averaging
flashed from the liquids and ”free water” is separated from of Navier-stokes equations for three phases, takes into
the oil. These steps remove enough light hydrocarbons to consideration the non-ideal flow due to inlet/oulets and
produce a stable crude oil with the volatility (i.e., vapor internal equipment for separation enhancement [6]. The
pressure) to meet sales criteria. Separators are classified as alternative path model (APM) approach, which exploits the
“two-phase” if they separate gas from the total liquid stream residence time distribution (RTD) of both oil and aqueous
and “three-phase” if they also separate the liquid stream phases in three-phase separators, was developed to give a
into its crude oil and water components. The gas, that is quantitative description of hydrodynamics and mixing in
separated, is compressed and treated for sales [1]. Modeling the aqueous phase [7]. Powers [8] extended the American
such facilities has become very crucial for controller design, Petroleum Institute (API) gravity separator design criteria
fault detection and isolation (FDI), process optimization, to design free water knockout (FWKO) vessels for better
and dynamic simulation. In this paper, we are going to capacity design and performance. Powers showed that the
focus on three-phase gravity separators as they form the API design criteria can handle nonideal flow proven by
main processes in upstream petroleum industry, and have practical RTD experiments.
an economic impact on produced oil quality.
This paper will extend the API static design criteria to
Three-phase separators have rich and complex dynam-
model the hydrodynamics of three phase separators, which
ics, which span from hydrodynamics to thermodynamics
will result in a simpler modeling approach. Furthermore,
and conservation laws. Many modeling techniques and
a simple phase equilibrium model will be developed to
approaches have been used to model three-phase separa-
model the thermodynamic part of the separator. We will
tors. As far as the thermodynamics part (i.e., the oil and
describe the operation of gravity three-phase separators in
gas phases) of the separator, many modeling approaches
section 2. A dynamic model of the separator is developed
have been suggested by the literature. Phase equilibrium
for each phase in section 3, where it can be used to estimate
modeling approach have been used for 50 years and has
the steady state flows, and to study the separator behavior
James H. Taylor is a professor with the Department of Electrical & during other operating conditions. An oil production facility
Computer Engineering, University of New Brunswick, PO Box 4400, simulation model is designed to validate and demonstrate
Fredericton, NB CANADA E3B 5A3 jtaylor@unb.ca the separator behavior during normal operation and upsets
Atalla F. Sayda is a PhD candidate with the Department of Electrical
& Computer Engineering, University of New Brunswick, PO Box 4400, in section 4. Finally simulation results are discussed and
Fredericton, NB CANADA E3B 5A3 atalla.sayda@unb.ca summarized in section 5.
II. T HREE - PHASE GRAVITY SEPARATION PROCESS gas solution flash out the oil phase and reach a state of
DESCRIPTION equilibrium due to pressure drop in the separator. Due to the
Three-phase separators are designed to separate and re- complexity of such phenomena, we are going to focus on
move the free water from the mixture of crude oil and water. the hydrodynamic separation of oil droplets entrained in the
Figure 1 is a schematic of a three phase horizontal separator. aqueous phase and the thermodynamic separation of gas and
The fluid enters the separator and hits an inlet diverter. light hydrocarbons from the oil phase. This decision is jus-
This sudden change in momentum does the initial gross tified by the fact that the water washing process minimizes
separation of liquid and vapor. In most designs, the inlet the water entrained in the oil phase. Furthermore, preceding
diverter contains a downcomer that directs the liquid flow gravity separation processes minimize the amounts of gas
below the oil/water interface. This forces the inlet mixture entrained in the main stream.
of oil and water to mix with the water continuous phase (i.e., Figure 2 illustrates the simplified separation process,
aqueous phase) in the bottom of the vessel and rise to the where an oil-well fluid with molar flow Fin and gas, oil,
oil/water interface. This process is called “water-washing”, and water molar fractions Zg , Zo , Zw respectively enters
and it promotes the coalescence of water droplets which the separator. The hydrocarbon component of the fluid
are entrained in the oil continuous phase. The inlet diverter separates into two parts; the first stream Fh1 separates by
assures that little gas is carried with the liquid, and the gravity and enters the oil phase, and the second stream Fh2
water wash assures that the liquid does not fall on top of stays in the aqueous phase due to inefficient separation.
the gas/oil or oil/water interface, mixing the liquid retained The liquid discharge from the aqueous phase FWout is
in the vessel and making control of the oil/water interface a combination of the dumped water stream FW plus the
difficult. unseparated hydrocarbon stream Fh2 . The gas component
The gas flows over the inlet diverter and then horizontally in the separated hydrocarbon stream, which enters the oil
through the gravity settling section above the liquid. As phase, separates into two parts; the first gas stream Fg1
the gas flows through this section, small drops of liquid flashes out the oil phase due to pressure drop in the
that were entrained in the gas and not separated by the separator, and the second gas stream Fg2 stays dissolved
inlet diverter are separated out by gravity and fall to the in the oil phase. The oil discharge Foout from the separator
gas-liquid interface. Some of the drops are of such a small contains the oil component of the separated hydrocarbon
diameter that they are not easily separated in the gravity Fo and the dissolved gas component Fg2 . The flashed gas
settling section. Before the gas leaves the vessel it passes in the gas phase flows out Fgout the separator for further
through a coalescing section or mist extractor to coalesce processing.
and remove them before the gas leaves the vessel.
Fgout
Mist Gas
extractor Gas Out
Fg1
Inlet
diverter Fg2
Oil Fo + Foout
Fin Fh1
Gas Fh2
Zg, Zo, Zw
Water Fw + F w o u t
Inlet Oil
h
Water
h1
Ac = Vwat /L
Vv
Vh F w a t + ∆ F w a t
∆Vh
Ac = R2 θ − 0.5R2 sin(2θ) φ φ1
Vh Water
Fwat
φ
1 3 sin θ − 3θ cos θ − sin3 θ
L VS1 = R2 L1{θ−0.5 sin(2θ)− [ ]}
3 1 − cos θ
Fig. 3: Oil separation hydrodynamics under normal (5)
operation conditions Furthermore, the volume VS2 can be estimated as the
difference between the volume of the cylindrical segment
The design parameters {Ac , h, θ, Φ} of the aqueous parameterized by {h, L, θ} and the cylindrical wedge pa-
phase will take their nominal values under normal operation rameterized by {h1, L, Φ1}, as in equation 6:
amounts of gas, which will flash out. Since we assumed
1 3 sin θ1 − 3θ1 cos θ1 − sin 3
θ1 that ideal phase equilibrium state is valid, then by applying
VS2 = R2 L{θ−0.5 sin(2θ)− [ ]}
Raoult’s law we can tell how much methane will stay
3 1 − cos θ1
(6) entrained in the oil phase. Raoult’s law relates the vapor
Consequently, we can estimate the unseparated hydrocar- pressure of components to the composition of the solution.
bon fluid volume fraction ε from equation 7: This can mathematically be formulated as yi P = xi Pvi
where yi is the mole fraction of the component i in the vapor
1 − VVS2 L1 > L phase, xi is the mole fraction of component i in the liquid
ε={ S1 (7)
0 else phase, P is the total pressure of the vapor phase (i.e., the
separator working pressure), and Pvi is the vapor pressure
of component i [9], [10].
Since we have only one flashing light hydrocarbon (i.e.,
Fin
L Methane), this implies that the mole fraction of methane
Ac in the vapor phase is y = 1, and that the mole fraction
θ S1 of methane entrained in the liquid phase is x = P/Pv .
θ1 Oil Given the composition {Zg1 , Zo1 } of the separated hydro-
R
h
h1
Water F w a t + ∆ F w a t
carbon stream Fh1 , we can estimate the amounts of flashing
methane Fg1 and dissolved methane in the oil phase Fg2 .
L1 The oil discharge flow Foout can also be estimated along
with its average molecular weight M wo1 and its gravity
SGo1 . The complete dynamic model of the oil phase, which
is given by equations 9, can be then formulated by taking
Fin the material balance:
L
Ac S3
θ S2 Fg1 = (1 − x)Zg1 Fh1
θ1 Oil
R
Fg2 = xZg1 Fh1
h
h1
Water F w a t + ∆ F w a t
Foout = Fo + Fg2
L1 dNoil
= Fh1 − Fg1 − Foout
Fig. 5: Unseparated hydrocarbon fluid volume under high dt
M wo1 = xM wg + (1 − x)M wo
water outflow condition
xM wg Noil + (1 − x)M wo Noil
SGo1 = xM wg Noil (1−x)M wo Noil
(9)
Having estimated the unseparated hydrocarbon fluid vol- +
SGg SGo
ume fraction ε, we can estimate the separated and unsepa-
rated volumetric flow components of the hydrocarbon fluid where Noil is the number of liquid moles in the oil
Fh1v , Fh2v respectively. Finally we can write the dynamic phase; Fo is the molar oil component in the oil discharge
material balance of the aqueous phase by using equations flow Foout ; {M wg , M wo } are the gas, and oil molecular
8, after we convert the molar flows to volumetric flows: weights; and {SGg , SGo } are the gas, and oil specific
gravities.
ε(Zg + Zo )Fin M wh
Fh1v = C. The gas phase
62.43SGh
(1 − ε)(Zg + Zo )Fin M wh Given the ideal gas law assumption, the gas phase of the
Fh2v = separator is modeled by taking the material balance. We can
62.43SGh
Zw Fin M ww estimate the gas pressure P by applying the ideal gas law,
FWout = + Fh2v as described by equations 10:
62.43SGw
dVwat Fin M win
= − FWout − Fh1v (8) dNgas
dt 62.43SGin = Fg1 − Fgout
dt
where {M wh , M ww , M win } are the hydrocarbon, M wo1 Noil
water, and incoming mixture molecular weights; Voil =
62.43SGo1
{SGh , SGw , SGin } are the hydrocarbon, water, and Vgas = Vsep − Vwat − Voil
incoming mixture specific gravities; Vwat is the aqueous Ngas RT
phase volume; and FWout is the water discharge volumetric P = (10)
Vgas
outflow.
where Ngas is the number of gas moles in the gas
phase; Fgout is the gas molar outflow from the separator;
B. The oil phase {Voil , Vgas , Vsep } are the volumes of oil phase, gas phase,
In order to model the thermodynamic phenomenon in the and separator respectively; R is the general gas constant;
oil phase, we first do the flash calculations to estimate the and T is the absolute separator temperature.
I-22
PCL 4
CV8
PCL 3
I-18
Gas sales
Gas P P
I-14
Gas N1 Gas
FT6 LCL 4
I-19
Scrubber Water
I-8
compressor
P
PT1 LT4
PCL 2
CV4
I-15
Gas CV6 Motor
LT1 PT2 To water
I-13
FT1 LCL 1
P
Oil & water mix treatment
LCL 3
I-16
Gas
Group I-10
LT3
Separator Oil
CV1 FT2 LT2 CV5 FT5 Oil sales
Water I-11
I-17
LCL : Level control loop LCL 2
Oil Treator
PCL : Pressure control loop
Pipe line
Signal line
FT : Flow transmitter
CV3 FT4
Oil well PT : Pressure transmitter
LT : Level transmitter
CV : Control valve Water
Disposal
Water treatment
IV. S EPARATOR MODEL VALIDATION the liquid outflow valve. The second loop is to control the
pressure inside the two-phase separator by manipulating
Having obtained the dynamic model of the three-phase the amount of the gas discharge. The second separation
gravity separator, we design a simulation model, which process has three PI controller loops. An interface level
emulates an oil production facility to validate the model PI controller maintains the height of the oil/water interface
behavior under several scenarios. The simulation model by manipulating the water dump valve. While the oil level
basically consists of three processes, as illustrated in figure is controlled by the second PI controller through the oil
6. The first is a two-phase separator in which hydrocarbon discharge valve, the vessel pressure is maintained constant
fluids from oil wells are separated into two phases to remove by the third PI loop.
as much light hydrocarbon gases as possible. The separator
is 15f t long and has a diameter of 5f t. The two-phase
V. S IMULATION RESULTS
separator model was developed based on the models of the
oil and gas phases of the three-phase separator. That is, The two-phase separator process operates at a liquid
we have modeled only the thermodynamic phenomenon of phase volume of 146f t3 and working pressure of 625P SI.
gas flashing out the liquid phase. The produced liquid is In contrast, the three-phase separator operates at water
then pumped to the three-phase separator (i.e., the second phase volume of 77.5f t3 , oil phase volume of 46.5f t3 ,
process), where water and solids are separated from oil. and working pressure of 200P SI. The working temperature
The produced oil is then pumped out and sold to refineries of the two separation processes is at 100o F . The facility
and petrochemical plants if it meets the required speci- processes hydrocarbon streams of 25.23mole/sec from oil
fications. The three-phase separator has length of 8.6f t wells under pressure of 1900P SI. The incoming stream
and a diameter of 4.8f t. Flashed light and medium gases has mole fractions of 22.61% gas, 7.79% oil, and 69.6%
from the separation processes are sent to a gas scrubber water. In order to demonstrate the dynamic behavior of the
where medium hydrocarbon and other liquid remnants are separators, the oil content of the incoming stream has been
separated from gas and sent back for further treatment. increased linearly by 2moles/sec between the time instants
Produced gas is then compressed by a compressor (i.e., the t1 = 150sec and t2 = 250sec of the simulation time. Figure
third process) and pumped out for sales. The third process 7 illustrates such change in the incoming stream flow and
model was not included in the simulation model for the its molar composition, where the oil mole fraction increased
sake of simulation simplicity. and the water and gas mole fractions decreased.
The two separation processes of the simulation model are The ramp increase in the oil component of the incom-
controlled to maintain the operating point at its nominal ing stream caused the liquid volume and gas pressure in
value, and to minimize the effect of disturbances on the the two-phase separator to peak to 167f t3 and 630P SI
produced oil quality. As shown in figure 6, the first sepa- respectively, as shown in figure 8. The two PI control
ration process is controlled by two PI controller loops. In loops of the two-phase separator intervened to correct such
the first loop, the liquid level is maintained by manipulating operating point errors by manipulating the liquid and gas
!
" ! #
"
Fig. 7: Incoming hydrocarbon fluid and its molar Fig. 8: Two-phase separator process variables change
composition during the incoming stream upset
VII. ACKNOWLEDGEMENT
This project is supported by Atlantic Canada Opportuni-
ties Agency (ACOA) under the Atlantic Innovation Fund
(AIF) program. The author gratefully acknowledges that
support and the collaboration of Cape Breton University
(CBU), the National Research Council (NRC) of Canada,
and the College of the North Atlantic (CNA). The author
also acknowledges the support of the Natural Sciences
Fig. 10: Three-phase separator process variables change and Engineering Research Council of Canada (NSERC) for
during the incoming stream upset funding this research.
R EFERENCES
[1] ken Arnold and M. Stewart, Surface Production Operation: Design
of Oil-Handling Systems and Facilities, 2nd ed. Woburn, MA:
Butterworth-Heinemann, 1999, vol. 1.
[2] R. Taylor and A. Lucia, “Modeling and analysis of multicomponent
separation processes,” Separation Systems and Design, pp. 19–28,
1995.
[3] M. M. Dionne, “The dynamic simulation of a three phase separator,”
Master’s thesis, University of Calgary, 1998.
[4] B. Hafskjold, H. K. Celius, and O. M. Aamo, “A new mathematical
model for oil/water separation in pipes and tanks,” SPE Production
& Facilities, vol. 14, no. 1, pp. 30–36, February 1999.
[5] S. A. K. Jeelani, R. Hosig, and E. J. Windhab, “Kinetics of low
reynolds number creaming and coalescence in droplet dispersions,”
AIChE Journal, vol. 51, no. 1, pp. 149–161, January 2005.
[6] A. Hallanger, F. Soenstaboe, and T. Knutsen, “A simulation model
for three-phase gravity separators,” in Proceedigns of SPE Annual
Technical Conference and Exhibition. Denver, Colorado: SPE,
October 1996, pp. 695–706.
[7] M. J. H. Simmons, E. Komonibo, B. J. Azzopardi, and D. R. Dick,
“Residence time distribution and flow behavior within primary crude
oil-water separators treating well-head fluids,” Chemical Engineering
Research & Design, vol. 82, no. A10, pp. 1383–1390, October 2004.
[8] M. L. Powers, “Analysis of gravity separation in freewater knock-
outs,” SPE Production Engineering, vol. 5, no. 1, pp. 52–58, February
Fig. 11: Three-phase separator produced water and oil 1990.
[9] R. G. E. Franks, Modeling and Simulation in Chemical Engineering.
compositions Wiley, 1972.
[10] C. D. Holland, Fundamentals and Modeling of Separation Processes:
Absorption, Distillation, Evaporation, and Extraction. Englewood
VI. C ONCLUSIONS Cliffs, N.J.: Prentice-Hall, 1974.