Professional Documents
Culture Documents
Summary the optimal gas lift rate allocation can be found using some form of
Artificial lift by means of gas injection into production wells or optimization. Kanu et al. (1981) proposed an equal-slope method.
risers is frequently used to increase hydrocarbon production, espe- The gas lift was allocated to wells through a manual procedure at
cially when reservoir pressure declines. We propose an efficient an average slope of the performance curves. This procedure did
optimization scheme that finds the optimal distribution of the not take into account the surface-facility constraints except for the
available gas lift gas to maximize an objective function subject to limit of total gas lift rate. Fang and Lo (1996) proposed a linear
surface-pipeline-network rate and pressure constraints. This pro- programming method to optimally allocate gas lift under various
cedure is a nonlinearly constrained optimization problem solved flow-rate constraints; the weighting factors used to interpolate the
by the generalized reduced-gradient (GRG) method. The values objective function and constraint functions were taken as deci-
of objective function, constraint functions, and derivatives needed sion variables. Stoisits et al. (1999) developed neural-network
for optimization can be evaluated through two methods. The first models to replace the well and surface pipeline hydraulics simu-
method repeatedly solves the full-network equations using Newton lation to reduce computation time, and genetic algorithms were
iteration, which takes into account the flow interactions among implemented to solve the optimization problems on the basis of
wells; however, this method can be computationally expensive. The individual-well performances.
second and more efficient method is a new approach proposed in The second type is based on well solutions coupled through a
this paper. It constructs a set of proxy functions that approximates surface pipeline network. This method is more rigorous when flow
the objective function and constraints as functions of gas lift rates. interactions among wells are strong. Dutta-Roy and Kattapuram
The proxy functions are obtained by solving part of the network (1997) pointed out that flow interactions among wells could be
that consists of a gas lifted well or riser, assuming a stable pres- significant when the backpressure in the flowline shared by the
sure at the terminal node where the partial network is decoupled wells was relatively large. Therefore, a constrained nonlinear opti-
from the rest of the network, and are used to inexpensively evalu- mization problem based on full-network solutions was formulated
ate the objective function, constraints, and necessary derivatives and was solved using successive-quadratic-programming (SQP)
for the optimizer. A procedure to predict the proxy functions on method. Hepguler et al. (1997) coupled a reservoir simulator and
the basis of previous values can be used to reduce the number a surface network simulator by iteratively solving the two simula-
of partial-network solves, and the partial-network solution has tors until the boundary values between them were converged. An
been parallelized for faster simulation. These two methods can be SQP optimizer was applied for production optimization in the
applied at different timesteps during the course of the simulation. surface network simulator. Wang and Litvak (2008) presented an
The proposed methods are implemented within a general-purpose optimization strategy that iteratively adjusted gas lift allocation
black-oil and compositional reservoir simulator and have been and solved the full network until a minimum lift efficiency was
applied to real-field cases. achieved at all wells. They developed a linear programming model
to scale the gas lift and production rates to satisfy network flow-
Introduction rate constraints. In general, the computational cost of the second
Continuous gas lift injection to production wells or risers is type is significantly higher than that of the first type because a
an important method to maintain and improve hydrocarbon large number of full-network solutions may be needed for opti-
production. The availability of lift gas is limited because it is mization calculations.
typically provided by produced gas; the gas lift operation is We propose an efficient gas lift optimization scheme that com-
also constrained by the resources of surface facilities, such as bines the two methods under the same optimization algorithm.
the compression and separation capacities. Therefore, one goal A constrained optimization problem is defined, and an objective
of well management is to optimally allocate available lift gas function is maximized using a highly efficient derivative-based
to targeted wells or risers to maximize hydrocarbon production GRG optimizer (Lasdon and Waren 1997, Fletcher 1987). The
under various facility constraints. Furthermore, as the market gas lift rates are specified as the decision variables. The opti-
price of gas continues to increase and produced-water treatment mizer requires the values of the objective function, the constraint
becomes more expensive as a result of stricter environment functions, and the first-order derivatives of the functions with
regulations, it is desirable to maximize the overall profit rather respect to the decision variables. The values of the functions and
than just production. derivatives can be evaluated by two methods. The first method is
The gas lift optimization schemes described in the literature can based on the full-network solution; the network is solved using
be categorized into two types. The first type is based on single- Newton iteration every time the function or derivative evaluations
well analysis; all wells on gas lift are isolated from each other, are needed by the optimizer. This method can be very expensive,
assuming a fixed wellhead or gathering-center pressure. In many especially if the derivatives are numerically evaluated because
cases, this assumption is valid because wells are normally choked the optimizer may need tens (or more) of function and derivative
at the wellhead to maintain a stable wellhead pressure, or multiple evaluations before the optimal point is found. The second method
wells are gathered at a separator under a pressure control, or the constructs a set of proxy functions that are similar to performance
pressure drop across the well tubing is dominant in the pipeline curves; the proxy functions estimate the objective and constraint
network. A performance curve (oil- or liquid-production rate vs. functions as functions of gas lift rates. In this method, each gas
gas lift rate or total gas rate) for each well can be constructed, and lifted well or riser (which includes all wells flowing to the riser)
is decoupled from the rest of the network at the first gathering
node so that a partial network is formed. A stable pressure at the
Copyright © 2012 Society of Petroleum Engineers
decoupling node (terminal node of a partial network) is assumed;
This paper (SPE 140935) was accepted for presentation at the SPE Reservoir Simulation in other words, the interaction between wells is ignored. Proxy
Symposium, The Woodlands, Texas, USA, 21–23 February 2011, and revised for
publication. Original manuscript received 24 March 2011. Revised manuscript received 9
functions of each gas lifted well or riser are obtained by solving
August 2011. Paper peer approved 17 August 2011. the partial network over a specific range of gas lift rates. They are
Satisfy:
Gas lift optimization with GRG Rate/pressure constraints
at individual connections and
nodes, and scale-type targets.
Rate allocation for ranking-type Satisfy:
Next global Once targets
Ranking-type targets.
Newton step
No
Converged?
Yes
Next timestep
wells have been taken into account in an explicit manner. Another The overall objective function (defined in Eq. 4) can be defined
assumption of the method is that each gas lifted well or riser has as the sum of the proxy functions of the objective function of all
only one gas lift injection point, while the method based on full- gas lifted wells:
network solution does not have this restriction. n
For every gas lifted well/riser, a partial network consisting of F (x ) = ∑ Fpj (x j ) , . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (6)
this well/riser up to the first gathering node (or the sink node if j =1
the well/riser connects to the sink directly) is set up. The terminal where Fpj(xj) is the proxy function of the objective function of Well
node at the top of the partial network takes the pressure from the j, which is associated with Decision Variable j.
previous reservoir/network global Newton step as the minimum Optimization constraint function in Eq. 2 becomes
pressure constraint. Fig. 2 is an illustration of how a full network n
is decoupled into two partial networks at the gathering node (Node gi (x ) = ∑ g pi , j (x j ) , i = 1,$, m , . . . . . . . . . . . . . . . . . . . . . (7)
2). Because the flow rates of the partial networks are determined j =1
by the boundary condition at Node 2 (node pressure is P2), Node
1 and Conn 1 become irrelevant and are excluded from the partial where gpi,j is the proxy function of Well j, corresponding to Opti-
networks. For a gas lifted riser, the partial network includes all mization Constraint i.
wells flowing to the riser. The gas lift rate of a partial network is Once the tabular proxy functions for each gas lifted well have
a decision variable. The partial-network model is solved over a been constructed at selected reservoir/network global Newton
range of prespecified gas lift rates to give the tabular sets neces- steps, the gas lift optimization can be performed using the values
sary to furnish the proxy models of the objective and constraint of the overall objective function and constraint functions calculated
functions. The proxy value of the objective function of a partial from Eqs. 6 and 7. Either piecewise linear interpolation or piece-
network can be evaluated using Eq. 4 on the basis of solution of wise polynomial interpolation of the tabular proxy functions can
the partial network at a given gas lift rate. The same approach is be used at a given set of decision-variable values (gas lift rates).
used for the proxy values of constraint functions. Fig. 3 shows a The derivatives of these functions with respect to a decision vari-
sample proxy function of the objective function, and Fig. 4 shows able are simply the slopes of the proxy functions of this decision
a sample proxy function of an oil-phase rate corresponding to an variable, or
oil-phase target, both as functions of a decision variable (gas lift
∂F ( x ) dFpj (x j )
rate of a gas lifted well). In this example, the well cannot flow until = , j = 1,$, n . . . . . . . . . . . . . . . . . . . . . . (8)
the gas lift rate is greater than approximately 600 Mscf/D. ∂x j dx j
Constraints Satisfied At
conn 1
Sink Sink
node 1 Pmin = 14.7 psi
conn 2 conn 2 conn 2
1.20E+05 3.00E+04
Proxy Function of Objective Function
1.00E+05
2.50E+04
8.00E+04
Constraint (STB/D)
2.00E+04
(Dollars/day)
6.00E+04
1.50E+04
4.00E+04
1.00E+04
2.00E+04
0.00E+00 5.00E+03
-2.00E+04 0.00E+00
10 100 1000 10000 100000 10 100 1000 10000 100000
Gas Lift Rate (Mscf/D) Gas Lift Rate (Mscf/D)
Fig. 3—Proxy function of the objective function associated Fig. 4—Proxy function of a constraint function associated with
with a decision variable. a decision variable.
1.0
1.0
0.8
0.8
0.6
0.6
0.4
0.4
0.2
0 0.2
0 100 200 300 400 500 600 700 800 900 1000
Time (days)
1.1
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0 100 200 300 400 500 600 700 800 900 1000
Time (days)
rate and gas lift injection rate of the simulation results. Before 130 slope, proxy, and full-network schemes are 119, 124, and 316
days, there is an active water-production target (8,000 STB/D) that seconds, respectively. As a result, the simulation speed of the proxy
prohibits any gas lift injection. Afterward, as the reservoir depletes, scheme in Simulator N is comparable with the fixed-slope scheme
Simulators V and N manage to inject gas lift to improve oil produc- in Simulator V and is approximately 2.5 times as fast as the full-
tion without violating the water-production target. The total lift gas network scheme. This example demonstrates that the optimization
available is 10,000 Mscf/D. The proxy scheme predicts a higher method using proxy functions is much more efficient than the
oil-production rate after approximately 200 days by injecting more method using the full-network solution and can achieve a more
lift gas. Fig. 7 shows that the proxy scheme also manages to reduce optimal solution than the fixed lift efficiency scheme.
water production compared to the fixed-slope scheme. A closer
investigation of the results shows that the proxy scheme injects Case 2. Case 2 is used to investigate the effects of the interactions
more lift gas in three production wells with high oil-production between wells. The properties of the reservoir domain are based on
rates and low water cuts as well as less lift gas in a well with low the SPE9 test case (Killough 1995), but the values of solution-gas/oil
oil-production rate and high water cut compared to the fixed-slope ratio (Rs) have been reduced by approximately three times (Table 2)
scheme. This is probably because the proxy scheme performs to make the effect of gas lift more obvious. It is a black-oil model
an optimization, and handles constraints more strictly than the with 30 production wells, 20 of which are gas lifted starting at time
fixed-slope method. Fig. 8 shows that the proxy scheme increases of 50 days. There are no injection wells. All the wells are connected
the cumulative benefit by approximately 3% over the fixed-slope through a network that has three levels of gathering centers. The
scheme. The solution of the full-network scheme is virtually the highest level connects to a sink (Fig. 9). All network constraints are
same as that of the proxy scheme in Figs. 6 and 7, which provides listed in Table 3. We set Roil = USD 30/STB, Rgas = USD 3/Mscf,
a confirmation of the proxy-function implementation. Rwat = USD 2/STB, and Rglift = USD 4.5/Mscf. Most of the oil-rate
The simulation CPU times (in a Windows XP machine with constraints at wells are inactive during the simulation, and there is
Intel Xeon 2.33 GHz CPU and 3 GB of RAM) using the fixed- no active pressure constraint except for a minimum pressure con-
straint (100 psia) at the sink node. Therefore, the well flow rates are
mostly determined by the hydraulics in the tubings and flowlines,
1.2
and the interactions between wells are strong, especially when the
Fixed-slope
Normalized Cumulative Benefit
1
Proxy TABLE 2—SOLUTION-GAS/OIL RATIO IN CASE 2
4000.0 0.5000
0.6 3600.0 0.4632
3200.0 0.4231
0.4 2800.0 0.3764
2400.0 0.3279
0.2 2000.0 0.2755
1600.0 0.2212
0 1200.0 0.1661
0 200 400 600 800 1000
800.0 0.1109
Time (days)
400.0 0.0539
Fig. 8—Cumulative benefit of Case 1. 14.7 0.0
Well-17
Gas lift
Fig. 9—Surface-network structure of Case 2. The arrows at the bottom of the plot denote gas lift injection to the bottomhole
nodes of the wells.
gas lift first starts. The pressure drops after the well tubing heads are time = 60 days, the full-network method is used to handle the strong
approximately at 400 psi. Fig. 10 shows that the oil-phase-produc- coupling of wells shortly after the gas lift starts; after that time, the
tion rates of the field predicted by full-network and proxy methods proxy method is used for faster simulation. We refer to this scheme
are noticeably different at the early stage of the simulation after gas as the “mixed” method. The switch time is chosen on the basis of the
lift starts. We now apply these two methods in sequence: Before observation that the flow is about to be stable using the full-network
25000 60000
QGLG — Gas Lift Injection Rate (Mscf / D)
20000
50000
15000
40000
10000
30000
5000
0 20000
0 50 100 150 200 250
Time (days)
3000 6000
2000 4000
1500 3000
1000 2000
500 1000
0 0
0 50 100 150 200 250
Time (days)
method approximately 10 days after the gas lift injection starts. There are 100 production wells and a number of gas- and water-
A general criterion to determine when the switch should happen injection wells. 60 of the production wells are assisted with gas
is still under investigation. Fig. 10 shows that the mixed method lift. The network consists of approximately 500 connections, with
achieved production rates very close to the full-network method. The a large number of rate and pressure constraints, and approximately
total gas lift rates computed by the three methods are overlapped. 50 production and injection targets of either scale type or ranking
Fig. 11 shows the oil-production rates and gas lift rates of Well-17. type. There are multiple levels of gathering centers and separators
For a short period of time after the gas lift starts, the rates computed in the network. The network eventually flows to a sink with a
by the proxy method show some oscillations because unstable well- minimum pressure constraint of 14.7 psia. Complicated procedures
head pressures, as shown in Fig. 11. The mixed method achieves are defined to dynamically change the constraints and network
results very close to those of the full-network method. The CPU configurations during the simulation. We set Roil = USD 60/STB,
time of the network calculations of the three methods (full-network, Rgas = 0, Rwat = 0, and Rglift = USD 0.6 /Mscf in this case. The oil-
proxy, and mixed) are 126, 50, and 71 seconds, respectively. phase-production rates computed by the full-network method agree
well with those computed by the proxy method, which is shown in
Case 3. Case 3 is a multiple-reservoir compositional model. More Fig. 12. The gas lift rates of the two methods follow approximately
than 10 reservoirs are connected through a common surface net- the same trend, but the former gives higher values than the later, as
work. The fluids of these reservoirs have up to 19 components. shown in Fig. 12. The case was run in parallel on four processors.
1.0 1.0
0.8 0.8
0.6 0.6
0.4 0.4
0.2 0.2
0 0
0 2000 4000 6000 8000 10000 12000 14000
Time (days)