Testing of Two Phase Krs
Testing of Two Phase Krs
Summary input parameters that have stronger influence on the output, are
In this paper, we report liquid/liquid and liquid/gas two-phase incorporated as additional inputs to the models. The models are
relative permeability predictors that are developed using artificial then trained and tested using the experimental data obtained from
neural networks (ANNs). In the development stage, some of the the literature. The results from the training and testing stages are
relative permeability data from literature are used during the train- presented for both models. The differences between both models
ing stage while some other sets are preserved to test the prediction are also discussed.
capabilities of the models. Various rock and fluid properties, in- In structuring the liquid/liquid (oil/water) ANN model, the con-
cluding endpoint saturations, porosity, permeability, viscosity and nection weights are updated in an incremental fashion so that the
interfacial tension, and some functional links (mathematical weights are adjusted according to a steepest descent protocol ob-
groups coupling various rock and fluid properties) constitute the tained after each data pattern is presented to the model. With the
input parameters of the models. The models are found to success- completion of the training session, performance of the model is
fully predict the field and experimental relative permeability data. tested using the data sets not exposed to the model. The relative
permeability characteristics predicted by the model for these data
Introduction
sets are found to be in good agreement with the data reported in the
Relative permeabilities are essential rock-fluid properties required literature. The input layer of the liquid/gas (oil/gas) ANN model
for almost all calculations of multiphase flow dynamics in porous with the exception of interfacial tension incorporates the same set
media. A good characterization of relative permeabilities enables of rock and fluid properties used in the liquid/liquid model. The
petroleum engineers to evaluate reservoir performance, forecast liquid/gas model differs from the liquid/liquid model in terms of its
ultimate recovery, and investigate the efficiency of improved oil re- network topology, types of functional links used, and the mechan-
covery techniques. Acquisition of accurate relative permeability data ics of how the connection weights are updated. The individual
is crucial and has always been of interest in the petroleum industry. topologies of the liquid/liquid and liquid/gas models are also dif-
Relative permeability characteristics can be obtained from ferent in terms of the number of neurons placed in the input and
laboratory measurement of a core sample or can be estimated using hidden layers. The more influential parameters are identified by
empirical correlations. Laboratory determinations of relative per- large connection weights that imply strong signals originating
meabilities are labor-intensive and can be complicated. The em- from those input neurons to the output neurons. The parameters
pirical models to estimate relative permeabilities based on rock identified in this fashion are used in structuring the functional
and fluid properties have experienced relatively mediocre success links. In the liquid/gas model, the connection weights are updated
owing to our limited understanding of the parameters and mecha- in a batch mode so that the steepest descent gradients observed
nisms that control the relative permeability characteristics. after presenting each data pattern to the model are averaged and
The two-phase relative permeabilities are direct nonlinear func- later used in adjusting the weights. During the testing stage, the
tions of phase saturations. They are known to be affected by sev- liquid/gas relative permeability predictor has also successfully pre-
eral other parameters other than phase saturations, such as satura- dicted the field and experimental data sets. The differences in
tion history, pore-size distribution and pore structure, wettability, network topologies and functional links of the two models imply
overburden pressure, porosity, permeability, interfacial tension, that liquid/liquid and liquid/gas relative permeability relationships
fluid density, fluid viscosity, initial wetting-phase saturation, im- are controlled by a variety of different parameters.
mobile third-phase saturation, and flow rate.1 The relative influ-
ences of these parameters on relative permeability characteristics
Overview of Artificial Neural Networks (ANNs)
are not yet clearly understood and quantified.
ANNs provide a powerful toolbox to perform nonlinear, mul- ANNs are developed by creating artificial neurons, which are
tidimensional interpolations. This feature of ANNs makes it pos- simple processing elements (PE) massively interconnected in order
sible to capture the existing nonlinear relationships that are most of to mimic a small portion of the serial- and parallel-information
the time not well understood between the input and output param- processing ability of the biological neural network. There are many
eters. Thus, ANNs can be effectively used to implicitly incorporate different types of ANNs, each of which has different strengths
the controlling mechanisms and parameters into the models which particular to its applications. The abilities of different networks can
are developed for relative permeability prediction. In this study, be related to their structure, dynamics, and learning methods.
two-phase, liquid/liquid, and liquid/gas relative permeability pre- ANNs can be used for pattern recognition, signal filtering, data
dictors are developed using a backpropagation algorithm. The segmentation, and so on. They offer the advantages of learning
methodology used in the development of two-phase liquid/liquid from examples, self-organization, fast data processing, and ease of
and two-phase liquid/gas relative permeability ANN predictors is insertion into existing and newly developed systems.2
described in this paper. Some of the available rock and fluid prop- In this study, two-phase liquid/liquid and liquid/gas relative
erties are used as input parameters of the models. Some functional permeability predictors were developed using a backpropagation
links, which represent various mathematical relationships among network (BPN), which is one type of feed-forward neural network
using generalized delta rule, which is a powerful learning rule. The
important characteristic of the BPN is found in its ability to map a
* Now with the U. of Texas at Austin.
set of input stimuli to a set of output by extracting the feature or
information from the input patterns. Its key distinguishing feature
Copyright 2002 Society of Petroleum Engineers
is that it can be designed and trained to accomplish a wide variety
This paper (SPE 79547) was revised for publication from paper SPE 69392, first presented of mappings, some of which are very complex.23 This can be
at the 2001 SPE Latin American and Caribbean Petroleum Engineering Conference, Bue-
nos Aires, 2528 March. Original manuscript received for review 19 April 2001. Revised
achieved because the hidden neurons in hidden layer(s) of the
manuscript received 8 May 2002. Manuscript peer approved 19 May 2002. network learn to respond to correlations or relationships among
Sw Swirr
S*w = , . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (2)
1 Swirr
1 Sw Sor
S*o = . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (3)
1 Sor
next data point. The inclusion of this history dependency of the S* Sor 3
two successive relative permeability values helped the network in 1
learning, so that the training time was found to decrease further. S* k 4
2
The overall quality of the prediction results is also somewhat im-
S* 5
proved, especially as the endpoint relative permeability values 3
were captured more accurately. S* ln ( w /o / wo) 6
Stage 4. During the final stage of the development, several 4
modifications are incorporated to the network. These modifica- S* ln( wo) 7
5
tions include the expansion of the training database and introduc- S* woSor kr
8 1 1
tion of new functional links that use normalized saturation. Two 6
*
separate networks were created for oil and water phases. Each S woSwirr 9
network is specialized in its own phase-relative permeability; *
7
S wo 10
8
S* ln ( w /o) 11
9
S* ( w /o)0.08 12
10
S* ( w /o) 13
0.08
S* o 14
*
S w 15
ANN-4 without
interfacial tension ANN-4.2
and related
functional links
0.5 ANN-4
kro -Exp
krw -Exp
0.4
0.3
0.2
0.1
0
0.1 0.2 0.3 0.4 0.5 0.6 0.7
Sw
Relative Permeability
ANN-4
0.7 ANN-4 0.7
0.4 0.4
0.3 0.3
0.2 0.2
0.1 0.1
0 0
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
Sw Sw
Fig. 6Experimental and predicted relative permeabilities for Fig. 7Experimental and predicted relative permeabilities for
field Data Set 1. field Data Set 2.
permeability model to predict oil/gas relative permeabilities. The from the literature,58 while some of the data are provided by the
predictions that resulted from this initial approach were found to Saudi Aramco Laboratory Research and Development Center.
be totally unsatisfactory, indicating that the oil/water relative per-
meability model could not correctly capture the oil/gas relative Training Database. It is important to remember that prediction
permeability characteristics. This observation implies that the sys- capabilities of ANN models become attenuated when they are
tem properties and mechanisms that control the flow of fluids in forced to predict outside of the range of the training database
liquid/gas systems differ significantly from those found in liquid/ (extrapolation). Therefore, it is crucial to ensure that the training
liquid systems. Therefore, a different network structure, with dif- database covers the widest range of all of the input parameters. The
ferent functional links, is developed for oil/gas relative permeabil- general characteristics of the collected oil/gas relative permeability
ity models. data sets are summarized in Table 3. Nineteen experimental data
sets, which contain 242 patterns, are available. Out of the nineteen
Input Parameters. Absolute permeability and porosity are the data sets, sixteen data sets (208 patterns) were included in the
rock properties input for the model. Fluid properties that are input training, while three data sets (34 patterns) were set aside for
include phase viscosities and oil saturation. The information of prediction purposes. The data sets selected for the training data-
saturation at which each phase is immobile, residual oil saturation base ensure the coverage of the entire range of the available data.
and critical gas saturation, are also input. Some of the core samples
used in the relative permeability experiments were natural cores Model Development. In developing oil/gas relative permeability
retrieved from the reservoir with a small amount of immobile models, an approach similar to that used in oil/water relative per-
brine. Therefore, irreducible water saturation is also included in the meability models has been exercised. Moreover, the knowledge
set of input parameters. Some of the experimental data are obtained and experience acquired from development of oil/water models are
1 1
Experimental kro Experimental k ro
0.9 0.9
Experimental k rw
0.8 Experimental krw 0.8
Relative Permeability
A N N -4
Relative Permeability
0.4 0.4
0.3 0.3
0.2 0.2
0.1 0.1
0 0
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
Sw Sw
Fig. 8Experimental and predicted relative permeabilities for Fig. 9Experimental and predicted relative permeabilities for
field Data Set 3. field Data Set 4.
Functional
1
0.9 Experimental kro
irr
ANN predicted
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0 0.2 0.4 0.6 0.8 1
So
Fig. 12Schematic diagram of the krg model of the oil/gas rela- Fig. 13Experimental and predicted oil/gas relative permeabil-
tive permeability predictor. ity data for a data set included in the training.
Relative Permeability
Relative Permeability
0.8 Experimental krg 0.8 Experimental krg
ANN predicted 0.7
0.7 ANN predicted
0.6
0.6
0.5
0.5
0.4
0.4 0.3
0.3 0.2
0.2 0.1
0.1 0
0 0 0.2 0.4 0.6 0.8 1
0 0.2 0.4 0.6 0.8 1 So
Relative Permeability
0.8 Experimental krg the training data, the result from the test is a good measurement of
0.7 generalization of the network. Using this approach, if the network
ANN learns the underlying relationship of the data, the testing perfor-
0.6
Corey correlation mance of the network will improve with training. However, if the
0.5 network stops learning the common characteristics of any data set,
0.4 Honarpour correlation but instead learns characteristics that are only true for the training
0.3 data sets, performance on the testing set will degrade. In such
situations, the convergence criterion for the error should be relaxed
0.2 so that the training will be stopped earlier.
0.1
0 Summary and Conclusions
0 0.2 0.4 0.6 0.8 1
The ANN-based relative permeability models can be used to mini-
So mize the number of relative permeability experiments. Relatively
small experimental data points (along with rock and fluid proper-
Fig. 18Model performance comparison for the limestone ties) are needed to train the network to generate a complete set of
core sample. relative permeability curves. Moreover, the models can be used to
estimate the two-phase relative permeabilities at any saturation
value in the reservoir using the information learned from a few
heuristic approach. The importance of a parameter can be evalu- core samples extracted from different regions of the reservoir. This
ated by investigating the networks performance when such a pa- becomes extremely useful in reservoir simulation studies, as it
rameter is input into the network. Another approach is to compare gives flexibility in generating separate relative permeability data
the magnitudes of the connection weights between the neurons for different regions of the reservoir. The models have a
from the output layer back to the input layer. The large connection dynamic learning feature, which allows them to learn additional char-
weights indicate strong signals originating from the input neuron acteristics of the relative permeabilities through the expansion of the
to the output neuron, which imply the influence of such input training database as more experimental data become available.
parameters to the output. Focusing on the way the influential input In this paper, we presented five artificial neural networks that
parameters are presented to the network can then enhance the have been developed as oil/water relative permeability predictors.
network performance. This approach is also exercised in this study. Each model uses a different set of input parameters and functional
From this study, it was also found that the networks that exhibit links. The oil/gas relative permeability predictors using the most
perfect recalls do not always give good predictions. This is espe- commonly reported rock and fluid properties are also developed.
cially true if the training data contain some noises and a small All data used in the studies are obtained from relative permeability
convergence criterion is used. In the presence of a small conver- experiments. Following are the observations and conclusions that
gence criterion, the networks are forced to learn and match the data have been derived from these exercises:
that contain noises. Thus, the network can become overtrained, 1. Property-based functional links help in improving the effi-
which leads to the memorization of the data instead of the learning ciency of the ANNs.
of the existing relationships. In such cases, there is a tradeoff 2. Incorporating normalized saturations captures relative perme-
between the test and prediction results. This implies that when the ability values more accurately.
networks give a perfect match for the data used in the training, the 3. Constructing separate models for each phase provides an op-
quality of prediction is decreased. On the contrary, when the con- portunity to focus on the controlling parameters for each phase.
vergence criterion is relaxed, the reproduction of the data used in 4. Submodels increase the applicability and practicality of the
the training is degraded, but prediction results are improved. This proposed approach.
observation reinforces the importance of the quality of the training 5. The factors that control the flow dynamics in liquid/liquid sys-
data. There are many ways to avoid or prevent the problem of tems are observed to be different from those in liquid/gas systems.
overfitting. One of the simplest and most widely used methods 6. In liquid/gas systems, the parameters thatinfluence the flow of
of avoiding overfitting, and which is used in this study, is the early gas are different from those influential to oil flow.
termination of training. The implementation of this method is to 7. Batch weight updating approach was found to yield better re-
divide the data into two groups, which are training sets and testing sults for oil/gas relative permeability models. This observation
sets. The networks are trained using only data in training sets. may be specific to the quality of the collected experimental
data.
8. Reliable relative permeability data are crucial to the learning
1
and prediction performance of the networks.
0.9 Experimental kro 9. ANNs possess dynamic training database so that their range of
Relative Permeability