Beruflich Dokumente
Kultur Dokumente
1
Smart wells
modeling, estimation and control of oil and gas reservoirs
Jan Dirk Jansen
TU Delft
CiTG Geotechnology
Shell International E&P
Exploratory Research
DISC Summer School, Veldhoven, August 2005
2
Smart wells, Smart Fields, Closed-Loop
Reservoir Management, .
A growing research theme
Jorn van Doren
2,1
Okko Bosgra
2
Roald Brouwer
5
Talal Esmaiel
1
Jan Dirk Jansen
1,5
Sippe Douma
5
Renato Markovinovi
1
Arnold Heemink
3
Hans Kraaijevanger
5
Joris Rommelse
3,1
Paul van den Hof
2
Maarten Zandvliet
2,1
Cor van Kruijsdijk
1
Geir Naevdal
6
Justyna Przybysz-Jarnut
4,1
1) TUD CiTG - Geotechnology - Petroleum Engineering
2) TUD Delft Institute for Measurement and Control
3) TUD EWI Applied Mathematical Analysis
4) TUD Applied Physics
5) Shell International E&P - Exploratory Research
6) RF Rogaland Research - Reservoir engineering
Cooperation: University of Bergen, MIT, Stanford University, TNO (VALUE, ISAPP)
Sponsoring: Shell, TNO, DELPHI, KISR
www.dietzlab.tudelft.nl
DISC Summer School, Veldhoven, August 2005
3
Oil reservoirs
oil trapped in porous rock below an impermeable cap rock
oil
anticline
fault
oil
water
water
DISC Summer School, Veldhoven, August 2005
4
Oil production mechanisms
Primary recovery expansion of rock and fluids,
decreasing reservoir pressure
(depletion drive, compaction drive, 5-40% recovery)
Secondary recovery injection of water or gas to
maintain reservoir pressure and displace oil actively
(water flooding, gas flooding, 10-60% recovery)
Tertiary recovery injection of steam or chemicals
(polymers, surfactants) to change the in-situ physical
properties (viscosity, surface tension, wettability)
(steam flooding, polymer flooding, 20-80% recovery)
DISC Summer School, Veldhoven, August 2005
5
Reservoir models
(10
4
10
6
grid blocks)
DISC Summer School, Veldhoven, August 2005
6
... maar in de porien van gesteenten !
..
Geological heterogeneity
50 m
20 m
0.1 mm
Pore scale
Reservoir simulator gridblock scale
DISC Summer School, Veldhoven, August 2005
7
Governing equations
isothermal single-phase flow
Conservation of mass:
Darcys law (replaces conservation of momentum):
Equation of state:
Unknows: p, v, ( and known algebraic functions of p)
( )
( )
0 q
t
+ =
v
( )
p g d
=
K
v
0
1
T
c
p
| | (
+ + =
|
(
\ .
K
2
0
p
p c q
t
+ =
K
DISC Summer School, Veldhoven, August 2005
9
Governing equations
isothermal two-phase (oil-water) flow
Conservation of mass:
Darcys law :
Equations of state:
Unknows: p
, v
, S
( )
( )
0
S
q
t
+ =
v
( )
r
k
p g d
=
K
v
0
1
T
c
p
{ }
, o w
DISC Summer School, Veldhoven, August 2005
10
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
Water saturation S
w
, -
R
e
l
a
t
i
v
e
p
e
r
m
e
a
b
i
l
i
t
y
k
r
,
-
k
row
k
rw
Relative permeabilities (oil-water, imbibition)
DISC Summer School, Veldhoven, August 2005
11
Resulting differential equations (1)
isothermal two-phase (oil-water) flow
Full form (nonlinear in p
and S
):
Closure equations:
p
c
(S
w
) is the capillary pressure
( )
0
r
k S p
p g d S c q
p t
( | |
+ + =
|
(
\ .
K
( )
1
o w
o w c w
S S
p p p S
+ =
=
DISC Summer School, Veldhoven, August 2005
12
Resulting differential equations (2)
isothermal two-phase (oil-water) flow
p-S form (nonlinear in p
o
and S
w
):
( )
( )
( )( )
0 ,
1 0
rw c
w o w w
w w
o w
w w w r w w
ro
o o o
o
o w
o w o r o o
k p
p S g d
S
p S
S c c q
t t
k
p g d
p S
S c c q
t t
(
| |
+
` ( |
\ .
)
(
+ + =
(
(
+
(
(
+ =
(
K
K
Parabolic system?
DISC Summer School, Veldhoven, August 2005
13
Resulting differential equations (3)
isothermal two-phase (oil-water) flow
1-D, K = k, g = 0, p
c
= 0 , c
o
= c
w
= c
r
= 0, q
o
= q
w
= 0:
0
w w w
t
w
f S S
v
S x t
+ =
ro rw
t w o
o w
kk kk
= + = +
( )
1
t w w w o r
c S c S c c = + +
w w
w
w o w o
v
f
v v
= =
+ +
( )
t o w o w
p
v v v
x
= + = +
2
2
0
t t
p p
c
x t
+ =
parabolic
hyperbolic
DISC Summer School, Veldhoven, August 2005
14
Reservoir simulation
3-phase (gas, oil, water) or multi-component
PDEs discretized in time and space FD/FV
Cornerpoint grids or unstructured grids
Fully implicit (Newton iterations) or ImPES
Large variation in parameter values: 10
-15
< k < 10
-11
m
2
Typical model size: 10
4
10
6
blocks, 50 500 time steps
Typical code size: 10
6
lines (well models, PVT analysis)
Primarily used in design phase: field (re-)development
Traditional research focus on upscaling, discretization
methods, gridding, history matching
DISC Summer School, Veldhoven, August 2005
15
Capital intensive
well: 1-100*10
6
$
field: 0.1-10*10
9
$
Uncertain
geology
oil price
limited amount of data
Stretched in time scales
production operations: day weeks
field development years
reservoir management: 10s of years
Slow in response
production: months
reservoir drainage: years
Discipline oriented
geology, geophysics,
reservoir engineering,
production, drilling
Remote
deserts
swamps
offshore
Speeding up!
horizontal drilling
multi-laterals
time lapse seismics
smart wells .
Oil industry - characteristics
DISC Summer School, Veldhoven, August 2005
16
Lower margins, higher complexity of developments
easy oil has been found
reducing cycle times
Lack of human resources, skills erosion
the big crew change
Increasing knowledge- and data intensity
proliferation of cheap sensors, data transmitters:
pressure/temperature/flow sensors, time-lapse seismics, passive
seismics, fiber glass cables ,
proliferation of computing power
Oil industry - trends
DISC Summer School, Veldhoven, August 2005
17
Smart Fields
DISC Summer School, Veldhoven, August 2005
18
E&P activity domains
production
operations
days years decades
time
space
OU
asset
field
well
reservoir
management
field dev. planning
portfolio
management
business planning
historic data
& forecasts
objectives
& constraints
objectives
& constraints
historic data
& forecasts
production
operations
reservoir
management
field dev. planning
portfolio
management
business planning
historic data
& forecasts
objectives
& constraints
objectives
& constraints
historic data
& forecasts
DISC Summer School, Veldhoven, August 2005
19
Closed-loop reservoir management
Controllable
input
Identification
and updating
Low-order model
with or w/o physics
Optimization
High-order model
up/down
scaling
Geology, seismics,
well logs, well tests,
fluid properties, etc.
Noise Output Input
Noise
System
(reservoir, wells
& facilities)
Control
algorithms
Sensors
DISC Summer School, Veldhoven, August 2005
20
Smart Fields project characteristics
Key elements:
Optimization under physical constraints and
geological uncertainties
Data assimilation aimed at continuous updating
of system models
Up-scaling and down-scaling between
hierarchical system models
Inspiration:
Measurement and control theory
Meteorology and oceanography
DISC Summer School, Veldhoven, August 2005
21
Virtual asset model
Controllable
input
Identification
and updating
Low-order model
with or w/o physics
Optimization
High-order model
up/down
scaling
Geology, seismics,
well logs, well tests,
fluid properties, etc.
Noise Output Input
Noise
System
(reservoir, wells
& facilities)
Control
algorithms
Sensors
DISC Summer School, Veldhoven, August 2005
22
Waterflooding with smart wells
Fixed configuration
Pressure and bulk rate measurements
DISC Summer School, Veldhoven, August 2005
23
Smart well
Network Splitter Isolation Unit (SIU)
SCSSV
Gas Lift Device
Wet Disconnect Unit
Zonal Isolation Packer
ICV with Sensors
Zonal Isolation Packer
ICV with Sensors
Zonal Isolation Packer
ICV with Sensors
Production Packer
SCSSV Control Line
Flat Pack with Single Hydraulic and Single Electrical Line
Dual Flat Packs each containing a Single Hydraulic and Single Electrical Line
DISC Summer School, Veldhoven, August 2005
24
Virtual asset
45 x 45 grid blocks
45 inj. & prod. segments
p
o
, S
w
at segments known
oil in streak: 15%
1 PV injected, q
inj
= q
prod
oil price r
o
= 80 $/m
3
water costs r
w
= 20 $/m
3
discount rate b = 0%
-13.5
-13
-12.5
-12
-11.5
-11
permeability field
10 20 30 40
5
10
15
20
25
30
35
40
45
10log(k) [m
2
]
DISC Summer School, Veldhoven, August 2005
25
Results: conventional production
0 100 200 300 400 500 600 700
0
200
400
600
800
r
a
t
e
s
[
m
3
/
d
]
cum time [d]
water, oil and liquid production rates (m3/d) as function of time
0 100 200 300 400 500 600 700
0
1
2
3
4
5
x 10
5
c
u
m
.
p
r
o
d
u
c
t
i
o
n
[
m
3
]
cum time [d]
cumulative water, oil and liquid production (m3) as function of time
ref wat
ref liq
ref oil
opt wat
opt wat
opt oil
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
5 10 15 20 25 30 35 40 45
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
5 10 15 20 25 30 35 40 45
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
5 10 15 20 25 30 35 40 45
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
5 10 15 20 25 30 35 40 45
5
10
15
20
25
30
35
40
45
Equal pressures in all segments, at injection and production well
DISC Summer School, Veldhoven, August 2005
26
Step 1: open-loop control
Controllable
input
Identification
and updating
Reservoir
Model
Optimization
High-order model
up/down
scaling
Geology, seismics,
well logs, well tests,
fluid properties, etc.
Noise Output Input
Noise
System
(reservoir, wells
& facilities)
Control
algorithms
Sensors
DISC Summer School, Veldhoven, August 2005
27
Optimization techniques
Global versus local
Gradient-based versus gradient-free
Constrained versus non-constrained
Classical versus non-classical (genetic algorithms,
simulated annealing)
We use optimal control theory local, gradient-based
Has been proposed for history matching (Chen et al.
1974, Chavent et al. 1975, Li, Reynolds and Oliver 2003 )
and for flooding optimization (Ramirez 1987, Asheim
1988, Virnovski 1991, Zakirov et al. 1996, Sudaryanto and
Yortsos, 1998)
DISC Summer School, Veldhoven, August 2005
28
Constrained optimization
( )
( ) ( ) ( )
2 2
2 2
, subject to
2 2
2 0
2
2 0
2 2
0
J x y x y k
J x y x y k
J J J
J x y
x y
x x y y x y k
x x
k
y y x y
x y k k
= + + =
= + + +
= + +
= + + + + +
+ = =
+ = = = =
`
+ = =
)
x
y
Top view
DISC Summer School, Veldhoven, August 2005
29
System theory - notation
System equations:
Initial conditions:
LTI system:
LTI output:
x = state (pressures and saturations),
u = input (well rates, BHPs, valve settings),
k = discrete time,
= system parameters (permeabilities, porosities, etc.)
( ) ( ) ( ) ( )
, 1 , , k k k k + = (
g x x u 0
( )
0 = x x
( ) ( ) ( )
1 k k k + = + x Ax Bu
( ) ( )
k k = y Cx
( ) ( ) ( ) ( )
1 , , k k k k + = (
x f x u
DISC Summer School, Veldhoven, August 2005
30
Optimization problem
System equations:
Initial conditions:
Objective function:
Constraints:
Problem statement: max J
u
( ) ( ) ( )
, 1 , k k k + = (
g x x u 0
( )
0 = x x
( ) ( ) ( )
1 1
0 0
,
K K
k k
k k
J J k J k k
= =
= = (
u x
( ) ( )
, k k (
c x u 0
DISC Summer School, Veldhoven, August 2005
31
Objective function
Simple Net Present Value (NPV)
K time steps
N
prd
producers
( )
( )
( )
( )
( )
( )
( )
( )
, , , ,
1
1
prod
N
w w j w j o o j w j
k
t k
j
r q S k r q S k
J k t k
b
=
+
=
`
+
)
( )
1
0
K
k
k
J J k
=
= (
x
DISC Summer School, Veldhoven, August 2005
32
( )
( )
( )
( )
( )
( )
( )
1 K
i i
k
i i
J J k k
J u
u k u
=
(
= +
` (
)
x
x
Sensitivities
( ) ( )
1
0
,
K
k
k
J J k k
=
= (
x u
Wanted: change J
i
as a result of perturbation u
i
(k) at k =
cannot be
determined
directly
DISC Summer School, Veldhoven, August 2005
33
Optimal control (1a)
Modified objective function:
First variation:
( ) ( ) ( ) ( ) ( ) ( )
{ }
( ) ( ) ( ) ( ) ( )
1
0
1 1
0 0
, 1 , 1 ,
, 1 , , 1
K
T
k
k
K K
k k
J J k k k k k k
k k k k k
=
= =
= + + + ( (
= + + = (
u h g x x u
x x u L L
( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
1 1 1
0 0 0
1
0
1
1
1
1
K K K
k k k
K
k
k k k
J k k k
k k k
k
k
k
= = =
=
( ( (
= + + +
( ( (
+
(
+ +
(
+
x x u
x x u
L L L
L
DISC Summer School, Veldhoven, August 2005
34
Optimal control (1b)
After shifting indices and splitting summations:
( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
( )
1
1
1 1
0 0
0 1
0
0
1
1 .
1
K
k
K K
k k
k k
J k
k k
K k k
K k k
K k k
=
= =
( (
= + +
( (
( ( (
+ + + +
( ( (
+
x x
x x x
x u
x u
L L L
L L L
(initial condition)
( )
0 = x 0
(system equations)
( ) ( )
1 k k + = = g 0 L
( )
( )
( )
( )
1 k k
k k
+ =
0
x x
L L
and that
Furthermore, require that
( )
( )
1 K
K
=
0
x
L
DISC Summer School, Veldhoven, August 2005
35
, or
( )
( )
( )
( )
( )
( )
( )
( )
1
1
T T
k k J k
k k
k k k
(
= +
(
g g
x x x
implies that
( )
( )
1 K
K
=
0
x
L
( )
T
T
K = 0
Optimal control (1c)
( ) ( ) ( ) ( ) ( ) ( ) ( )
, 1 1 , ,
T
k J k k k k k k = + + + ( (
x u g x x u L
Because we defined that
( )
( )
( )
( )
1 k k
k k
+ =
0
x x
L L
, while
implies that
( )
( )
( )
( )
( )
( )
( )
( )
1
1
T T
k J k k
k k
k k k
+ + + =
g g
0
x x x
DISC Summer School, Veldhoven, August 2005
36
Optimal control theory, summary
Gradient based optimization technique
Objective function: NPV or ultimate recovery
Controls: injection/production rates (rate-controlled) or
valve openings (pressure- controlled)
Gradients of objective function with respect to controls
obtained from adjoint or co-state equation
Results in dynamic control strategy, i.e. controls
change over time
Computational effort independent of number of
controls
DISC Summer School, Veldhoven, August 2005
37
Simulate with initial control strategy (forward in time)
Calculate objective function J
Simulate adjoint equation (backward in time)
Use derivatives to choose new control strategy,
e.g. with steepest descent or quasi-Newton method
Repeat cycle until optimum is reached
Typically 5-10 cycles required
Optimization procedure
DISC Summer School, Veldhoven, August 2005
38
Rate constrained operation
Enough energy to maintain flow rates for any number
and combination of active wells
Total injection/production rate independent of number
of active wells
DISC Summer School, Veldhoven, August 2005
39
Conventional (equal pressure in all segments, no control)
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
5 10 15 20 25 30 35 40 45
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
5 10 15 20 25 30 35 40 45
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
5 10 15 20 25 30 35 40 45
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
5 10 15 20 25 30 35 40 45
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
5 10 15 20 25 30 35 40 45
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
5 10 15 20 25 30 35 40 45
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
5 10 15 20 25 30 35 40 45
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
5 10 15 20 25 30 35 40 45
5
10
15
20
25
30
35
40
45
Best possible (identical field rate, no pressure constraints)
Results: rate-constrained (1)
DISC Summer School, Veldhoven, August 2005
40
Results: rate-constrained (2)
NPV
+60%
Production
+ 41% cum oil
- 45% cum water
0 100 200 300 400 500 600 700
0
200
400
600
800
r
a
t
e
s
[
m
3
/
d
]
cum time [d]
water, oil and liquid production rates (m3/d) as function of time
0 100 200 300 400 500 600 700
0
1
2
3
4
5
x 10
5
c
u
m
.
p
r
o
d
u
c
t
i
o
n
[
m
3
]
cum time [d]
cumulative water, oil and liquid production (m3) as function of time
ref wat
ref liq
ref oil
opt wat
opt wat
opt oil
DISC Summer School, Veldhoven, August 2005
41
Injection and production rates as function of time
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
x 10
-6
cum time [yr]
w
e
l
l
n
u
m
b
e
r
(
4
5
w
e
l
l
s
i
n
t
o
t
a
l
)
inj. rates (m3/d)
vs. time for all wells
5
10
15
20
25
30
35
40
45
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
x 10
-6
cum time [yr]
w
e
l
l
n
u
m
b
e
r
(
4
5
w
e
l
l
s
i
n
t
o
t
a
l
)
prod. rates (m3/d)
vs. time for all wells
5
10
15
20
25
30
35
40
45
Results: rate-constrained (3)
DISC Summer School, Veldhoven, August 2005
42
Pressure-constrained operation
Limited energy available
Total injection/production rate dependent on number
of active wells
DISC Summer School, Veldhoven, August 2005
43
0 100 200 300 400 500 600 700
0
200
400
600
800
r
a
t
e
s
[
m
3
]
cum time [d]
water, oil and liquid production rates (m3/d) as function of time
0 100 200 300 400 500 600 700
0
1
2
3
4
5
x 10
5
c
u
m
.
p
r
o
d
u
c
t
i
o
n
[
m
3
]
cum time [d]
cumulative water, oil and liquid production (m3) as function of time
ref wat
ref liq
ref oil
opt wat
opt liq
opt oil
Improvement in NPV
+53%
Production
+16% cum oil
-77% cum water
Injection
-32% cum water
Results: pressure-constrained
DISC Summer School, Veldhoven, August 2005
44
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
cum time [yr]
w
e
l
l
n
u
m
b
e
r
inj. valve setting
vs. time for all wells
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
cum time [yr]
w
e
l
l
n
u
m
b
e
r
prod. valve setting
vs. time for all wells
5
10
15
20
25
30
35
40
45
Optimum valve-settings (1)
100 200 300 400 500 600 700 800 900
0
0.2
0.4
0.6
0.8
1
v
a
lv
e
-s
e
ttin
g
optimum valve-position for injector segment 12 as function of time step
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
time step (n)
in
je
c
t s
e
g
m
1
2
optimum valve-position for injector segment 12 as function of time step
100 200 300 400 500 600 700 800 900
12
12
12
DISC Summer School, Veldhoven, August 2005
45
Optimum valve-settings (2)
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
cum time [yr]
w
e
l
l
n
u
m
b
e
r
inj. valve setting
vs. time for all wells
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
cum time [yr]
w
e
l
l
n
u
m
b
e
r
prod. valve setting
vs. time for all wells
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
cum time [yr]
w
e
l
l
n
u
m
b
e
r
inj. valve setting
vs. time for all wells
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
cum time [yr]
w
e
l
l
n
u
m
b
e
r
prod. valve setting
vs. time for all wells
5
10
15
20
25
30
35
40
45
DISC Summer School, Veldhoven, August 2005
46
sw at 2 days sw at 12 days sw at 129 days sw at 199 days
sw at 272 days sw at 386 days sw at 603 days
Zone A
Zone B
Zone C
5
10
15
20
25
30
35
40
45
injectors
producers
10 20 30 40 10 20 30 40
5
10
15
20
25
30
35
40
45
injectors
producers
Streak I
Streak P
Zone A
Zone B
Zone C
Optimum valve settings (3)
DISC Summer School, Veldhoven, August 2005
47
Optimum valve-settings (4)
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
cum time [yr]
w
e
l
l
n
u
m
b
e
r
inj. valve setting
vs. time for all wells
5
10
15
20
25
30
35
40
45
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
cum time [yr]
w
e
l
l
n
u
m
b
e
r
prod. valve setting
vs. time for all wells
5
10
15
20
25
30
35
40
45
3 valves
in injector
4 valves in
producer
DISC Summer School, Veldhoven, August 2005
48
2 4 6 8 10 12
x 10
-12
distance [m]
d
i
s
t
a
n
c
e
[
m
]
100 200 300 400 500 600 700 800 900 1000 1100 1200
100
200
300
injectors
producers
P.A. 1 P.A. 2 P.A. 3 I.A. 1 I.A. 2
Example dynamic optimisation (1)
Top view line-drive water injection
producers
injectors
DISC Summer School, Veldhoven, August 2005
49
conventional
distance[m]
d
i
s
t
a
n
c
e
[
m
]
100 200 300 400 500 600 700 800 900 1000 1100 1200
100
200
300
P.A. 1
P.A. 2 P.A. 3
I.A. 1
I.A. 2
Example dynamic optimisation (2)
DISC Summer School, Veldhoven, August 2005
50
Conclusions
Water flood optimization
Improvement in NPV for all cases considered
Degree of improvement depends on
Operating conditions
Pressure: mostly water production reduction
Rate: acceleration of production, increased oil
recovery, reduced water production
Heterogeneity type
Restrictions on water production
Restricted number of segments per well may often be
sufficient
Local method: improvements are lower bounds
DISC Summer School, Veldhoven, August 2005
51
Step 2: closed-loop control
Controllable
input
Identification
and updating
Reservoir
Model
Optimization
High-order model
up/down
scaling
Geology, seismics,
well logs, well tests,
fluid properties, etc.
Noise Output Input
Noise
System
(reservoir, wells
& facilities)
Control
algorithms
Sensors
DISC Summer School, Veldhoven, August 2005
52
Data assimilation (automatic history
matching)
Variational methods - history match problem defined as
minimization problem:
Ensemble Kalman filtering meteorology, oceanography,
groundwater flow
Reservoir-specific methods
Streamlines: Datta-Gupta (Texas A&M), Thiele (Streamsim)
Probability perturbation: Caers (Stanford)
( ) ( ) ( ) ( )
{ }
1
1
T
m y m
i
J i i i i
=
= ( (
y y R y y
( ) ( ) ( ) ( )
}
1
T
u u
i i i i
+ ( (
R
DISC Summer School, Veldhoven, August 2005
53
Kalman filtering
Ordinary Kalman filtering for linear systems 1960s
Determines weighted average of model results and measured
data
Weighting based on uncertainty in model and data
Ensemble Kalman filtering: model uncertainty propagated
through simulation of large number of realizations
Can be used to update state variables (pressures, saturations)
and model parameters (permeabilities, porosities)
Originally developed in meteorology 1990s
First applied in reservoir engineering by Geir Naevdal
(Rogaland Forskning)
Also being investigated by Evensen (Norsk Hydro),
Oliver (U of Oklahoma), Reynolds (Tulsa U)
DISC Summer School, Veldhoven, August 2005
54
Estimation
Consider two estimates and of random variable x,
with
What is the best estimate?
Try: To be unbiased:
Therefore:
Variance:
Minimum occurs when:
Optimal estimate:
1
x
2
x
( ) ( ) ( )
2
1
1 2
2
2
0
,
0
x
E x E x E x R
(
= = =
(
1 1 2 2
u
x a x a x = +
1 2
1 a a + =
( )
2 1 2 2
1
u
x a x a x = +
( ) ( )
2
2
2
2 1 2 2
1
u
x
a a = + (
( )
2 2 2
2 2 1 2
a K
= = +
( )
1 2 1
u
x x K x x = +
DISC Summer School, Veldhoven, August 2005
55
Ordinary Kalman filtering
Linear system:
1. Start from x
u
(i) and R
x,u
(i), set x(i) = x
u
(i) and propagate the
system model: x(i+1) = Ax(i) + Bu(i) + v(i)
2. Set R
x
(i) = R
x,u
(i) and propagate the error covariance:
R
x
(i+1) = A(i)R
x
(i)A
T
(i) + R
v
(i)
3. Kalman gain:
4. Assimilate: x
u
(i+1) = x(i+1) + K(i+1) [y
m
(i+1) - y(i+1)]
5. Update the error covariance: R
x,u
(i+1) = [I-K(i+1)C]Rx(i+1) .
( ) ( ) ( ) ( ) ( )
1 , ,
v
k k k k N + = + + = x Ax Bu v v 0 R
( ) ( ) ( )
( )
, ,
y
k k k N = + = y Cx w w 0 R
( ) ( ) ( ) ( )
1
1 1 1 1
T T
x x y
i i i i
(
+ = + + + +
K R C CR C R
DISC Summer School, Veldhoven, August 2005
56
Ensemble Kalman filtering
Nonlinear system:
Propagate all ensemble members and compute
Compute the error covariance from the ensemble:
where
For reservoir engineering, use extended state:
( ) ( ) ( ) ( ) ( )
1 , , , ,
v
k k k k N + = = (
x f x u v v 0 R
( ) ( ) ( )
( )
, ,
y
k k k N = + = y Cx w w 0 R
( ) ( ) ( )
1
1 1 1
1
T
x
i i i
J
+ = + +
R X X
( ) ( ) ( ) ( ) ( )
1
1 1 1 , , 1 1
J
i i i i i
(
+ = + + + +
X x x x x
1
1
J
j
j
J
=
=
x x
(
=
(
x
x
=
=
x x
2 2
1 1
l
i i
i i
E
= =
=
T
= X
,
l
l
+ x z x z
( ) ( ) ( ) ( )
1 ,
T
l l
k k k
(
+ = +
z f z x u x
( ) ( ) ( ) { }
1 , , , ,
n
o w
k k k + = (
x f x u x x p S
DISC Summer School, Veldhoven, August 2005
73
POD computational advantage
Original equation:
Semi-implicit time dicretization:
Reduced equation; substitute :
( ) ( ) ( ) ( ) ( ) ( ) ( )
1
c c
n n
t k k k t k k I A x x x B x u
+ = +
( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )
,
c c c
t t t t t = = + x f x u A x x B x u
( ) ( )
( ) ( ) ( ) ( ) ( ) ( )
1
1
c c
k k
k k k k
t
x x
A x x B x u
+
= + +
( ) ( ) ( ) ( ) ( ) ( ) ( )
1
c c
t k k k t k k I A z x z z B z x u
+ + = + +
( ) ( ) ( ) ( ) ( ) ( ) ( )
1
T T
c c
lxl
t k k k t k k I A z x z z B z x u
+ + = + +
= + x z x
DISC Summer School, Veldhoven, August 2005
74
( )
( )
( )
( )
( )
( )
( )
( )
1
1
T T
n n
k k J k
k k
k k k
= +
g g
x x x
(
(
= + + +
(
z u g z z u