Académique Documents
Professionnel Documents
Culture Documents
Presented by :
Luciane Cunha
April 25 to 29, 2005
Outline
Introduction
Fundamental Data and Basic Concepts in Reservoir Engineering
Numerical Reservoir Simulation and Simulator Equations
Stages in a Reservoir Simulation Study
Well Testing and Analysis
Enhanced Oil Recovery Methods
Reservoir Management
Luciane Cunha
Gas/Oil Reservoir
GAS
OIL
WATER
WATER
Impermeable Layer
Luciane Cunha
Reservoir Image
Luciane Cunha
Reservoir Image
Boundaries
Fault Patterns
Areal Extension
Physical
Properties
Gas
Structural
Dip
Fluid
Contacts
Oil
Water
Stratification
Aquifer Size
Luciane Cunha
Reservoir Image
SHAPES and VOLUMES
structural surfaces
isopachs
boundaries
ARCHITECTURAL PATTERN
correlations
sedimentar body shapes
facies variations
microscopic reservoir structure
FLUIDS
interfaces
composition
thermodynamical conditions
TECTONIC PATTERN
faults
fractured zones
micro-fractures
Luciane Cunha
Luciane Cunha
Luciane Cunha
Functional Model
Representative Model
- Input Exploitation
Scheme
Luciane Cunha
- Model -
- Output Production
Performance
Forecasting
10
Physical
Mathematical
a) Analytical
1) Well Testing Equations (Diffusivity Equation)
2) Decline Curves
3) Material Balance Equations
b) Numerical Simulators
Luciane Cunha
11
12
c
k
1 p c p
r
=
r r r
k t
-> Hydraulic Diffusivity
Luciane Cunha
13
14
Numerical Simulators
Conceptually, a reservoir numerical simulator model is consisted of
a series of tanks, which are connected with one another.
water
oil
15
Tank 1
Tank 2
Tank 3
Tank 4
Tank n
The tanks still obey physical laws (specially the conservation of mass);
What it is different from the tank model for MBE, is that now is possible to allow
for fluid to flow from one part of the reservoir (for example, Tank 1) to
another point (for example Tank 2).
There is pressure difference in each tank and consequently there is fluid flow.
Reservoir Simulators: computer programs that solve the equations
for heat and mass flow in porous media, subject
to appropriate initial and boundary conditions
Luciane Cunha
16
Mathematical Models
-Mathematically, a reservoir numerical model is consisted of equations
describing the physical laws, including conservation of mass and
momentum & energy, as well as laws governing the behavior (i.e. flow of
fluids in our case)
-A complete set of PDE and auxiliary conditions, which describe the flow
pressures in the reservoir.
-PDEs are derived from:
Conservation laws
Physical principles (Darcys Law)
17
Reservoir
System
PDE with
Auxiliary equations
Numerical
Scheme
Computer
Program
Application
Computer Model =
Reservoir Simulator
Mathematical Model
18
Note:
The main advantage of a reservoir simulator is the ability to inexpensively
produce the reservoir and a variety of different operating conditions.
Thus the optimum strategy for producing the reservoir can be
determined without equipment investment and without actually
producing any oil.
Luciane Cunha
19
Luciane Cunha
20
Luciane Cunha
21
1-D
well
1-D
Linear
Radial
3-D
22
Luciane Cunha
23
Luciane Cunha
24
5. Modeling Concepts
The basic steps required for a reservoir simulation study are:
Select one or
more images for simulation
Input to simulator
Select grid & average
data to get block
properties
Images of
Reservoir
Input
Data
Output
Analysis of
Results
History Matching
Data
In general, an engineer interested in doing a reservoir simulation study would follow the following
steps:
25
26
Preprocessors
b) Postprocessors
c) Phase and component
d) Gridding options
e) Solution Techniques
f) Special features
g) Well control
h) Group control
i) Injection control
j) Sale gas production control
k) Cross flow between zones
l) Non-Darcy effects
m) Initialization
n) Aquifer models
o) Pseudofunctions
p) Control of simulator performance
Luciane Cunha
27
Units:
British and SI units
Example: Darcys Equation
SI Units
British Units
AkP
q=
L
AkP
q=
L
q(B / d)
q(m 3 / s)
A(m 2 )
P(Pa )
(Pa.s)
L(m)
k(m 2 )
Note:
Luciane Cunha
A(ft 2 )
P(psi)
(cp )
L(ft )
k(darcyx1.127)
Modified SI Units
q=
q(m 3 / s)
A(m 2 )
P(kPa )
(mPa.s) (or cp)
L(m)
k(m 2 / 10 6 )
1
psi ;
1m 2 = 1.1013darcy
7
viscosity; 1 m 3 / s = 543440 B / d
1kPa =
AkP
L
;
28
Simplest system:
j=4
(1,4)
(2,4)
(3,4)
(4,4)
13
14
15
16
j=3
(1,3)
(2,3)
(3,3)
(4,3)
10
11
12
j=2
(1,2)
(2,2)
(3,2)
(4,2)
j=1
(1,1)
(2,1)
(3,1)
(4,1)
i=1
i=2
i=3
i=4
Natural Order
j
x
Each block is identified by two numbers, i and j, with i increasing in the normal x-direction and j
increasing in the y-direction.
12
10
12
10
11
10
11
12
11
D4
Luciane Cunha
D2
Cyclic
29
j
i
qi->i+1
Ai
ki
Pi
xi
ki+1
i+1
Pi+1
Ai+1
xi+1
Positive x-direction
Luciane Cunha
30
qii+1
k i A i p i p i +1 / 2
=
x i / 2
Consider now, flow in the left-hand of block i+1. Writing Darcys equation,
q i i + 1 =
k i +1 A i+1 p i +1 / 2 p i+1
x i + 1 / 2
The flow rate is the same in the two blocks. Eliminating p i +1 / 2 from both
equations above we can obtain the following equation:
Luciane Cunha
Ti+1/ 2 =
2Aiki Ai+1ki+1
1
Aiki xi+1 + Ai+1ki+1xi
31
Note: For 2-D Flow the transmissibility will be Ti+1 / 2, j and a j subscript will be added
to all of the terms in the right side of the above equation.
Ti+1/ 2 , j =
2 A i, jk i, j A i+1, jk i+1, j
A i, jk i, j x i+1, j
1
+ A i+1, jk i+1, j x i, j
(i-1,j)
(i,j)
(i+1,j)
and
Ti, j+1/ 2 =
Luciane Cunha
2 A i, jk i, j A i, j+1k i, j+1
1
A i, jk i, j yi, j+1 + A i, j+1k i, j+1yi, j
Universidad Nacional de Ingeniera - UNI
(i,j-1)
32
r4
r3
2
r2
r1
1 ri-1/2
rw
r1 is chosen arbitrarily;
ri = i1r1
where is calculated from the equation
ri+1/2
ri
re
rN+1 rN N1r1 ( 1)
=
re =
rN+1
ln
ln
rN
33
once the block centers are located, block boundary ri+1/2 can be calculated
ri+1/ 2 =
ri+1 ri
r
ln i+1
ri
ri1/ 2 =
and
Tri+1/ 2 =
ri ri1
r
ln i
ri1
2
r
r
1
1
ln i+1/ 2 +
ln i+1
k ihi
ri
k i+1hi+1 ri+1/ 2
For vertical transmissibility, Tz, in a two-dimensional system, where blocks such as those
shown below are stacked upon each other the vertical transmissibility for blocks (i,j) and
(i,j+1) is given by
ki,k+1
ri-1/2,k
i,k+1
zi,k+1
i,k
zi,k
ki,k
ri+1/2,k
Luciane Cunha
34
Tz i , j+1 / 2
Note: Having derived the transmissibilities for linear and circular systems, we can always
write the flow equation in the same form, without further regard for the system, so long
as the correct transmissibility expression is used.
Potential:
There are cases where it is more appropriate (and accurate) to consider
(potential) instead of P (pressure).
For example, if the blocks are situated at different heights, we should account for
the hydrostatic head.
This is accomplished through the use of potential differences.
By definition
= P - gD,
= potential;
P = pressure;
= fluid density;
g = gravitational acceleration
D = depth with respect to a reference level (below sea level)
35
Luciane Cunha
36
qi->i+1
qi-1->i
Ai-1
Ai
Ai+1
ki-1
ki
ki+1
i+1
Pi+1
i-1
Pi-1
Pi
xi-1
xi+1
xi
qi -> i+1
(i)
(i+1)
qi* (positive=injection/negative=production)
Luciane Cunha
37
sc q ii+1 sc q i1i sc q i* = 0
sc =
38
Utilizing the transmissibilities, and given that the potentials in the blocks
are i-1 , i , and i+1 , then the mass balance equation becomes:
Ti+1 / 2 ( i i+1 ) Ti1 / 2 ( i1 i ) qi* = 0
Multiplying by 1
39
q*4
(positive)
Injection point
D1
k1
A1
D2
k2
P1
T1/2= 0 x1 T3/2
A2
D3
k3
2
P2
x2
A3
D4
k4
3
P3
T5/2
x3
(negative)
Production point
A4
D5
k5
5
P4
T7/2
x4
A5
P5
T9/2
x5
T11/2
40
Block 1 (i=1):
T3 / 2 (P2 P1 ) T1 / 2 (P1 P0 ) + q 1* = 0
T3 / 2 (P2 P1 ) + q1* = 0
*
Block 2 (i=2): T5 / 2 (P3 P2 ) T3 / 2 (P2 P1 ) + q 2 = 0
q 2* = 0
and
T5 / 2 (P3 P2 ) T3 / 2 (P2 P1 ) = 0
*
Block 3 (i=3): T7 / 2 (P4 P3 ) T5 / 2 (P3 P2 ) + q3 = 0
q 3* = 0 and
T7 / 2 (P4 P3 ) T5 / 2 (P3 P2 ) = 0
Luciane Cunha
41
Block 4 (i=4):
T9 / 2 (P5 P4 ) T7 / 2 (P4 P3 ) + q *4 = 0
T9 / 2 (P5 P4 ) T7 / 2 (P4 P3 ) q *4 = 0
Block 5 (i=5):
T9 / 2 (P5 P4 ) = 0
Luciane Cunha
42
T3 / 2 (P2 P1 ) + q1* = 0
T5 / 2 (P3 P2 ) T3 / 2 (P2 P1 ) = 0
T7 / 2 (P4 P3 ) T5 / 2 (P3 P2 ) = 0
T9 / 2 (P5 P4 ) T7 / 2 (P4 P3 ) q *4 = 0
T9 / 2 (P5 P4 ) = 0
There are 5 unknowns:
P2 , P3 , P4 , P5 , q 1*
Adding all the equations we have: q1* q *4 = 0 this is called Material Balance check
Luciane Cunha
43
Flow in Two-Dimensions
q(i-1,i->i,j) q(i,j->i,j+1)
(i-1,j)
j
Mass Balance for Block (i,j) for time t
(i,j)
q(i,i->i+1,j)
(i+1,j)
q(i,j-1->i,j)
(i,j-1)
osc qi, ji, j+1 + osc qi, ji+1, j osc [qi, j1i, j + qi1, ji, j ] + osc q * i, j + M M = 0
where
M = xyh osc
obs: the corners dont enter in the equation, they are taken in account in a different way.
Luciane Cunha
44
45
Flow in Three-Dimensions
x
y
Tx and Ty (boundaries)=0
i,j,k+1
i,j+1,k
i-1,j,k
i+1,j,k
i,j,k
i,j-1,k
i,j,k-1
46
where,
qi = qi*
Di = Ti 1 / 2
Fi = Ti + 1 / 2
Luciane Cunha
Ei = (Di + Fi )
47
For 2-D:
where,
Di, j = Txi 1/ 2, j
Hi, j = Tyi, j + 1 / 2
Fi, j = Txi + 1/ 2, j
Ei, j = (Bi, j + Di, j + Fi, j + Hi, j )
Remember,
Tx i+1/ 2 , j =
1
+ Ax i+1, jkx i+1, j x i, j
48
For 3-D:
Fi, j,k i+1, j,k + Hi, j,k i, j+1,k + Si, j,k i, j,k +1 = qi, j,k
where,
Ei, j,k = (Zi, j,k + Bi, j,k + Di, j,k + Fi, j,k + Hi, j,k + Si, j,k )
Luciane Cunha
49
E 2 2 + F2 3
= q2
(2a)
D 3 2 + E 3 3 + F3 4
= q3
(2b)
D4 3 + E4 4
= q4
(2c)
Eqs. (2a), (2b) and (2c) are 3 simultaneous eqs. and 3 unknowns, 2 , 3 , 4
solution to this system of equation can be obtained by,
. The
50
b) Iterative Methods (start out with a guess of the answer, an successively improve the
guess to any desired precision)
Luciane Cunha
51
= q2
(2a)
D 3 2 + E 3 3 + F3 4
= q3
(2b)
D4 3 + E4 4
= q4
(2c)
each eq. contains 3 unknowns (first and last eqs. contain only 2
unknowns);
unknowns are ordered in such a way that for a given eq., 2 of the
unknowns occur in the previous eq. and 2 occur in the next eq.
Luciane Cunha
52
Tridiagonal Structure
= x
= x
x x
x x x
x x x
x x x
= x
= x
x x x = x
x x = x
requires minimum storage;
Thomass algorithm is designed to solve a system of eqs. having
tridiagonal structure (such eqs. arise from 1-D problems, and from
linearized (as in ADIP) multi-dimensional problems);
Luciane Cunha
53
+
+
c2x3
b3 x 3
= d1
= d2
= d3
+ c3x 4
a4x3 + b4x 4
...
a i x i1 + bi x i
c4x5
= d4
c i x i+1
di
...
a N1x N2
+ b N 1 x N 1
c N 1x N
= d N 1
a N x N 1
bN x N
dN
Note:
-The first equation does not have an a1;
-The last equation does not contain a cN.
-The subscripts on a, b, c in any equation are the same as the number
of the equation.
Luciane Cunha
54
w1 =
c1
b1
and
g1 =
d1
b1
ci
b i a i w i 1
d i a i g i 1
b i a i w i 1
Then:
x N = gN
x i = gi w i x i+1
55
Iterative Methods:
In the iterative methods, some initial solutions are assumed and then we
successively improve the solutions.
Iterative Methods Gauss-Seidel Iteration Method:
Luciane Cunha
56
E 2 2 + F2 3
= q2
(2a)
D 3 2 + E 3 3 + F3 4
= q3
(2b)
D4 3 + E4 4
= q4
(2c)
Solution Procedure:
The idea is to use each equation in order to improve the value of one of the s -> socalled diagonal element.
Eqs. 2a will be use to calculate improved values of 2
Eqs. 2b will be use to calculate improved values of 3
Eqs. 2c will be use to calculate improved values of 4
To better understand the solution procedure lets write the equations the following way:
new
= (q 2 F2 old
2
3 ) / E2
new
old
new
=
(
q
3
3
3
2
3
4 ) / E3
new
= (q 4 D 4 new
) / E4
4
3
Luciane Cunha
(3a)
(3b)
(3c)
57
+1
max
- compare d
yes
+1
max with
end
tolerance
no
old
= new
( = +1 );
4
4
old
= new
;
3
3
old
= new
2
2
Luciane Cunha
58
Luciane Cunha
59
wb =
1 wb 2 .
2
1+ 1 g
g = lim
n
dmax
dmax
+1
Note:
if wb = 1 -> Gauss-Seidel
if wb 1 -> negative weight on the previous iterate and greater than one, on the new Gauss-Seidel
iterate.
Luciane Cunha
60
Solution Check:
It is necessary to check the validity of the solution obtained. Two different ways we can
use are:
Luciane Cunha
61
MB =
i =1
*
i
=0
The sum must be close to zero, because what goes into the system (+) must come out
(-).
Poor MB -> answers are certainly doubtful
Good MB not necessarily guarantee the validity of the answer.
Residuals:
62
1 dV
1 V
C =
=
V dP
V P T
m
V
C=
C=
d(m / ) d
m d dP
1 d
dP
ln
ln
ref
d
= CdP
ref
= cP P
ref
= c(P Pref )
= e c (P Pref )
ref
is isothermal
63
Note:
Gas compressibility = C =
1 1 dZ
P Z dP
Assumptions:
Mass is constant, but volume changes as a function of pressure.
density of slightly compressible fluids changes with pressure (i.e. it also changes with time)
= (P) or = (P, t )
Flow behavior of slightly compressible fluids will be time dependent. What this means
in practice is that the pressure distribution in the reservoir will change with times,
n
n+1
n+ 2
i.e. Pi , Pi , Pi , etc
Where n, n+1, n+2, etc denote different times.
t = time step (or time elapse between 2 states of the reservoir)
n = n*t
Pin (initial pressure)
Future (2 years from today)
n+1 = (n+1) *t
Today (n=0)
(365*2)
730 calculations
t = 1 day
Luciane Cunha
t = 1 day
(365*2)
730 calculations
t = 2 months
(12/2)*2
12 calculations
calculations
t = 1 year
2 calculations
calculations
64
i-1
q*
qi-1->i
Block i:
i+1
qi->i+1
Pore Volume = i A i x i = i Vi
Mass at t = i Vb i t
Mass at t+t = i Vb i t + t
65
Overall,
sc q ii+1t sc [q i1i + q i* ]t =
= i Vbi ( t + t t )
Pressure must have a time level on it
n -> time level
t Pin
t + t Pin+1
n+1
for = sc [1 + c(Pi Psc )]
Now
sc Ti + 1 / 2 ( i + 1 i )t sc Ti 1 / 2 ( i i 1 )t + qi* sc t =
Luciane Cunha
66
c i Vbi n+1
(Pi Pin )
t
Note: There are TWO time levels (n) and (n+1), for the RHS term, there are, yet,
no time levels specified for the potentials (or pressure) on LHS term.
Anything@ time level (n) is known
Anything@ time level (n+1) is unknown
Must specify a time level for LHS terms and have a time level on F, choice n or n+1
So:
n+1 or n
c i Vbi n+1
(Pi Pin )
t
c i Vbi n+1
*
(Pi Pin ) + Ti + 1 / 2 g(Di + 1 Di ) Ti 1 / 2 g(Di Di 1 ) qi
t
ci Vbi n + 1
(Pi Pin ) + i
t
67
Given initial conditions, i.e. Pressure at t=0 everywhere, i.e. at all i we want
pressures at the next time t = t (note that the time step does not to be constant)
So we have:
P1 =10
P2 =10
P3 =10
PN =10
Calculate
for i = 1,2,3,,N
Pin+1 = Pin +
t
[ Ti+1 / 2 (Pin+1 Pin ) Ti1 / 2 (Pin Pin1 ) i ]
c i Vbi
Pin known
Pin+1
n=1
n=2
Calculation is very simple. However, the size of the time step t is usually restricted
(to be small) to ensure stability of the solution.
Luciane Cunha
68
Stability:
In some problems, the round off errors accumulated during the arithmetic operations to obtain
the solution grow with time, to the extent that their magnitudes become significant and
the solution becomes meaningless. In these cases, the system is said to be unstable.
On the other hand, there are systems when the round off errors accumulate but their
magnitudes are kept with in bounds. The solution is therefore ok and these systems are
said to be stable.
Conditionally Stable:
Solution will be stable if conditions are satisfied. For example, the time step sizes (t) is
set in such a way that the round off errors accumulation is kept under control.
t -> function of:
Luciane Cunha
69
Determination of Stable t:
There are many criteria to analyze stability solution. Between them we can list the most
commonly applied which are:
1. Karpluss Method -> does not include boundary conditions
2. Neumanns Method -> does not include boundary conditions
3. Matrix Method -> include boundary conditions
Karpluss
Ti+1 / 2 (P
Luciane Cunha
c i Vbi n+1
P ) Ti1 / 2 (P P ) + q =
(Pi Pin )
t
n
i
n
i
n
i 1
*
i
70
Then
- if a, b, c, are positive, the scheme is stable;
- if one or more are negative, then the equation might be conditionally stable if:
a + b + c + ... 0
Luciane Cunha
71
For stability,
Ti+1 / 2 + Ti1 / 2
for any i
c i Vbi
0
t
Ti+1 / 2 + Ti1 / 2
c i Vbi n+1
(Pi Pin )
t
c i Vbi
t
c i Vbi
Ti+1 / 2 + Ti1 / 2
Luciane Cunha
72
c i Vbi n+1
(Pi Pin ) + i
t
Check Stability
Add Pin Pin in each parenthesis in the flow term. So,
c i Vbi
0
t
c i Vbi n+1
(Pi Pin ) = 0
t
c i Vbi
0
t
is true for all t -> this means the implicit method is unconditionally stable.
73
ci , j Vbi , j n+1
( Pi , j Pin, j )
Luciane Cunha
74
MULTIPHASE FLOW
General Concepts:
Three Phases - Oil, Water and Gas
Gas -> (free gas, in solution in oil, in solution in water)
Oil -> dead oil, insoluble in water
Water -> insoluble in oil, ignore any water vapor in gas phase
rm3/
Rs
m3
Bo
o
po
Luciane Cunha
pb
75
Bg
g
pg
Obs: Usually the PVT information is given to the reservoir simulators in a table
format. The simulators evaluate the PVT properties by means of linear interpolation.
Relative Permeability
k ro , k rw , k rg
Definition k r =
k effective
k absolute
Capillary Pressure
Pcow = Po Pw
Luciane Cunha
Pcgo = Pg Po
76
PCow (S w ) = p o p w
imbibition curve
PCog (S g ) = p g p o
Swc
Sw
wetting phase
entry pressure
1
critical saturation of
the non-wetting phase
residual saturation of
the non-wetting phase
77
Calculation of
drainage
drainage/imbibition
imbibition
Swc
Swr Soc
Sw
krw = f(Sw)
krg = f(Sg)
kro = f(Sw,Sg)
78
79
i VbiSno+i 1 i VbiSnoi
oscqoii + 1 oscqoi 1i + q t +
n
Bno+ 1
B
oi
i
*
oi
osc = 0
n
n+1
V
S
V
S
i bi oi
i bi oi
Toni+1/ 2 ( noi++11 noi+ 1 ) Toni1/ 2 ( noi+ 1 noi+11 ) + qo* i +
n
tBno + 1
tB
oi
i
Luciane Cunha
=0
80
Water
n
w i+1 / 2
Gas
n+1
w i+1
n+1
wi
)T
n
w i 1 / 2
n+1
wi
n+1
w i1
tBnw+ 1
tBnwi
i
*
wi
=0
n+1
n+1
n+1
n+1
Bg
B gi
B oi
B oi
B wi
B wi
=0
n +1
n +1
n +1
n+ 1
Bng+1 Bng
B oi
B oi
B wi
B wi
i
i
81
Note:
Po , Pw , Pg , S o , S w , S g , q o* , q *w , q g*
So + S w + Sg = 1
Pcow (S w ) = Po Pw
Pcgo (S g ) = Pg Po
Mobility Relationships:
*
qw =
Luciane Cunha
2rk rw kh w
wBw
r
r = rw
qg =
2rk rgkh g
gB g
q o*
k ro w B w
=
k rw o B o
q *w
qo =
r = rw
2rk ro kh o
oB o
r
r = rw
82
Solution Procedure:
IMPES
1a. expand the accumulation terms of all three equations to extract the
saturations terms;
1b. multiply each equation by a suitable multiplier, in such a way that when
the equations are added, the saturations terms cancel;
1c. left with one equation in pressure only;
1d. solve for the grid;
1e. solve for using original mass balances.
Luciane Cunha
83
f(x)=0
Expanding f(x) about x0 using Taylor series expansion, we have
df
f (x ) f (x 0 ) +
(x x 0 ) + K
dx
higher order terms = 0
x0
df
k +1
k
f (x k +1 ) 0 = f (x k ) +
(x x ) + K
dx xk
Luciane Cunha
as x =
f (x 0 )
x x0
df
dx
x0
84
f(x)
f(x0)
f(x) = 0
x1
x0
f
f (x ) = 0 = f (x 0 ) +
x
f (x k +1 ) = 0 = f (x k ) +
Luciane Cunha
f
x
(x x 0 ) + K
x0
xk
( x k +1 x k ) + K
85
k +1
f (x k )
=
+ xk
f
x x k
Problem: If the initial guess is poor and the function is very curved, Newtons
method will diverge.
Taylor Series Expansion in Multiple Dimension
Consider a nonlinear function f(x), where x = { x 1 , x 2 ,K , x N }
and
f (x ) = 0
f (x) = f (x ) +
0
i =1
f
x i
( x i x i0 ) + K
x i0
86
S
t w
t
Bw
+ q ww ijk
ijk
(1)
Oil:
( To p o ) i ( To o D) i + ( To p o ) j ( To o D) j + ( To p o ) k ( To o D) k =
S
t o
t
Bo
Vijk
+ q owijk
ijk
(2)
Gas:
( To R go p o ) j ( To R go o D) j + ( Tg p g ) k ( Tg g D) k + (To R go p o ) k ( To R go o D) k =
S g
S
t
+ R go o + (q ww ijk + R goijk q owijk )
B
(3)
t
B o
g
ijk
Vijk
Luciane Cunha
87
( Tp p D) l = Tpl + 1 / 2 pl + 1 / 2 (D l+1 D l ) Tp l1 / 2 pl 1 / 2 (D l D l1 )
where subscript l=i,j,k and p=o,g,w.
( To R go p o ) l = R gol + 1 / 2 Tol + 1 / 2 (p ol + 1 p ol ) R gol 1 / 2 To l1 / 2 (p ol p ol 1 )
Luciane Cunha
88
S
t o
Bo
S
S
= o o
ijk B o ijk B o ijk
S
t w
Bw
S
= w
ijk B w
n+1
S
w
ijk B w
ijk
n+1
S g
S g
S g
S
S
S
+ R go o
+ R go o
t
+ R go o =
B
B
B
B o
B o
B o
g
g
g
ijk
ijk
ijk
Tpi + 1 / 2 =
where
A i+1 / 2
x i +
k x k rp
B
p p
i+1 / 2
89
F( y) = 0,
where the objective is to find y (unknowns for all the blocks at a given
time-step) so that the above equation is satisfied.
This equation is a statement of the conservation of mass (and energy in
thermal models) and when it is exactly satisfied the mass is also exactly
conserved.
Luciane Cunha
90
J y
( + 1)
( )
= F
( + 1)
=y
( )
( + 1)
,
y
( )
iteration.
Elements of the Jacobian are obtained by differentiating, either
analytically or numerically, all elements of vector F
( )
91
-Through the ordering index (example: the central block is placed in the eighth
position).
11
12
J=1
Luciane Cunha
13
14
10
i=1
15
92
The ordering index is used to order elements of F and y . For the ordering
shown, the structure of the matrix J will be shown below.
1
2
3
4
5
1 2 3 4 5 6 7 8 9 1011 12 13 14 15
XX
X
XX X
X
XX X
X
XX X
X
XX
X
6 X
X
7
8
9
10
11
12
13
14
15
X X
X
X XX
X
X XX
X
X XX
X
X X
X
X
X
X
X
X
X
Luciane Cunha
Note that:
X
X X
X X X
X X X
X X
F 3,2
y 3,1
K
93
F 3,2
y 3 ,3
Since more than one equation and unknown could be associated with each block, individual
elements are matrices or blocks. If we have three components flow then one possibility
is:
F i, j
Foi , j
= Fw i , j
F
gi , j
(4a)
y i, j
po
i, j
= S wi, j
S
g
i, j
(4b)
The derivative of the equation for block (i,j) with respect to the unknowns in block (l,m) is:
F i , j
y l,m
Foi , j
p o l ,m
Fw i , j
=
p
o l ,m
Fgi , j
p o l ,m
Foi , j
S w l , m
Fw i , j
S w l , m
Fgi , j
S w l , m
Foi , j
S gl ,m
Fw i , j
S gl ,m
Fgi , j
S gl ,m
(4c)
Note that the elements in a column contain derivatives with respect to the same variable while
elements in a row are derivatives of the same equation.
Luciane Cunha
94
Equations
of State
Kr and Pc
relationships
Conservation
of Mass Law
Non-linear partial
differential equations that
describe the fluid flow
through porous media
Luciane Cunha
95
96
97
98
Simulation
Cell
Luciane Cunha
99
P P
x x
Posting of results.
Luciane Cunha
100
Pressure
Pressure
Time
Time Steps
Pressure Variation
with time in the
reservoir
Luciane Cunha
Pressure Variation
with time in the
simulator
101
Properties
Centre of gravity
Pore volume
compressibility
Nodes
Connections
Luciane Cunha
transmissibilities
Variables
Fluid pressure
Fluid saturation
Fluid flow
102
103
Luciane Cunha
104
Luciane Cunha
*********************************************************************
**
SECAO DE DESCRICAO DO RESERVATORIO
**
************************************************************************
*GRID *VARI 88 48 11
** 88 BLOCKS NA DIRECAO X
** 48 BLOCKS NA DIRECAO Y
** 11 LAYERS NA DIRECAO Y
*KDIR
*DOWN
*DI *CON 125.0
** DIMENSAO DOS BLOCOS NA DIRECAO I
*DJ *CON 125.0
** DIMENSAO D0S BLOCOS NA DIRECAO J
**
*BWI
1.04300
** FATOR VOLUME DE FORMACAO DA AGUA
*CW
55.00E-06
** COMPRESSIBILIDADE DA AGUA DE FOR
*CO
25.23E-05
** COMPRESSIBILIDADE DA OLEO ACIMA
*REFPW
190.0
** PRESSAO DE REFERENCIA DA COMPRES.
*VWI
0.42 **0.37
** VISCOSIDADE DA AGUA DE FORMACAO
*CVW
0.0
** DEPENDENCIA DA VISCOS. DA AGUA
*************************************************************************
**
TABELAS DE PERMEABILIDADES RELATIVAS
**
-----------------------------------*ROCKFLUID
**
*RPT **1
**
**SWC = 0.300000
**SORW = 0.200000
***********************************************************
*SWT
**
**
PERMEABILIDADE RELATIVA AGUA-OLEO
**
SW
KRW
KRO
PCOW
0.3000
0.0000
0.7000
0.00 ** 1.000
0.3500
0.0035
0.4686
0.00 **.675
0.4000 0.0100 0.2595 0.00 **.479
105
Nmeroofdegridblocks
Clulas
Number
1,000,000
100,000
Watts [1997]
10,000
1,000
100
1960
Luciane Cunha
1970
1980
year
Ano
1990
2000
106
Luciane Cunha
107
108
Luciane Cunha
Statutory Controls
Operating Guidelines
Wellbore Utility and Availability
Economic Production
Market Constraints
Disposition of Produced Gas
implest form: assigns user-specified well rates or pressures to individual producing
Universidad Nacional de Ingeniera - UNI
109
Logic Structure
Luciane Cunha
110
Logic Structure
Hierarchy of Control
Luciane Cunha
111
Logic Sequence
History Mode
Prediction Mode
Setting Production and Injection Rates at Individual Wells,
Groups of Wells, and for the Reservoir
Workover Algorithm
Drilling Algorithm
Luciane Cunha
112
Luciane Cunha
113
114
Operating Conditions
Reasons why rates or pressures were maintained or
changed with time.
Data Requirements
Luciane Cunha
115
Modeling Concepts
The basic steps required for a reservoir simulation study are:
Select one or
more images for simulation
Input to simulator
Select grid & average
data to get block
properties
Images of
Reservoir
Input
Data
Output
Analysis of
Results
History Matching
Data
Luciane Cunha
116
Luciane Cunha
117
Pre-Processors
Software Available
Builder
GeoSim
Gocad
Gridstat
Irap RMS
Open-GL
ResMod (RC2)
Shapes
SimUp
Storm
....
Luciane Cunha
EarthVision
Geolink
Grid
GViz
Isatis
Petrel
ResScale
SigmaView
SolidGeo
Stratmodel
....
FloGrid
Geostat
Gridgenr
Heresim
Mapper
Property 3D
ResView
SimGrid
StatMod
SureGrid
...
118
119
Modeling Phase
History match Phase
Prediction Phase
Feasibility Study
Luciane Cunha
120
What to describe?
Which is the adequate support for description?
How to describe property between wells?
How to incorporate dynamic data information?
How to deal with uncertainty?
Representation of Heterogeneity
3-D Grids
Up-Scaling
Geostatistics
Uncertainty Quantification and Risk Analysis
Luciane Cunha
121
122
Luciane Cunha
123
124
Luciane Cunha
125
Luciane Cunha
126
Luciane Cunha
127
Luciane Cunha
128
Luciane Cunha
129
130
3D
Grids
Non Structured
Luciane Cunha
(Standard)
Corner
Point
Grids
131
More Flexible
Structured
Type 1
Type 2
Type 3
Type 4
Type 5
Type 6
Type 7
Others
More Regular
More Compact Representation
Luciane Cunha
132
Conclusions
Increasing use of Volumetric Grids for Reservoir
Representation
Actual Stage: Substitution of Grid Type 3 by Type 4
Grid Evolution brings new opportunities but also new
challenges for Modelling people
Grid Specification in Integrated Studies is a Critical
Task
Luciane Cunha
133
Upscaling
Luciane Cunha
134
Luciane Cunha
135
Limitations of the
Upscaling Process
Fundamental Questions:
The Desire of Having the Same Results with Less Information!
Operational Questions:
Non Uniqueness with the Computation Methods.
Practical Questions:
One (or More than One) Pseudofunction per Gridblock.
Functional Questions:
The Fine Grid Results are not Reproduced...
Adequate Approach:
To Have in Mind the Approximate Character of the Solutions.
Luciane Cunha
136
Absolute Permeability:
Computation Methods
Simple Formulas:
Arithmetic, Geometric and Harmonic Means
Power Law Average (w)
Combined Averages (Le Loch)
137
1 w 1/w
Kw =( k )
n
Particular Cases:
w = 1 : Arithmetic Mean
w --> 0 : Geometric Mean
w = -1 : Harmonic Mean
Luciane Cunha
138
Equilibrium Methods
Dynamic Methods
Luciane Cunha
139
Streamline Simulators
Luciane Cunha
140
Motivation
Conventional Simulators:
Complex Models: high computational cost
Limited grid dimension
Streamline Models:
Luciane Cunha
141
Applications
Luciane Cunha
142
Available Techniques
Streamline Based Models
Characteristics:
Numerical calculation of the velocity field
Streamline generation
1-D Saturation solution at each streamline
Numerical dispersion and grid effect reduction
Luciane Cunha
143
Luciane Cunha
144
Multiclient Projects
UTSTREAM (UT)
In-house Development
2-D, uncompressible, gravitational effects
Luciane Cunha
145
FRONTSIM - Characteristics
Luciane Cunha
146
Luciane Cunha
147
Conclusions
Use for qualitative evaluations of reservoir behavior;
Use for the ranking of geostatistical images;
Problems as a quatitative evaluation tool (history match).
Luciane Cunha
148
Background
Automatic History Matching Techniques
The proposed methodologies borrow heavily from
techniques of:
optimization;
reservoir simulation;
geological and geostatistical modeling.
Luciane Cunha
149
Motivation
Traditional trial and error approach:
Very frustrating and time consuming;
Modifications in the geological model are generally made
on arbitrary basis;
Static and dynamic data are not integrated;
Many attempts were made to automate the process, but
only recently some degree of success was achieved.
Luciane Cunha
150
Conditioning Methodology
Mathematical Model Construction;
Objective Function Definition;
Application of a Minimization Algorithm.
Luciane Cunha
151
Objective Function
Deviation between simulated and observed data:
est
Om
)= (
obs 2
di
obs 2
i
disim
152
Objective Function
Inclusion of a prior term:
est
Om
) = (m m ) ( m )
sim
obs
obs T
1 sim
(d d ) CD (d d )
est
prior
1 est
CM
m
prior T
Luciane Cunha
153
Objective Function
Bayesian interpretation:
Assuming:
parameters and observed data are gaussian variables;
CM is the covariance matrix for the prior model;
est are the standard deviations of measured data.
i
( (
= a exp O mest
))
Luciane Cunha
154
Minimization Algorithm
Two broad classes:
Gradient-based methods (steepest descent, CG, GaussNewton, Levenberg-Marquardt, etc)
fast convergence;
only find local minima;
require changes in simulator code to get derivatives in a
efficient way.
155
Minimization Algorithm
Gauss-Newton:
Probably the most used method in applications;
Requires to solve a system of order equal to the number of
parameters per iteration;
Requires inversion of CM;
Most computer demanding step is the construction of
derivatives matrix.
Luciane Cunha
156
Calculation of Derivatives in
Reservoir Simulators
How to achieve it?
Perturbation of parameters is easy to implement
(simulator can be taken as a black box);
Analytic techniques can have a dramatic improvement
over perturbation, but require modifications in the
simulators code.
Luciane Cunha
157
Comments
Emerging technology.
Luciane Cunha
158
Phi (%)
So (%)
H (m)
6
3
VOIP (10 m )
Luciane Cunha
P90
27
72
17,5
341
P50
30
80
25
614
P10
33
88
30
883
160
Comments
The results of the process are mainly influenced
by the probabilities adopted.
This process does not define the appraisal
program; How many wells and which location?
Luciane Cunha
161
Luciane Cunha
162
Introduction
The first Virtual Reality Centre was
inaugurated 07/12/1994, in Berkshire,
England,
at
Silicon
Graphics
headquarters.
Luciane Cunha
163
Aplicability of VRCs
1. Manufacture, architecture, engeneering and civil
construction
2. Petroleum
3. Transportation
4. Universitities
5. Government
6. Services and entertainment
7. Telecomunications
Luciane Cunha
164
Immersion
Immersion
Virtual Reality
Luciane Cunha
iCentre
Collaboration
Collaboration
165
Luciane Cunha
166
Luciane Cunha
167
Luciane Cunha
168
Communication
Development of the production plan
In summary:
+++++++++++++++++++++++
To determine:
Luciane Cunha
169
Buildup
Well already flowing at the constant rate is shut-in and the BHP is
measured
No production
Falloff
Interference
170
171
C t p
1
2p 1 p
=
+
2
r r 0.0002637 k t
r
for radial coordinates and slightly compressible fluid
Luciane Cunha
172
173
Diffusivity Equation
Assumptions used in derivation of diffusivity equation (liquids)
Porous medium of uniform thickness with homogenous, isotropic
properties
Rock and fluid properties independent of pressure
Small pressure gradients
Applicability of Darcys Law
Negligible gravity forces
Solution
Bounded Cylindrical Reservoir (Exact Solution)
Infinite Reservoir with Line Source Well (rw=0)
Pseudo-steady (Semi-steady) State Solution
Infinite Reservoir with Wellbore Storage
Luciane Cunha
174
175
Exact Solution
Assumptions
Well produced at constant rate
Well of radius is centered in a cylindrical reservoir of radius
Uniform pressure before production begins
No flow across outer boundary
p wf
e nt D J 12 ( n reD )
qB 2t D
3
]
= p i 141.2
+ ln reD + 2 [ 2 2
2
kh reD 2
4
n =1 n [ J 1 ( n reD ) J 1 ( n )]
Where
reD =
re
rw
t D = 0.000264
kt
C t rw2
176
qB 948Ct r 2
p = p i + 70.6
Ei
kh
kt
Where
Ei = exponential integral
e u
E i ( x) =
du
u
Luciane Cunha
177
For
x < 0.02
E i ( x ) ln(1.781x )
For x>10.9 : E i ( x ) 0
When is it appropriate to use the Ei solution?
Ct rw2
3.79x10
k
Ct re2
< t < 948
For most well tests (in the region of interest) the logarithmic approximation is used
Luciane Cunha
178
Summary
Flow in the infinite acting flow period can be described by the line
source (Ei) solution.
qB
p = p i + 70.6
Ei ( 948
kh
Ct r 2
kt
qB
p = p i + 70.6
[ln(1.781
kh
948Ctr 2
kt
)]
Luciane Cunha
179
Wellbore Damage
In practice, most wells have a zone of reduced permeability near the
wellbore resulting from drilling and completions operations.
One way to represent this is to consider a zone of altered permeability
of ks having a radius rs directly around the wellbore.
This will cause an additional pressure drop across the zone pS as
compared to the same well with no damage.
Note:
Luciane Cunha
180
qB rS
ln
k S h rw
qB rs
141.2
ln
kh rw
p S = 141.2
1 ln
kh k S
rw
p S = 141.2
qB
S
kh
where
k
r
S =
1 ln s
kS
rw
181
We know
k
rs
ln
1
k
r
S
w
>0
The greater the contrast between ks and k, and/or the deeper into the
formation the damage extends, the larger the value of S. There is no
upper limit on the value of S.
k
1 > 0
kS
k
> 0 kS < k
kS
Some newly drilled wells will not flow at all before stimulation. For these
wells k S 0 , and S
Luciane Cunha
182
Positive Skin
Luciane Cunha
Damage
183
Skin can also be negative. This implies that the flow characteristics near
the wellbore are better than flow characteristics in the reservoir.
For s<0, k s > k
Negative skin indicates a stimulated well. The deeper the extent of
stimulation, the more negative skin becomes.
In practice the lower limit on skin is infinite. This usually represents a
well with deeply penetrating, highly conductive hydraulic fractures.
Not all stimulated wells have negative skin. If we take a well that has
S , and stimulate it, we may end up with a well of S = 2053, which
would be a success, if the well flows at economic rates.
If a well is neither stimulated nor damaged then k = ks and S = 0.
The equation for pressure drop for skin can only be used for the
damaged/stimulated zone, it should not be used to determine
pressures at radii such that rw < r < rs
Luciane Cunha
184
Negative Skin
Luciane Cunha
Improvement
185
qB 948C t rw2
= 70.6
Ei
kt
kh
qB 948C t rw2
Ei
= 70.6
kh
kt
pi pwf
Luciane Cunha
+ p s
2 k 1 ln rs
k
r
s
w
qB 948Ctrw
= 70.6
[Ei
2S]
kh
kt
186
p i p wf
qB 1688C t rw2
[ln
= 70.6
kh
kt
qB 1688Ct rw
= 70.6
[ln
kh
kt
p i p wf
Luciane Cunha
k
rs
2
1 ln
ks
rw
2S]
qB 1 1688C t rw2
S]
= 141.2
[ ln
kh 2
kt
187
Skin Effect
Change in permeability caused by drilling/completion operations or
stimulation operations
Causes additional pressure drop (positive Value of S)
Hawkins steady-state model
rs
qB k
p S = 141.2
1 ln
kh k S
rw
Expressed as skin factor,S
k
r
1 ln s
S =
kS
rw
S varies from 10 up to + infinity
Effective wellbore radius
Luciane Cunha
reff = rw e
188
a transition period
an infinite acting transient response, and
a pseudo-steady state flow period
[ The PSS flow period is characterized by the pressure change with time being
constant (dp/dt=C) at all points in the reservoir ]
PSS occurs at
Ct re2
t > 948
k
189
n2 t D 2
e
J 1 ( n reD )
qB 2t D
3
= p i 141.2
]
2 + ln reD + 2 [ 2 2
2
kh reD
4
n=1 n [J 1 ( n reD ) J 1 ( n )]
where
reD
re
=
rw
t D = 0.000264
kt
C t rw2
Luciane Cunha
190
qB 2t D
3
= p i 141.2
2 + ln reD
kh reD
4
or in dimensional variables,
p wf
Luciane Cunha
re
qB 0.000527kt
ln
= p i 141.2
+
r
kh C t re2
w
191
pwf
qB 948Ct rw2
qB 1688Ct rw2
= pi + 70.6
2S] = pi + 70.6
[Ei
[ln
2S]
kh
kt
kh
kt
re 3
qB 0.000527kt
+ ln + S
= pi 141.2
2
kh Ctre
rw 4
Universidad Nacional de Ingeniera - UNI
192
p D = 2t DA
1
A
1 2.2458
+ ln( 2 ) + ln
2 rw
2 C A
t DA
0.0002637kt
=
Ct A
pD =
kh
(p i p )
141.2qB
193
194
qB 0.000527kt
re 3
+ ln
p = pi 141.2
2
kh Ct re
r 4
by differentiating the above equation
0.0744qB
p
=
t
Ct re2h
and substituting liquid filled pore volume of the reservoir
Vp = re2h
Luciane Cunha
195
we have
p
0.234qB
=
t
Ct Vp
Luciane Cunha
196
p=p+
0.0744qBt
Ct hre2
0.0744qBt
Ct hre2
qB re 3
141.2
ln
kh r 4
qB re 3
p = p 141.2
ln
kh r 4
considering Skin
qB re 3
p = p 141.2
ln + S
kh r 4
Luciane Cunha
197
pwf
qB re 3
= p 141.2
ln + S
kh rw 4
pwf
qB 1 10.06A 3
= p 141.2
+ S
ln
2
kh 2 CArw 4
where:
A = drainage area
CA = shape factor (drainage area and well location dependent)
Luciane Cunha
198
kh(p e p w )
q=
B ln(re / rw )
1. a transition period
2. infinite acting
3. pseudo-steady state
Luciane Cunha
199
Dimensionless Variables
In pressure transient analysis it is convenient and customary
to present graphically or tabulated solutions to flow equations
in terms of dimensionless variables.
In this way it is possible to present compactly solutions for a
wide range of parameters: , , S, Cs and k and variables r, p
and t.
Dimensionless parameters and variables are not unique. I.e.
there is more than one choice for each.
Rather, these are defined not derived quantities.
The definitions are chosen such that we can characterize the
flow situation and its solutions.
Luciane Cunha
200
Standard Definitions:
kh
0.00708kh
(p i p )
(p i p ) =
pD =
141.2qB
qB
tD =
t DA
0.002637kt
r
rw
based on wb radius
C t rw2
rw2
0.002637kt
=
= tD
A
C t A
rD =
1 rD2
p D ( t D , rD ) = E i
2 4t D
tD
1
log approximation p D (t D , rD ) = [ln + 0.80907]
2 rD2
Luciane Cunha
201
Luciane Cunha
202
203
Vwb
, bbl / psi
Cs =
p
25.65Awb
Cs =
, bbl / psi
204
Where
Vwb volume of the wellbore
Cwb compressibility of the wellbore fluid
Awb cross sectional area of the wellbore
- fluid density (liquid)
CsD =
0.894Cs
2
Cthrw
(Field units)
205
24Cs dp w
q sf = q +
B dt
dp D (t D , CsD )
q sf = q[1 CsD
]
dt D
Luciane Cunha
206
207
Superposition
We have considered reservoir/well systems with a single well producing at
a constant rate, starting at time t=0, in an infinite or finite reservoir.
To extend the theory to more general systems we use the PRINCIPLE OF
SUPERPOSITION.
Superposition states that adding two or more solutions of a linear
differential equation results in a new solution to that differential
equation.
This new solution represents a solution of the original equation with
different boundary conditions.
For our purposes, we can state the principle of superposition as the total
pressure drop at any point in a reservoir is the sum of the pressure
drops at that point caused by flow in each of the wells in the reservoir.
Luciane Cunha
208
Well A
rAC
rAB
Well B
Well C
Luciane Cunha
209
At well A:
p i p wf = (p i p ) due to well A + (p i p ) well B + (p i p )well C
p i p wf
2
948C t rwA
q A B
= 70.6
{E i
kh
kt
2S A }
2
2
q B B 948C t rAB
948
C
r
q
B
t AC
70.6 C
70.6
Ei
E
i
kh
kt
kt
kh
210
Superposition
No flow
between
1 and 2
Luciane Cunha
211
948C t rw2
qB
= 70.6
{E i
kh
kt
2S}
This technique is called the method of images and can be used to model
complex well/boundary situations.
Luciane Cunha
212
213
kh
kt
2S}
2S }
Luciane Cunha
2S }
214
p = (p i p wf ) = p1 + p 2 + p 3
B
p = (p i p wf ) = 70.6
kh
1688 C t rw2
(q i q i 1 ){ln
k (t t )
i 1
2S }
In dimensionless form
B
p = 141.2
kh
Luciane Cunha
(q
q i 1 )p D (t t i 1 ) D , rD ) +S}
215
J=
qB 1 10.06A 3
= p 141.2
+ S
ln
2
kh 2 CArw 4
q
p p wf
Luciane Cunha
0 .00708 kh
1 10 .06 A 3
+ S
B ln
2
2
C
r
A w 4
Universidad Nacional de Ingeniera - UNI
216
rinv
Luciane Cunha
kt
948
C
1/ 2
t in hours , r in feet
217
218
Luciane Cunha
219
220
Build-Up Test
Procedures:
Producing a well at the constant rate
Shutting the well in (mostly at the surface)
Record the pressure as a function of time
Application:
Estimation of reservoir permeability
Estimation of skin effect
Estimation of drainage-area pressure
Detection of reservoir heterogeneities and boundaries
Interpretation:
Horners Method
Matthews-Brons-Hazebroek (MBH)
Modified Muskat Method
Type Curves
Luciane Cunha
221
222
223
Horners Method
Assumptions:
Well producing from infinite acting reservoir (both flow and
build-up period)
Formation and fluid properties are uniform
Horners pseudoproducing time approximation applicable
p ws
Where:
t p + t
qB
= pi 162.6
log(
)
t
kh
Luciane Cunha
224
t p + t
t
) where
m = 162.6
qB
kh
Luciane Cunha
t p + t
t
225
Luciane Cunha
226
Skin Factor
pwf
or
pws
DRAWDOWN
tp
BUILDUP
crw2
qB
p wf = p i + 70.6
{ln(1688
) 2S}
kh
kt p
crw2
p wf = p i + m{log(1688
) 0.869S}
ktp
Luciane Cunha
227
At shut-in time t
p ws = p i m log(
t p + t
t
p1hr p wf
k
s = 1.151{
log
+ 3.23}
2
m
1688crw
Luciane Cunha
228
t p + t
qB
log(
)
t
kh
0.000148kt x
ct
1.9E5ct L2
t x =
k
ws
3792ct L2
qB
= 70.6
Ei
kh
kt
229
t p + t
qB
Compare to p ws = p i 162.6
log(
)
kh
t
qB
m
=
162
.
6
Define
kh
For a boundary,
slope = 2m
pws
1300psi/cycle
2m
650psi/cycle
m
(t+tp)/t
Luciane Cunha
tx
230
L=
0.000148k ( t x )
C t
(Grays Correlation)
For the case of multiple boundaries, each new encountered? Doubles the slope.
4m
pws
2m
m
(t+tp)/t
Luciane Cunha
231
MBH
Estimation of static drainage area pressure
Obtained by computing build-up curves for wells in various
positions and areas of various shapes and comparing
extrapolated p* with static average pressure
Build-up curves were calculated using imaging techniques
and principle of superposition
Series of plots of kh(p * p ) / 70.6qB vs. 0.000264ktp / ct A
were prepared
Luciane Cunha
232
p ws = cons + m log( t )
Calculations of permeability and skin factor are similar to Horners
method
Plot of pws vs. t is made on semi-log scale increasing from left to
right
Wellbore effect is estimated similarly to Horners method and can be
estimated with equation:
0.14S
t =
170,000Ce
kh /
c t A
(t DA )est
0.000264k
233
r re
P
= cons tan t
t
p * = p 1hr + m log t p
qB
kh
234
235
Procedures:
Extrapolate MTR of Horners plot to to (tp +t)/ t =1 and read
extrapolated p*
Estimate the drainage area shape
Choose the proper curve for the shape of our area (MBH curve)
Estimate 0.000264ktp / ct A and find 2.303(p * p ) / m = p DMBH
Calculate p = p * mp DMBH
Advantages:
Does not need to have data beyond MTR
Applicable to a whole variety of shapes
Disadvantages:
Requires knowledge of drainage area shape and size
k , , , c t
Luciane Cunha
236
qB
kt
= 118.6
exp(0.00388
)
2
kh
ct re
250ct re2
750ct re2
t
k
k
237
p too high
Procedures:
log( p -p )
Assuming a value for p
p too low
correct p
Plot log( p p ws )
vs. t
When straight line results the correct value of p was found t
Too low p produces downward curvature / Too high p produces
upward curvature
Advantages (over p* method)
Requires no estimates of reservoir properties when it is used to
establish p (except to choose the correct portion of data analysis)
Yields satisfactory estimates of p for hydraulically fractured wells and
for wells with layers of different permeability communicating through
the wellbore
Disadvantages:
Does not work if the well is not centered in the drained area
250ct re2
750ct re2
Shut-in times of
are frequently impractically
t
k
k
long (especially for low k)
ws
Luciane Cunha
238
Drawdown Test
Used for:
New wells
Wells shut-in for long enough time to establish uniform pressure in the reservoir
Wells which have to maintain production (economic reasons, etc.)
Procedures:
Application:
Interpretation:
Diagnostic plots
Type curves
Pressure derivative analysis
Luciane Cunha
239
Luciane Cunha
p wf
240
qB 0.000527kt
re
3
+ ln[ ]
= p i 141.2
2
kh Ct re
rw
4
p wf
0.0744qB
=
t
C t re2
substitute
Vp = re2h
p wf
0.234qB
=
t
C t Vp
0.234qB
Vp =
p wf
)
Ct (
t
Luciane Cunha
241
Drawdown Test
Idealized constant rate solution:
p wf
1688Ct rw2
qB
0.869S]
[log
= p i + 162.6
kh
kt
Skin effect:
k
p i p1hr
+ 3.23]
log
S = 1.151[
2
m
Ct rw
Permeability:
qB
k = 162.6
mh
Luciane Cunha
242
Luciane Cunha
Based on:
law of conservation of mass
flow law (Darcys law)
C( p p o )
equation of state: = o e
Changes:
. equation of state:
M p
RT Z
(p ) = 2
pB
Luciane Cunha
p
dp
(p ) Z( p )
244
245
(SI)
p sc T q g
Tsc kh
[1.151 log(
1688 i C ti rw2
kt
) (S + D q g )]
p sc T q g
125.3 i C ti rw2
(p wf ) = (p i ) + 3.733
[1.151 log(
) (S + D q g )]
Tsc kh
kt
The term D q reflects a non-Darcy pressure loss. It takes into account the
fact that at high velocities near the producing well (characteristics of
high gas production rates) Darcys Law does not predict correctly the
relationship between flow rate and pressure drop. The absolute value of
qg is used so that the term D qg is always positive, regardless of
production or injection.
g
Luciane Cunha
246
For pseudo steady state flow (ri > re) past boundary.
(field units)
(SI)
(p wf ) = (p i ) + 50300
(p wf ) = (p i ) + 3.733
p sc T q g
r
[ln( e ) 0.75 + S + D q g ]
Tsc kh
rw
p sc T q g
r
[ln( e ) 0.75 + S + D q g ]
Tsc kh
rw
qg Bgi i
(SI)
p wf = pi + 2.15
Luciane Cunha
kh
S + D qg
1688iCti
[log(
)(
)]
ktp
1.151
qg Bgi i
kh
S + D qg
11.64iCti
)(
)]
[log(
ktp
1.151
247
p wf = pi + 1637
qg Zi i T
kh
S + D qg
1688iCti
[log(
)(
)]
ktp
1.151
(SI)
2
p wf = pi + 1.508
Luciane Cunha
qg Zi i T
kh
S + D qg
11.64iCti
[log(
)(
)]
ktp
1.151
248
(SI)
p ws = p i 2.15
Skin
(field units)
S' = S + D q g = 1.151[
(SI)
Luciane Cunha
q g B gi i
kh
q g B gi i
kh
[log(
[log(
t p + t
t
t p + t
t
)]
)]
k
p1hr p wf
log(
) + 3.23]
m
i Cti rw2
S' = S + D q g = 1.151[
p1hr p wf
k
log(
) + 2.10]
2
m
i Ctirw
249
(SI)
p ws 2 = p i 2 2.15
Skin
(field units)
(SI)
Luciane Cunha
kh
q g Z i i T
kh
[log(
[log(
t p + t
t
)]
)]
p wf
k
p
S' = S + D qg = 1.151[ 1hr
log(
) + 3.23]
2
m
iCtirw
2
p
p wf
S' = S + D q g = 1.151[ 1hr
m
log(
k
i C ti rw2
) + 2.10]
250
251
Deliverability Tests
Deliverability tests have conventionally been called back pressure
tests because they make possible the prediction of well flow rates
against any particular pipeline back pressure. The purpose of these
tests is to provide the manner in which the flowrate will decline
with reservoir depletion.
The absolute open flow (AOF) potential of a well is defined as the rate at
which the well would produce against a zero sandface back
pressure. It cannot be measured directly, but may be obtained from
deliverability tests. It is often used by regulatory authorities as a
guide in settling maximum allowable producing rates.
Deliverability tests are historically conducted three different ways.
Flow- after flow test
Isochronal test
Modified isochronal test
252
253
254
q st = C(p R p 2wf ) n = C( p 2 ) n
255
256
p = p R p 2wf = aq st + bq st2
This equation is derived from our pressure squared flow
equation for stabilized flow (PSS or SS)
p 2wf
for
pi = pR
Luciane Cunha
p i2
and
q g i Zi T
kh
[ln(
re
) 0.75 + S + D q g ]
rw
q g = q st
Universidad Nacional de Ingeniera - UNI
257
p 2wf
= pr
q st pri Z pr T
kh
[ln(
re
) 0.75 + S' ]
rw
p R p 2wf = aq st + bq st2
where
re
i Zi T
a=
[ln( ) 0.75 + S' ]
kh
rw
i ZiT
b=
D
kh
Luciane Cunha
p 2wf
= a + bq st
q st
258
2
pr
p 2wf
q st
A Cartesian plot of
vs. q st
line with slope b and intercept a.
is a straight
pseudopressure
pressure
pressure squared
259
a = 1422
pi Z p T
kh
b = 1422
plot of
bq g2 vs
[ln(
re
) 0.75 + S' ]
rw
pi Z p TD
kh
p p 2wf = aq g + bq g2 / q g
2
Luciane Cunha
260
Isochronal Tests
The objective of isochronal testing is to obtain data to establish a stabilized
deliverability curve for a gas well without flowing the well sufficiently long
to achieve stabilized conditions at each rate. This procedure was developed
for lower permeability reservoirs were it was impractical to achieve PSS at
each rate during the test.
An isochronal test is conducted by flowing a well at a fixed rate, then shutting
the well in until the pressure builds to an unchanging (or almost unchanging)
value .
The well is then flowed at a second rate for the same length of time, followed by
another shut-in period. This flow, shut-in sequence is continued usually 4-5
time. If at all possible, the final flow period should be long enough to reach
stabilized flow. If this is impossible or impractical, it is still possible to
predict the stabilized deliverability characteristics.
Analysis for the empirical method is carried out in a similar fashion to that of
the flow-after flow test. The data from the flowing period is plotted, and the
best fit line is found. A parallel line is drawn through the stabilized point. It
is this (second) line which is extrapolated to determine the AOF and the
values of c and n.
Luciane Cunha
261
262
263
p p 2wf = aq g + bq g2
where
a = 1422
pZpT
kh
r
[ln( e ) 0.75 + S' ]
rw
, ri > re
b = 1422
p Z p TD
kh
p p 2wf = aqg + bq g2
ri < re
264
pZpT 1
1688kt
[ ln(
) + S]
a = 1422
2
kh
2
C rw
p
tp
Procedures:
1. for constant t determine b from the plot of
2
(p p 2wf ) / q g vs.q g
2
a = [(p p 2wf ) stab bq gstab
] / q gstab
and
p p 2wf = aq g + bq g2
2
AOF =
Luciane Cunha
a + a 2 + 4b(p 14.7 2 )
2b
265
266
1.
2.
3.
4.
pZpT
kh
[ln(
re
) 0.75 + S' ]
rw
Luciane Cunha
267
268
269
270
271
272
p p 2wf
q st
A Cartesian plot of
Luciane Cunha
p p2wf
qst
i Zi T
D
kh
= a + bq st
273
Design guidelines:
Luciane Cunha
274
conventional interpretation
matching)
Luciane Cunha
276
unless
which fluid
277
Luciane Cunha
278
Hemiradial
Early radial
Luciane Cunha
279
Late linear
Wellbore
Storage
Luciane Cunha
280
281
Early radial
k zk x t
162.6qB
3.227 + 0.868sd
=
log 10
2
k z k x L w
Ctrw
Interpretation:
162.6qB
k zk x =
merf L w
k zk x
1 hr
+ 3.23
log 10
sd = 1.151
2
Ctrw
merf
1800d 2zCt
End of early radial:
t Eerf =
Luciane Cunha
kz
t Eerf
125L2W Ct
=
ky
282
Hemiradial
Horizontal Well Flow
Regimes (2)
Governing Equation:
p i p wf
k zk x t
325.2qB
3.227 + 0.868sd
=
log 10
2
k z k x L w
Ctrw
Interpretation:
p
k zk x
1 hr
+ 3.23
log 10
sd = 2.303
2
Ctrw
mhrf
325.2qB
k zk x =
mhrf L w
t Ehrf
1800D 2zCt
=
kz
t Ehrf
125L2w Ct
=
ky
283
Interpretation:
8.128qB
kx =
melf L w h Ct
8.128qB
t
141.2qB
=
+
( sc + sd )
Lw
k x Ct L w k z k x
Lw k zk x
sd =
p t = 0 s c
141.2qB
h
kx
d z
sc = ln + 0.25 ln ln sin
1.838
h
kz
rw
160L2w Ct
=
ky
284
Late-Pseudoradial flow
Lw
< 0.45
bH
Governing Equation:
p i p wf
141.2qB
kyt
162.6qB
2.303 +
( sc + sd )
=
log 10
2
k yk x h
Ct L w
Lw k zk x
Interpretation:
162.6qB
k yk x =
mprf h
ky
k z L w p1hr
+ 1.76 sc
sd = 1.151
log 10
2
k y h mprf
Ctrw
Time of occurrence:
t Sprf
1480L2w Ct
=
ky
Luciane Cunha
t Eprf =
2000Ct ( L w / 4 + d y ) 2
ky
t Eprf
1650Ct d x2
=
kx
285
Governing Equation:
p i p wf =
8.128qB
t
141.2qB
b
( s p + sc + H sd )
+
bHh
k x Ct b H k z k x
Lw
Interpretation:
8.128qB
kx =
mllf b H h Ct
L
sd = w
bH
bH k zk x
p t = 0 s p sc
141.2qB
Time of occurrence:
t Sllf =
4800Ct ( L w / 4 + D y ) 2
Luciane Cunha
ky
t Sllf
1800Ct D 2z
=
kz
t Ellf
1650d x2 Ct
=
kx
286
Wellbore Storage
Governing Equation:
C = Vwbc wb
25.65A wb
C=
wb cos
qBt
C=
24 p
Time of occurrence:
t Ewbs =
Luciane Cunha
( 4000 + 240sd )C
k xk y Lw /
287
Luciane Cunha
288
289
1. Basic Concepts
2. Buckley Leverett Theory
3. Overview of EOR Processes
4. Compositional Simulation
5. Miscible Displacement
6. Chemical and Polymer Flooding
7. Steam Simulation and Steamdrive
8. In-Situ Combustion
Luciane Cunha
290
When two or more immiscible fluids are put in one recipient, the denser ones will be at the lower part
existing an horizontal separation surface between the fluids. This does not occur in a porous media
with different capillars with different diameters, because the surface separation will not be sudden,
existing a transition zone due to capillary effects
This phenomena results from the molecular attraction inside the fluid. A molecule inside the liquid will
be in equilibrium since it is attracted equally in all the directions by the surrounding molecules. The
same is not true with a molecule at the surface, which will not be attracted equally since it is
surrounded by molecules of different types.
When the contact surface is between a liquid and a gas the phenomena and the properties that are
generated from this are called superficial and when between two liquids interfacials, non existing
however, a difference between both cases.
An isolated fluid drop presents a spherical surface due to the molecules trend to move to the center and
consequently to present a minimum surface. The surface behaves as an elastic membrane that offers
resistance to the separation of molecules.
The needed energy to form a certain surface is defined total free surface energy (E).
The surface energy per unit of surface is called unit free surface energy (Es).
The force that impede the surface rupture, per unit of length, is called the superficial or interstitial
tension (s).
The force that tends to pull a surface to the center is called capillary force (Fc) and this, divided by are
is called capillary pressure (Pc).
Luciane Cunha
291
db
Es =
da
da.db
dF2
db
dF1
da.db
Es = = MT 2 erg / cm 2 = dyne / cm
dF1
da
Capillary Force
dF2
dFc
Relationship between Capillary Pressure and Superficial tension
da/2
d1
Luciane Cunha
d1
dF1
Capillary Pressure
292
Fc dFc
=
A dA
sin d1 =
MN da / 2
=
R1
R1
sin d2 =
da / 2
R2
dA = da.db
dFc =
Pc =
dF1 1 dF2 1
.
+
.
db R 1 da R 2
Pc = (
Luciane Cunha
1
1
+
)
R1 R 2
Pc =
2
R
293
294
cos ao =
so sa
ao
This tension is responsible for the rising and depression of fluids in capillars, i.e., determines by which
fluid the solid is preferably wet.
The wettability property and the adhesion tension varies according to the fluids and solids used,
295
Pair Pa = Pc = a h =
Luciane Cunha
296
Pc =
oa cos oa
rg
2oa cos oa
r
Luciane Cunha
297
Gas
Water
Oil
Water
Oil
Drainage
Imbibition
298
Saturation
100%
Curve of the Gradient vs Elevation in the Capillaries with Uniform and Equal Diameters.
Luciane Cunha
299
Saturation
100%
Capillary Pressure
Drainage
Imbibition
0
Saturation
100%
300
PcC = Cf (SC )
PcL = Lf (SL )
PcC =
C
PcL
L
Thus we obtain another formula to transform the lab data into the field data. Even though the two
ways will generate slightly different results, both are used to the same final objective.
Luciane Cunha
301
Qo =
Qg =
K o Ap
oL
K g Ap
g L
K Ap
Qw = w
w L
Relative Permeability
Kro(krnw)
Drainage
Imbibition
Krw(krw)
Sw(Sw)%
(After Amyx et al)
Luciane Cunha
302
Relative Permeability
1: Unconsolidated
Ko/K
Wettability
Kg/K
Sw(Sw)%
2: Consolidated
Saturation%
Luciane Cunha
303
Relative Permeability
Saturation Process
Relative Permeability
So(%)
Sw(Sw)%
Luciane Cunha
304
Luciane Cunha
305
displacing
M w o
Luciane Cunha
p =
displaced
kp
p
w k w o k rw o
=
x
=
x
=
o w k o w k ro
306
Fraction of the total reservoir area that has been swept at a certain time
Eh=Swept Area/Total Area
Factors affecting Eh (Volume Injected, Mobility Ratios, Injection Pattern)
Determination of Eh
four-spot
seven-spot
five-spot
two-spot
Peripherical Pattern
Luciane Cunha
307
Irregular Pattern
Luciane Cunha
308
Luciane Cunha
(So Sor )
Ed =
(So Sor )
309
Luciane Cunha
310
1-Sor
Oil
Injected Water
Swi
Connate Water
rw
Luciane Cunha
rBL
311
(CO2)(gas)
Reservoir Conditions
(high pressure)
CO2 (liquid)
Mixture (liquid)
Oil (liquid)
Luciane Cunha
Oil (liquid)
312
CO2
&
Oil
CO2
CO2 contacts residual oil, allowing oil to flow outside the smaller
pores.
Luciane Cunha
313
Luciane Cunha
314
Luciane Cunha
315
Soak cycle
Production cycle
oil
vapor
heat
heat
oil
Heated zone
Vapor zone
Luciane Cunha
vapor
water
316
Producing well
Transition from
Vapor to water
vapor
Oil
bank
Luciane Cunha
317
Luciane Cunha
318
oil
ignio
air
air
Burned
zone
Luciane Cunha
oil
Combustion
zone
319
air
air
Luciane Cunha
Combustion
zone
ignition
320
Compositional Simulation
Reservoir containing light oils (gas condensates or volatile oils) vapor/liquid equlibrium
depends on composition as well as pressure.
In this case rigorous flash calculations must be made with equilibrium K values or an
equation of state (EOS) to determine hydrocarbon phase compositions. Viscosities
and densities can then be calculated from phase compositions.
In theory, compositional simulation is useful whenever compositional effects are
important.
In practice, accuracy problems arise in compositional modeling of miscible
displacement. Particularly when miscibility happens through multiple contact.
Luciane Cunha
321
Beta Type Fluids (Black-Oil): the PVT behavior is represented by a simple form
through volume factors and gas-oil solubility relationship. In this case the global
hydrocarbon composition inside the reservoir remains constant during the entire
reservoir life.
Phases
Components
(surface conditions)
Oil
Gas
Water
Luciane Cunha
Oil
Gas
Water
322
mass of component i
mass of gas phase
C io =
mass of component i
mass of oil phase
Luciane Cunha
mass of component i
mass of water phase
323
A(C io o v o ) x
+
In the gas phase =
A(C ig g v g ) x
+
In the water phase =
A(C iw w v w ) x
Luciane Cunha
324
A (C io o v o ) x + x
+
In the gas phase =
A(C ig g v g ) x + x
+
In the water phase =
A(C iw w v w ) x + x
Luciane Cunha
325
And similarly,
q g*
q *w
, we have:
Ax
Luciane Cunha
[ C io S o o + C ig S g g + C iw S w w )
t
326
Substituting all terms in the equation of mass conservation, re-arranging, and dividing by Ax
and taking the limit when
x 0
, we have:
Luciane Cunha
327
Considerations:
-three phases (oil, gas and water);
-nc components;
-each component can be present in each one or all phases.
Mass Conservation Law
Substituting Darcys Equation and rewriting the previous equation in terms of differential operators we have
(Cio o v ox + C ig g v gx + C iw w v wx ) + C io q o* + Cig q g* + C iw q *w =
x
=
[ (C io S o o + C ig S g g + C iw S w w )]
t
C kk (p o o D) C ig gkk rg (p g g D) C iw w kk rw (p w w D)
io o ro
+
+
+
o
g
w
Luciane Cunha
[ (Cio S o o + Cig S g g + C iw S w w )]
t
I=1,2,,nc
328
o = o (p o , C 1o , C 2o ,..., C nco )
g = g (p g , C 1g , C 2g ,..., C ncg )
w = w (p w , C 1w , C 2 w ,..., C ncw )
o = o (p o , C 1o , C 2o ,..., C nco )
g = g (p g , C 1g , C 2g ,..., C ncg )
w = w (p w , C 1w , C 2 w ,..., C ncw )
k ro = k ro (S g , S w )
k rg = k rg (S g )
k rw = k rw (S w )
Luciane Cunha
329
p o ,p g ,p w , S o , Sg , S w
Primary variables:
So + Sg + S w = 1
Pcgo (S s ) = p g p o
Pcwo (S w ) = p o p w
nc
io
i =1
nc
Additional Equations
= 1,
ig
= 1,
iw
=1
i =1
nc
C
i =1
fig = fio
fig = fiw
Luciane Cunha
330
Luciane Cunha
331
RESERVOIR ENGINEERING
1. Reservoir Characterization
332
4.
- centralization of information
- identification of production mechanisms
- prediction of reservoir behavior
- exploitation plan definition
- analysis of production history
5.
Main Difficulties
Luciane Cunha
333
volume
R (reserve)
P (production)
I
Phase
Data
Types
Delimitation
II
III
Properties
Comparative Volumetric
Data
Ta
time
Analysis of Performance
Production History
Data
(ELuciane
error
margin in the recovery estimative)
Cunha
334
Main Goals:
Estimative of Original Volumes
Primary and Secondary Performance Prediction
Estimative of Primary and Secondary Reserves
Steps:
Volumetric Method
Material Balance Method
Decline Curves Analysis
Prediction by means of Analytical Methods
Prediction by means of Numerical Methods
Luciane Cunha
335
RESERVOIR Management
acquisition of data;
interpretation of each data type to obtain an interpretation model for the data;
integration of all available data interpretation models into a reservoir model;
calculation of the reservoir model behaviour with a reservoir simulator;
calibration of the reservoir simulator by history matching production data;
coupling the reservoir simulator with well and surface facility simulators; and
using the coupled simulators to calculate reserves and predict production for
various development scenarios.
required understanding of
(1) the fundamental concepts of reservoir characterization, reservoir modelling,
reservoir simulation, and field management;
(2) the links between the various types of data; and
(3) the processes for integrating and processing all available information.
Luciane Cunha
336
RESERVOIR Management
Luciane Cunha
337
Luciane Cunha
338
Systemic x Occasional
Subjective x Objective
Luciane Cunha
339
Luciane Cunha
340
RECOVERY MECHANISMS
Fluids, Rocks, Flow Equations
RESERVOIR
PATTERN
ANALOGOUS
FIELDS
SIMULATION MODEL
(analysis of different cases)
PERFORMANCE
PREDICTION
EOR
CLCULOS
MANUAIS
ECONOMICAL
EVALUATION
DEVELOPMENT
Luciane Cunha
341