Professional Documents
Culture Documents
Journal of Energy Resources Technology Copyright © 2002 by ASME SEPTEMBER 2002, Vol. 124 Õ 1
the proposed model against the gas injection rate, Q g , and oil
production rate, Q o , for a group of five wells presented by Nish-
ikiori 关9兴. Similarly, Fig. 4 compares the same data with the math-
ematical fit of a second-degree polynomial.
As can be seen from both Figs. 3 and 4, the proposed model is
more accurate than the second-degree polynomial method. Fur-
thermore, the response of the wells to the gas injection predicted
by the second-degree polynomial is completely different than that
predicted by the proposed model. The second-degree polynomial
induces uncertainties in the prediction of the GLPC, which affect
the optimization results. On the other hand, the mathematical ex-
pression of the proposed model is more complex, which would
probably increase the optimization computing time. Utilization of
the cubic spline to fit the data would results in some degree of
uncertainty, depending on the errors of the measured or calculated
values. Thus, this method could have the same disadvantage as the
second-degree polynomial method.
The total oil production, Q oT , from n wells, which is the sum
of the individual oil production rates, Q oi , can be considered as a
Fig. 2 Type of the GLPC of a well depending on its response function of the individual gas injection rates, Q gi . The math-
to gas injection ematical expression of the total oil production can be written as
n
The technique used to develop the proposed model was a linear Q gi ⭓Q gi min i⫽1,2, . . . ,n (6)
combination of functions 共Nakamura 关8兴兲 utilizing the best corre-
Q gi ⭐Q gi max i⫽1,2, . . . ,n (7)
lation coefficient of the available field data. The unknown coeffi-
cients c 1 , c 2 , c 3 , and c 4 , are obtained from the data by using the The constraint defined by Eq. 共5兲 indicates that the sum of the
least square technique. Figure 3 compares the mathematical fit of individual gas injection rates should be less than or equal to the
total injection gas rate available for the system, Q g Available . The equations are both necessary and sufficient for a global solution
constraint represented in Eq. 共6兲 ensures that each gas injection point. Referring to G-P, the K-T equations can be stated as
rate must not be less that zero for wells with GLPC type A or B,
m
and that the user should impose an adequate Q gi min . for wells
with GLPC type C and D, as can be seen in Fig. 1. Finally, Eq. 共7兲 f 共 x* 兲 ⫹ 兺 * ⵜg 共 x* 兲 ⫽0
j⫽1
j j (12)
indicates that each gas injection rate cannot be greater than the gas
injection rate corresponding to the maximum individual oil pro-
ⵜg j 共 x* 兲 ⫽0 j⫽1,2, . . . ,m e (13)
duction rate, Q gi max . Therefore, the gas injection rates should
always satisfy the set of constraints defined by Eqs. 共5兲–共7兲 during *j ⭓0 j⫽m e⫹1 , . . . ,m (14)
the optimization process. Others constrains can be added in the
future to the optimization technique, such as water cut and mini- Equation 共12兲 describes a canceling operation of the gradients
mum economical performance for each well. These new con- between the objective function and the active constraints at the
strains must be written in the form of Eqs. 共9兲 and 共10兲. solution point 共x*兲. In order for the gradients to be cancelled,
Lagrangian multipliers 共L-M兲 ( j , j⫽1,2, . . . ,m) are needed to
balance the deviations in magnitude of the objective function and
Nonlinear Optimization Technique
constraint gradients. Since only active constraints are included in
Parametric optimization is used to find a set of parameters this canceling operation, constraints, which are not active, must
x⫽(x 1 ,x 2 , . . . ,x n ), which can in some way be defined, as not be included in this operation and so are given L-M equal to
optimal. In a simple case this may be the minimization or zero. This is implicitly stated in Eqs. 共13兲 and 共14兲. The nonlinear
maximization of some system characteristic, which is dependent programming algorithms based on K-T equations attempt to com-
on x. In a more advanced formulation the objective function, pute directly the L-M. Constrained quasi-Newton, Q-N 共Schit-
f (x), to be minimized or maximized may be subject to con- towski 关11兴兲 methods guarantee superlinear convergence by accu-
straints which may be in the form of equality constraints, mulating second-order information regarding the K-T equations
g j (x)⫽0( j⫽1,2, . . . ,m e ), inequality constraints, g j (x)⭐0 ( j using a Q-N updating procedure. These methods are commonly
⫽m e⫹1 , . . . ,m), and or parameter bounds, xl , xu . A general referred to as sequential quadratic programming, S-Q-P, 共Biggs
problem 共G-P兲 description is stated as 关12兴 and Powell 关13兴兲, since a quadratic programming 共Q-P兲 sub-
problem is solved at each major iteration. The S-Q-P methods
Max f 共 x兲 (8)
represent the state-of-the-art in nonlinear programming.
x苸R n
Given the general problem, G-P, of Eqs. 共8兲–共11兲, the principal
subject to idea is the formulation of a Q-P subproblem based on a quadratic
g j 共 x兲 ⫽0, j⫽1, . . . ,m e (9) approximation of the Lagrangian function
m
g j 共 x兲 ⭐0,
兺 g 共 x兲
j⫽m e⫹1 , . . . ,m (10)
L 共 x, 兲 ⫽ f 共 x兲 ⫹ j j (15)
xl ⭐x⭐xu (11) j⫽1
where x is the vector of parameters, (x苸R n ), f (x) is the objective The G-P is simplified by assuming that bound constraints have
function ( f :R n →R), and g共x兲 is the vector of equality and in- been expressed as inequality constraints. The Q-P subproblem is
equality constraints (g:R n →R m ). obtained by linearizing the nonlinear constraints and is written as
The nonlinear constrained optimization is based on the solution
of the Kuhn-Tucker 共K-T兲 equations 共Polak 关10兴兲, which are nec-
essary conditions for optimality of a constrained optimization
Max
d苸R n
冉 1 T
2
d Hk d⫹ⵜ f 共 xk 兲 T d 冊 (16)
Computational Results
A simulator for gas allocation optimization was developed us-
ing sequential quadratic programming in order to demonstrate
convergence speed and accuracy of the proposed model. Which, it
is used to simulate three examples of a group of wells under
gas-lift, as shown schematically in Fig. 5.
Fig. 6 Comparison between Nishikiori et al. †3‡ results and the proposed model for
Gómez †6‡ data