13304
PRODUCTION ENGINEERING I
PETROLEUM ENGINEERING
FACULTY OF EXPLORATION AND PRODUCTION TECHNOLOGY
GAS WELL
• Darcy’s Law for Oil flow is also used in equation of gas flow
• The solution of partial differential equation from combination of The Continuity and Darcy’s Law for radial flow
• The unit of variables:
• Pr : reservoir pressure, psia
• Pwf : flowing bottom hole pressure, psia
• k = permeability, md
• h = formation thickness, ft
• TR : reservoir temperature, oR
GAS WELL
Temperature
Pr
Pwf
gas reservoir
Pressure Specific assumptions:
➢ the compressibility and the viscosity of the fluid can’t be considered as constant
➢ the flow rate is high → turbulence
→ more pressure losses
➢ the liquid fraction is neglected
Basic Equation Gas Flow in Porous Medium
• Derivation of Darcy’s law for gas in radial flow.
• Similar single model as mentioned in Darcy’s Law for Oil flow is also used in this derivation
• The first equation on the left is Darcy’s Law for gas flow
• In this equation the main assumption is the gas flow is laminar
• The unit of variables:
• Pr : reservoir pressure, psia
• Pwf : flowing bottom hole pressure, psia
• k = permeability, md
• h = formation thickness, ft
• TR : reservoir temperature, oR
• Z : gas compressibility
• re : draiange radius, ft
• rw : wellbore radius, ft
• qsc : gas production rate, MMSCF/d
• C : performance constant of well
( )
−
= − −
75 . r 0
ln r Z T
P P
kh 10
x 703 . q 0
w e R
g
2 wf 2
r 6
sc
−
= −
75 . r 0
ln r Z T
kh 10 x 703 . C 0
w e R
g
6
(
wf2)
2 r
sc
C P P
q = −
Gas Flow Equation – Turbulent Flow
• Based on empirical observations,
Rawlins and Schellhardt modified the equation, by adding the exponent “n”
that shows deviation from the ideal flow behavior.
• Refer to the equation for non-ideal condition, the relationship of qsc vs (Pr2-Pwf2) would develop straight line in a log-log plot.
• The slope of the plot would be equal to 1 in laminar flow, and less than 1 in turbulent flow.
• The minimum value of n is 0.5
(
r2 wf2)
sc
C P P
q = −
(
r2 wf2)
nsc
C P P
q = −
Ideal – Laminar Flow
Non - Ideal – Turbulent Flow The values of C and n are obtained using test data
Back Pressure Test
• The first method of test to determine
productivity of gas wells is Back Pressure Test
• The diagram on the left show how the test is conducted
• The first step, the well is shut in until the pressure in the reservoir reach reservoir pressure
• Then the well is produced at a certain rate (by applying a certain choke size), and the test is run until a constant production rate is obtained.
At this flow period the bottom hole flowing pressure is measured
• The above procedure are repeated 4 times, and the result could be plotted in log-log paper.
Isochronal Test
• The procedure is quite similar to Back Pressure Test, unless in isochronal test, the well is shut in before changing the flow rate.
• The production period and shut in
period are conducted at certain period of time, and this step is repeated 4 times, at different flow rate.
• This test represent transient conditions
• At the end of test, prolong production test is conducted to obtain stabilized pressure. This test show stabilized deliverability line
Modified Isochronal Test
• Similar procedure to Isochronal
test is conducted, unless the period time of production and shut in are conducted in the same time. The test are concluded by conducting extended flow rate.
• The data interpretation is similar to isochronal test, unless the value of Pr is taken from the data at every shut in condition.
• In a case of a gas well, the IPR is a curve. Mainly two models can be used to represent the behaviour of the gas flowing in the reservoir : the 2 back pressure equations.
• The parameters of these models can be determined with help from isochronal well test results. The most adequate model is the one which is the closest to the measurements.
• The default model is the second back pressure equation. In this equation, n is all the more close to 0.5 that the flow is turbulent.
IPR curve (gas well)
MODELS
2 parameters to characterize the well behaviour:
(a ; b) or (C ; n) determined from well tests
In the case of stabilized high flow rates, 2 main types of gas well behaviours:
( )
0
2 2
− =
− +
g wf r
q P b P
aqg
First back pressure Equation Second back pressure Equation
(
r wf)
ng C P P
q = 2 − 2
KATZ’S TEST
t1f t2i t3i t3f Time
Pwf
t2f
t
t
t
Prm
t4i t4f
t
q
q1 q2 q3 q4 q5
Pwf1
Pwf2
Pwf3
Pwf4 Pwf5
t1i Pwf initial = Pr
tbu tbu tbu
In this test, Pwfi and q are unstable values
stabilized pressure
IDENTIFICATION OF BOTH BACK PRESSURE EQUATIONS FROM WELL TESTS
( )
0
2 2
− =
−
+ q
P b P
aq r wf
can be written as linear functions
First Back Pressure Equation
( )
q P b P
aq r wf
2 2 −
= +
(
2 2)
log log
log qg = C + n Pr − Pwf
(
r wf)
ng C P P
q = 2 − 2
Second Back Pressure Equation
CASE OF STABILIZED WELL TEST
(
2 2)
log log
logqg = C + n Pr − Pwf
(
2 2)
log Prm − Pwf
log qg
logC
n = slope of the linear regression
logC= intersection between the linear regression and the logq axis
log-log plot
example of the identification of the second back pressure equation
n
CASE OF NON STABILIZED WELL TESTS
(
2 2)
log Prm − Pwf
log q
logC
point obtained
with (Pwf5,q5) = stabilized point points obtained
during drawdown periods (Pwfi,qi) , i = 1..4
(
r wf)
ng C P P
q = 2 − 2
example of the identification of the second back pressure equation
METHOD TO IDENTIFY MODEL PARAMETERS WITH WELL TESTS MEASUREMENTS
( )22logwfrm PP−( )22logwfrm PP− ( )22logwfrm PP−( )22logwfrm PP−
With well tests, we measure 4 or 5 times q and Pwf
Back Pressure 1
( )
q P Pr2 − wf2
We calculate
model 1
We plot q versus
( )
q P Pr2 − wf2
linear regression (+ use of stabilized (q,Pwf))
a and b determination
Back Pressure 2
We calculate log q and
model 2
We plot log q versus
linear regression (+ use of stabilized (q,Pwf))
n and logC determination
(
2 2)
log Prm −Pwf
(
2 2)
log Prm − Pwf
ABSOLUTE OPEN FLOW POTENTIAL
(
PrShutIn)
nC AOFP = 2
(
r wf)
ng
C P P
q =
2−
2AOFP represents the case of production where Pwf = 0.
In this case, P1 is maximum, because :
wf rShutIn P P
P = −
1
0
Then, the production rate is maximum
(by considering only the reservoir point of view).
example : The 2nd back pressure equation : can be written :
INFLOW – EXERCISE7 : MODELING OF A GAS WELL BEHAVIOUR
Flow rate (Mcfd) Bottom hole pressure (psia)
Shut in 3120
7800 2870
10590 2750
13960 2588
17615 2389
A dry gas well was tested at various flow rates with back pressure tests :
questions:
•By using the back pressure equations, build both models and give the AOFP of the well. Choose the adequate model.
•The well is flowed at 25% of the AOFP. In this case, what is the bottom hole pressure?
•The reservoir pressure declines to 2980 psia, what is the new AOFP ?
Back pressure 1: (Pr2 – Pwf2) / q = aq + b
plot (Pr2 – Pwf2)/q versus q and directly determine a and b
Back pressure 2: q = C (Pr2 – Pwf2)n => log q = log C + n log (Pr2 – Pwf2) plot log q vs. log (Pr2 – Pwf2) and directly determine n and logC, hence C
Plot Test Data Pr (psi) = 3120
X mod1 q (Mcfd) 7800 10590 13960 17615
Pwf (psi) 2870 2750 2588 2389
Pr2 - Pwf2 1497500 2171900 3036656 4027079
Y mod1 (Pr2 - Pwf2)/q 192 205 218 229
X mod2 log(Pr2 - Pwf2) 6.18 6.34 6.48 6.60
Y mod2 log(q) 3.89 4.02 4.14 4.25
mod1 = Back pressure 1 model plot mod2 = Back pressure 2 model plot
INFLOW – EXERCISE : MODELING OF A
GAS WELL BEHAVIOUR
INFLOW – EXERCISE : MODELING OF A GAS WELL BEHAVIOUR
21 21
Back pressure 1 model: does not yield a perfect fit
Plot determines directly (Pr2 - Pwf2)/q = 0.0037q + 164.5 q @ Pwf = 0 => AOFP = 33.7 MMscfd
Back pressure 2 model achieves a better fit with test data in this case y = 0.8236x –1.1937 => log q = 0.8236 log (Pr2 – Pwf2) –1.1937
n = 0.8236 and logC =-1.1937 => C = 0.064 Back pressure 1 model
y = 0,0037x + 164,5
190 200 210 220 230
5000 10000 15000 20000
q
(Pr2 - Pwf2)/q
Data
Linear (Data)
Back pressure 2 model
y = 0,8236x - 1,1937
3,8 3,9 4,0 4,1 4,2 4,3
6,1 6,2 6,3 6,4 6,5 6,6 6,7
Log (Pr2 – Pwf2)
Log q
Data
Linear (Data)
(
31202 2)
0.8236064 .
0 Pwf
q = −
IPR relationship:
INFLOW – EXERCISE : MODELING OF A GAS WELL BEHAVIOUR
• Absolute Open Flow Potential
( )
MMscf dAOFP= 0.064 97344000.8236 = 36.4 /
• Pwf for the well flowing at 25% AOFP
• AOFP after depletion
d MMscf q = 0.25*36.4 = 9.1 /
C psia P q
Pwf r n 2815
064 . 0
3120 9114 0.8236
1 2
1
2 =
−
=
−
=
( )
MMscf dAOFP = 0.064 29802 0.8236 =33.8 /
Isochronal Test Plot Exercise
Flow Test hours
Pwf psia
Q MMscf/d
Pr psi
Shut in 2200 0.00 2200
6 1892 2.80 2200
6 1782 3.40 2200
6 1647 4.80 2200
6 1511 5.40 2200
C = 4.29 x 10-6 n = 0.94
AOF = 8.25 MMscf/d
Modified Isochronal Test Exercise
Time of Test (hrs)
Pwf, psia Flow Rate MMscf/d
Remarks
14 2000 0.00 Shut in
10 1842 4.00 Flow #1
10 1982 0.00 Shut in
10 1712 6.00 Flow #2
10 1960 0.00 Shut in
10 1511 8.00 Flow #3
10 1913 0.00 Shut in
10 1306 10.00 Flow #4
26 1072 10.00 Extended
Flow
68 2000 0 Final Shut
In
n = 0.76
C = 0.000124
AOF = 12.91 MMscf/d
IPR Gas Well
• In the case of gas wells, the velocity of the flow generates turbulences, which are represented in the models by a specific skin.
• Consequently, the relationship between the production rate and the drawdown isn't linear.
• We dispose on different models, and more particularly the two back pressure equations.
These models are generic, and can be adapted to each case of well by estimating their 2 parameters (a and b, or C and n) with help from well test analysis.
• The model used by default is the second back pressure equation, which is more often the most representative of the actual behaviour of the gas well. In this model, n is the factor of turbulence : when it is close to 0.5, the flow is very turbulent. When it is close to 1, the
turbulences are very low.
25
INFLOW PERFORMANCE RELATIONSHIP
Pwf
(psi)
Pr
q
(Mscf/day)
0
not linear – mainly due to turbulence
case of gas wells
AOFP
Reservoir Deliverability
• Reservoir pressure
• Pay zone thickness and permeability
• Reservoir boundary type and distance
• Wellbore radius
• Reservoir fluid properties
• Near-wellbore condition
• Reservoir relative permeability
28
THE RESERVOIR WELLBORE INTERFACE
Data:
reservoir thickness : 25 ft
reservoir permeability: 120 mD viscosity: 2.5 cP
FVF: 1.25 bbl/STB
well radius: 0.25 ft skin: 0
production rate: 600 STB/d
dP P f r S
r
h k q C
r
wf
P
P P w
e
=
− +
= ( )
4 ' ln 3
.
− +
=
− '
4
ln 3 S
r r Ckh
P qB P
w e o
o wf
r
case of oil well one phase flow
Question:
Calculate the pressure profile and list the pressure drop across the following 1 ft intervals: [rw;1.25] [4;5] [19;20]
[99;100] [744;745]. Conclusion ?
INFLOW EXERCISE1 : NEAR WELLBORE PRESSURE PROFILE
( )( )( )
( )( )( )
+
= ln 0.25
25 120 00708 .
0
600 25
. 1 5 .
1800 2 r
P
+
=
w o
o
wf r
r Ckh
P qB
P ln
+
=1800 88.28ln 0.r25 P
r (ft) p (psi) radius interval
pressure drop (psi)
0.25 1800
1.25 1942
4 2045
5 2064
19 2182
20 2186
99 2328
100 2329
744 2506.1
745 2506.2
744ft - 745ft
142
19
4
1
0.1 0.25ft - 1.25ft
4ft - 5ft
19ft - 20ft
99ft - 100ft
pressure profile (psi)
0 500 1000 1500 2000 2500 3000
0 100 200 300 400 500 600 700 800
radius (ft)
pressure (psi)
p (psi)
logarithmic shape
Conclusion
The near wellbore area plays a major role on the well productivity.
SKIN EFFECT ON THE PRESSURE DROP
near wellbore zone
near wellbore zone
P PR
radius
Pwf
Estimated pressure profile without disturbance
Pskin > 0
Actual pressure profile in the case of a positive skin factor
Pskin < 0 Actual pressure profile in the case of
a negative skin factor
( )
wf nodisturb( )
wf Actualskin P P
P = −
well
well
reservoir
Well Performance Analysis
Well Performance Analysis
Pr, Ps, Qp
IPR
VLP
Well
deliverability
Natural Flow well ?
Yes, but … no
Artificial lift
Qp
yes
Artificial Lift
(start/restart, optimize)