Professional Documents
Culture Documents
SPE 17791
SPE Member
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.
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.).
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:
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
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.
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.
143
8 EOR Screening With An Expert System SPE 17 791
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.
144
SPE 17 7 91
145
SPE 1 7 7 91
Estimation Function
cp (T}
+1~------------------,
•
ESTIMATION CRITERIA WITH
+
11
FUZZY LOGIC
11
+
APPROACH Fig. 2-Estimation function of the temperature parameter.
K E /-2,+2/
146
SPE 1 7 7 91
-> start.consultation
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: