You are on page 1of 11

SPE

Society of Petroleum Engineers

SPE 17791

EOR Screening With an Expert System


by D.R. Guerillot, lnst. Franc;ais du Petrole

SPE Member

Copyright 1988, Society of Petroleum Engineers

This paper was prepared for presentation at the SPE Symposium on Petroleum Industry Applications of Microcomputers held in San Jose, California
June 27-29, 1988.

This paper was selected for presentation by an SPE Program Committee following review of information contained in an abstract submitted by the
author(s) . Contents of the paper, as presented, have not been reviewed by the Society of Petroleum Engineers and are subject to correction by the
author(s) . The material, as presented, does not necessarily reflect any position of the Society of Petroleum Engineers, its officers, or members. Papers
presented at SPE meetings are subject to publication review by Editorial Committees of the Society of Petroleum Engineers. Permission to copy is
restricted to an abstract of not more than 300 words. Illustrations may not be copied . The abstract should contain conspicuous acknowledgment of
where and by whom the paper is presented. Write Publications Manager, SPE, P.O. Box 833836, Richardson, TX 75083·3836. Telex, 730989 SPEDAL.

Then, the architecture of the system is described, and the


ABSTRACT method for formalizing the knowledge is indicated using
. 11
f uzzy l oglC concepts .
The application of an Artificial Intelligence (AI) technique THE DIAGNOSIS PROBLEM
to assist in the selection of an Enhanced Oil Recovery process
(EOR) is described. The aim of this Expert System (ES) is to
EOR methods or processes have as their objectives to
provide reasoned comments on the applicability of such
increase recovery from reservoirs which would not respond
processes on the basis of reservoir characteristics. . al floodi . . . 12, 13, 16, 18,20,2 ,24
to convention water ng or gas InJeCtiOn .
The knowledge base has been developed using a professional
inference engine. To be closer to the type of reasoning used
by experts, fuzzy logic concepts have been introduced in the The choice of enhanced recovery processes is based on
12 24
knowledge representation. technical and economic criteria - • The problem involved is
This approach leads to a methodology for selecting EOR to find all the EOR processes applicable to the oil field
processes and for intproving know-how by checking the concerned, or to check the suitability of a particular process
criteria used by comparison with practical experience, and it in the light of the information available about the reservoir.
helps to transfer the expert's knowledge to the users of the In this application, we considered only the technical criteria
system. Moreover, estimations of additional field cases makes of process application, since economic criteria are too subject
it possible to continuously refine the screening procedure. to change from one company to another, but they could be
easily added taking into account each petroleum company
strategy.
INTRODUCTION

Another very important aspect in the choice of a process


Expert systems (ES) are sophisticated computer programs
is the possibility of obtaining precise documentation on
that manipulate knowledge to solve problems efficiently and
reservoirs similar to the reservoir studied.
effectively in a narrow problem area. Like real human
experts, these systems use symbolic logic and
heuristics/rules-of-thumb to find solutions 1.2. This kind of Why an Expert System?
software, also called Knowledge-Based System (KBS), today
constitutes the most operational aspect of AI methods. An Expert System to solve this problem has been chosen
in the light of the difficulties following:
Various problems occurring in production are solved using
3 10
a KBS approach - • This article discusses the construction of • Decision-making rules are numerous. These rules are
an advisor system for selecting possible EOR processes in related to the reservoir data, which themselves are
account of reservoir characteristics. numerous. The type of reservoir, its depth, its pressure,
the permeability and porosity of the rock, etc., must be
First, the diagnosis problem is defined and some of its known. Moreover, we do not always need the same data
difficulties are stressed. The type of reasoning is illustrated to assess the applicability of a particular process. For
by the example of carbon dioxide (C02) flooding.
example, the acid number of the oil in place is a
References and illustrations at end of paper. screening criterion only for certain chemical processes.
137
2 EOR Screenina With An Exnflrt Svstem SPE 17 791

• Few experts who know about all the processes are


Brief Description of EOR Processes Selected
available. The multidisciplinary knowledge is very vast,
and few persons have the background required for a
The term "Enhanced Oil Recovery" covers all reservoir
critical evaluation of all the mechanisms involved in treatment processes designed to recover the "trapped" fraction
EOR processes. This knowledge is both theoretical of the oil in place, namely the fraction that has not been able
(physical laws of multiphase flows, thermodynamic laws to move under the natural effect of the pressure gradient,
of interphase exchanges, etc.) and practical (surface imbibition and expansion of the dissolved gas, pressure
facilities, injection and production conditions, etc.). An maintenace by water or gas injection.
attempt is made here to obtain a diagnosis, even an Here, the rule base has been developed for nine processes,
approximate one, of the overall processes rather than a classified in three families:
detailed diagnosis of one of the processes.
• four thermal processes: hot water injection, steam
• This area is in a constant state of development. In stimulation, steam injection, in situ combustion;
the past twenty five years, scientists have investigated
• two dissolution processes: carbon dioxide injection,
methods for recovering more hydrocarbons from
depleted reservoirs which often still contain more than hydrocarbon gas injection;
half of the hydrocarbons originally in place. Many • three chemical processes: polymer injection, injection
experiments performed on oil fields are now available, of a surfactant solution followed by polymers, injection
renewing the criteria for application of the processes. of an alkaline solution.
• Field data are poorly known. They are obtained by
The influence of reservoir chara~teristics on the choice of
various means: geological surveys, petrophysical
a process can already be indicated qualitatively:
measurements, core displacement tests, well tests,
numerical modelling. They are often imprecise due to
. for a carbonate reservoir, polymer and surfactant
measurement difficulties. solutions cannot be injected without precautions;
• Expertise rules are not strict rules such as may be
found, for example, in problems of diagnosing machine . the reservoir depth is limited for steam injection for
breakdowns. The latter are related to an area of "hard" various reasons (surface equipment, heat losses in wells);
knowledge. These are fields in which the reactions to an
external action can be predicted exactly and . the reservoir pressure must be sufficient for carbon
deterministically. Here, the knowledge is "soft" such as dioxide injection in order for phase exchanges with the oil to
have significant effects;
in the case of a medical diagnosis, for example. In fact,
when we say that the permeability of the rock must be
2
greater than 10 mD (0.010 tJm ) for C02 flooding, we . polymer and surfactant solutions cannot withstand high
cannot categorically exclude a reservoir with a temperatures, etc.
2
permeability of 8 mD (0.008 tJm ).
Let us detail expertise rules for a specific process, i.e.
• Expertise is not completely formalized. Much of the carbon dioxide injection.
literature offers rather general rules for process
application, but in making a choice on an actual scale, Rules and Reasoning for Carbon Dioxide Injection
it emerges that experts actually use many rules which
are not clarified in the literature. Moreover, these rules A simplified case is described here illustrating the
are closely linked to the experience of these experts procedure of evaluation of carbon dioxide (C02) injection into
with a few processes, and can sometimes lead to a lack a hydrocarbon reservoir.
of objectivity. We need not only the conditions for the
application of each process but also comparative studies The term C02 injection applies to the following two
processes:
of the effectiveness of a process compared with the
1) C02 injection without dynamic miscibility which concerns
other processes.
heavy oils and takes benefit of oil swelling and viscosity
reduction associated to C02 dissolution into the oil,and
The idea of developing an expert system for this problem 2) C02 injection with dynamic miscibility wich can be
23
started at the end of 1983. • A first version using an reached with light oils and permits very high displacement
26 27
inference engine developed at IFP ' ("lnstitut Fran~ais du efficiencies to be achieved.
Petrole ") in a LISP dialect has shown the feasibility of this
way of helping to select EOR processes. This prototype has The primary criterion is pressure. Pressure must be
enabled us to specify an industrial system with a better sufficient for carbon dioxide to have a significant effect on
28
knowledge representation , with refined expertise rules and the oil in place. It can be estimated that below 725 psi (5.
6
with more processes considered. This operational system is 10 Pa), C02 injection is ineffective, giving rise to the
described here. following rule:

138
SPE 17 791 D. GUERILLOT
6 2. An aquifer may exist which maintains the pressure.
IF the pressure is lower than 725 psi (5. 10 Pa), THEN
C02 may not be injected.
3. The gas cap must not be too large in consideration the
high compressibility of the gas.
The layer treated must not be too thick. It can be stated
that, for both C02 injection processes, the thickness must be
Finally, for the variation in reservoir pressure, the
less than 60 ft (20 m).
following rule is applied:
IF the thickness is higher than 60ft (20m), THEN C02
IF there is no risk of fracturing the rock and IF nothing
may not be injected.
else opposes the increase in reservoir pressure, THEN the
quantity of fluid to be injected to reach MMP is estimated.
To distinguish between the foregoing two C02 injection
processes, it is also necessary to know the Minimum
The quantity of fluid to be injected can be estimated by
Miscibility Pressure (MMP). Nevertheless, without knowing
this pressure, one can already sort out the extreme cases with using an average compressibility factor.
the following two rules:
Moreover, for immiscible as well for miscible C0 2
flooding, several rules are applied that are essentially
IF the pressure is lower than 1450 psi (1. 1d Pa) and IF extracted from tables for selecting the main enhanced
the oil gravity is lower than 25 oAPI (specific gravity higher recovery methods C'screenin~ criteria"). Many authors have
12 16 18 2
than 0.904), THEN immiscible C02 injection is feasible. furnished such tables ' ' ' •

IF the pressure is higher than 3600 psi (2.5 1d Pa) and This example illustrates the type of reasoning involved in
IF the oil gravity is higher than 40 oAPI (specific gravity this problem. In the rules written above, difficulties also arise
lower than 0.825), THEN miscible C02 injection is feasible. from the fact that it is very difficult to draw clear frontiers
between admissible values and nonadmissible ones for a
In other cases, the MMP is calculated, as described parameter for a given process. The terms "higher than" or
hereafter. "lower than" are not well suited. To avoid this jump between
"good" and "bad" values, determination functions have been
The MMP is rarely known for the field to be investigated. introduced to ~odulate this jump. Exgertise ~ules. have been
However, laboratory data are available for estimating the implemented usmg "fuzzy" set theory . Modtficatwns of the
MMP versus temperature for different oils. Correlation~have inference engine have been made for this better knowledge
29
been published by Holm and Josendal and extended by representation. This technical point will be detailed in
30
Mungan to predict the MMP of C02 -oil systems, knowing Appendix A.
the molecular weight of the C5+ fraction · of the oil and the
temperature. If the molecular weight of the C5 + fraction of
12
the oil is unknown, other correlations can be used to obtain DESCRIPTION OF THE SYSTEM
it from the oil gravity. Two cases are distinguished according
to the relative values of the MMP and the reservoir pressure, Software from outside
yielding the following rules:
The software, called SARAH (for "Systeme d' Aide en
IF the MMP is lower than the reservoir pressure, THEN Recuperation Assisree d'Hydrocarbures"), is a diagnosis
C02 injection with dynamic miscibility is feasible, and IF expert system. Using reservoir characteristics, it assesses all
NOT, can this pressure be varied? the processes considered, or a subset of these processes.

It may be of great interest to increase reservoir pressure It is an interactive system. The user is queried on the
to reach dynamic miscibility pressure. It must be emphasized value of some parameters (different unit systems could be
that in this case the reasoning is carried out in relation to used), but could himself interrogate the system to know the
conditions which are not those of the reservoir at the time of whole set of possible answers, the justification of a question
the diagnosis. However, increasing pressure raises several and the correlation used to determine the parameter. It is also
problems such as: possible to obtain, at any time, the history and current value
of a parameter.
1. Fracturing the layer to be treated must be avoided. To
check this, the MMP can be compared with the initial Consultation is very quick. Answers are given nearly
pressure as follows: without delay. A whole interactive session takes less than half
an hour of dialog with the system and costs only a few
IF the initial pressure is higher than the MMP, THEN seconds of CPU time with a microcomputer.
there is no risk of fracturing, and IF NOT, the user is
warned of this risk and, without further user's The diagnosis determined by SARAH is argued. It is
recommendation, immiscible C02 injection is considered. justified by a report generated automatically at the request of
the user, including:

139
EOR Screening With An Expert System
4 SPE 17 791

1. A review of the values of the parameters considered for It accepts the attachment of outside functions written in C
the expertise, expresse 1 in the unit system chosen by language to enrich the structures available to the interface
the user. (writing in a file, consulting of tables or data bases, etc.).

2. For each process examined, a general text on the


Notice that other shells including the features described
enhanced recovery mechanism and then a summary of above could also be used for our problem. The advantage to
the judgment criteria compared to the consultation data. use a professionnal shell to develop expert systems are
An effort has been made to make this part "dynamic". numerous: a better reliability (it is used for several
applications), a good portability (the shell builder generally
3. Possibly, bibliographical references on reservoirs having
proposes it for many computers), a good documentation, a
similar characteristics. Indeed, a data base is simulated support course, etc.
that contains the characteristics of well-known reservoirs
on which at least one of the processes being investigated
has been tried out, successfully or not.
4. A general bibliography on EOR methods and on the Some reservoir data concern the rock, others the oil in
SARAH system itself. place, etc. All parameters required for consulting have thus
been grouped by concepts defining the classes: field,
reservoir, rock, oil, formation water, gas, process. An
This report contains formatting orders for text processing. example of the definition of CLASS is given in TABLE 1.
The user merely has to print out the formatted file, which
amounts to an average of about 20 pages.
A set of real, entire, Boolean or text attributes is assigned
to each of these concepts. These attributes will be determined
The Inference Engine
during the query, either by a question asked to the user or by
being deduced from other attributes (mathematical formula,
The expert system has been developed with a professional correlation, deduction by testing the values of the attributes).
31
she11 • Because it is written in the C programming language, As in any expert system, an attempt is made to make the
it enables the same knowledge base to be used through dialogue as user-friendly as possible. For example, the system
various computing environments (PCs, workstations and will only ask useful questions on physical parameters of the
mainframes). reservoir (depth, thickness, etc.), of the oil (viscosity, specific
gravity, etc.), of the water and gas, etc. An example of the
Knowledge is organized in the form of definition of ATTRIBUTE is given in TABLE 2.
"subject-attribute-value" triplets. Classes can be defined and
possibly grouped in types of classes, attributes belonging to a There are formulas definitively linking some parameters.
class or a type of class and hierarchies of values. For example, the transmissivity is computed from layer
permeability and thickness and oil viscosity. When this
This inference engine does not fall into any standard parameter has to be determined, the engine triggers the rule
classification (engine using 0 or 0+ proposal logic, or determining the transmissivity and does the computing. An
first-order logic). It contains a variable concept represented example of the calculation of an attribute by a mathematical
by instances of classes, but the syntax of its rules is close to formula is given in TABLE 3.
that of a 0 + engine.
For complex formulas or ones requmng high arithmetic
It operates mainly by backward chaining. A rule is precision, it may be useful to make use of outside functions.
triggered by an attempt to determine one of its conclusions.
Rules can be structured in packets, so that the search can be
guided and limited to the set of candidate rules. An attribute Experiments have determined relations among different
can be determined by triggering a rule containing this parameters to give an approximate value to a given factor.
attribute in its concluding part, by execution of a procedure For example, the temperature inside the reservoir can be
or by questioning the user. At any time in the query, the estimated from the depth of the reservoir. But this value has
justification can be requested of a question, the value of an to be checked by being confirmed by the user. These
attribute, its history, etc. attributes may thus be determined either by a rule, if the
value is accepted, or by questioning the user if it is not
The declarative part is assisted and supervised by a accepted.
consequential procedural part. Procedures can be defined to
check the order for triggering rules and determining Reasoning
attributes.
Expertise is performed by examining the following
It also has a developed user interface for associating a parameters:
message with each attribute (its meaning in natural language)
and for displaying messages and results in a user-friendly • for the reservoir: depth, lithology (nature), bubble
way. pressure, fracturing pressure, etc.;

140
SPE 17 791 D. GUERILLOT
• for the rock: thickness, porosity, permeability, oil Simulation test of reasoning by analogy
saturation, etc. ;
• for the fluids in place: oil properties (viscosity, specific We have tried to represent the reasoning by analogy of an
gravity, acid number, etc.), presence of a gas cap, of expert by simulating a data base for well-known reservoirs.
At the end of a query, we look to see whether there is a
an aquifer, formation water (salinity, viscosity), etc.
reservoir in memory having similar characteristics to the
reservoir being examined. The originality of our approach is
These parameters are acquired by the methods described
to use production rules to find these reservoirs. Note that this
above.
rules of proximity between the reservoir being examined and
the reference reservoirs depends on the EOR process.
A query of the expert system is thus divided into several
parts. Each part corresponds to the forming of an opinion At present, about ten typical reservoirs have been input for
about the process. The expert system can be queried for one each EOR process, but this proportion can very easily be
or several processes. Since chaining is of the backward type, increased. We could also connect on already existing data
the inference engine tries to evaluate the processes. It bases. In this case, the expert system itself queries the data
searches in the rule base for the rules that would enable it to
base to obtain useful information.
assess the pertinence of a process. To trigger the premises
for these rules, it begins by ascertaining whether it already
has the information required. If it does not, it tries to obtain Validation and example of consulting
it by a new rule, a correlation, a formula or, as a last resort,
by asking the user a question. Hence there is almost never The rule base was tested on many cases taken
the same dialogue with the system. Each investigation may from published articles as well as from IFP experience. To
lead to an examination of data suited to the situation. This is obtain a knowledge system capable of performing the given
an important difference compared to an interactive system, diagnosis problem, three important activities are depicted in
which systematically asks the same questions while adapting figure 3: knowledge acquisition, knowledge system
itself with great difficulty to the case at hand. construction, and knowledge system execution and testing:

• Knowledge acquisition involves a dialogue between the


To assess the pertinence of a process, an original method
expert and the knowledge engineer. The knowledge
has been developed. This method prevents the number of
conditions for which a process is applied from having engineer uses also written information (books, articles,
consequences on the result of the diagnosis. etc.) to learn problem solving principles specific to the
task.
In the first phase, a numerical coefficient between -1 and • Knowledge system construction is the process of
+ 1 is determined, characterizing the compatibility of the expressing the knowledge acquired in a knowledge base.
reservoir, rock and fluid characteristics with the judgement
criteria for the process. The same importance is assigned to • Knowledge system execution and testing involve running
each family of characteristics. the system on cases to test its performance and the
validity of the answer. The methodology followed here
From these three real numbers, a new coefficient is was to compare the expert and the system diagnosis on
determined between - 1 and + 1, representing the feasibility well known cases. After analysis, differences between
of the process for the reservoir examined. Then from this these two answers allowed us improving the knowledge
"grade," an assessment is determined which is the result sent
representation of the expert system. Now, the system
to the user. A schematic diagram representing the reasoning
is given in Figure 1. Two different composition rules are gives good results, especially for thermal processes. For
used to obtain these coefficients. other processes, tests still remain to be performed,
because there are not yet enough actual data.
These two stages in this "grading" method for a process
are described in Appendix A. An example of consulting is given in figure 4. It illustrates
some features of the expert system:
Rule Base
• The consultation phase is initiated by issuing the
Most rules test the value of several pertinent attributes to start.consulation command. In order to start a
judge the reservoir, rock or fluids for a process. They are consultation, you must have loaded a knowledge base,
expertise rules such as the rules described above. and this knowledge base must be consistent;

Other rules are established and grouped by packets, so that • The name of the field is used to give a name of the
calculations and unit conversions can be performed. These are paper report file (question 1);
utilitarian rules for determining the value of an attribute by a • The choice between the three process families
mathematical formulation or correlation. (For example, the oil considered is done using the procedural part of the
content of the rock is computed from the porosity and initial
inference engine (question 2).
oil saturation).

141
6 EOR Screening With An Expert System SPE 17 791

4. Courteille, J.M., Fabre, M. and Hollander, C.R.: "An


• Three unit systems could be chosen (question 3). This
Advanced Solution: The Drilling Adviser," JPT (Aug. 1986)
choice modifies the units written in the question (see for 899-904.
instance "ft" in question 5).
5. Gani, R. and Fredenslund, A.: "Thermodynamic of
• Parameter values are proposed using correlations wich
Petroleum Mixtures Containing Heavy Hydrocarbons: An
can be commented (question 6). Here, reservoir
Expert Tuning System," Ind. lng. Chern. Res . V.26, No.7,
pressure is correlated with the depth of the reservoir. (July 1987) 1304-1312.
Display is requested, and the value is accepted;
• Having enough information, the system can now 6. Hoffmann, F.C. and Valentin, E.P.: "OPUS: An
conclude after question 15 for the "steam drive" Integrated Assistance System for Oil Production", Expert
process. Systems V.4, No.4, (nov. 1987) 242-250 .

CONCLUSIONS 7. Kuo, T.-B.: Well Log Correlation Using Artificial


Intelligence, PhD. Thesis, Texas A&M Univ. (Jan. 1987)
This operational system of about 300 expertise 150.
rules has led to the following results:
8. Kuo, T.-B. and Startzman, R .A.: "Field-Scale
Stratigraphic Correlation Using Artificial Intelligence,"
1. Confirming the feasibility of an expert system for
Geobyte V.2, No.2, (1987) 30-35.
assisting in the selection of EOR processes.
2. Enabling quick screening criteria to be determined on 9. Leblanc, L.: "Integrated Data Aids Rig Management,"
the basis of reservoir characteristics for editing a Offshore V.47, No.4, (Apr. 1987) 36-38 .
reasoned paper report.
10. Startzman, R.A. and Kuo, T.-B.: "A Rule-Based System
3. Instructing the expertise rules used for choosing an for Well Log Correlation," SPE Formation Evaluation (sep.
1987) 311-319.
EOR process and helping to transfer the expert's
knowledge to the user of the system.
11. Turner ,R.: Logics For Artificial Intelligence, Ellis
4. Giving references to similar reservoirs. Horwood Ltd., Chichester (1984) 121.

5. Enabling the expert to constantly refine process 12. Bailey, R .E. and Curtis, L.B.: Enhanced Oil Recove1y,
selection procedures. National Petroleum Council (June 1984).
6. Justifying sensitivity tests to different parameters.
13. Bardon, C.: "Recuperation assistee du petrole - Injection
7. Being of particular interest when there are numerous de gaz carbonique", (in French), Course at the "Ecole
cases to be examined. Nationale Superieure du Petrole et des Moteurs" (Jan. 1985).

ACKNOWLEDGMENTS
14. Burger, J. and Champion, D.: "How to estimate
production cost by steam drive?," Petroleum Engineer
The author thanks the management of the Institut Fran~ais International (June 1983) 66-70.
du Petrole (IFP) for permission to publish this paper. He also
thanks Murielle Roussel for her contribution to the 15. Burger, J. and Champion, D.: "How to estimate in situ
development of this knowledge-based system as well as all the combustion cost?" Petroleum Engineer International (Nov.
IFP experts in EOR for their continuous help. 1983) 32-44.

REFERENCES 16. Burger, J., Sourieau, P . and Combarnous, M.: Thermal


Methods of Oil Recovery, Editions Technip, Paris, (1985).

1 Hayes-Roth, F.,
Waterman, D.A. and Lenat, D.B.: 17. Chauvel, A., Franckowiak, S. and Vacelet, 0.:
Building Expert Systems,
Addison-Wesley Publishing "Recuperation assistee du petrole par le C02 : disponibilites et
Company Inc., Massachusetts, (1983) 445. coOts en Europe de l'Ouest," (in French), Revue de l'Institut
Fran~ais du Petrole, No.1, (Jan./Feb. 1984).
2 Waterman, D.A.: A Guide to Expert Systems,
Addison-Wesley Publishing Company Inc., Massachussets,
18. Dafter, R.: Scrapping the barrel - The worlwide potential
(1985) 420. for enhanced oil recovery, The Financial Times Business
Information Ltd. (1980).
3. Affieck, N. and Zamora, M.: "PC-Based Expert System
Aids Optimum Mud Selection," Petroleum Engineer
19. Denoyelle, L. and Champion, D .: "Study show cost of
International (Jan. 1987) 38-42.
EOR by C02 , " Petroleum Engineer International (July 1985)
46-54.

142
SPE 17 791 D. GUERILLOT 7

20. Haynes, H.J., Thrasher, L.W., Katz, M.L. and Eck, Appendix A: Fuzzy Logic for Assessing the System on a
T .R.: Enhanced Oil Recovery - An Analysis of the Potential Process
for Enhanced Oil Recovery from Known Fields in the United
States - 1976 to 2000, National Petroleum Council (Dec. Assessing the Influence of a Parameter for a Process
1976).
For each numerical parameter, there is a range of
21. Latil, M.: Enhanced Oil Recovery, Editions Technip, unfavorable values for the choice of the process. This range
Paris, (1980). is difficult to quantify. A strict threshold cannot be
determined in relation to which a given factor can be said to
22. Simandoux, P., Burger, J., Chauveteau, G., Champion, be favorable or unfavorable for the process in question. This
I., Combe, J., Denoyelle, L. and Labrid, J.: "Etude is why we decided to deal with the problem by a fuzzy logic
economique des prmclpaux procedes de recuperation approach.
assisree," (in French), IFP report No. 31872 (Feb. 1984).
Two cases are to be considered: 1) numerical parameter,
23. Simandoux, P., Bardon, C., Denoyelle, L. and Vacelet, 2) non-numerical parameter.
0.: "Recuperation assisree des hydrocarbures par injection de
C0 : aspects techniques et economiques", (in French), Revue
2
de l'lnstitut Fran~ais du Petrole, No. 4, (July/Aug. 1984).
Case 1:

24. Van Poollen, H.K. and Associates, Inc.: Fundamentals of Let us then define three types of intervals in the range of
Enhanced Oil Recovery, PennWell Publishing Company acceptable values:
(1980).
• a range in which the parameter would be favorable to
25. Guerillot, D.: "Maquette d'un systeme en recuperation the process;
assisree des hydrocarbures," (in French), IFP note
• a range in which the parameter would be moderately
No.7740/1399 (Dec. 1984).
favorable to the process;
26. Guerillot D.: "Maquette d'un systeme de diagnostic en • the remaining part of the interval in which the
recuperation assisree d'hydrocarbures," (in French), IFP
parameter would be unfavorable.
report No. 33511 (Sep. 1985).

27. Guerillot, D. and Bessis, F.: "Sarah-Diezol: un systeme For a given process, a real value between -1 and + 1 is
de diagnostic en recuperation assistee d 'hydrocarbures"' (in associated with each parameter:
French), Revue de 1' Institut Fran~ais du Petrole, V .41 , Na. 6,
(Nov./Dec. 1986) 759-771. -1: unfavorable
from - 1 to + 1: moderately favorable
(with nuances between these two values),
28. Roussel, M.: "Etude par un systeme expert de la
+ 1: favorable.
pertinence de procedes de recuperation assistee
d'hydrocarbures pour un gisement," (in French), IFP report
No. 35425 (Aug. 1987). Example: For the "polymer flooding" process, the
temperature factor is:
29. Holm, L.W. and Josendal, V.A.: "Mechanisms of oil
displacement by carbon dioxide," JPT (Dec. 1974). . favorable if it is less than 340 °K,
. moderately favorable if it is between 340 and 360 °K,
30. Mungan, N.: "Carbon Dioxide Flooding Fundamentals," . unfavorable if it is over 360 °K;
JPT (Jan./Mar. 1981).
Let ~ be the estimation function of the temperature T (fig.
31. Framentec: S.l Reference manual, (1986) 2):
~: T-. ~(T) e [ -1,+1]

so that:
~(T)= + 1 for T<340°K,
~(T)= -T/10+35 for 340°K~T<360°K:
linear segment joining the two points (340, 1)
and (360, -1) in the (T ,R) axes,
~(T)= -1 for 360°K~T.

This function is continuous, defined for all values of the


parameter, and represents the judgment corresponding to the
parameter for a process.

143
8 EOR Screening With An Expert System SPE 17 791

Case 2: IF the ci values all have the same sign,


n
THEN K = (p/n) * Ii=l Ci'
In the same way, an estimation function could be defined IF NOT, let c 1,c 2 , .. ,cm be all the negative values,
for non-numerical parameters. In this case, the set of m
THEN K = (p/n) * Ii= 1 Ci.
admissible values is reduced to the two values { - 1, + 1 } .
This rule is interpreted as follows: if all the criteria have
Example: For the process "surfactant solution", sandstone the same sign, their arithmetic mean is taken; if not, the sum
rock is a favorable factor.
of negative criteria divided by p is taken. This factor enables
the scale to be enlarged at interval ( -p, +p).
Let ~ be the estimation function for the "rock nature" Here, we take p=2.
parameter r:
~: r E {sandstone, sand, etc.} .... ~(r) e { - 1, + 1}
We then decide to associate a judgment with the numerical
coefficient K, which gives an opinion about the system for
so that: the process considered and the reservoir in question, obtained
~(r)= + 1 if r=sandstone, by the following convention:
~(r)= -1 if not.

from -2 to -1.5, impossible


How to use these estimation functions? from -1.5 to -0.5, unfavorable
from -0.5 to +0.5, possible
The judgment of a process for a reservoir is done in two from +0.5 to + 1.5, favorable
stages (fig. 1):
from + 1.5 to +2, very good.

First stage: estimation criteria corresponding to the This convention is very flexible. By taking p = 3, we could
reservoir, the rock or the fluids. have another scale varying from - 3 to + 3 with the
corresponding values for impossible, very bad, unfavorable,
For each premise, there is an evaluation g1vmg a real possible, favorable, very good, excellent.
number between - 1 and + 1. The concepts of true and false
have thus been extended to a real interval bounded by values. We felt it preferable to adopt such an assessment system
It then suffices to combine these values to obtain an for parameters rather than conventional plausibility
evaluation of the premise part. The combination rule adopted coefficients. Indeed, our coefficients do not represent a degree
is that of the minimum of all the values. Indeed, a single of certainty but rather a degree of suitability for the process
factor tending toward the unfavorable estimation suffices to in question. It was absolutely necessary for a rule to be
reject the process. triggered, even with a premise "evaluated" at -1.

A judgment on the reservoir, the rock and the fluids in


place is obtained from the parameters characterizing them.

Second stage: general assessment of the system for a


process.

There are three elementary criteria for judging the process


proposed. Let us combine them to obtain the general
criterion, called K. It does not suffice to take the simple
arithmetic mean. Indeed, a value of + 1 for the rock criterion,
for example, will not suffice to compensate for a -1 value
for the fluid criterion, and the process must thus be rejected.
These values must be combined so that, if there is at least
one negative criterion, it will be preponderant. On the other
hand, if all the criteria are positive, the process will be
judged to be applicable. The original combination rule
proposed is as follows:

Let n be the number of elementary criteria to be created,


and let ci be the value of criterion i, then 1 <i<n (here,
n = 3: reservoir, rock and fluids), we calculate the general
criterion K with the rule hereafter:

144
SPE 17 7 91

TABLE 2 - EXAMPLE Of DEfiNITION Of ATTRIBUTE

DEfiNE ATTRIBUTE thickness.extern


: :DEfiNED.ON !:layer
::TYPE real
::LEGAL.MEANS query.user
TABLE 1 - EXAMPLE Of DEfiNITION Of CLASS ::OETERMINATION.MEANS query.user
::CHECKING.fUNCTION check.bound
DEfiNE CLASS crude.oil ::PROMPT
::NUMBER.INSTANCES 1 "What is the average thickness of the layer
::PRINT.ID "crude.oil II" (in" ! lmail.unit(l) ! ")?"
::CLASS.TRANSLATION "a crude.oil" ::REPROMPT
::PLURAL.CLASS.TRANSLATION "the crude.oils" "The thickness must be in ("!
::BLANO.INSTANCE.TRANSLATION "the crude.oil" make.text(round(restore(l,
END.DEfiNE "lmail",unit.system(l)),l)) ! "," !
make.text(round(restore(JOO,
"lmail",unit.system(l)),l)) ! "). Thickness=?"
::TRANSLATION "the average thickness of the layer"
END.DEfiNE

TABLE 3 - EXAMPLE Of CALCULATION Of AN


ATTRIBUTE BY A MATHEMATICAL fORMULA.

DEfiNE RULE RULE.TRANSMISSIVITY


::APPLIED.TO !:layer
::PREMISE already.existing(o:crude.oil I
permeability(!) known
and viscosity(o) known
and thickness(!) known)
::CONCLUSION transmissivity(!)=
permeability(!) * thickness(!) I viscosity(o)
END.DEfiNE

145
SPE 1 7 7 91

Estimation Function
cp (T}

+1~------------------,

0 Temperature (in °K)

RESERVOIR ROCK FLUIDS


-1


ESTIMATION CRITERIA WITH
+
11
FUZZY LOGIC
11
+
APPROACH Fig. 2-Estimation function of the temperature parameter.

K E /-2,+2/

GENERAL ASSESSMENT FOR A PROCESS Acquire and Refine


Knowledge

SESSION REPORT I Encode the


Knowledge
Knowledge System
Fig. 1-Schematic reasoning diagram.

Fig. 3-The knowledge engineering loop.

146
SPE 1 7 7 91

-> start.consultation

This will be case nu~ber 1


1: What is the name of this field study?
1> Bellevue
You can choose the processes you want to study:

a THERMAL PROCESSES

b MISCIBLE PROCESSES

c CHEMICAL PROCESSES

Type any co•binaison of a,b,c to select a class of processes, abc for all

2: Your choice:
2> a
J: What is your unit system?
J>?
Enter one of the following: 51, PfU, PAU, CGS
J: UNIT SYSTEMS:
51 for 'International System unit'
PfU for 'Practical french Units'
PAU for 'Practical Anglo-American Units'
CGS for 'CentiMeter-Gram-Second'
J> pau
4: What is the nature of the reservoir?
4> sand
5: What is the depth of the reservoir (a positive value in ft)?
5> 400
I propose the value 176.83 psi for the pressure of the reservoir
6: Do you agree with this value? y(es)/n(o)/e(xplanation)
6> e
I used the correlation (in 51):
if depth <= 1800 : pressure = (depth * O.l)*l.E05
if depth > 1800 : pressure = (depth * 0.2 + 180) *l.E05
-- reference: "fORMULAIRE DU PRODUCTEUR, Technip, PARIS, (1970)
7: Do you agree with this value? y(es)/n(o)/e(xplanation)
7> y
I propose the value 459.758 psi for the fracturing pressure of the reservoir
8: Do you agree with this value? y(es)/n(o)/e(xplanation)
8> y
9: What is the average thickness of the layer (in ft)?
9> 90
10: What is the average absolute permeability of the layer (in 11D)?
10> 500
11: What is the viscosity of the crude oil (in cp)?
11> 500
12: What is the average porosity of the layer (in %)?
12> 38
lJ: What is the oil saturation before the EOR process (in ")?
lJ> 52
14: What is the gravity of the crude oil (in °API)?
14> 19.5
*************************************************************************
STEAM.DRIVE PROCESS:

The reservoir properties are FAVORABLE


The layer properties are POSSIBLE
The fluids properties are fAVORABLE

The acreening criteria are POSSIBLE for the STEAM.DRIVE PROCESS


*************************************************************************

etc ••• for the other processes.


Fig. 4-Example of consulting.
147

You might also like