Advanced Production Engineering Chapter # 1: Fall 2021
Advanced Production Engineering Chapter # 1: Fall 2021
Advanced Production Engineering Chapter # 1: Fall 2021
Chapter # 1
Introduction
Fall 2021
Oil and gas production System
The main functions of an oil and gas production system are to:
1- provide a conduit for the flow of fluids from the reservoir to the off take point
at surface, and sometimes also from the surface to the subsurface,
2- separate the produced reservoir fluids from each other,
3- minimize the production or the negative effects of by-products,
4- store the produced fluids if they cannot immediately be exported
5- measure the amounts of fluids produced and control the production process
6- provide a part of the energy required to transport fluids through the system.
2
Production System
Production System
Production System
Inflow
calculations,
Reservoir
characterization. Outflow
calculations,
Fluid
mechanics.
5
Production System
1- The near-wellbore area of the reservoir, i.e. a zone of several meters in radial
direction around the wells at the depth of the reservoir,
2- The wells from the reservoir to the well head at surface,
3- The flow-lines from the well heads to the surface facilities,
4- The surface facilities, consisting of separators, pumps, compressors and other
equipment for treatment and measurement
5- Storage tanks and pipelines up to the off take point or sales point, which can e.g. be
a valve at the entrance of a gas transport pipeline or the off-loading point of an oil
terminal supplying tankers.
6
Production system Component
1- perforations in the formation (i.e. the rock) and the cement around the casing, and
in the casing itself,
2- sand control equipment consisting of densely packed gravel (well sorted sand) or
metal screens at the bottom of the well,
3- the tubing, a pipe running from the bottom of the well to surface,
4- a surface-controlled subsurface safety valve (SCSSV) to close-in the well if surface
control is accidentally lost, and
5-the well head, a collection of manually or remotely-controlled valves to shut-in the
well and allow access to the well with wire-line tools, and a choke or bean, a
variable-size restriction to control the flow from the well. Well heads are often called
Christ-mas trees (Xmas trees).
8
Production System
System models:
9
Production System
10
Production System
Then, there should be a critical rate (q ) for each well which must be calculated.
C
14
The main task of production engineer
• The main task of production engineer is:
• Production Surveillance and Maintenance
• Measurement of the rate versus pressure drop relationships for the flow paths from the
reservoir to the separator
• Well-testing, Evaluating reservoir potential to flow and find parameters like skin,
restrictions of flow near well-bore, permeability, reservoir model,… .
• Production logging, description of flow into the wellbore, as well as diagnose other
completion-related problems.
16
Well performance
• Instructional Objectives:
19
Reservoir System
(Inflow Performance Relationship- IPR)
• 1- Well-PI Model (q & pwf from flowing test, pR from static test), Using data
from operational jobs
• 2- Steady state (S.S.), darcy equation (simple mathematical model), Using data
from well-testing analysis results
• 3- Vogel’s equation (for reservoir below pb)
23
Reservoir System
(Inflow Performance Relationship- IPR)
7.08*103 k h p pwf
q
re
o B o ln 0.75 s
rw
S = Skin factor (dimensionless):
k ra
s 1 ln
ka rw
Reservoir System
(Inflow Performance Relationship- IPR)
3
7.08 10 k h
J
re
o Bo ln 0.75 s
rw
Reservoir System
(Inflow Performance Relationship- IPR)
pwf q
and
p qmax
27
Reservoir System
(Inflow Performance Relationship- IPR)
• Vogel Curve
1
0.8
0.6
pwf/pr
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1
q/qmax
28
Reservoir System
(Inflow Performance Relationship- IPR)
q
2
pwf pwf
1 0.2 0.8
qmax p p
• Mathematical relationship between Vogel (qmax) and Darcy (AOF)
AOF J p
qmax
1.8 1.8
29
Reservoir System
(Inflow Performance Relationship- IPR)
0.8
0.6
pwf/pr
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
q/qmax
Reservoir System
(Inflow Performance Relationship- IPR)
J pb
qmax qb
1.8
Reservoir System
(Inflow Performance Relationship- IPR)
pb
Pressure
pwf
J pb
qb
1.8 qmax
O
O Rate q
Reservoir System
(Inflow Performance Relationship- IPR)
Reservoir System
(Inflow Performance Relationship- IPR)
Reservoir System
(Inflow Performance Relationship- IPR)
Reservoir System
(Inflow Performance Relationship- IPR)
Reservoir System
(Inflow Performance Relationship- IPR)
k rd
s 1 ln
kd rw
37
skin factor
38
skin factor
39
skin factor
(TPR/VLP/OPR)
• The best ∆P is not the minimum one, but is the one which result in qMax, then ∆P
must be optimized.
43
Flow through the Wellbore String system
The boundary conditions Pwf & Pwh are now obvious, then we should
just calculate and determine:
• Based on string size, length, type, flow rate and etc., we calculate pressure
from Pwh to Pwf iteratively until these two values become equal. This point is
operating point for production.
• It should be pointed out that, our variables are in the wellbore (string size,
length, type, flow rate and etc.) and well-head pressure in a restriction!!!
• It means that we can not start from bottom-hole and calculate pressure
to obtain any well-head pressure, because the constraint operational
factors are in surface facilities conditions.
44
Flow through the Wellbore String system
• So, pressure drop along the strings can be calculated and the
resulting Pwf at the other end of the string can be determined.
45
Flow in Pipes & Restrictions
Conventional equation:
For Gas well with GOR > 7000 no producing water. (Katz et al, 1959, vertical flow of gas)
46
Flow in Pipes & Restrictions
47
Flow in Pipes & Restrictions
48
Flow in Pipes & Restrictions
• Single Phase flow:
• (first feature)
50
Flow in Pipes & Restrictions
51
Flow in Pipes & Restrictions
52
Flow in Pipes & Restrictions
53
Flow in Pipes & Restrictions
54
Flow in Pipes & Restrictions
Single-Phase Oil Flow (Formulation)
It is helpful for establishing the concept of fluid flow in oil wells where multiphase flow usually dominates.
The law of conservation of energy for flow along a tubing string yields:
58
Single-Phase Oil Flow
59
Friction
Factor
60
Example
Single-Phase Oil Flow
Suppose that 1,000 bbl/day of 40 API, 1.2 cp oil is being produced through 2 7⁄8 in., 8.6
lbm/ft tubing in a well that is 15 degrees from vertical. If the tubing wall relative
roughness is 0.001, calculate the pressure drop over 1,000 ft of tubing.
61
Flow in Pipes & Restrictions
• 1- Single phase & laminar flow for the parameter friction factor :
• f = 64/Nre
• 2- Single phase & turbulent flow use different correlations for the parameter
friction factor :
• (dependent to pipe roughness, ε, first of all guess for ε, use any of below correlation to solve for F)
• Darcy-wiesbach & Hagen-Poiseuille
• Dreww- koo- macAdams (as initial guess)
• Blasius
• Nikurade
• Colebrook
• Colebrook & White
• Jain (explicit friction factor equation)
62
Flow in Pipes & Restrictions
• Single-phase and turbulent flow :
• 1- Blasius Correlation: f = 0.316 NRe-0.25 , Re > 100,000
• 3- Colebrook & White (1939): 1/√f = 1.74 – 2 Log[2ε/d + 18.7/(NRe √f )] , modern method
• Rearranging the equation and then: fc = 1/{1.74 – 2 Log[2ε/d + 18.7/(NRe √fg)]}
• For initial guess fg = 0.0056 + 0.5 NRe-0.32 for 3000≤NRe≤3×106, (Drew, Koo, McAdams), use
iteration to calculate fc until the tolerance between fc & fg become low and reasonable. ( |fc-fg| → 0)
• 4- Jain Correlation: 1/√f = 1.14 – 2 Log[ε/d + 21.25/(NRe0.9)] , in the wide range of ε 10-6-10-2
and Reynolds number 5×103-108 , the error in comparison to Colebrook correlation is within ±1%.
• 5- Moody Diagram
63
Flow in Pipes & Restrictions
• Moody Diagram: ff vs. (NRe & ε/d), ε/d: we have it or we can use next figure.
64
• ε/d may be affected by : paraffin deposition, erosion, corrosion. Thus, we should consider
some external critical parameters!.
• If no information exist: ε = 0.0006 ft is recommended. To calculate ff from moody diagram.
65
Flow in Pipes & Restrictions
68
69
Single-Phase Gas Flow
(Formulation)
70
Single-Phase Gas Flow: Average T and Z Method
71
Single-Phase Gas Flow: Average T and Z Method
72
Example
Average T and Z Method
Suppose that a vertical well produces 2 MMscf/d of 0.71 gas-specific gravity gas through
a 2 7/8 in. tubing set to the top of a gas reservoir at a depth of 10,000 ft. At tubing head,
the pressure is 800 psia and the temperature is 150 F; the bottom-hole temperature is 200
F. The relative roughness of tubing is about 0.0006.
Calculate the pressure profile along the tubing length and plot the results.
73
Solution
Calculation procedure:
Assume a BHFP, a good initial guess is
74
Solutio
n
Calculated Tubing Pressure Profile
75
Single-Phase Gas Flow (Formulation): Cullender and Smith Method
76
Single-Phase Gas Flow (Formulation): Cullender and Smith Method
77
Single-Phase Gas Flow (Formulation): Cullender and Smith Method
78
Example
Cullender and Smith Method
Suppose that a vertical well produces 2 MMscf/d of 0.71 gas-specific gravity gas through a
27⁄8 in. tubing set to the top of a gas reservoir at a depth of 10,000 ft. At tubing head, the
pressure is 800 psia and the temperature is 150 F; the bottom-hole temperature is 200 F. The
relative roughness of tubing is about 0.0006.
Calculate the pressure profile along the tubing length and plot the results.
79
Solution
Calculation procedure:
- Calculate the right-hand side of Integral Equation
- Calculate the gas vis. at flowing wellhead pressure
- Calculate Reynolds number and then the friction factor
- Evaluate the Integral I at the wellhead P and T. call Ihf
80
Solution
81
Solution
The pressures at depths of 5,000 ft and 10,000 ft are 937 psia and 1,082 psia, respectively.
These results are exactly the same as that given by the Average T and Z Method
82
Mist Flow in Gas
wells
Almost all gas wells produce certain amount of liquids. These liquids are formation water
Depending on pressure and temperature, in some wells, gas condensate is not seen at surface,
The four-phase flow model can be applied to mist flow in gas wells.
83
Flow in Pipes & Restrictions
84
85
Flow in Pipes & Restrictions
86
Flow in Pipes & Restrictions
• Acceleration term of an expanding fluid is usually insignificant when compared
with the other losses and therefore neglected in most design calculations.
• Single-liquid-phase;
• ρ is assumed constant, then pressure gradient (▼Phydrostatic) is a constant.
• Friction loss, is rate-dependent. Characterized by two flow regime:
• Laminar Re ≤ 2000
• Transition zone 2000 ≤ Re ≤ 4000
• Turbulent Re ≥ 4000
•At low q, flow is laminar, pressure gradient changes linearly with q or flow
velocity.
•At high q, flow is turbulent, pressure gradient increases more than linearly with
increasing flow rate.
In single-liquid-phase:
both gravitational and friction pressure gradients are constant along the string
and therefore the pressure traverse is linear with depth. 87
Multi-Phase Flow
88
Flow in Pipes & Restrictions
89
Flow in Pipes & Restrictions
90
Multi-Phase Flow
• Multi-phase flow:
• The general form of energy balance equation is complicated than single phase model.
91
Multi-Phase Flow
• In multi-phase mixtures:
92
Multi-Phase Flow in Oil
Wells
Almost all oil wells produce a certain amount of water, gas, and sometimes sand.
The TPR equation for single phase flow is not valid for multiphase oil wells.
Multiphase flow is much more complicated than single phase flow because of the
93
Multi-Phase Flow
Models
TPR models for multiphase flow wells fall into two categories:
2-Separated-flow models.
94
Multi-Phase Flow
Models
95
Flow in Pipes & Restrictions
96
Multi-Phase Flow
• Some Correlations, tables & charts for pipes pressure drop calculation:
• Gilbert Experimental chart:
• APIo = 25-45
• Tubing size: 1.66- 1.9- 2.875- 3.5 in
• qoil = 50 – 600 STBD
• GOR = 0 – up
97
Flow in Pipes & Restrictions
98
Flow in Pipes & Restrictions
99
Flow in Pipes & Restrictions
100
Multi-Phase Flow
• Two-phase friction factor calculation:
• Each model has its own method to determine:
• 1- flow pattern/regime
• 2- hold-up factors
• 3- friction factors
• 4- total pressure drop
• There are three common equations to calculate friction pressure drop;
• (dP/dL)f-L = fL ρL vSL2/(2.gc.d)
• (dP/dL)f-g = fg ρg vsg2/(2.gc.d)
• (dP/dL)f-2P = f2P ρ2P vm2/(2.gc.d)
• Based on the flow pattern the related equation is used.
• For example:
• for mist flow pattern: assume the main flow is gas and use the (dP/dL)f-g
• for bubble flow pattern: assume the main flow is liquid and use the (dP/dL)f-L
---------------------------------------------------------------------------------------------------------------------
• It should be noted that based on correlations or moody diagram and relation of f with NRe :
• In laminar region: when NRe is increased the f is decreased.
• In turbulent region: when NRe is increased the f is decreased until it reaches to constant.
• Result: high flow rates is desirable to decrease friction part of total pressure drop.
104
Multi-Phase Flow
• Multi-phase flow:
• Calculation of pressure gradients requires values of flow conditions such as:
• velocity
• fluid properties (density, viscosity, and, in some cases, surface tension)
• We will define and analyze some of the more important properties that must be
understood before adapting the previously derived pressure gradient equation for
two-phase conditions. Multi-phase types are:
• oil & gas
• oil & water
• gas & water
• oil & gas & water
• First we define some factors!
105
Multi-Phase Flow
• 1- Liquid Hold-up:
• HL is defined as the fraction of an element of pipe that is occupied by liquid at
some instant. that is
• In the case of fluctuating flows, such as slug flow, the liquid hold-up at a point
changes periodically and is taken as the time-averaged value.
106
Multi-Phase Flow
• Hold-up Measurement, Experimentally by several methods such as:
• resistivity or capacitance probes
• nuclear densitometers
• by trapping a segment of the flow stream between quick-closing
valves and measuring the volume of liquid trapped.
107
Multi-Phase Flow
• 2- No-Slip Liquid Holdup.
• λL, sometimes called input liquid content, is defined as:
• the ratio of the volume of liquid in a pipe element that would exist if the
gas and liquid traveled al the same velocity (no slippage) divided by the
volume of the pipe element.
• It can be calculated directly from the known gas and liquid in-situ flow rates
from:
• λL = qL/(qL + qg)
• λg = 1 - λL = qg/(qL + qg)
• where qL is the sum of the in-situ oil and water flow rates and qg is the. in-situ gas
flow rate.
108
Multi-Phase Flow
• 3- Density.
• All fluid flow equations require that a value of the density of the fluid be available.
The density is involved in evaluating the total energy changes due to potential energy and
kinetic energy changes.
109
Multi-Phase Flow
• Calculation of Density:
• Oil/water system:
• ρL = ρo.fo + ρw.fw
• fo = qo/(qo+qw)
• fw = 1- fo
• Gas/ liquid system:
• Equation-1: ρt = ρL.HL + ρg.Hg
• Equation-2: ρt = ρL.λL + ρg. λg
• Equation-3: ρt = ρL.λL2/HL+ ρg. λg2/Hg
• Equation-1 is used by most investigators to determine the pressure gradient due to elevation
change.
• Some correlations are based on the assumption of no-slippage and therefore use Equation-2 for
two-phase density.
• Equation-3 is used by some investigators to define the mixture density used in calculating the
friction-pressure-loss term and Reynolds number.
110
Multi-Phase Flow
• 4- Velocity.
• Super-facial Velocity (Vsg)
• Actual Velocity (Vg)
• The actual area through which the gas flows is reduced by the presence of the
liquid to AHg. Therefore, the actual gas velocity is calculated from:
• Vg = qg/(A.Hg)
111
Multi-Phase Flow
• The superficial and actual 1iquid velocities are similarly calculated from:
• VsL = qL/A
• VL = qL/(A.HL)
• Since Hg and HL are less than one, the actual velocities are greater than the superficial velocities.
• Vactual > Vsuperfacial
-------------------------------------------------------------------------------------------------------
• The two-phase or mixture velocity: Vm = Vsg + VsL
-------------------------------------------------------------------------------------------------------
• The slip velocity: The gas and liquid phases may travel at different velocities in the pipe.
Some investigators prefer to calculate the degree of slippage and thus the liquid holdup by
determining a slip velocity vs.
• Vs = Vg - VL = Vsg /Hg - VsL /HL
• Using the previous definitions for the various velocities, alternate forms of the equations for
no-slip hold-up and actual liquid hold-up are:
• λL = vsL/vm
• λg = vsg/vm
112
Multi-Phase Flow
• 5- Viscosity.
• The viscosity of the flowing fluid is used in determining a NRe as well as other
dimensionless numbers used as correlating parameters. The concept of a two-phase
viscosity is rather unclear and is defined differently by various investigators.
1- The following equations have been used by various investigators to calculate two
phase, gas/liquid viscosity:
• μt = μL.HL + μg.Hg
• μt = μL.λL + μg. λg
• μt = μLHL × μg Hg
2- The oil/water viscosity is usually calculated by using the fractions of oil and water
flowing in the mixture as weighting factors. The mast commonly used equation is:
• μL = μo.fo + μw.fw
• fo = qo/(qo+qw)
• fw = 1- fo
114
Multi-Phase Flow
115
Multi-Phase Flow
116
Multi-Phase Flow
117
Multi-Phase Flow
118
Multi-Phase Flow
• Notes:
• 1- pressure drop due to “elevation”:
• Vertical well: ∆Pe ≈ (80-95)% ∆Pt
• Horizontal well: ∆Pe ≈ negligible
• Inclined well: ∆Pe ≈ ∆Pf
119
Multi-Phase Flow
In brief:
Many correlations have been developed in the last 30-40 years for predicting two-phase flowing pressure
gradients in producing wells. A list of the many methods and a brief review of each can be found in:
*Brown, K. E. and Beggs, H. D.: The Technology of Artificial Lift methods, Vol. 1, 1977*
Some investigators chose to assume that the gas and liquid travel at the same velocity so that the
mixture density can be calculated based on the no-slip liquid holdup λL. In this case a correlation for HL
would not be necessary, and if acceleration is ignored, only a correlation for two-phase friction factor is
necessary.
This is, of course a gross over-simplification of the problem and generally does not give good results.
No methods presently exist for analytically evaluating either liquid holdup or friction factor. Therefore it
has been necessary to develop empirical correlations for these two parameters as functions of variables
that will be known or can be calculated from known data. This requires an experimental facility from
which values of HL and two-phase friction factor fTP can be measured under a wide range of flow
conditions and flow geometries.
A general procedure for accomplishing this is described that will aid in the understanding of how the
various correlations were developed. An experimental facility is required from which measurements can be
made of qL, qg, ∆p, HL, and in some cases flow pattern. The experimental data are then obtained by the
following procedure:
120
Flow in Pipes & Restrictions
121
Homogeneous models treat multiphase as a homogeneous mixture
They do not consider no-slip assumption. Therefore, these models are less accurate .
The major advantage of these models comes from their mechanistic nature.
They can handle gas-oil water and gas-oil-water-sand four-phase systems.
It is easy to code these mechanistic models in computer programs.
Gas-Oil-Water-Sand Flow Model: Guo and Ghalambor (2005)
123
Example
Gas-Oil-Water-Sand Flow Model
124
Solution
125
Single Phase
Flow Through
Chokes
Multiphase flow
Single phase liquid
• If the actual throat velocity is greater than the sonic velocity then the
• flow is critical. If it is less then it is sub-critical.
128
Flow in Pipes & Restrictions
Chokes (a kind of restriction)
129
Flow in Pipes & Restrictions
Chokes (a kind of restriction)
130
Flow in Pipes & Restrictions
Chokes correlations: (pipesim software)
*Sub-critical equations:
- API 14 B(is mechanistic and like beggs-brill equation)
- Ashford-Pierce (1975)
- Mechanistic Model (beggs-brill)
*Critical equations:
- Ashford-Pierce (1975)
- Omana (1969)
- Gilbert (coefficients: a , b , c)
- Ros (coefficients: a , b , c)
Similar Equations - Achong (coefficients: a , b , c)
- Baxendall (coefficients: a , b , c)
- Pilehvari (coefficients: a , b , c)
- PDVSA (coefficients: a , b , c & d)
Ali Zareiforoush, Senior Petroleum Production
131
Engineer
WELL DELIVERABILITY
Nodal Analysis
Nodal Analysis
133
Nodal Analysis
NODAL Analysis
• A node is any point in the production system between :
• The drainage boundary and
• the separator
134
Production System
Pressure Losses in Well System
Pwf Pwfs Pr Pe
Pwf Pwfs Pr Pe
2500
2000
1500
1000
500
0
0 500 1000 1500 2000 2500 3000 3500 4000 4500
Production rate, STB/D 137
Production System
System Graph
3500
Inflow (Reservoir) Curve
3000 Outflow (Tubing) Curve
Flowing bottomhole pressure, psi
2500
1957.1 psi
2000
1500
1000
500
2111 STB/D
0
0 500 1000 1500 2000 2500 3000 3500 4000 4500
Production rate, STB/D 138
Production System
Solution Node At Wellhead
Pwf Pwfs Pr Pe
1200
1000
800
500 psi
600
400
0
0 500 1000 1500 2000 2500 3000
Production rate, STB/D 140
Natural Flow determined by Choke and
Wellhead Performance Relations
Well Performance
144
Gas Well: Bottom-Hole Node
Analysis
145
Example: Gas Well-Bottom-Hole Node Analysis
Suppose that a vertical well produces 0.71 specific gravity gas through a 2 7⁄8 in tubing set
to the top of a gas reservoir at a depth of 10 000 ft At tubing in. tubing set to the top of a gas
reservoir at a depth of 10,000 ft. At tubing head, the pressure is 800 Pisa and the temperature
is 150 8F, whereas the bottom-hole temperature is 200 F. The relative roughness of tubing is
about 0.0006. Calculate the expected gas production rate of the well using the following data
for IPR:
146
Solution
147
Solution
148
Gas Well: Wellhead Node Analysis
149
Gas Well: Wellhead Node Analysis
150
Example: Gas Well-Wellhead Node Analysis
151
Solution
152
Solution
153
Oil Well
Bottom-Hole Node Analysis: Poettmann-Carpenter TPR-Simple IPR
154
Oil Well
Bottom-Hole Node Analysis: Poettmann-Carpenter TPR-Simple IPR
155
Example:
156
Solution
157
Oil Well
Bottom-Hole Node Analysis: Guo-Ghalambor Method-Single Phase Vogel IPR
158
Example
:
159
Solution
160
Oil Well
Bottom-Hole Node Analysis: Guo-Ghalambor Method-Two Phase Vogel IPR
161
Oil Well
Well Head Node Analysis: Poettmann-Carpenter TPR-Gilbert CPR-Single Phase Vogel IPR
162
Example:
Well Head Node Analysis: Poettmann-Carpenter TPR-Gilbert CPR-Single Phase Vogel IPR
163
Solution
164
Oil Well
Well Head Node Analysis: Guo-Ghalambor TPR-Gilbert CPR-Two Phase Vogel IPR- Pr<Pb
165
Oil Well
Well Head Node Analysis: Guo-Ghalambor TPR-Gilbert CPR-Two Phase Vogel IPR-Pr>Pb
166
Future Production