Published: 30 June 2017

Discriminant analysis model of oil formation based on forecast probabilities of pressure changes

V. E. Lyalin1
A. N. Krasnov2
I. M. Grigorev3
R. O. Sultanov4
1, 3, 4Kalashnikov Izhevsk State Technical University, Izhevsk, Russia
2Ufa State Petroleum Technological University, Ufa, Russia
Corresponding Author:
V. E. Lyalin
Views 33
Reads 12
Downloads 1578

Abstract

The information on unknown parameters of an oil formation can be express through a multivariate distribution of probabilities in space of parameters. A new quantitative method for carrying out of the discriminant analysis of models of an oil formation on the basis of hydrodynamic slits by sequential prediction of the probabilities of pressure modification is offered in this paper. Investigation of look-ahead probability for several models of the slit formation was conducted. The developed method can be used as a universal tool for carrying out of the discriminant analysis of models irrespective of the number of parameters.

1. Introduction

It is well known that confidence intervals are a convenient and good criterion for the adequacy of the chosen model. However, confidence intervals can sometimes lead to incorrect results. Moreover, they cannot establish a difference between the candidate models of the formation, since the models are characterized by different sets of parameters with the corresponding dimensions of the probability distributions. As a result, it is difficult to compare different models in the space of parameters. This paper describes a new quantitative method for discriminant analysis of models, which allows to overcome these difficulties. This method is a direct continuation of the methods for obtaining confidence intervals based on Bayesian inference. The idea of the method is that the correct model should more accurately predict the pressure changes than other models. From a quantitative point of view, the probability of a real change in pressure at future times for a correct model should be higher than the predicted probability for the remaining models. The predicted probability distribution of events associated with pressure changes can be calculated with known probability distributions of the parameters. Similar to the proposed approach, the methods are discussed in [1].

2. The structure of the algorithm

The basic algorithm of the method of sequential probability prediction (MSPP) for the discriminant analysis of reservoir models based on well test is as follows.

1) Select several candidate reservoir models that, in one way or another, are consistent with well test and other available information.

2) Use the first few results of pressure measurement to evaluate the reservoir parameters and predict the probability distribution for pressure at the next time point for each reservoir model.

3) Calculate the probability by substituting the actual pressure values in the formula for the predicted probability distribution and update the value of the total probability by multiplying it by the calculated probability with respect to each reservoir model.

4) Repeat the steps until a difference in the total probabilities for each reservoir model is achieved.

5) Discriminant analysis of reservoir model candidates is carried out based on the calculated total probabilities.

3. The mathematical model

The condition that the function describing the model can be approximated by expanding it in a Taylor series of the first order leads to the following expression:

1
Fθ=Fθ^+j=1mFθjθ=θ^θj-θ^j,

where θ – a vector of m of unknown parameters of layer, θ^ – the average (expected) values of parameters (an assessment of θ by a method of the smallest squares on the basis of n of independent observations).

The predicted probability distribution for each model is determined in accordance with the following procedure in the Bayesian derivation. In this case, the parameters θ are considered random variables with some probability distributions.

Suppose that we know the variance σ2 of these distributions. Then the uncertainty associated with the model is described by the equation [2, 3]:

2
Probθy1,,yn=H1/22πσ2m/2exp-12σ2θ-θ^THθ-θ^,

where yi is the pressure value for i observation, H is the Hessian matrix in the Gauss method [4]:

3
H=i=1nFθ1Fθ1i=1nFθ1Fθmi=1nFθmFθ1i=1nFθmFθmθ=θ^.

In this case, the parameters θ form a multidimensional normal distribution around θ^ with the covariance matrix σ2H-1 with known n independent observations of the pressure measurement results. θ is a dimension vector m, and hence their probability distribution also has the dimension m.

Using the θ^ and n parameter estimates, the real pressure value yn+1* at the xn+1 point is expressed by Taylor expansion with the terms up to the first order:

4
yn+1*=Fθ,xn+1=Fθ^,xn+1+gTθ-θ^,
5
g=Fθ,xn+1/θ1Fθ,xn+1/θmθ=θ^.

The gradient of the model function g is calculated at the xn+1 point using the estimated values of the parameters based on the first n observations.

Having chosen the notation y^n+1=Fθ^,xn+1, Eq. (4) can be represented in the form:

6
yn+1*-y^n+1=gTθ-θ^.

In accordance with Eq. (2), yn+1* is normally distributed relative to y^n+1 with the predicted variance:

7
σp2=gTσ2H-1g=gTH-1gσ2,

and conditional probability:

8
Probyn+1*y^n+1=Probyn+1*y1,,yn=12πσpexp-12σp2yn+1*-y^n+12.

Eq. (8) characterizes the uncertainty associated with the model, which shows how adequate it is, and is completely determined by the average (expected) value of y^n+1 and the forecast variance σp2.

The projected variance σp2 affects three important points. First, Eq. (7) shows that the forecast variance contains all information about the uncertainty concerning the parameters, since It is calculated using the covariance matrix σ2H-1. Second, it follows from the Schwartz inequality that the value of the predicted variance is limited by the determinant of the matrix σ2H-1:

9
gTσ2H-1g=gTσ2H-1ggTσ2H-1g=σ2H-1g2.

The more information about the parameters received, the lower the uncertainty associated with them. The dimension of the multidimensional normal distribution becomes narrower, and the determinant of the covariance matrix decreases. Accordingly, the forecasted variance decreases. Therefore, when the multidimensional normal distribution for the parameters takes the form of the Dirac delta function [2], the normal distribution for the true pressure change relative to the predicted (expected) pressure change also narrows to the delta function. In other words, the uncertainty associated with the parameters is transformed into an uncertainty associated with a change in pressure. And, finally, more importantly, the predicted variance is a scalar quantity regardless of the dimensionality of the covariance matrix. Thus, models with a different number of parameters can be compared using predictive variance.

Fig. 1The relationship between Probyn+1*y^n+1, Probyn+1yn+1* and Probyn+1y^n+1

The relationship between Probyn+1*y^n+1, Probyn+1yn+1* and Probyn+1y^n+1

The uncertainty associated with the data is described as follows. Suppose that the observed change in pressure yn+1 is normally distributed relative to the real pressure change yn+1* with the variance σ2:

10
Probyn+1yn+1*=12πσexp-12σ2yn+1-yn+1*2.

Exactly the same assumption was made in the derivation of Eq. (2). Eq. (10) expresses the uncertainty associated with the data, which characterizes how well the model corresponds to the data.

Since the exact value of yn+1* is unknown, the relationship between yn+1 and y^n+1 is set by an exception in the integration by yn+1*:

11
Probyn+1y^n+1=Probyn+1y1,,yn=Probyn+1yn+1*Probyn+1*y^n+1dyn+1*
=12πσ2+σp2exp-12σ2+σp2yn+1-y^n+12.

As a result, the observed pressure change yn+1 is normally distributed with respect to the predicted (expected) pressure change yn+1* with the overall predicted variance σ2+σp2=1+gTH-1gσ2. This variance links the uncertainty of the σp2 model and the uncertainty in the σ2 data, as shown in Fig. 1.

4. Numerical simulations and results

The result of substituting the observed pressure change yn+1 in Eq. (11) is the probability of observing yn+1 at the moment xn+1 for this model based on the first observations. This procedure is schematically shown in Fig. 2. Here the x axis corresponds to the time, and the y axis to the pressure.

In Fig. 3 presents the probable probability distributions for the two models, which are designated as Model 1 and Model 2. It is seen that the probability of yn+1 for the first model is higher than for the second. Therefore, Model 1 is more adequate than Model 2.

Fig. 2Schematic representation of the method of forecasting probabilities

Schematic representation of the method  of forecasting probabilities

Fig. 3Schematic representation of the probability prediction method for two models

Schematic representation of the probability prediction method for two models

Eq. (11) indicates that the probability of observing yn+1 at the moment xn+1 will be the higher, the smaller the total predicted variance σ2+σp2 and the observed change in pressure yn+1 closer to the predicted (expected) value of y^n+1.

In Fig. 4 shows three possible cases for the two models. So, in Fig. 4(a), the expected pressure changes for the two models coincide, and the total predicted variances differ. In this case, the probability of observing yn+1 for a model with a smaller variance will be higher. In Fig. 4(b), the expected pressure changes for the two models are different, and the overall predicted variances are the same. In this case, the probability of observing yn+1 will be higher for a model in which the expected change in pressure is closer to its actual value. In Fig. 4(c) the expected pressure changes and the overall predicted variances differ. Then the probability of observing y will be higher for a model that has a smaller variance and whose expected change in pressure is closer to its actual value.

Fig. 4Three possible cases of predictive probability distributions for two models

Three possible cases of predictive probability distributions for two models

a) The same expected values, different variances

Three possible cases of predictive probability distributions for two models

b) Different expected values, identical variances

Three possible cases of predictive probability distributions for two models

c) Different expected values, different variances

However, in cases where the actual change in pressure is closer to the expected value for a model with a larger overall predictive variance, this model will have a higher probability of observing yn+1 at the time of xn+1. This suggests that this model, which has a large overall predictive variance at this stage, may prove to be a correct model in the future. That is, a sequential procedure is used to check whether this assumption is true [5].

In other words, substituting the actual pressure change in the formula for the predicted probability distribution for each model is the process of deciding which of the models is most appropriate at the current stage. In this case, the sequential procedure is the accumulation of the results of decision-making at all stages.

In the case when the variance σ2 is unknown, instead of Eq. (2) it is necessary to use equation:

12
Probθy1,,yn=Γn/2H1/2s-mΓ1/2mΓv/2vm1+θ-θ^THθ-θ^vs2-v+m2.

Then Eq. (11) will be transformed to the form:

13
Probyn+1y^n+1=Γv+1/2s1+gTH-1g-1Γ1/2Γv/2v1+1vyn+1-y^n+1s1+gTH-1g2-v+12.

Thus, when the variance σ2 is unknown, yn+1 forms an t – distribution relative to y^n+1 with a total predictive variance of s2+sp2=1+gTH-1gs2 and n-m degrees of freedom.

It should be noted that as the n increases, the t distribution becomes normal. Moreover, with n-m30 instead of t – distribution, it is entirely possible to use the corresponding normal distribution.

The projected variance plays a key role in MSPP. Typically, gTH-1g is smaller for a simpler model. To verify this, the probabilistic probability was studied for several reservoir models [6, 7]:

– radial flow in an infinite formation (three parameters: k, S and C);

– with a non-conductive reset (four parameters: k, S, C and re);

– with an impenetrable outer boundary (four parameters: k, S, C and re);

– with constant pressure at the external boundary (four parameters: k, S, C and re);

– with double porosity and pseudo-stationary inter-porous flow (five parameters: k, S, C, ω and λ);

– with double porosity, pseudo-stationary inter-porous flow and non-conductive reset (six parameters: k, S, C, ω, λ and re);

– with double porosity, pseudo-stationary inter-porous flow and impermeable outer boundary (six parameters: k, S, C, ω, λ and re);

– with double porosity, pseudo-stationary inter-porous flow and constant pressure at the outer boundary (six parameters: k, S, C, ω, λ and re).

We studied the predictive probability characteristics for radial flow models in an infinite reservoir, a reservoir with a non-conductive discharge, a reservoir with an impenetrable outer boundary, and a reservoir with constant pressure at the outer boundary. From the point of view of the number of parameters, the flow model in an infinite reservoir was considered as a simple model, the rest as complex. In Fig. 5 shows the typical pressure variation curves and the corresponding gTH-1g values. Information on the formation and fluid: borehole radius rw= 0.1 m, reservoir thickness h = 5 m, volume factor Bo=1 [m3]reservoir/[m3]norm , viscosity μ= 10-3 Pa·sec, porosity ϕ= 0.2, initial pressure Pi= 20 MPa, total compressibility ct= 10-4 MPa-1, operating rate q= 100 m3/day. The true values of the parameters are k= 0.05 µm2, S=10 and C= 0.2 m3/MPa. For reservoir models with a re= 600 m boundary. Pressure data was used without adding random errors. The total number of data points was 101. The Hesse inverse H-1 matrix was calculated using points at the moments from x1 to xn. The gradient g was determined at the xn+1 point. n changed from 41 to 100. The effect of the boundary is already noticeable from the moment of x67 20 h. In Fig. 5b oscillations in the values of gTH-1g for complex models are noticeable due to rejection errors caused by the applied method of numerical inverse Laplace transform. With the exception of the reservoir model with constant pressure at the outer boundary, the values of gTH-1g for the other complex models are always higher than for the simple model (the radial flow model in an infinite reservoir). Due to the boundary effects, the values of gTH-1g for the reservoir model with constant pressure at the outer boundary become less than gTH-1g for the radial flow model in the infinite formation.

Fig. 5The first study of predictive variance

The first study of predictive variance

a)

The first study of predictive variance

b)

5. Conclusion

On the basis of Fig. 5, we can conclude that for typical pressure variation curves the value decreases in the direction of simplification of the model.

The developed method provides a universal tool for discriminant analysis of models regardless of the number of parameters used. In this respect, the method compares favorably with methods based on confidence intervals, which cannot be used to compare models with different sets of unknown parameters. For example, it is not possible to directly compare the confidence intervals of permeability for two different models, such as the flow model in an infinite reservoir with three parameters (k,s,C) and the non-conductive four-parameter reservoir model (k,s,C,re), because in the latter model, a strong negative correlation exists between k and re.

The method takes into account not only the diagonal elements of the inverse Hessian matrix, but also the elements outside the main diagonal, and therefore it uses all available information about the parameters by means of the predictive variance. It should be noted that methods based on confidence intervals take into account only the diagonal elements of the Hessian matrix.

This method meets the requirements of both the simplicity and complexity of the model. Theoretically, with an increase in the number of parameters, the overall correspondence of the model to the initial data increases due to a decrease in the number of degrees of freedom. However, the complication of the model reduces its predictable efficiency. This relationship is expressed quantitatively through σ2 and gTH-1g, which are components of the uncertainty associated with the model (gTH-1gσ2). In general, σ2 it decreases with increasing complexity of the model, whereas gTH-1g decreases with the simplification of the model. In this case, the overall forecast variance σ2+σp2=1+gTH-1gσ2 takes into account both the simplicity and the complexity of the model.

The proposed method can simultaneously compare any number of reservoir models. Moreover, it is not required that any of the models be a subset of the other.

References

  • Anraku T., Horne R. N. Discrimination between reservoir models in well test analysis. SPE Formation Evaluation, Stanford University, Vol. 10, Issue 2, 1995, p. 114-121.
  • Gmurman V. E. Theory of Probability and Mathematical Statistics: Proc. Allowance. 12 Edition, Higher Education, Moscow, 2006, p. 479, (in Russian).
  • Ash R. Basic Probability Theory. Dover Publications, New York, 2008, p. 350.
  • Magnus J. R., Neidekker H. Matrix Differential Calculus with Applications in Statistics and Econometrics. John Wiley and Sons, Chichester, England, 2007, p. 468.
  • Gottman J., Roy A. Sequential Analysis: a Guide for Behavioral Researchers. Cambridge University Press, 1990, p. 275.
  • Vasilievsky V. N., Petrov A. I. Investigation of Oil Reservoirs and Wells. Nedra, 1973, p. 344, (in Russian).
  • Deeva T. A., Kamartdinov M. R., Kulagina T. E., Mangazeev P. V. Hydrodynamic Studies of Wells: Analysis and Interpretation of Data. Tomsk, 2009, p. 243, (in Russian).

About this article

Received
05 June 2017
Accepted
06 June 2017
Published
30 June 2017
SUBJECTS
Mathematical models in engineering
Keywords
discriminant analysis
reservoir model
prognosis of probabilities
well test interpretation
look-ahead dispersion