Escolar Documentos
Profissional Documentos
Cultura Documentos
Abstra
t
Optimizing oshore produ
tion of oil and gas has re
eived
omparatively little attention despite the large s
ale of revenues involved.
The omplexity of
multiphase ow means that any model for use in produ
tion optimization must
be tted to produ
tion data for a
ura
y, but the low information
ontent of
produ
tion data means that the un
ertainty in the tted parameters of any
su
h model will be signi
ant. Due to
osts and risk the information
ontent in
produ
tion data
annot be in
reased through ex
itation unless the benets are
do
umented.
A stru
tured approa
h is suggested whi
h iteratively updates setpoints while
do
umenting the benets of ea
h proposed setpoint
hange through ex
itation
planning and result analysis. In simulations on an analog whi
h mimi
s a realworld oil eld and its typi
al low-information
ontent data the approa
h is able
to realize a signi
ant portion of the available prot potential while ensuring
feasibility despite large initial model un
ertainty.
Keywords: Un
ertainty, Produ
tion optimization, Parameter estimation, Oil
and gas produ
tion, Ex
itation Planning, Result Analysis
1 Introdu
tion
The potential for optimizing oshore oil and gas produ
tion may be signi
ant
as small in
reases in prots in relative terms may translate into large gains
due to s
ales of revenues involved (Elgsaeter, Slupphaug and Johansen, 2008a),
and as this topi
has re
eived little attention
ompared to optimization and
ontrol of downstream pro
essing fa
ilities. Both modeling and measuring the
oshore produ
tion of oil and gas present
hallenges for optimization. Exploiting
the information in what measurements are available to t produ
tion models
is
ompli
ated by the low information
ontent of produ
tion data (Elgsaeter,
Slupphaug and Johansen, 2007). Pra
titioners in the oil and gas industry are
risk averse as the s
ale of revenues mean
ost and risks of implementing
hanges
in setpoints
an be signi
ant. An approa
h to optimization whi
h
an quantify
these expe
ted benets may have in
reased likelihood of industry a
eptan
e.
This paper proposes a stru
tured approa
h to optimizing produ
tion whi
h takes
the nature of models, measurements and data into a
ount, while the expe
ted
monetary benets of ea
h setpoint
hange are quantied.
Produ tion
the total output of produ
tion wells, a mass ow with
omponents in
luding
hydro
arbons, in addition to water,
ponents.
CO2 , H2 S ,
Hydro arbon produ tion is for simpli ity often lumped into oil and
gas. Produ
tion travels as multiphase ow from wells through ow lines to a
pro
essing fa
ility for separation. Water and gas inje
tion is used for optimizing
hydro
arbon re
overy of reservoirs. Gas lift
an in
rease produ
tion to a
ertain
extent by in
reasing the pressure dieren
e between reservoir and well inlet.
Produ
tion is
onstrained by several fa
tors, in
luding: On the eld level,
the
apa
ity of the fa
ilities to separate
omponents of produ
tion and the
apa
ity of fa
ilities to
ompress gas. The produ
tion of groups of wells may
travel through shared ow lines or inlet separators whi
h have a limited liquid
handling
apa
ity. The produ
tion of individual wells may be
onstrained due to
slugging, other ow assuran
e issues or due to reservoir management
onstraints.
Multiphase ows are hard to measure and are usually not available for individual ow lines in real-time, however measurements of total single-phase produ
ed oil and gas rates are usually available, and estimates of total water rates
an often be found by adding dierent measured water rates after separation.
To determine the rates of oil, gas and water produ
ed from individual wells,
the produ
tion of a single well is usually routed to a dedi
ated test separator at
intervals where the rate of ea
h separated single-phase
omponent is measured,
a
well test.
multi-rate
well tests,
reservoir management,
je tion and drainage on the time s ales of months and years, and
optimization,
produ tion
press the relationship between
hange in de
ision variables and resulting
hange
in produ
tion. Produ
tion models are usually nonlinear to des
ribe signi
ant
nonlinear phenomena in produ
tion.
tted parameters so that predi
tions of the produ
tion model mat
h a set of re
ent histori
al produ
tion data as
losely as possible. Parameters of produ
tion
models should be tted to produ
tion data through parameter estimation to
ompensate for un-modeled ee
ts or disturban
es and to set reasonable values
for physi
al parameters whi
h
annot be measured dire
tly or determined in
the laboratory. Erosion of produ
tion
hokes is an example of a typi
al su
h
un-modeled disturban
e.
The term
information ontent
the amount in variation in de ision- and disturban e variables observed in produ tion data.
information
ontent, as many parameter estimates may t data equally well for
a given model. If there is su
ient information
ontent in data a unique parameter estimate
an be found robustly whi
h mat
hes data better than all other
estimates. A previous study
on
luded that un
ertainty in tted parameters is
likely to result when produ
tion models are tted to produ
tion data des
ribing normal operations, due to low information
ontent (Elgsaeter et al., 2007).
Planned ex itation
deliberately for the purpose of exposing some aspe
t of produ
tion and redu
ing
parameter un
ertainty. The
on
epts of information
ontent and ex
itation used
in this paper are motivated by the eld of system identi
ation (Ljung, 1999).
As planned ex
itation in the oshore produ
tion of oil and gas requires a temporary redu
tion in produ
tion, planned ex
itation has a signi
ant asso
iated
ost and
ompletely eliminating parameter un
ertainty may therefore not be
ost-ee
tive.
As a
onsequen
e of the
omplexity of the pro
ess
onsidered, of measurement di
ulties, and of the low information
ontent in data, produ
tion models
may be subje
t to signi
ant un
ertainty that
an be redu
ed against a
ost or
not at all. As a result more than one setpoint
an be the plausible optimum,
whi
h raises several pra
ti
al
hallenges. One
hallenge is that the result of a
setpoint
hange is un
ertain, it may even be negative. Another
hallenge is that
ensuring that an implemented setpoint is
feasible,
In the
on the subje
tive insight of pra
titioners. Produ
tion models are updated by
tting against the most re
ent well test. An target setpoint is then
al
ulated
by mathemati
al programming. If the target setpoint is expe
ted to in
rease
prots signi
antly, a setpoint
hange is implemented. The target setpoint is
not implemented instantaneously, instead produ
tion is moved toward the target setpoint by an operator in a series of smaller steps to limit transients and
to ensure feasibility. This type of gradual setpoint
hange to ensure feasibility
post-optimization will be referred to as an
operational strategy
in this paper.
Produ
tion optimization therefore involves ex
itation planning, model updating, risk analysis and operational strategy, and
urrent industry pra
ti
e does
not expli
itly
onsider un
ertainty in any of these steps.
This is paradoxi al
as the state of produ
tion data and
omplexity of multiphase ow di
tate that
un
ertainty will be signi
ant in ea
h of these steps. The
ontribution of this
paper is to suggest how to un
ertainty
an be a
ounted for in a stru
tured
manner in ea
h of these steps.
Monte-Carlo methods
the study of physi
al or mathemati
al systems with random or un
ertain properties, whi
h sample a probability distribution using a pseudo-random number
generator with uniform probability and observe the fra
tion of the numbers
obeying some property or properties (Metropolis and Ulam, 1949). A MonteCarlo method for planning single-rate well tests under un
ertainty was explored
in (Bieker, Slupphaug and Johansen, 2006).
Bootstrapping
is a Monte-Carlo
parameter estimates whi
h des
ribe the produ
tion data equally well. This set
of multiple parameter estimates expresses the
onsequen
es of low information
ontent on the tted parameters for the model stru
ture
hosen. The magnitude of estimated parameter un
ertainty of even simple models was found to be
signi
ant. Although this paper
onsidered bla
k-box type system identi
ation
models, bootstrapping
an be applied regardless of the
hoi
e of model, as bootstrapping is a
omputational approa
h to quantifying un
ertainty whi
h makes
no assumptions about the
hosen model stru
ture. Elgsaeter et al. (2008a) estimated the lost potential of produ
tion optimization
aused by un
ertainty in
tted parameters to be several per
ent of revenue for the
ase of a North Sea oil
and gas eld, based on s
enario simulations. These earlier ndings motivate the
fo
us of this paper on handling quantied parameter un
ertainty in produ
tion
optimization.
two-step approa h.
impre
ise knowledge of measured pro
ess variables due to sensor or transmission
errors, and
robust ontrol
able
ontrollers that adhere to some robust stability and performan
e
riterion
(Skogestad and Postlethwaite, 1996). Ensuring that a pro
ess is designed with
su
ient exibility to operate under
hanging and un
ertain un
ertain parameters represented by probability distributions has been suggested, usually under
the assumption of linear models and normal distributions, see for instan
e Pistikopoulos and Mazzu
hi (1990).
Approa
hes to handling un
ertainty in optimization
an be divided into
sto
hasti
optimization, sensitivity analysis, ba
k-o and robust optimization
methods.
un ertainty by formulating the sto hasti optimization problem in deterministi form using probabilities (Kall and Walla e, 1994). The
sensitivity analysis
approa
h
onsists of augmenting the obje
tive fun
tion of the optimization problem with a penalty term intended to minimize parametri
sensitivity (Be
ker,
Hall and Rustem, 1994). The
ba k-o
sion variables to ensure that operating points are feasible, and the ba
k-o ve
tor
is
omputed at intervals (Loeblein, Perkins, Srinivasan and Bonvin, 1999).
bust optimization
Ro-
for a given level of risk, formulated in terms of worst-
ase, mean-varian
e and so
forth (Darlington, Pantelides, Rustem and Tanyi, 1999) (Mulvey and Vanderbei, 1995). All these approa
hes introdu
e
onservativeness to ensure feasibility
rather than exploiting measurements postoptimization.
Optimization methods whi
h attempt exploit measurements fall into the
two main
ategories: modied two-step approa
hes and approa
hes whi
h do
not update pro
ess models. Roberts and Williams (1981) suggests a modied
two-step approa
h whi
h add a gradient modi
ation term to the
ost fun
tion
of the optimization problem to ensure that iterates
onverge to a point at whi
h
the ne
essary
onditions for optimality are satised.
require model updating
an be
lassied into model-free and model-xed methods. Some model-free methods mimi
various iterative numeri
al optimization
algorithms, su
h the Nelder-Mead simplex algorithm (Box and Draper, 1969).
Other model-free methods re
ast the nonlinear programming problem into a
problem of
hoosing de
ision variables whose optimal values are approximately
invariant to un
ertainty.
Self-optimizing ontrol
variables to keep at
onstant setpoints to keep the pro
ess a
eptably
lose
to optimum (Skogestad, 2000).
Extremum-seeking ontrol
methods related to self-optimizing
ontrol whi
h attempt to move pro
ess setpoints toward values whi
h result in an extreme value (maximum or minimum)
of a measured output without a pro
ess model. Extremum-seeking
ontrol usually introdu
es ample ex
itation in setpoints to a
hieve this goal, for instan
e in
form of a low-frequen
y sinusoidal referen
e (Krsti
, 2000).
NCO-tra king
is a
model-free method whi
h uses o-line analysis of the pro
ess model to determine
fun
tions for setpoint values at whi
h the ne
essary
onditions for optimum are
enfor
ed, parameterized in terms of measured variables (Franois, Srinivasan
and Bonvin, 2005).
Fixed-model methods
ments and a pro
ess model for guiding the iterative s
heme toward an optimal
operating point, but update
onstraint and
ost fun
tion rather than model at
ea
h iteration (Forbes and Marlin, 1994). Methods su
h as extremum-seeking or
those whi
h mimi
iterative numeri
al optimization algorithms introdu
e many
variations to setpoints. These methods may be unsuitable to the oshore produ
tion of oil and gas where the
osts and risk of ea
h
hange in setpoint may
be signi
ant. So-
alled model-free methods still require models in the design
of
ontrollers, and obtaining a
urate models of the oshore produ
tion of oil
and gas oine may be
hallenging.
There is some pre
eden
e for analyzing the risk of implementing a setpoint
hange. Mileti
and Marlin (1998) have proposed
result analysis
using multi-
variable statisti
al hypothesis testing to determine whether the predi
ted in
rease in prot from implementing
hanges in setpoints is statisti
ally signi
ant
or a result of pro
ess noise.
A
lassi
theoreti
approa
h to un
ertainty redu
tion is
whi
h deals with the
ontroller design for pro
esses whi
h are initially unknown
(Fel'dbaum, 1961a) (Fel'dbaum, 1961b). The theory is
alled dual as the obje
tives of su
h a
ontroller are twofold, rstly to
ontrol the system as well as
possible based on
urrent system knowledge, se
ondly to experiment with the
system so as to better learn how to
ontrol it in the future.
The problem of
reinfor
ement
learning, an area of ma
hine learning
on
erned with how an agent ought to take
exploration
exploitation
design
of urrent
Optimal experiment
for ontrol has fo used on deriving an input signal that minimizes some
Let
be a ve tor of
de
ision variables. This paper will
onsider a produ
tion optimization problem
on the form
u()
x
() = arg max M (x, u, d)
s.t
where
(1)
u,x
0 = f (x, u, d, )
0 c(x, u, d),
(2)
(3)
u
() and x
() are the
. d is a ve
tor of modeled and measured
u. M (x, u, d) is a prot measure whi
h is to be
maximized subje
t to a pro
ess model (2) and pro
ess
onstraints (3) for a
given parameter value
may be the
may des ribe onstraints in total water and gas pro essing apa ity and
lo ally valid,
only a
urately able to des
ribe produ
tion for a narrow range of setpoints. The
lo
al nature of data and of any model tted to su
h data
an be a
ounted for
by enfor
ing
(4)
when solving (1)(3) and iteratively re-updating the produ tion model and reoptimizing, an two-step approa h.
u,
respe tively.
interval
t [1, N ]
Z
y(1)] d(1)
u
(1) y(2)
d(2)
u
(2) . . .
(5)
with residuals
t {1, . . . , N } .
(6)
= arg min
where
w(t)
N
X
s.t.
onstraint and
c ()
c () 0
(7)
t=1
an optional onstraint on
Vs ()
is an optional soft-
re ent,
tion during the time interval spanned by the tuning set should be
onsistent
with
urrent produ
tion and the produ
tion model.
It may be impossible to
may enable the use of a longer tuning set, whi
h may in turn redu
e parameter un
ertainty. Therefore parameter un
ertainty is linked to other forms of
un
ertainty su
h as stru
tural un
ertainty.
Let the
tainable if the produ tion was moved from the initial operating point
(x0 , u0 , d0 )
u
()
Po
(8)
=
+
(9)
on
setpoints
u
()
and prots
an be assessed by Monte-
u
L
in
2.2 Motivation for the
hosen stru
tured approa
h to optimization with un
ertain models
The strategy
onsidered in this paper, motivated by the above dis
ussion, is
outlined in Figure 4.
Operational
The ost
of su
h planned ex
itation is asso
iated with its resulting temporary redu
tion
in produ
tion and
an be estimated in a fairly straightforward manner.
The
planned ex itation,
benet of
re-optimizing after the planned ex
itation, and this benet is estimated through
sto
hasti
simulations. Not all redu
tion in parameter un
ertainty will be profitable, for instan
e it should be intuitively
lear that eliminating un
ertainty
against whi
h the operational strategy is robust has zero benet.
As the
hange in prots that result from implementing setpoint
hange toward a target is un
ertain and
an even be negative, this paper
onsiders basing
the
hoi
e of whether to implement setpoint
hange on the distribution of simulated prot
hanges found through sto
hasti
simulations of the operational
strategy.
The
hoi
e of relating de
isions to prots both in result analysis and ex
itation planning is motivated by a desire to make the
ost of un
ertainty visible in
business terms as this is what ultimately drives industry de
ision making.
Sto
hasti
simulations were
hosen as the
onsidered method for their
on
eptual simpli
ity, as they
an be applied to a wide variety of operational strategies without introdu
ing simplifying assumptions, and as the frequen
y of de
ision making in produ
tion optimization on the order of days or weeks allows
omputationally intensive methods su
h as these to remain pra
ti
al.
A formalization of an operational strategy is dis
ussed in detail in Se
tion
2.3, result analysis in Se
tion 2.4, and ex
itation planning in Se
tion 2.5.
Example 1 Consider
a hypotheti
al oshore oil and gas eld, produ
ing from
T
u2
uT
and monitoring
uT
toward a tar-
u,
for in-
stan
e that found by solving the produ
tion optimization problem numeri
ally.
The operational strategy is intended as a postoptimization strategy for the
implementation of the new desired setpoint, and no produ
tion optimization or
parameter estimation is performed during the
ourse of the operational strategy.
It is assumed that the sign of the response in prots and
onstraint utilization
to a
hange is setpoints is known. This will usually be the
ase in oshore oil
and gas produ
tion, where de
ision variables may for instan
e be
hoke openings or gas-lift rates and the response to an in
rease in u is usually positive for
uT
uT u0
does not have to be feasible in pra ti e, the operational strategy will ensure
is
reasonable for the operational strategy to
ontinue, while in the se
ond s
enario
the prot de
rease
is not
operational strategy to terminate and return to the initial setpoint. These
onsiderations
an be formulated in terms of estimated and measured prot
hange
T
JM against a threshold value JM
.
o
An operating strategy whi
h is initiated at time ts and terminated at time
toe , in
reases the realized potential by:
and evaluated by
omparing a
ost fun
tion
(10)
and in the se tion below it is suggested how a probability density fun tion
fP r (Po,r )
uT
as long as ea h
As the operational
strategy may overshoot the most protable setpoint, the nal step should be to
assess all steps and return to the most protable one. The suggested operational
strategy is outlined in Algorithm 1.
10
(u0 , d0 )
is feasible in Algo-
(u0 , d0 )
are handled
operationally, i.e. an operator will apply pro ess knowledge instead of mathemati al optimization to move the pro ess to a feasible setpoint.
S is a user preferen
e and preferably S << 1. The magniS will also depend on how often produ
tion optimization is implemented.
Smaller S may result in an operational strategy whi
h is more labor-intensive to
The magnitude of
tude of
implement, but may in some
ases
ause the operational strategy to terminate
loser to optimum.
Po,r
by produ
tion optimization on the produ
tion model with dierent parameter
estimates drawn from the estimated parameter distribution
f ()
in a Monte-
and
urrent operating point (x0 , u0 , d0 ), Uprc and probability distributions f ()
fu (
u),
repeat Nt times
,
draw a sample t from f ()
11
Uprc , but a
Po,r on whi
h result
the
hoi
e of
estimates
fP r (Po,r ):
(11)
Jr (fP r (Po,r ))
ould for instan
e be the expe
ted or worst-
ase value. The
T
threshold Jr should ensure that setpoint
hanges are only performed when the
resulting in
rease in prots is expe
ted to be signi
ant and to justify the risks
and operational
osts whi
h are asso
iated with any setpoint
hange, su
h as
the risk of triggering an unplanned shutdown.
f ()
form the basis of a stru
tured approa
h to rank the benet of ex
iting dierent
de
ision variables. For simpli
ity this dis
ussion is restri
ted to wells whi
h are
de oupled, i.e.
where implementing hange in the produ tion of one well will not
inuen
e the produ
tion of other wells, whi
h is often a reasonable assumption
for so-
alled platform wells as produ
tion from su
h wells travel through separate
owlines and join rst at produ
tion manifold. The dis
ussion is restri
ted to
ex
itation of single de
ision variables, although simultaneously ex
iting several
variables is also
on
eivable.
The benet of ex
itation
BE
Po,r , and
E
Po,r
:
the
E
B E = Po,r
Po,r .
(12)
Example 2 Consider a hypotheti al eld produ ing oil and water from two
1
) at rates whi
h depend on u1 , well
de
oupled wells. Well 1 produ
es (qo1 , qw
2 2
2 produ
es (qo , qw ) at rates whi
h depend on u2 . The relationships between
12
1
2
(qo1 , qw
) and u1 and between (qo2 , qw
) and u2 are un
ertain, but a model whi
h ex1
2
presses qo1 (u1 , 1 ), qo2 (u2 , 2 ), qw
(u1 , 1 ), qw
(u2 , 2 ) is available. Models for well
1
2
1 depend on parameters
and
models
for
well 2 on . Two parameter es
timates a = a1 a2 and b = b1 b2 have been determined whi
h result
tot
1
= qw
+ qo2 whi
h mat
h measurein estimates of qotot = qo1 + qo2 and qw
ments equally well for a set of re
ent histori
al data. Optimization of the
obje
tive M = qo1 (u1 , 1 ) + qo2 (u2 , 2 ) subje
t to the model and the
onstraint
1
2
max
qw
(u1 , 1 ) + qw
(u2 , 2 ) < qw
is desired. If no ex
itation is implemented the
uT = u
(a ). In the
ase that b des
ribes produ
tion better while uT = u
(a ),
E
B
ould be found through simulations on the produ
tion models, provided that
stru
tural model errors are small.
B E will depend on the intera
tion between un
er and the ability of the operational strategy to
un
ertainty in u
()
. The benet of ex
itation will also depend
()
for un
ertainty in u
ompensate
is usu-
to be ex ited is
Example 3 Consider again the eld des
ribed in Example 2. Consider that
our aim is to
hoose whether to introdu
e ex
itation in u1 , in u2 or not at
all. Assume that an ex
itation of u1 would allow us to distinguish between a1
and b1 , while 2 would still be un
ertain, and that an ex
itation of u2 would
allow us to distinguish between a2 and b2 while 1 would still be un
ertain.
With the assumptions made it
an be expe
ted that an ex
itation of well 1 will
([a1 , a2 ]) if produ
tion is des
ribed by a , or
either result in implementing uT = u
([b1 , a2 ]) if produ
tion is des
ribed by b , as it was planned
implementing uT = u
to implement uT = u
([a1 , a2 ]) if no ex
itation was performed, and 2 would still
be un
ertain after ex
itation of u1 . The out
ome on the produ
tion models
an
be simulated in both
ases provided that stru
tural model errors are small, whi
h
E . A stru
tured approa
h to planning ex
itation
would give two estimates of B
E.
ould then be to ex
ite the well asso
iated with the highest positive average B
Examples 2 and 3 illustrate the prin
iples of a Monte-Carlo simulation approa
h
E
to estimating B
for the simplest possible
ase of two wells, two parameter estimates and one
onstraint. In our
ase study the same prin
iples are applied to
E for a larger number of wells,
onstraints, and parameter estimates
estimate B
Let
be the
tation is performed. Note that although produ
tion of wells are de
oupled, the
omponents of
u
()
13
des
ribing one well may inuen
e suggested settings for other wells, and this
E . Simulations on the produ
tion
will need to be ree
ted when estimating B
model assume that stru
tural model un
ertainty is negligible, and, as lo
ally
valid models are
onsidered, this assumption is reasonable as long as
hange
in de
ision variables is small, whi
h motivates enfor
ing the
onstraint
E .
B
(4)
in
, an
(n ) if no ex
itation is performed. Given Nt , the distribution f ()
ment u
operational strategy, a pro
ess model whi
h depends on parameters , Uprc , and
that the aim is to estimate the benet of ex
iting ui , a single de
ision variable
in the ve
tor u.
repeat Nt times
.
draw a sample t from f ()
determine Po,r (t ) by simulating the operational strategy using uT =
u(n ) on the pro
ess model with parameters t while setpoint
hange
is limited by (4).
let ti be parameters of t ex
ited by ui . Let E (n , ti ) be a ve
tor of
parameters that is equal to ti for parameters ex
ited by ui and equal
to n for all other parameters.
E,i
(t ) by simulating implementing the operational strat determine Po,r
egy using uT = u
(E (n , ti )) on the pro
ess model with parameters
t while setpoint
hange is limited by (4).
E,i
(t ) Po,r (t ).
let B E,i (t ) = Po,r
E,i is an estimate of the probability
the distribution of simulated values B
E,i )
density fun
tion for the benet of ex
iting ui , fBE (B
A stru
tured approa
h to ex
itation planning
ould be to ex
ite those de
ision
E,i on average.
ui whi
h have highest B
variables
u
()
u
( ( , ti ))
ui
As
omponents of
E n
an ause
to dier from
other wells.
Ex
ept during startup it will in most
ases be reasonable to assume that
produ
tion is initially utilizing at least one pro
essing
apa
ity fully, so that
any ex
itation will require produ
tion to ba
k o from full
apa
ity for a period
E
of time, in
urring a
ost. It is
on
eivable to simulate the
ost of ex
itation C
E ), f E (C E ) J E,T ,
J E (fBE (B
C
14
(13)
where
J E,T
E ), f E (C E )
J E (fBE (B
C
is a userE
spe
ied metri
su
h as for instan
e the expe
ted value of the dieren
e B
E
C .
3 Case study
This se
tion des
ribes the appli
ation of the suggested approa
h to a
ase-study
modeled on the North Sea oil and gas eld and the set of real-world produ
tion
The eld has a layout as depi ted in Figure 3, with one produ tion
produ
ed oil, gas and water are available. The operator of the eld requested
that all data be kept anonymous, therefore all variables will be presented in
normalized form.
in de ision variables.
distribute available lift gas so as to maximize total oil produ
tion while keeping
total produ
ed water and gas rates below
apa
ity
onstraints.
3.2 Method
The
ost and risks of implementing a trial of the suggested approa
hes on an
a
tual eld are signi
ant, and it may be di
ult to
ompare strategies by
implementation on an a
tual eld as produ
tion will vary with time due to
disturban
es. This motivates the
hoi
e of studying the suggested approa
h in
simulations.
Due to un
ertainty there may be many plausible des
riptions of produ
tion,
and an approa
h to optimization under un
ertainty should ideally perform well
for all su
h plausible des
riptions. This paper will
onsider simulating optimization on a model that is plausible in the sense that it
onforms with produ
tion
data and refer to this model as the
du
tion, the produ
tion analog is
onsidered unknown, produ
tion optimization
an only infer knowledge of the produ
tion analog through measurements.
When modeling the response to
hange in gas-lift rate, a rst-order linear
kernel with a single tted parameter for ea
h uid and phase with
dim() = 63
dim() = 123
(formulation B).
By
omparing these formulations the signi
an
e of model stru
ture and parameterization on the suggested methodology
an be assessed. Physi
al knowledge
is in
luded through
onstraints and regularization on parameter estimation.
Both for formulations A and B parameters were re-tted and produ
tion
re-optimized a
ording to the workow outlined in Figure 4 in four iterations.
Algorithms 2 and 3 were run for ea
h iteration with
Nt = 200,
but no ex i-
15
risk-reward estimates. For
omparison this pro
ess was repeated for two
hoi
es
of the design parameter
Uprc = 0.2
and
Uprc = 0.5.
3.3 Results
A
omparison of the predi
tions of the produ
tion analog against eld data
is shown in Figure 5.
The distribution of
30%
and
80%
Po,r of
Uprc = 0.2 and Uprc = 0.5, indi
ating
fP r (Po,r )
u
()
suggested
Uprc ,
as is illustrated in Figure 9.
Analyti al methods
(Ljung, 1999)
an only guarantee that the solution of (7) is the best des
ription
of produ
tion if
distinguish between all solutions of (7) . Typi
ally bootstrap estimates are not
exa
t but have an inherent error, while the bias in estimates is often small the
varian
e
an often be quite large due to the nite amount of data and the nite
number of resamples (Efron and Tibshirani, 1993).
For the reasons listed above, no guarantees
an be given that the implemented setpoint will
onverge toward global optimum in pra
ti
e when the
suggested approa
h is applied to pro
esses su
h as these with low information
ontent data and limits on the planned ex
itation. We argue that la
k of
guaranteed
onvergen
e is a result of the properties of the pro
ess
onsidered
and not of the proposed solution, and pro
esses with these properties are nevertheless interesting for a
ademi
study. It is be
ause of the la
k of guaranteed
onvergen
e that this paper has fo
used on identifying setpoint
hange whi
h
in
rease prots with some measure of
onden
e.
16
The methods suggested would remain sensible in the spe
ial
ase that all the
requirements stated above are satised and a unique parameter estimate
an
be found from (7) and (1)(3) is able to return the globally optimum setpoint.
In this
ase, bootstrapping (7) would return the same parameter estimate for
all resamples, all estimates of the benet of ex
itation found with Algorithm 3
would be zero, and and Algorithm 2 would predi
t a single prot
hange
Po,r
This nding of the simulation
ase study supports the assertion that testing
E is a sensible ex
itation planning approa
h, provided
wells with large mean B
estimated benets are signi
ant
ompared to estimated
osts.
Further work
ould
onsider estimating the benet of simultaneously ex
iting a small number of de
ision variables simultaneously, as su
h ex
itation
ould be designed to
ause less temporary redu
tion in produ
tion and hen
e in
ur lower
osts.
The suggested method for result analysis uses sto
hasti
simulations to determine a distribution for the
hange in prot that will result from
hanging
de
ision variables toward a target by means of the operational strategy. While
methods have been found in the literature whi
h assess the signi
an
e of estimated prot
hange to noise, no referen
e was found to result analysis in the
presen
e of un
ertainty in all tted parameters, either with or without postoptimization feasibility assuran
e. Figure 13 illustrates that for Formulation B,
the potentially more a
urate model with a higher number of parameters, estimates of realized potential
Po
Po
iteration estimates
Po
Po
Po .
in the design of Algorithm 2, but the algorithm orre tly identies a signi ant above-zero potential, whi h would have supported the de ision to update
17
4 Con
lusion
An approa
h for
asting in mathemati
al terms the un
ertainty in produ
tion
optimization arising from low information
ontent in data has been suggested.
A stru
tured approa
h to handling this un
ertainty by
ombining an iterative
two-step approa
h to optimization and post-optimization feasibility assuran
e
was suggested and by un
ertainty estimation, result analysis and ex
itation
planning based on multivariate Monte-Carlo-like methods.
In the simulation
ase study the method suggested realized between
80%
30% and
of the available prot potential while feasibility was ensured at all times,
despite that models were tted to data with low information
ontent similar to
that found on real-world oil elds.
A
knowledgments
The authors wish to a
knowledge the Norwegian Resear
h Coun
il, StatoilHydro
and ABB for funding this resear
h.
i
fui (qgl
)=
fgl
1 i i
i,max 2
i,max
i
c (qgl qgl
) + bi (qgl
qgl
) + ai
2
(14)
max,i
i
i
i
i
qgl
> qgl
. a and b are
hosen so that q (u) is smooth and
ontinuous
i
for u around umax , and the
urvature
oe
ient c is
hosen as a random negal,i,a
of the produ
tion analog are
hosen so that the
tive value. Operating points q
when
tuning set
an be des
ribed by the produ
tion analog with bias terms. Figure 5
illustrates that the produ
tion analog is a plausible des
ription of produ
tion,
as it mat
hes produ
tion data well.
Produ
tion modeling of the eld
onsidered based on the
on
epts of system
identi
ation has been
onsidered previously in (Elgsaeter et al., 2008b), and
i
i
i
similar methods are applied here. The oil, gas and water rates qo , qg , qw of ea
h
18
i are modeled as the produ
t of two kernel fun
tions, one des
ribing the
i
ee
ts of
hanges in produ
tion valve opening z , and one des
ribing the ee
ts
i
of
hanges in gas lift rates qgl . Models are lo
al around the most re
ent well
test.
well
l,i
i
i
qpi = max{0, qpl,i fzi (z i , z l,i ) fgl
(qgl
, qgl
)},
(15)
is
onsidered, whi
h is intended to be valid lo
ally around the most re
ent well
l,i
i = 1, . . . , nw p {o, g, w}. z i [0, 1] is the relative valve
test rates qp
i
i
i qgl
opening of well i, qgl is the gas-lift rate of well i and qgl = l,i 1 is the
q
gl
fzi (z i , z l,i ) =
i.
1 (1 z i )k
,k = 5
1 (1 z l,i )k
(16)
i
i
i 2
fgl
(z i , z l,i ) = 1 + ip qgl
+ ip (qgl
)
for all wells
i.
y(t) = qotot (t) qgtot (t)
so that estimates
tot
qw
(t)
T
(17)
is onsidered and an
y(, t) = 1
x(, t) + y ,
t measurements as
lose as possible for the tuning set, where
(18)
is the ve tor
is a matrix of ones.
In addition an upper and lower
onstraint on
Some wells are in danger of slugging if gas-lift is de
reased, and on these wells
a
onstraint whi
h prohibits gas-lift from being de
reased was implemented.
Based on the knowledge that the water
ut is rate-independent, soft
onstraints whi
h penalize deviation from o = w and o = w were added to
otot was visible in the tuning set, and it
the obje
tive fun
tion. A de
line in q
tot
is
hosen to de-trend q
o and weigh older measurements less than newer ones
using the weighting-term
u
() = arg max
u
(19)
s.t.
(20)
iIa
l,i
qgl
qoi (u, d, ) + bo ()
i
qgl
i IMGS
iIa
(21)
(22)
(23)
iIB
i
tot,c
qw
(u, d, ) + bw () qw
.
iIa
19
(24)
Ia is the indi
es
bo (), bg (), bw ()
produ tion mat h at the time of optimization. For wells with indi es
Biases
IMGS =
MATLAB 1 .
TOMLAB 2
solver
lssol.
problems were solved using the sequential quadrati
programming solvers based
on S
hittkowski (1983).
i
The simulated benet of ex
itation of u was found by repla
ing tted pai
rameters ex
ited by variation of u with those that best des
ribe the produ
tion
analog, and simulating produ
tion optimization and implementation with the
operational strategy.
Nomen
lature
Subs
ript
o,g
and
indi ate oil, gas and water, respe tively. Numbered super-
Bars (
.) indi
ate measured variables, while hats (.) indi
ate estimated variables.
u
x
d
de
ision variables
internal variables
modeled and measured disturban
es independent of
M
c
y
prot measure
produ
tion
onstraints
measured variables exploited in parameter estimation
t
N
ZN
Dy
w
Vs
c
umin
umax
Uprc
U
x0 , u0 , d0
f
Po
Po,r
time
the number of time steps in the tuning data set
a tuning data set spanning
time steps
u
u
x, u, d
20
Lu
uT
U
U+
JM
T
JM
o
ts
toe
JM
fP r
S
fu
Jr
JrT
BE
CE
n
Po,r
JM
JE
J E,T
qgl
z
Ia
b
q tot,c
IMGS
y
,
[N L, N ]
[1, N ]
Referen
es
Andersen, H. W., Rasmussen, K. H. and Jorgensen, S. B. (1991), Advan
es
in pro
ess identi
ation,
in
125147.
in
21
Convex Optimization,
Cambridge Uni-
in
tomati a 35(2),
Au-
217228.
Chap-
in
in `IFAC World
in
`Pro . SPE
874880.
10331039.
Ind.Eng.Chem.Res. 33,
19191929.
Franois, G., Srinivasan, B. and Bonvin, D. (2005), `Use of measurements for enfor
ing the ne
essary
onditions of optimality in the presen
e of
onstraints
and un
ertainty',
701712.
Automati a 22(5),
543554.
in
NY.
22
313326.
Little, A. J., Fin
ham, A. and Jutila, H. A. (2006), History mat
hing with
produ
tion un
ertainty eases transition into predi
tion,
in
`SPE Eu-
Hall, Cambridge.
Loeblein, C., Perkins, J. D., Srinivasan, B. and Bonvin, D. (1999), `E
onomi
performan
e analysis in the design of on-line bat
h optimization systems',
6178.
Martinez, E. C. (2000), `Bat h pro ess modeling for optimization using reinfor ement learning',
1187
1193.
Metropolis, N. and Ulam, S. (1949), `The monte
arlo method',
Journal of the
335341.
Mileti , I. and Marlin, T. E. (1998), `On-line statisti al result analysis in realtime operations optimization',
36703684.
264281.
18.
Pistikopoulos, E. and Mazzu hi, T. A. (1990), `A novel exibility analysis approa h for pro esses with sto hasti parameters',
14(9), 9911000.
Automati a 17(1),
199
209.
Saputelli, L. A., Mo
hizuki, S., Hut
hins, L., Cramer, R., Anderson, M. B.,
Mueller, J. B., Es
or
ia, A., Harms, A. L., Sisk, C. D., Pennebaker, S., Han,
J. T., Brown, A., Kabir, C. S., Reese, R. D., Nuez, G. J., Landgren, K. M.,
M
Kie, C. J. and Airlie, C. (2003), Promoting real-time optimization of
hydro
arbon produ
ing systems,
Math.
197216.
Skogestad, S. (2000), `Self-optimizing ontrol: the missing link between steadystate optimization and ontrol',
Comput.Chem.Eng. 24(2),
23
569575.
4(4), 238258.
837845.
Journal of
373389.
Zhu, Y. (2006), `System identi
ation for pro
ess
ontrol: Re
ent experien
e
and outlook'.
24
u2
te
Infeasible
ts
Feasible
u1
o
Figure 1: Example 1: Illustration of an operational strategy initiated at ts and
o
terminating at te . Solid line illustrates the unknown border between feasible
and infeasible regions, the dotted lines illustrate the un
ertainty of this border,
while the dashed line illustrates how an operational strategy might move setpoints in
losed-loop. The
ir
le illustrates the setpoint
un
ertain
al
ulated optimal setpoints.
25
^
M0+P
o,r
M(t)
Scenario 1
M0
t
tso
^
M0+Po,r
M(t)
ta
teo
Scenario 2
M0
ta
tso
teo
increasing process model uncertainty
Figure 2:
The two plots illustrate how measured prot (solid lines) may
evolve ompared to a al ulated predi tion interval (dotted lines) in two dif-
ferent ases.
26
Lift gas/
gas injection
Gaslift Platform
wells
Separation
Subsea
Gaslift wells
Gas
Oil
Export
Water
....
....
Reservoir(s)
....
....
....
Gas
injection
Routing
....
....
Water
injection
Separation
Reinjection/To sea
Gaslift
....
Figure 3: A s
hemati
model of oshore oil and gas produ
tion.
27
Update model:
Estimate parameters
and parameter
uncertainty
Perform production
optimization
Optionally: select
active decision
variables
Perform excitation
planning
Is the cost/benefit
tradeoff of any
planned excitation
favorable?
Yes Implement
planned
excitation
No
Perform result
analysis
No
Is result analysis
favorable?
Yes
Implement setpoint
change suggested
by production
optimization
according to
operational strategy
Figure 4:
28
1.2
qotot
0.8
0.6
0
500
1000
1500
2000
2500
500
1000
1500
2000
2500
500
1000
1500
2000
2500
1.4
qgtot
1.2
0.8
tot
qw
0.8
t[hours
Figure 5:
Case study:
29
qgi
qoi
i
qw
i=1
i=2
i=3
i=4
i=5
i=6
i=7
i=8
PSfrag repla
ements
i=9
i = 10
i = 11
i = 12
i = 13
i = 14
i = 15
i = 16
i = 17
i = 18
i = 19
i = 20
i
qgl
Figure 6: Case-study: Iteration
i
qgl
i
qgl
of oil, gas and water for dierent parameter estimates found through bootstrapping (dashed)
ompared with modeled rates for the nominal parameter estimate
(dotted) and the produ
tion analog (solid), global optimum (
rosses) and
urrently implemented setpoint (
ir
les).
30
qgi
qoi
i
qw
i=1
i=2
i=3
i=4
i=5
i=6
i=7
i=8
PSfrag repla
ements
i=9
i = 10
i = 11
i = 12
i = 13
i = 14
i = 15
i = 16
i = 17
i = 18
i = 19
i = 20
i
qgl
Figure 7: Case-study: Iteration
i
qgl
i
qgl
of oil, gas and water for dierent parameter estimates found through bootstrapping(dashed)
ompared with modeled rates for the nominal parameter estimate
(dotted) and the produ
tion analog (solid), global optimum (
rosses) and
urrently implemented setpoint (
ir
les).
31
Formulation B
Formulation A
i=1
i=2
i=3
i=4
i=5
i=6
i=7
i=8
PSfrag repla
ements
i=9
i = 10
i = 11
i = 12
i = 13
i = 14
i = 15
i = 16
i = 17
i = 18
i = 19
i = 20
i
qgl
i
qgl
Figure 8: Case-study: Distribution
ea
h well after iteration
fu (
u)
(bars). Constraints on
32
(dotted),
u0
( ir le) and
uT
100
80
60
Po,r
Po,r
100%
40
20
t[iterations
Po,r
that was
(squares) for Uprc = 0.2
Uprc = 0.5
(dashed).
33
0
0.1
0.2
1.03
0.3
1.02
0.4
qotot
0.5 1.01
0.6
0.7
0.8
0.9
1 0.995
tot
qg 0.99
1
2
0.985
0.98
4
5
0
0.1
0.995
0.2
tot
qw
0.3 0.99
6
7
0.4
0.5 0.985
0.6
0.7
10
0.8
0.9
11
0.6
12
0.4
13
14
0.2
qgl
l
qgl
15
16
17
18
-0.2
19
-0.4
20
-0.6
-0.8
1
t
Figure 10:
Case study:
[iterations
ments setpoint
hanges while obeying pro
ess
onstraints for formulation B.
tot
tot
Top graphs show normalized prots (qo ), gas
apa
ity utilization (qo ) and
tot
water
apa
ity utilization (qw ), lower graphs show normalized relative
hanges
in gas lift rates
qgl
Formulation A
i=1
i=2
i=3
i=4
i=5
i=6
i=7
i=8
i=9
i = 10
i = 11
i = 12
i = 13
i = 14
i = 15
i = 16
i = 17
i = 18
i = 19
i = 20
-10
Figure 11:
iteration
Formulation B
0.69
0.29
1.18
1.16
0.10
0.49
-0.01
-0.01
-0.16
0.08
0.38
0.56
0.97
1.13
0.03
0.42
1.17
0.24
0.15
0.27
0.28
1.64
2.78
1.44
0.03
-0.10
2.14
0.97
0.69
-0.01
0.00
-0.00
0.24
-0.24
1.23
0.70
-0.11
0.17
0.86
-0.36
10
B E (%)
Case-study:
-10
20
Distribution of
E
B
B E (%)
of ex iting well
10
in isolation at
B E found by
simulating ex
itation on the produ
tion analog (stems). Numbers show average
E as predi
ted by Algorithm 3. All values are expressed in per
ent of total
B
unrealized potential.
35
Formulation A
i=1
i=2
i=3
i=4
i=5
i=6
i=7
i=8
i=9
i = 10
i = 11
i = 12
i = 13
i = 14
i = 15
i = 16
i = 17
i = 18
i = 19
i = 20
-20
Figure 12:
iteration
Formulation B
0.88
1.80
-0.22
6.40
0.25
0.38
0.03
0.18
-0.03
-0.14
0.85
3.46
0.83
9.80
0.62
11.98
1.41
11.64
0.28
2.37
0.81
15.25
5.16
6.51
-0.12
1.66
2.50
2.71
0.59
-0.01
0.00
0.12
0.02
0.82
0.79
18.32
-0.07
2.88
1.19
1.35
B E (%)
Case-study:
-50
20
Distribution of
E
B
50
B E (%)
of ex iting well
100
in isolation at
B E found by
simulating ex
itation on the produ
tion analog (stems). Numbers show average
E as predi
ted by Algorithm 3. All values are expressed in per
ent of total
B
unrealized potential.
36
Formulation A
Formulation B
it:1
it:2
PSfrag repla
ements
it:3
it:4
Po,r (%)
Po,r (%)
f (Po,r )
37
i=1
i=2
i=3
i=4
i=5
i=6
i=7
i=8
i=9
i = 10
i = 11
PSfrag repla
ements
i = 12
i = 13
i = 14
i = 15
i = 16
i = 17
i = 18
i = 19
i = 20
i
qgl
Figure 14:
Case-study:
u9 .