Professional Documents
Culture Documents
Society of PetffrlwmEnglneefs
SPE 35616
Global Optimization Techniques in Gas Allocation for Continuous Flow Gas Lift Systems
S. Buitrago, and E. Rodriguez, and D. Espin, Intevep S.A.
Ccpyr@hl 1S9S, SocIsly of Pelrolsum Englnsw% Inc The search algorithm proposed is a combination of stochastic
domain exploration and a heuristic calculation of a descent
This paper w= prqmrcd for presentation at the Gas Technology Conference held jn direction, in order to avoid stopping the algorithm at a local
Ca!gary, Alberta, Canda 28 Apd - 1 Mw’ 1998
optimum.
Thm paper was ael.ected for presentation by an SPE Program Ccmuni ttee follnwing
rewew of informe.t}on contained in an abatrect submitted by the authcx(s) Contents Introduction
oft he paper, m presented, have not been reviewed by the Society of Petroleum Engi-
nern and aw subjected to correction by the authom(s). The material, M p-ted,
does not necessarily reflect any pcmtion of the Society of Petdeum En@wn, its Continuous flow g= lift works by injecting a continuous vo-
of%m-s, or members Papera preemted at SPE mectmga are subJ@ to publication
lume of high pressure gas into the tubing or tubing/caaing
review by Editorml Cornmitt&s of the ScCiety of Petroleum Engineem. Permission
to ccpy is reatncted to an abstract of net mnre than 300 wnrds. Illtutmticms may annulus to lighten the column of oil and thus facilitate ex-
net be ccpie. dThe abat=t should contain cc+mpicucms acknowledgement of where traction.
and hy whom the paper ww prese?rt.xl Write Libmisn, SPE, PO. Box 83SSS6,
Richardson, TX 750SS-SS36, U. S. A.,fax 01-214-95 >S43Z
Ideally, if there is no restriction in the total amount of gas
available, sufficient gas could be injected into an individual
well until maximum production is achieved. However, in
most cases, the total amount of injection gaa volume available
Abstract
for the system of wells is insufficient to reach the maximum
oil production for every well. It will force the oil operator
Continuous flow gas lift is one of the most common artificial
to approach maximum production cautiously. Inefficient gas
lift methods in use. It works by injecting a continuous vo-
allocation in a field with limited gas availability also reduces
lume of high pressure gas into the tubing or tubing/casing
annulus to lighten the column of oil and thus facilitate ex- profitability. Excessive gas input is costly because of high
gas prices and compressing costs. Therefore, it is necesary
traction. Excessive gas input is costly because of high gas
to allocate a limited amount of gas to each well in an optimal
prices and compressing costs. Inefficient gas allocation in a
way to get the maximum oil production rate from the field.
field with limited gas availability also reduces production and
profitability.
In view of this situation, the development of a procedure to
Historically, a sensible allocation was achieved using a tech- determine the optimal point to produce a group of wells was
nique called the equal slope allocation method. This method recognized as having a potential for gas lift design improve-
uses graphical procedures to optimally allocate gas to a group ment.
of wells in order to optimize total oil production. However,
there is a disadvantage in this method, as it can not be ap- Kanu et al. [1] established the method of equal slope allo-
plied to wells where there is not an instantaneous response cation under both unlimited and limited gas supply. They
to gas injection. presented the formulation of the economic slope and the use
of this slope to allocate a total amount of gas at the opti-
The purpose of this paper is to present a methodology for mal economic point for a group of wells in a step by step
automatically determining the optimum gas injection rate for procedure. This method works well under the following hy-
a group of wells in order to maximize the total oil production pothesis: given a set of n wells, exist bi, z = 1, . . . n, such
rate for a given total amount of ga9. that the derivative of the gas requirement curve qoi vs q~i for
375
GLOBAL OPTIMIZATION TECHNIQUES IN GAS ALLOCATION FOR SPE 35616
CONTINUOUS FLOW GAS LIFT SYSTEMS
each well is a decreasing function in [0, hi]. However, there is Given q > 0 and QgTOT, the total gas rate available,
a disadvantage in this method, it can not be applied to wells find QO ~ O such that QO = m~9~A f(QJ)) Where
where there is not an instantaneous response to gas injection. A = {Qq = (q91,. ... qJ”) : Q$TOT-2 ~ < ~~=lqgi <
Q9TOT, and g~i ~0, i= 1,.””, n}.
Nishikieri [2] presents an extension of the equal slope tech-
nique, based on the application of nonlinear optimization
The necesary data to solve the problem above comes from
methods of quaai-Newton type, to find the optimum gas in-
the gas requirement curve (qoi vs q~i) for each well. An ex-
jection rates for a group of wells. The convergence of this
plicit formula for the function f is not available. From the
type of methods is superlinear. However, they require an
definition of the objective function f, it can be implied that
initial estimate of the gas injection rate to guarantee the con-
f is continuous and bounded.
vergence of the method. Also, matrices of dimension equal
to the number of wells, which are approximations of the Hes-
sian of the objective function, have to be built up. As the The existence of wells where there is not an instantaneous
dimension of those matrices increases, the time to get the response to gas injection does not guarantee the convergence
solution too, then the stability of the method and the con- towards a correct solution of the technique presented in [2].
fiability of the results are affected. Moreover, the existence This is because the derivability of the objective function ~
of wells which has not an instantaneous response to gas in- is required. Also, the equal slope allocation method [1] can
jection, does not guarantee the convergence of this method not be applied to sets with this type of wells, it will give an
towards a correct solution, because the derivability of the erroneous answer. In this case, the assumption that exist
objective function is required. bi >0 such that the derivative of the gas requirement curve
qoi vs qgi for each well is a decreasing function in [(), hi], is
This work reports a novel nonlinear methodology for deter- not longer valid,
mining the optimal distribution of a given amount of gas to a
set of wells, without restriction in the well response and the
number of wells in the system. In the next section the ma- All this lead to look for optimization algorithms able to cal-
culate the global optimums using only functions evaluations
thematical formulation of the problem is presented. Follows
of the objective function ~ and no assumption on Y, More-
the optimization algorithm proposed to solve the problem.
over, those algorithms have to be robusts to guarantee an
Finally, three different examples were included to show the
adequate answer for any arbitrary set of wells.
advantages of the algorithm.
tion rate for well i under q~i gas injection rate. The algorithm proposed below, Ex-In, is not sensitive to local
irregularities of the objective function, It is a usable solution
Therefore, the problem could be formulated as: even when other algorithms fail because of such irregularities.
376
SPE 35616 S. BUITRA GO, E. RODRIGUEZ, D. ESPIN 3
Selection of the initial set 1. The main idea is to cover the 6.1 Choose at random one of the coordinates of point i,
domain A with a finite number of points in order to get the let it be m, such that m < j
largest possible information of the function ~. Given c >0,
we want a random set 1 contained in the set of possible initial 6.2 Reduce z~ at most 20’?40, i ,e, Oux = z~(l –
realizations such that 0.2rand(0, 1))
From this, if xi and zJ are in O, then j(zi) = j(xJ ). 7.1 Choose at random one of the coordinates of point i,
let it be m, such that m s n
One possible solution to this problem is to generate an
initial set of points with maximum spread on A. The 7.2 Increase z: till, min(bi, .ss) at most, i.e. auz = z~ +
idea is to explore the whole domain A and to increase (min(bi, ss) - z~)rand(O, 1)
P(O fl(U=,eI B, (~i)) # 0) with the number of initial points
in Z. 7.3 auzl = auzl — z~+auz
377
GLOBAL OPTIMIZATION TECHNIQUES IN GAS ALLOCATION FOR SPE 35616
CONTINUOUS FLOW GAS LIFT SYSTEMS
4. 6 ‘1 .findz(?’f) - .findz(l) I In adition to that, for each iteration it is calculated the sat-
uration of all possible clusters and stop the algorithm only if
5. If 6< ted, stop the algorithm, otherwise ip = ip + 1 the saturation of all the clusters exceeds a threshold.
Test Examples
6. Determine a new point (z!ncw, ~~eW), where Z“ew E A and
increase in 1 the number of function evaluation per step
The method hereby described, implemented in FORTRAN
parameter
for a SUN workstation, was applied to three set of wells whose
gas requirement curve are presented in Table 4 and 4.
7. lf .f~w, > .findz(l) R@ICe the point (Zi’’dc(l), jin~=(l)) in
ck by the new point (Zne’”, j~,~) The comparison criterium used was the ratio ~ which repre-
sents the amount of gas need it to lift a barrel of oil. An ad-
8. If ip is larger than the maximum number of steps, stop ditional constraint was considered, the oil production might
thealgorithm be over an economic limit. The results were considered to
agree when the difference among the methods was less than
9. If the maximum number of function evaluations per step lo%.
is reached, return to step 3, otherwise, return to step 6
The first example is conformed by the first 5 wells of Table 4
At the end of the algorithm, the points are grouped around with 3000 MSCF/D of gaa available. Table 1presents the gas
the global maxima forming clusters. injection rate for this group of wells, using Ex-In and Equal
Slope allocation methods. Both methods agree in the ratio
u.
Algorithm for the selection of (xnew, fnew) in step 6. q.
3. Let penal be the slope of the hiperplane through Ri, z’= The third eaxmple is conformed by the wells of table 5. Here
1,.. ,n+l wells 47 to 56 have not an instantaneous response to gas
injection. Once again Ex-In method give the best results.
Reductions of 9.85% of the total gas rate used for the same
4. Let z~ be the centroid of {ZinJ’(i)}~$~
oil production rate (an increming of 23 B/D) are achieved
using the methodology proposed when compared with the
5. If penal is smaller or equal than the slope tolerated, then equal slope allocation method (see Table 3).
=0+=,red=(l)
~ncw —_
2
Conclusions
6. If penal is larger than the slope tolerated, then Zn’w =
2Z9 – ~i~d~(l) 1. A new tool to optimize gas distribution for a group of wells
without restriction in the well response and the number
of wells in the system, is presented.
7. If Znew E A, continue with step 8, otherwise return to
step 1
2. A novel optimization technique wm used in gas allocation
for continuous flow gas lift systems.
8. Evaluate the objective function f at Zm’w, i.e. calculate
few 3. This technique reproduces the results of the equal slope
allocation method where appropriated, while including
Stoping criteria. The natural criteria taken into account into the optimization also the wells where there is not
in the algorithm are: how close are the function evaluations an instantaneous response to gas injection. There are no
of the N points retained at each step, and the number of limitations in the numbers of wells to be considered in the
performed iterations. study.
378
SPE 35616 S. BUITRAGO, E. RQDRIGUEZ, D. ESPIN 5
4. The results obtained from three field examples (5, 6 and TABLE 2. Gas allocation and oil production for a set of 6
58 wells) using the computational model implemented are wells and 4600 MSCF/D of gas available
presented. Reductions of up to 14% of the total gas rate
used for the same oil production rate are achieved using
the methodology proposed when compared with the equal
slope allocation method. Ex-In Equal-Slope
well
MS:F/D ~~D MSq&/D $’D
References
379
6 GLOBAL OPTIMIZATION TECHMQUIL’3 IN GAS ALLOCATION FOR SPE 35616
CONTINUOUS FLOW GAS LIFT SYSTEMS
TABLE 3. Gas allocation and oil production for a set of 56 TABLE 3. Gas allocation and oil production for a set of 56
wells and 22500 MSCF/D of gas available (cont. ) wells and 22500 MSCF/D of gas available (cont. )
Ex-In Equal-Slope
Well Ex-In Equal-Slope
MSq&/D I$D M!&D ;~D Well
MS~F/D B~D MS?F/D B?D
21 542.3 384.6 189. 251.
22 385.8 214.9 270. 195. 41 315.1 373.4 0. 372.
23 44.5 945.6 0. 944. 42 33.7 201.2 0. 20U.
24 1713.9 1752.6 399. 1420. 43 1284, 404.9 0. 0.
25 805.4 546.6 0. 487. 44 95.6 404.7 0. 47.
26 591.6 127.2 0. 82. 45 33.2 83.4 0. 397.
27 247.8 355.9 0. 353. 46 289.3 65.8 0. 83.
28 140.2 1052.7 0. 1044. 47 0. 0. 3042. 441.
29 268.5 196.4 0. 184. 48 0. 0. 1633. 197.
30 68.7 309.2 0. 308. 49 0. 0. 1418. 232.
31 1.5 354. 0. 354. 50 0. 0. 1301. 146.
32 451.8 681.2 0. 618. 51 0. 0. 2224. 223.
33 358.8 220. 184. 185. 52 0. 2830. 317.
34 459. 215.6 0. 209. 53 0. :: 1304. 186.
35 772<3 265.6 0. 179. 54 0. 0. 2594. 278.
36 198.5 216.3 0. 64. 55 0. 0. 2317. 152.
37 170.5 73.2 0. 270. 56 0. 0. 1655. 403.
38 668.2 325. 112. 174.
39 235.1 lW.6 168. 0. TOTAL 20453.9 21789.9 22508. 21265.
40 114.9 27.9 0. 372. h 0.939 1.059
q.
TABLE 4. Gas injection and oil production rates for a set of 6 wells
MS~F/D ~~D MSgF/D B~D MS%F/D ~)D MSgF/D $D MSgF/D #~D MS%F/D ~~D
0.0 144.9 113.2 427.7 1570 588.6 141.5 353.8 32.1 160.5 32.1 0.
32.1 216,2 204,1 546.2 288.5 772.0 247.9 446.8 116.1 348.1 116.1 0.
93.2 273.4 325.2 638.3 471,9 926.4 393.9 523.0 243.4 476.0 243.4 0.
1?!6.7 316.1 479.2 703.2 708.0 1039.0 589.9 585.6 446.8 597.0 446.8 0.
316.3 345.9 671,0 746.0 1003.6 1115.8 832.5 624.4 742.6 697.4 742.6 0.
490,2 367.5 902<9 767.8 1350.0 1148.1 1139.3 650.7 1143.2 768.9 1143.2 97<4
721.1 383.9 1183.1 775.2 1789.5 1172.5 1527.6 668.3 1667.3 813.6 1667.3 168.9
1013.4 3921 1530.7 776.9 2319.6 1177.2 1983.0 667.4 2364.8 844.7 2364.8 213.6
1371.8 392.0 1926.4 760.4 2943.3 1161.8 3253.6 856.2 3253.6 244.7
4397.9 856.6 4397.9 301.2
5844.4 845.4 5844.4 295.1
380
SPE 35616 S. BUITRAGO, E. RODRIGUEZ, D. ESPIN
TABLE 5, Gas injection and oil production rates for a set of 56 wells
Well q~ MSCF
~o B/D
381
GLOBAL OPTIMIZATION TECHNIQUES IN GAS ALLOCATION FOR SPE 35616
CONTINUOUS FLOW GAS LIFT SYSTEMS
TABLE 5. Gas injection and oil production rates for a set of 56 wells (cent)
Well qg MS(3F
90 B/D
382
SPE 35616 S. BUITRAGO, E. RODRIGUEZ, D. ESPIN
TABLE 5. Gas injection and oil production rates for a set of 56 wells (cent)
Well qg MSCF
90 B/D
383