Professional Documents
Culture Documents
SPE 84064
PRH 034 - Formação de Engenheiros nas Áreas de Automação, Controle, e Instrumentação do Petróleo e Gás -
aciPG, participante do Programa de Recursos Humanos da ANP - Agência Nacional do Petróleo - para o setor
Petróleo e Gás - PRH - ANP/MME/MCT
1
Agenda
2
Objective of this presentation
3
Reservoir Management is about a careful orchestration of technology, people & resources
Establish
Establish or
or revise
revise
Optimum
Optimum Plan
Plan
Control
Control
Drainage
Area
Subsurface
Subsurface
Update
Update Model
Model
Characterization
Characterization
4
Hydrocarbon production system suffering major technical problems
Motivation
Traditional Problems Current Approach Challenges
Complex & risky operations More front-end engineering More data for analysis and
(Drilling, Workover, Prod.) and knowledge sharing integration limitations.
Poor reservoir prediction & Integrated Characterization & Long-term studies, Ill-posed
production forecasting Modern visualization tools tools, simple or incomplete.
Limited resources: injection Multivariable optimization, Models are not linked among
volumes, facilities, people. reengineering. different layers
Unpredictability of events: Monitoring & control devices, Poor Justification, real time
gas or water, well damage. Beyond well measurements analysis in early stage.
Poor decision making ability Isolated optimization trials Decisions made only on few
to tune systems, thus, not with limited success. pieces. Lack of Integration
optimized operations between subsurface-surface
5
To develop a field-wide continuous self-learning optimization decision engine
6
Combination of petroleum reservoir physics and process control technologies
Research Framework
Data
Data Model
Model System
System Reservoir
Reservoir Bi-layer
Bi-layer Close-loop
Close-loop
Handling
Handling Building
Building Identification
Identification Performance
Performance Optimization
Optimization Control
Control
• Data handling
– Data acquisition, filtering, de-trending, outliers detection
• Model building and identification
– Gray box modeling: empirical reservoir modeling
– Partial least square impulse response, neural network and sub-space
• Reservoir performance prediction
– Real time Inflow performance and well restrictions
– Havlena-Odeh Material Balance
• Bi-layer optimization of operating parameters
– Reservoir best operating point based on the net present value optimization
– Regulatory downhole sleeves and wellhead choke controls
• Closed-loop control with history-matched numerical reservoir model
– Study of the system behavior in closed-loop
7
Attempt to solve two significant reservoir management challenges
Problem Definition
Injector
Injector -- Producer
Producer Profile
Profile Mngt.
Mngt. Field-Wide
Field-Wide Management
Management
• Control undesired fluid production • Optimization fluid production (< bottle-necks)
• Exploit efficiently multilayer horizons • Commingle multilayer reservoirs
• Characterize inter-well relationship • Minimize production costs
• Maximize reserves and production • Maximize reserves and production
• Control from surface measurement • Control from surface measurement
Gas
Crudo
h1 k1 Agua
hn kn
8
By collecting data, a digital image is used to make decisions
Database
Business Parameters 3
6
Constraints Check Condition
Applications
Reservoir
7
Model
8 Decision
Optimization
Making Surface
Well 4
Model Model
Business
Model
Exploitation
Options
5
9
Spatial distribution of pressure as a time function of saturation
∂c krp K ⎡ ⎛ g ⎞⎤ ∂ ⎛ φ S p ⎞
+ ∇ ⋅ ( cv ) = 0 ∇ ⋅ ⎢c ⎜ ∇ p p − ρ p ∇Z ⎟ ⎥ = ⎜
Continuity
⎜ ⎟
⎟
Equation
∂t µp ⎣ ⎝ gc ⎠ ⎦ ∂t ⎝ β p ⎠
10
Oil, water and gas flow as linear functions of the drawdown pressure
q = c0 + c1 ⋅ p + c2 ⋅ p + c3 ⋅ ( p )
2
pb ⋅ J ⎡ ⎛ pwf ⎞ ⎤
2
⎛ pwf ⎞
* k k k k
qo = qo ,b + ⎢1 − 0.2 ⎜ ⎟ − 0.8 ⎜ ⎟ ⎥
g e wf wf
1.8 ⎢ ⎝ pb ⎠ ⎝ pb ⎠ ⎥⎦
⎣
11
Average Reservoir Pressure is a function of net mass production
f ⎡⎣ p ( t ) ⎤⎦ = g ( N p , G p , W p , We )
⇒ p = a0 + a1 ∫ qo + a2 ∫ qw + a3 ∫ qg + a4 ∫ qwi
dp
⇒ = b1qo + b2 qw + b3 qg + b4 qwi
dt
⇒ 1
∆t ( k
p −p
k −1
) k
≈ c0 + c1 ⋅ p + c2 ⋅ pwf
k
1 + c3 ⋅ ( pwf 1 ) + c5 ⋅ pwf 2 + c6 ⋅ ( pwf 2 )
k 2 k k 2
( p) = ( p) + c3 ⋅ ( p ) + c5 ⋅ ( p )
k k −1 2 2
+ c1 + c2 ⋅ p k
wf 1
k
wf 1 + c4 ⋅ p k
wf 2
k
wf 2
12
Vertical flow as non-linear functions of flow rates
+ + dz + + dWs = 0 0
ρ
1,000 STB/D @ 500 SCF/STB; WOR=1
gc gc gc D 2000 1,000 STB/D @ 1000 SCF/STB; WOR=1
1,000 STB/D @ 500 SCF/STB; WOR=0
1,000 STB/D @ 1000 SCF/STB; WOR=0
4000
Single-Phase Solution, Incompressible
ρ 2 f f u 2 dL
Depth (ft)
6000
g
∆p = p1 − p2 = ρ∆z + ∆u +
2
8000
gc 2 gc gc D
10000
Two-Phase Solution, Hagerdorn & Brown (1965)
∆ ( u 2 gc )
12000
2
dp fm& 2
=ρ+ +ρ
m 14000
144
dz ( 7.413 ×10 D ) ρ
10 5
∆z
(p ) = b q + b q + b q + b4 ( q ) + b5 ( q ) + b6 ( q )
k
k 2 k 2 k 2
− pth
k k k k
wf 1 o 2 w 3 g o w g
13
Well operating point given by the intersection of reservoir and tubing performance
q, [BPD]
pwf , [psia]
Reservoir Pressure
q, [BPD]
14
Knowing input-output relationships, reservoir could seen as a process plant
Manipulated Inputs
Flow Choke
Zone Control Unmeasured Outputs
ESP Speed Well flowing Pressure: pwf
Gas
Gas Lift Reservoir Pressure: pres
Crudo
Measured Outputs
15
Recursive self-adaptive identification
qGsp Measure
Control
Control Model
Model
Control Interpret
Implementation
Implementation Identification
Identification
n+ N
qo ,opt
∑ hu
Optimize
yˆ k + n + j|k = i k + n + j −i + dˆk |k
Set point i = n +1
Reservoir Model
Reservoir Value
Value
Optimization
Optimization
⎡ 1 ⎤ LS Optimization Loop
+ a3 ⋅ ( p wf )
2
qok = a0 + a1 ⋅ pek + a2 ⋅ pwf
a3 ⎢⎢ p k ⎥⎥
k k
⎡q k ⎤ ⎡ a0 a1 a2 ⎤
⎢ o ⎥ ⎢ ⎥⎢ e ⎥ ˆ = Xθˆ + e
Y
q = b0 + b1 ⋅ p + b2 ⋅ p
k k k
+ b3 ⋅ ( p) k 2
⎢q k ⎥ = ⎢b b1 b2 b3 ⎥ ⎢ p k ⎥
w e wf wf ⎢ w ⎥ ⎢ 0 ⎥ ⎢ wf ⎥ ⎧N ⎫
⎢q ⎥ ⎢c min ⎨∑ ei2 ⎬ ⇒ ( X T X ) XT Y
-1
k
⎥⎦ ⎣⎢ 0 c3 ⎥⎦⎥ ⎢ k 2 ⎥
+ c3 ⋅ ( pwf )
2
⎢⎣ c1 c2
q gk = c0 + c1 ⋅ pek + c2 ⋅ pwf ⎢⎢( pwf ) ⎥⎥
k k g
⎣ ⎦
a ,b
⎩ i =1 ⎭
(
⎧qo, g , w = f1 p k , p k −1 ... qTk , qTk −1 ,...
⎪ )
⇔⎨
( k −1
⎪⎩ pres = f n p k , p k −1 ... qT , qT ,...
k
)
16
Example for Model Identification and Block Diagram
Empirical
Empirical
Model
Model
d
qo
+ qw
pwf Reservoir
Reservoir
(Simulator)
(Simulator) qg
Outputs (Y)
Inputs (U) y1
Reservoir Pressure: P
qwinj qo y2
Producer Flowing Pressure, pwf1 u1 Oil Rate: qo
y3
Water Rate: qw
Injector Flowing Pressure, pwf2 u2 y4
Water Fraction: fw
y5
Gas Rate: qg
y6
Water Injection Rate: qwi
17
Model Identification Experimental Set-up
Least Squares
Estimator
18
Predictions Using Empirical Structured models
19
Errors Using Empirical models
20
Coefficients Using Empirical models
21
MPC minimizes future prediction error while satisfying input constraints
⎢ ⎩ j =1 j =1 ⎭⎥
⎢ s .t . ⎥
⎢ ⎥
⎢ y m in ≤ yˆ k + n + j | k ≤ y m a x j = 1, L , p ⎥
⎢ ⎥
⎢ u m in ≤ u k + j − 1| k ≤ u m a x j = 1, L , m ⎥
⎢u = u k + m − 1| k i = m ,L , p − 1 ⎥
⎢ k + i |k ⎥
⎢⎣ ⎥⎦
22
Example for Control and Block Diagram
PLS
PLS Impulse
Impulse
Identification
Identification
Empirical
Empirical
Model
Model
d
qo , sp
∆qo + qo
qw, sp + MPC
pwf
Reservoir
MPC Reservoir qw
qg , sp Controller
Controller (Simulator)
(Simulator)
-
qg
Outputs (Y)
Inputs (U) y1
qwinj qoT Reservoir Pressure: P
y2
Producer Flowing Pressure, pwf1 u1 Oil Rate Layer 1: qo1
y3
Oil Rate Layer 2: qo2
Producer Flowing Pressure, pwf2 u2 y4
Water Rate Layer 1: qw1
Layer 1, kh1 y5
Injection Flowing Rate, qwinj u3 Water Rate Layer 2: qw2
Layer 2, kh2 y6
Water Injection Rate: qwi
23
MPC minimizes future prediction error by satisfying input constraints
24
Continuous self-learning optimization decision engine
qGsp Measure
Control
Control Model
Model
Control Interpret
Implementation
Implementation Identification
Identification
n+ N
qo ,opt
∑ hu
Optimize
yˆ k + n + j|k = i k + n + j −i + dˆk |k
Set point i = n +1
Reservoir Model
Reservoir Value
Value
Optimization
Optimization
LP Optimization Loop
⎧ ⎫
max ⎨ NPV = ∑ f ( qo , qw , qg ,$, ∆T ) ⎬
N
⎩ qo ,qw ,qg 1 ⎭
⎪⎧ pmin ≤ pk + p , k ≤ pmax
s.t. ⎨
⎪⎩qmin ≤ qk + p ≤ qmax
25
Upper optimization layer passes the best operating point to lower layer
Linear
Linear Programming
Programming Net
Net Present
Present Value
Value Reservoir
Reservoir Forecasts
Forecasts
Optimizer
Optimizer Function
Function
Optimization Layer
Regulatory Layer
Information
PLS
PLS Impulse
Impulse
Identification
Identification
Empirical
Empirical
Model
Model
d
qo , sp
∆qo + qo
qw, sp + MPC
pwf
Reservoir
MPC Reservoir qw
qg , sp Controller
Controller (Simulator)
(Simulator)
-
qg
26
Best operating point (LP) problem subject to well constraints
⎩ qo ,qw ,qg 1 ⎭
Reservoir
Performan pthp
VLP 3: fw,max +pTHP,max
c e
4 fw
VLP 2: fw,min +pTHP,min
pwf,max 3
2 VLP 1: fw,min +pTHP,max
1
pwf,min
27
The self-learning cased permitted less water and more oil produced
28
Clear benefits from extra little oil but with a lot less effort.
Self-Learning 5%
∆Np=500 Mbbls
Self-Learning
Non-Controlled
Water rate
Self-Learning Wp Controlled
29
Continuous self-learning optimization decision engine
qGsp Measure
Control
Control Model
Model
Control Interpret
Implementation
Implementation Identification
Identification
n+ N
qo ,opt
∑ hu
Optimize
yˆ k + n + j|k = i k + n + j −i + dˆk |k
Set point i = n +1
Reservoir Model
Reservoir Value
Value
Optimization
Optimization
∆u
⎩ j =1 ⎭ ⎩ qo ,qw ,qg ⎭ ⎧ ∞ 2⎫
min ⎨∑ ei ⎬ ⇒ ( XT X ) XY
j =1 1 -1
30
Summary & Conclusions
31
Acknowledgement
32