1,540
Views
27
CrossRef citations to date
0
Altmetric
Original Articles

Stability analysis for closed-loop management of a reservoir based on identification of reduced-order nonlinear model

&
Pages 12-19
Received 26 Jan 2013
Accepted 24 Mar 2013
Published online: 10 May 2013

This objective of this study is to analyze the stability of an oil producing reservoir under closed-loop control. Given a five-spot pattern reservoir as an example, a nonlinear reduced-order model is identified and an asymptotically stabilizing controller is proposed based on the circle criterion.

1. Introduction

Oil consumption worldwide has experienced dramatic increases due to unprecedented growth in more than one emerging country. As a consequence, the management of oil production is becoming increasingly complex. An oil producing reservoir system is difficult to manage because of the unknown and complex geology (Gu & Olive, Citation2004; Jensen, Citation2007; Nævdal, Mannseth, & Vefring, Citation2002; Nævdal, Johnsen, Aanonsen, & Vefring, Citation2003). Several studies have appeared that uses a closed-loop optimal control framework to manage the reservoir production. However, none of these studies consider the issue of closed-loop stability when a complex nonlinear system is in a feedback loop with a model-based optimal controller. One of the most important reasons is the nonlinear behavior of the oil reservoir system, which confounds the stability analysis of the oil production management system.

Many implementation studies of the design of the model-based, optimal controllers reveal that it is reasonable to develop a regulator based on a first-principles, mechanistic model that describes the process. Here, the first-principles model of an oil production process is nonlinear, of high dimension, and is represented by a system of partial differential algebraic equations (Nævdal, Brouwer, & Jansen, Citation2006; Sarma, Aziz, & Durlofsky, Citation2005; Sarma, Durlofsky, & Aziz, Citation2005). Intuitively, these features detract from efficient real-time applications. Many studies have overcome this limitation, by replacing the first-principles, mechanistic model with a reduced-order model (ROM), identified from real and simulated data (taken from the mechanistic model) (Chen Hoo, Citation2011a, Citation2011b; van Doren, Markovinović, and Jansen, Citation2006; Sarma et al., Citation2006).

One advantage of a nonlinear reduced-order model (NLROM) is that it can represent the primary nonlinear dynamic behavior to some prescribed satisfactory degree. Thus, applications that involve the analysis of a model, such as closed-loop model-based control, become tractable without ignoring the nonlinear behavior of the original system. In this work, a NLROM will be identified. The stability of the nonlinear process in closed-loop with a nonlinear model-based regulator should be guaranteed for the known operating modes.

Stabilization of nonlinear dynamic systems has been studied widely (Kurtz & Henson, Citation1998; Michalska & Mayne, Citation1993; Wu, He, Liu, & She, Citation2005). However, because of the existence of both model and parameter uncertainties, the management of an oil reservoir focuses on reducing the uncertainty between the current data and historical data (referred to as history matching) without the consideration of the objectives of the controller or the stability of the closed-loop management structure (Brouwer, Citation2004; Brouwer, Nævdal, Jansen, Vefring, & van Kruijsdijk, Citation2004; Chen & Hoo, Citation2012). Section 2 introduces an oil producing reservoir. The highly nonlinear first-principles model is provided. An NLROM is identified, based on the first-principles model, for model-based optimal controller design and for closed-loop stability analysis. Next, Section 3 will introduce the circle criterion used to establish closed-loop stability. Section 4 analyzes the closed-loop stability of the reservoir as represented by the NLROM. Finally, Section 5 summarizes the contributions of the study.

2. Reservoir and NLROM identification

2.1. Reservoir

Consider the following two-dimensional and two-phase flow (oil and water) porous media oil producing reservoir system as depicted in Figure 1.

Figure 1. Schematic of a two-dimensional reservoir and wells. ↓, water injection well; ↑, oil production well.

To represent the reservoir, the ubiquitous five-spot pattern is used (Latil, Citation1980). The water injection wells are located at the four corners of the reservoir and the oil well is located in the middle of the reservoir. The region is modeled by a 9×9×1 horizontal two-dimensional grid blocks. The fluid system consists of two phases, with 0.1 connate water saturation and 0.3 residual oil saturation. Following Giles Citation(2008), the porosity and permeability distributions are in the intervals [0.04, 0.33] and [0.006, 0.6]×10−13 m2 ([6,600] milliDarcy), respectively. The relative permeability curve used to solve the reservoir model is shown in Figure 2.

Figure 2. Relative permeability curve.

The following mathematical representation is a first-principles model for the above two-dimensional reservoir based on the assumptions of immiscible porous media flow, where subscripts o,w stand for oil and water, respectively. The definition of the variables and parameters can be found in .

Table 1. Definition of reservoir variables and parameters.

2.2. Identification of a NLROM

The use of a nonlinear and high-dimension mechanistic model constrains real-time applications because of the potential lengthy computational burden. A means to overcome this limitation is to identify a suitable low-order model using system identification methods. In this example, a nonlinear autoregressive exogenous (NARX) model (De Nicolao, Magni, & Scattolini, Citation1997; Zhang & Ljung, Citation2004), which is a type of NLROM is identified.

The form of the NARX is given by The MATH WORKS, Inc., where X is a 1×m vector containing regressors; f is a scaling function, z is a 1×q row vector and g is a wavelet function

The other variable definitions and sizes are listed in .

Table 2. Definition of NARX variables.

Assume there is a pseudo-oil producing well located in each of the four parts of the well (Figure 1). Let the true oil production be represented by a summation of what is produced by the four-pseudo wells. How much water to inject is the decision variable determined by the optimizer. Using system identification methods, an NARX model is identified from data taken from the simulation of the mechanistic model for each part of the reservoir. There is one decision variable and one control variable associated with each NARX model. In the NARX reservoir model (2), F(X)(k) is the amount of oil produced by the addition of water. The vector X consists of the regressors, including oil and water rates at time (k−1), that is the pair, {x(k−1), u(k−1)}. In this model, the water injection flow rates to the four water wells are the manipulated variables, while the oil production rates of the four pseudo-oil wells are the model's outputs.

The length of the simulation covers 30 time steps. The step interval used to calculate the production rate is 10 days. Figure 3 is the water cut (ratio of water production to the sum of water and oil production from a well) from the production well. After 300 days, only 14% of the product is oil. The top graph in Figure 4 compares the oil production rate of each part of the reservoir between the predictions of the first-principles model and the NARX model. The bottom graph of Figure 4 compares the total oil production rates. From this figure, it can be observed that the oil production rate from the identified model is a satisfactory fit to that of the results from the first-principles model. The maximum error is within 20% and the average error is 1.8%.

Figure 3. Water cut from the production well.

Figure 4. Comparison of oil production flow rates between first-principles model and NARX. ˆ, results from first-principles model; *, results from NARX.

To check the accuracy of the identified NARX model to that of the first-principles model ±10% change in the water injection flow rates are made. Figure 5 shows the comparison. The average errors between the results of the first-principles model and the NARX model are 1.18% for a 10% decrease and 1.92% for 10% increase in the water injection flow rates.

Figure 5. Comparison of oil production flow rates between first-principles model and NARX. Top: decrease 10% of injected water. Bottom: increase 10% of injected water. ˆ, results from first-principles model; *, results from NARX.

3. Circle criterion for stability of closed-loop systems

Consider a nonlinear system described by and its related linear form, where x and u are the functions of t, t∈ℝ+, x∈ℝn, u∈ℝp, y∈ℝm, A∈ℝn×n, B∈ℝn×p, C∈ℝm×n, D∈ℝm×P. The system is assumed to be controllable with A Hurwitz and the pair (A, C) assumed to be observable. The function F (ℝ+×ℝn→ℝn) represents the nonlinearity of the system.

3.1. Definitions

Definition 1 (Benabdallah & Hammami, Citation2006)

A nonlinearity ϕ: ℝ+×ℝm→ℝm is said to belong to a closed section [0, K] if for some symmetric positive-definite matrix K.

Definition 2

A (p×p) matrix Z(s) composed of functions of complex variables s is called positive real if

  • Z(s) has elements that are analytic for Re[s >0,

  • Z(s) is Hermitian, Z*(s)=Z(s*), for Re[s >0, and

  • ZT(s*)+Z(s) is positive semi-definite for Re[s] >0,

where * denotes complex conjugation.

The matrix Z(s) is called strictly positive real if Z (s−ϵ) is positive real for some ϵ>0.

For closed-loop control, the following controller is proposed, where vector function ϕ(y) is a k-Lipschitz function (|ϕ(y)−ϕ(z)|≤k| yz |, ∀ t≥0, ∀ y, ∀ z) which belongs to a section [0, K], K is a symmetric positive-definite matrix, and v(y) is a nonlinear vector function of y whose proposed form is given by with α(y), a function to be selected to stabilize the closed-loop system given in Equation (3).

3.2. Theorem

To investigate the stability of the nonlinear closed-loop system given in Equation (3), the following quadratic Lyapunov function is proposed, where P is a symmetric positive-definite matrix.

The circle criterion design depends on the Kalman–Yakubovich–Popov lemma (Khalil, Citation1996).

Lemma 1

Let Z(s)=I+KC(s I+A)−1B be a p×p transfer function matrix where A is Hurwitz (A, B) is controllable, and (A, C) is observable. Then, Z(·) is strictly positive real if and only if there exist a symmetric positive matrix P, a matrix L, and a positive constant ϵ such that (A1) The p×p matrix Z(s) defined by is strictly positive real. Then, u(y)=−ϕ(y) stabilizes exponentially and globally the nominal system (4). To achieve stabilization of the uncertain system in Equation (3) subject to the controller proposed in Equation (5), assume A1 and the following assumptions are satisfied (Benabdallah & Hammami, Citation2006):

(A2) There exists a mapping h:ℝn×ℝp→ℝn satisfying where P is the positive-definite matrix obtained from Equation (7).

(A3) There exists a nonnegative continuous function ρ(·) such that h(x, u) is bounded

(A4) There exists a nonnegative function ρ0(·) such that with where λmin(K) denotes the minimum eigenvalue of the matrix K and k is the Lipschitz constant.

According to Benabdallah and Hammami Citation(2006), the following theorem is proposed.

Theorem 1

Consider the nonlinear system described by Equation (3) and assume that (A1) (A4) are satisfied. Then, there exists a function α(y) such that the closed-loop system (3)–(5) is globally exponentially stable.

Proof

Consider the quadratic Lyapunov function,

The time derivative of V with reference to system (3) is given by, Due to the fulfillment of (A1), Equation (7) can be applied to the first and second terms in the above expression to give, and Substitution of these expression into the derivative of V gives, The above implies that Based on Definition 1 and Equations (5) and (6), the second and third terms above can be analyzed to arrive at, where λ is the spectral radius of K.

The establishment of the above inequality is based on the fact that the spectral radius of K is no larger than the spectral norm of K (Rugh, Citation1996). That is,

The square of the spectral norm can be written in terms of the dot product, Thus, where the entries of a and K are real.

Let QKTK be a symmetric matrix. For any symmetric matrix, there is an orthonormal basis consisting of unit length eigenvectors that are pairwise perpendicular. Let the order of the basis set be q, where q is also the order of K. Let λi be the corresponding eigenvalues such that Qqii qi. Since | a|2=1, then .

We can express the square of the norm of K as It then follows that and By (A2)–(A4), It then follows that If the choice of α(y) is such that then ≤0 and global exponential stability of the closed-loop system is achieved.

Remark 1 An analysis of the above equation reveals that the coefficients of α2(y) are positive. Thus, the minimum value of this quadratic equation can be calculated, which is ρo(y)−(k−λmin(K)/2)2. According to (A4), the minimum value is less than 0.

The solution to can be calculated. Let According to (A4), Δ>0, thus two, distinct real solutions exist, Because the quadratic equation has a minimum value, the selection of α(y) can satisfy the inequality in Equation (8),   ▪

Remark 2 The existence of α(y) in Equation (9) is sufficient for the nonlinear closed-system to be globally asymptotically stable.

4. Closed-loop stability of reservoir NARX

In the NARX reservoir model (2), the oil production is controlled by the injection of water flow rates. According to the above stability analysis, to guarantee the closed-loop control stability, it is required that each part should satisfy (A1)–(A4) and the circle criterion.

Initially, the NARX form (2) is transformed to the form of Equation (3),

The form of Equation (3) can be obtained with In Equation (3), y is the oil production rate; thus, C=1. Because each model has one manipulated variable and one control variable, u, x and y are scalars; thus, A, B and C. are scalar. The k-Lipschitz function is simply, The relationship between the amount of water added and the amount of oil produced is where wc is the water cut value, which is the ratio between the water produced to the sum of oil and water produced,

For part I of the reservoir: A=−0.5818, B=−0.5840. To satisfy (A1), assume P=1 and thus 0<ϵ<1.1636, | L |<1.0787 and 0<K<0.9415. For condition (A2), h(t, x, u)=f(t, x, u). Based on the NARX model, it can be found that values of ρ=33.0462 and ρ0=0.1957 satisfy (A3). Also, k≥1/(1−wc) and 0<K<0.9415 satisfy (A4).

For part II of the reservoir: A=−0.1658, B=2.1516. Assume P=1; then 0<ϵ<0.3316, | L|<0.5758 and 1.3373<K<2.9659 to satisfy (A1). Values of ρ=27.9713 and ρ0=0.1401 satisfy (A3). And k≥1/(1−wc) and 0<K<1.2548 or 2.7520<K<2.9659 satisfy (A4).

For part III of the reservoir: A=−0.5752, B=−0.4143. Assume P=1; then 0<ϵ<1.1504, | L|<1.0726 and 0<K<1.1028 to satisfy (A1). Values of ρ=47.9380 and ρ0=0.2410 satisfy (A3). And k≥1/(1−wc) and 0<K<1.0290 satisfy (A4).

For part IV of the reservoir: A=−0.2904, B=−0.0409. Assume P=1; 0<ϵ<0.5808, | L|<0.7621 and 0<K<1.0369 to satisfy condition (A1). Values of ρ=5.3165 and ρ0=0.0269 satisfy condition (A3). And k≥1/(1−wc) and 0<K<1.0369 satisfy (A4).

It was already demonstrated that with the satisfaction of (A1)–(A4), there exists an α(·) function to stabilize the closed-loop system given by Equation (3) (Theorem 1). Thus, the closed-loop stability of the reservoir example is established.

5. Summary

The primary contribution of this work is the analysis of closed-loop stability of a nonlinear dynamic system (3) in feedback with an optimal model-based controller design. An original theorem was developed and proven about the existence of a model-based controller that guarantees that the closed-loop system is globally exponentially stable (Section 3). An approximate nonlinear reduced-model of a two-phase oil producing reservoir was introduced to demonstrate the design of the stabilizing controller. The controller parameters that satisfy the condition for closed-loop stability were analyzed to establish this state. Because of the varying but natural geological conditions, any mathematical model of an oil reservoir model will contain uncertainty. In the future, it will be interesting to consider the main sources of uncertainty and their effect on the closed-loop stability analysis for the designed controller and oil reservoir system.

Acknowledgements

This work was supported by ACS PRF # 49545-ND9. The authors wish to thank Dr Shameem Siddiqui (TTU Petroleum department) for his input on the oil reservoir.

References

  • Benabdallah, A., & Hammami, M. A. (2006). Circle and Popov criterion for output feedback stabilization of uncertain systems. Nonlinear Analysis: Modeling and Control, 11, 137148. [Google Scholar]
  • Brouwer, D. R. (2004). Dynamic water flood optimization with smart wells using optimal control theory, DelftNetherlands: Doctor of philosophy, Delft Univ. of Tech. [Google Scholar]
  • BrouwerD. R.NævdalG.JansenJ. D.VefringE. H.van KruijsdijkC. P. J. W. (2004, September 26–29). Improved reservoir management through optimal control and continuous model updating. Annual Technical Conference and Exhibition, HoustonTX, USA, RichardsonTX: Society of Petroleum Engineers, SPE 90149. [Google Scholar]
  • ChenY.HooK. (2011a, May 23–26). Optimal model-based reservoir management with model parameter uncertainty updates. The 4th International Symposium on Advanced Control of Industrial Processes, HangzhouP.R. China, Piscataway Township, NJ: IEEE, pp. 439444 [Google Scholar]
  • ChenY.HooK. (2011b, June 29–July 1). Application of partial least squares regression in the study of uncertainty. Proceedings of the 2011 American Control Conference, San Francisco, CA, USA, Piscataway Township, NJ: IEEE, pp. 19581962paper ThA07 [Google Scholar]
  • Chen, Y., & Hoo, K. (2012). Model parameter uncertainty updates to achieve optimal management of a reservoir. Control Engineering Practice, 20(10), 10421057. (doi:10.1016/j.conengprac.2012.01.007) doi: 10.1016/j.conengprac.2012.01.007 [Crossref][Google Scholar]
  • De Nicolao, G., Magni, L., & Scattolini, R. (1997). Stabilizing predictive control of nonlinear arx models. Automatica, 33(9), 16911697. (doi:10.1016/S0005-1098(97)00079-4) doi: 10.1016/S0005-1098(97)00079-4 [Crossref][Google Scholar]
  • van Doren, J. F. M., Markovinović, R., Jansen, J.-D. (2006). Reduced-order optimal control of water flooding using proper orthogonal decomposition. Computational Geosciences, 10, 137158. (doi:10.1007/s10596-005-9014-2) doi: 10.1007/s10596-005-9014-2 [Crossref], [Web of Science ®][Google Scholar]
  • Giles, T. L. (2008). Effects of permeability on waterflooding efficiency, Texas: Tech University. (Technical Report). [Google Scholar]
  • GuY.OliveD. S. History matching of the PUNQ-S3 reservoir model using ensemble Kalman filter. Annual Technical Conference and Exhibition, Houston, TXUSA, Richardson, TX: Society of Petroleum Engineers2004, September 26–29SPE 89942. [Google Scholar]
  • Jensen, J. P. (2007, June). Ensemble Kalman filtering for state and parameter estimation on a reservoir model, Norwegian University of Science and Technology.Master of Science in Engineering Cybernetics [Google Scholar]
  • Khalil, H. K. (1996). Nonlinear Systems (2nd ed.). Englewood Cliffs, NJ: Prentice Hall. [Google Scholar]
  • Kurtz, M., & Henson, M. (1998). Feedback linearizing control of discrete-time nonlinear systems with input constraints. International Journal of Control, 70(4), 603616. (doi:10.1080/002071798222226) doi: 10.1080/002071798222226 [Taylor & Francis Online][Google Scholar]
  • Latil, M. (1980). Enhanced Oil Recovery, Paris: Gulf.(Editions Technip ed.). [Google Scholar]
  • Michalska, H., & Mayne, D. (1993). Robust receding horizon control of constrained nonlinear systems. IEEE Transactions on Automatic Control, 38(11), 16231633. (doi:10.1109/9.262032) doi: 10.1109/9.262032 [Crossref][Google Scholar]
  • Nævdal, G., Brouwer, D. R., Jansen, J.-D. (2006). Waterflooding using closed-loop control. Computational Geosciences, 10, 3760. (doi:10.1007/s10596-005-9010-6) doi: 10.1007/s10596-005-9010-6 [Crossref][Google Scholar]
  • NævdalG.JohnsenL. M.AanonsenS. I.VefringE. H. 2003, October 5–8). Reservoir monitoring and continuous model updating using ensemble Kalman filter. Annual Technical Conference and Exhibition, Denver, CL, USA, Richardson, TX: Society of Petroleum Engineers. SPE 84372. [Google Scholar]
  • NævdalG.MannsethT.VefringE. H. (2002, April 13–17). Near-well reservoir monitoring through ensemble Kalman filter. Improved Oil Recovery Symposium, Tulsa, OKUSA, Richardson, TX: Society of Petroleum Engineers. SPE 75235. [Google Scholar]
  • Rugh, W. J. (1996). Linear System Theorem (2nd ed.). Upper Saddle River, NJ: Prentice-Hall. [Google Scholar]
  • Sarma, P., Aziz, K., & Durlofsky, L. J. (2005, January 31–February 2). Implementation of adjoint solution for optimal control of smart wells. Proceedings of the Reservoir Symposium, Houston, TX, USA. Richardson, TX: Society Petroleum Engineers, SPE 92864. [Google Scholar]
  • Sarma, P., Durlofsky, L. J., & Aziz, K. (2005, June 13–16). Efficient closed-loop production optimization under uncertainty. Proceedings of 14th European Biennial Conference, Madrid, Spain. Richardson, TX: Society of Petroleum Engineers, SPE 94241. [Google Scholar]
  • Sarma, P., Durlofsky, L., Aziz, K., & Chen, W. (2006). Efficient real-time reservoir management using adjoint-based optimal control and model updating. Computational Geosciences, 10, 336. (doi:10.1007/s10596-005-9009-z) doi: 10.1007/s10596-005-9009-z [Crossref][Google Scholar]
  • THE MATH WORKS, INC MatLab system identification usre's guide, (2010a ed). Retrieved from http://www.mathworks.com/help/nnet/ug/narx-network-narxnet-closeloop.html [Google Scholar]
  • Wu, M., He, Y., Liu, G., & She, J. (2005). On absolute stability of lur'e control systems with multiple non-linearities. European Journal of Control, 11(1), 1928. (doi:10.3166/ejc.11.19-28) doi: 10.3166/ejc.11.19-28 [Crossref][Google Scholar]
  • ZhangQ. & LjungL.. (2004, June 14). Multiple steps prediction with nonlinear arx models. Proceedings of the 6th International Federation of Automatic Control: Nonlinear Control Systems, Stuttgart, Germany, pp. 309314 [Google Scholar]

Reprints and Permissions

Taylor & Francis does not sell reprints or permissions for this article. Please refer to the 'Licensing' tab on the article menu bar for information on the reuse conditions associated with this license type.