Method for determining an electrofacies interpretation of measurements taken in a well

A fully automated method using unsupervised classification and iterative stochastic relaxation addresses the limitations of existing electrofacies interpretation methods, achieving geologically accurate and consistent results without expert intervention.

FR3164028B1Active Publication Date: 2026-06-19IFP ENERGIES NOUVELLES

Patent Information

Authority / Receiving Office
FR · FR
Patent Type
Patents
Current Assignee / Owner
IFP ENERGIES NOUVELLES
Filing Date
2024-06-27
Publication Date
2026-06-19

Smart Images

  • Figure 00000029_0000
    Figure 00000029_0000
  • Figure 00000029_0001
    Figure 00000029_0001
  • Figure 00000030_0000
    Figure 00000030_0000
Patent Text Reader

Abstract

The invention relates to a method for determining an electrofacies interpretation of measurements pertaining to at least a portion of at least one well traversing an underground formation. The method comprises applying a silhouette method to a plurality of classifications of the plurality of measurements determined by an unsupervised classification method applied to a plurality of values ​​of the number of classes, in order to determine a first electrofacies interpretation and a corresponding number of classes. Then, an iterative stochastic relaxation method is applied to the probabilities of each measurement belonging to each of the classes of the first electrofacies interpretation, and a second electrofacies interpretation is obtained when a predefined convergence criterion is met. Figure 4A to be published.
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: Method for determining an electrofacies interpretation of measurements made in a well technical field

[0001] The present invention relates to the field of interpretation of measurements made in a well drilled in an underground formation, such as well log measurements made along a well.

[0002] The invention can be applied, without limitation, to the fields of oil exploration and production, the characterization of an underground formation for the purpose of geological storage of a fluid such as CO2, the monitoring of a geological storage site for a fluid, geothermal energy, or even energy storage in the subsoil. In general, the invention can be applied to any field involving a step of geological characterization of an underground formation.

[0003] In general, the exploration and exploitation of geological petroleum reservoirs require acquiring the most precise knowledge possible of subsurface geology in order to effectively provide reserve assessments, production modeling, and production management. Indeed, determining the location of a production well and / or an injection well within a hydrocarbon reservoir, the composition of the drilling mud, completion characteristics, the choice of a hydrocarbon recovery process (such as water injection, for example), and the parameters necessary for implementing this process (such as injection pressure, production rate, etc.) all require a thorough understanding of the reservoir. Knowledge of a reservoir means having the most precise description possible of its structure, petrophysical properties, fluid properties, etc., of the studied deposit. .

[0004] To acquire this knowledge, the oil industry combines field measurements (carried out in situ during seismic surveys, well logging, coring, etc.) with experimental modeling (carried out in the laboratory) and numerical simulations (carried out using software). The formalization of this knowledge then involves creating a model of the subsurface, represented on a computer as a mesh representation and known as a geological model.

[0005] This geological model can notably be used (after scaling) in a flow simulation (or reservoir simulation) to predict (or even simulate) flows, pressure evolution within the reservoir, and production in fluids to wells drilled into the reservoir. It is clear that the prediction of a flow simulation will be all the more representative of the reality of flows in the underground formation of interest the more accurate the geological model of the underground formation. Well logs and the analysis of core samples taken from wells provide precise local information on the rocks through which a well passes, and are therefore particularly sought after for the construction of a reliable geological model.

[0006] Well logging consists of measuring, using probes, the characteristics of the rocks traversed by a well. A logging measurement results in a recording as a function of depth (or along a feature of a geological formation traversed by a well). Examples of well logging include gamma ray logging, sonic logging, apparent density logging, electrical logging, and well imaging logging.

[0007] The recordings resulting from well logs are then analyzed, that is, interpreted, most often jointly, to deduce the characteristics of the rocks. This interpretation involves, in particular, searching along these recordings for intervals (that is, sets of successive samples) exhibiting similar characteristics. These intervals, for which the characteristics are consistent from one sample to another, are called electrofacies.

[0008] Generally, the interpretation of at least some of the log measurements is carried out by an expert, who must cross-analyze the different types of log measurements. The result of such an interpretation is therefore subjective and can vary considerably from one interpreter to another. Furthermore, such a manual process can be lengthy and tedious and cannot reasonably be considered for all log measurements. However, the quality of a human interpretation of log measurements is often superior to fully automated interpretations implemented by computer. Previous technique

[0009] The following documents will be cited in the remainder of the description:

[0010] Serra O, Abbott HT (1980) The contribution of logging data to sedimentology and stratigraphy. In: SPE 9270, 55th Technical Conference, Dallas, TX, 19 pp.

[0011] Dubois, M. K., Bohling, G. C., & Chakrabarti, S. (2007). Comparison of four approaches to a rock faciès classification problem. Computers & Geosciences, 33(5), 599-617.

[0012] Emelyanova, I., Pervukhina, M., Clennell, M., & Dyt, C. (2017, June). Unsupervised identification of electrofacies employing machine leaming. In 79th EAGE Conférence and Exhibition 2017-Workshops (pp. cp-519). European Association of Geoscientists & Engineers.

[0013] Halotel, J., Demyanov, V., & Gardiner, A. (2020). Value of Geologically Derived Features in Machine Learning Faciès Classification. Mathematical Geosciences, 52(1), 5-29.

[0014] Jeong, J., Park, E., Emelyanova, I., Pervukhina, M., Esteban, L., & Yun, S. T. (2020). Interpreting the Subsurface Lithofacies at High Lithological Resolution by Integrating Information from Well-Log Data and Rock-Core Digital Images. Journal of Geophysical Research: Solid Earth, 125(2), e2019JB018204.

[0015] Rosenfeld A., Hummel R.A. and Zucker S.W. (1976), Scene labeling by relaxation operations, IEEE Trans. Systems, Man, Cybemetics, vol. SMC-6, 420-433.

[0016] Rousseeuw, P.J. (1987), Silhouettes: A graphical aid to the interprétation and validation of cluster analysis, Journal of Computational and Applied Mathematics. 20:53-65. doi: 10.1016 / 0377-0427(87)90125-7.

[0017] Ruofei Zhao, Yuanzhi Li, Yuekai Sun, Statistical convergence of the EM algorithm on Gaussian mixture models. Electron. J. Statist. 14(1): 632-660 (2020). DOI: 10.1214 / 19-EJS1660.

[0018] Zucker S.W., Krishnamurthy E.V. and Haar R. L. (1978), Relaxation processes for Scene labeling: convergence, speed and stability, IEEE Trans. on Systems, Man and Cybemetics, vol. SMC-8, no. 1.

[0019] Among the computer-based methods used to interpret well electrofacies measurements, a classic distinction is made between fully automated methods, involving unsupervised classification, and partially automated methods, involving supervised classification. Unlike an unsupervised classification method, a supervised classification method aims to group samples into homogeneous classes based on predefined rules determined from training data. It is common practice in the prior art for the training data required by supervised classification methods to come from a manual interpretation by an expert (hence the term semi-automated method) of at least a subset of the well measurements.An electrofacies interpretation derived from a supervised classification method is generally more geologically realistic than an electrofacies interpretation derived from an unsupervised classification method, because it takes into account a preliminary interpretation carried out by a specialist.

[0020] Among the fully automated electrofacies interpretation methods, the document (Emelyanova, et al., 2017) is known. The procedure described in this document combines three unsupervised classification methods to find a consensus classification. In other words, the process described in this document applies three unsupervised automatic classification methods to well log data to determine three electrofacies interpretations, and then determines a final electrofacies interpretation from this plurality of interpretations by the majority of voters. Furthermore, the quality of the prediction is quantified by the proportion of majority votes relative to the total number of voters. However, this document does not describe the consideration of a criterion, which could be geological in nature, to determine its final interpretation. Moreover, the process described in this document does not propose any further improvements to its final interpretation.

[0021] We are also familiar with the document (Halotel, et al., 2020) which describes the value of incorporating geological information into supervised classification methods to improve the facies interpretation of well logs, compared to data-driven classification methods. More specifically, this document describes constraints based on advanced preliminary analyses, such as stratigraphic cycle analysis, depositional type analysis (marine or non-marine), or petrophysical analyses to determine grain size, pore size, clay content, etc. However, these geological and / or petrophysical analyses require specific expertise (from a sedimentologist and a petrotrophysicist, respectively) and are generally very rarely available during the electrofacies interpretation phase of well log data.Furthermore, the process described in this document does not propose to refine the electrofacies interpretation resulting from an initial classification, nor to combine different classification methods to reach a classification consensus.

[0022] The document (Jeong et al. 2020) is also known, describing the combination of an unsupervised automatic classification method for core images and a supervised classification method for well data using a multi-layer neural network for improved automatic classification in lithofacies. More specifically, the method described in this document uses a classification obtained by an unsupervised classification method applied to core images to create training information for a supervised classification method applied to log data. Thus, in this method, the training information is obtained only from the portions of the well for which cores, and moreover images of cores, are available. In practice, cores are not available along the entire length of the well for which log records are available.Furthermore, the cores are taken from preferred areas of the well (in other words, they are not taken randomly). For example, as opposed to reservoir areas, areas of clay cover. are rarely or only minimally cored (because their petrophysical properties are less sought after). Thus, the training information described in this document is not necessarily representative of all electrofacies classes present in the well, which can negatively impact the results of the supervised classification subsequently implemented. In particular, the result of the supervised classification is de facto limited by the number of classes resulting from the unsupervised classification, which can lead to an erroneous interpretation of the log measurements as electrofacies. Furthermore, the procedure described in this document implements only one supervised classification method, namely a multi-layer neural network to determine the lithofacies at all depths, including those not cored. Therefore, this document does not teach how to combine different supervised classification methods to reach a classification consensus.

[0023] The document (Dubois et al., 2007) that compares four conventional supervised electrofacies classification methods for well logs on the same dataset is also known. However, the procedure described in this document does not describe the use of a criterion, which could be geological in nature, to refine a classification. Furthermore, the procedure described in this document does not propose to refine the electrofacies interpretation resulting from an initial classification, nor to combine different classification methods to reach a classification consensus. Finally, this document does not describe the quantification of the probability of a point belonging to a class.

[0024] US patent 2002 / 0052690 is also known, describing the application of supervised classification methods to determine an electrofacies interpretation of well logs. Furthermore, this patent describes a quantification of the probability of a point belonging to a class. However, this patent does not describe the consideration of a criterion, which may be geological in nature, to refine a classification. Moreover, the procedure described in this patent does not propose to refine the electrofacies interpretation resulting from an initial classification, nor to combine different classification methods to reach a classification consensus.

[0025] Finally, we know of document WO2022 / 043051 A1, which concerns a method for determining an electrofacies interpretation of measurements relating to at least a portion of at least one well traversing an underground formation. More specifically, the method comprises applying a plurality of supervised or unsupervised classification methods to the measurements to determine training information. Then, a plurality of supervised classification methods are applied to the measurements, the classification methods being trained using the training information. An ensemble classification method is then applied to the results of the plurality of supervised classification methods to determine the electrofacies interpretation of measurements.

[0026] However, this method has the drawback of requiring an initial application of several supervised or unsupervised classification methods, followed by a second application of another set of supervised classification methods. This process can therefore be relatively complex to implement (requiring the automatic generation of training data for the supervised classification methods). Furthermore, when implementing the method using unsupervised classification methods (which has an advantage because these methods do not require a training database), the number of electrofacies (or the number of classes) must be predefined by a user. This, on the one hand, prevents complete automation of the implementation of the method according to the invention, and on the other hand, can lead to a result dependent on the user's expertise.

[0027] Thus, the processes described in the prior art describe either methods that can be fully automated but can lead to geologically implausible or even erroneous electrofacies interpretations, or partially automated methods, requiring information from an expert, which can lead to a more realistic but subjective electrofacies interpretation.

[0028] The present invention aims to overcome these drawbacks. In particular, the method according to the invention allows for fully automated implementation, requiring neither training data nor the predefinition of a number of classes. Indeed, the method according to the invention uses a statistical approach to classify measurements into automatically determined categories. Furthermore, a fully automated spatial smoothing of the interpretation, based on statistical considerations, eliminates the need for a reclassification step generally performed manually by a user, a process that can be lengthy, tedious, and also subjective. Summary of the invention

[0029] The invention relates to a method for determining an electrofacies interpretation of measurements relating to at least a portion of at least one well passing through an underground formation. The method according to the invention comprises carrying out the following steps:

[0030] A) a plurality of measurements are carried out relating to at least said portion of said at least one well crossing said underground formation, said plurality of said measurements resulting at least from a well log and / or an image of at least one core taken from said at least one well;

[0031]

[0032]

[0033]

[0034]

[0035]

[0036]

[0037]

[0038]

[0039]

[0040]

[0041] B) A first interpretation in electrofacies of the said plurality of said measurements relating to at least the said portion of the said at least one well is determined in the following manner: a) for each value of a number of classes of a plurality of values ​​of said number of classes between a minimum number of classes and a maximum number of classes, an unsupervised classification method is applied to said plurality of said measures; b) a silhouette method is applied to said plurality of classifications of said plurality of measurements determined for each of said values ​​of said number of classes, and said first interpretation in electrofacies and a corresponding number of classes are determined by selecting said classification and said value of said number of classes for which said silhouette score is closest to 1; c) an iterative stochastic relaxation method is applied to probabilities of belonging of each of said measures to each of said classes of said first interpretation in electrofacies, and a second interpretation in electrofacies is obtained when a predefined convergence criterion of said iterative relaxation method is reached. According to one embodiment of the invention, said well logging can be selected from among gamma ray logging, sonic logging, density logging, electrical logging or well imaging logging. According to one implementation of the invention, said unsupervised classification method can be chosen from a family of exclusive partitioning methods or a family of probabilistic partitioning methods. According to one implementation of the invention, said unsupervised classification method can be a Gaussian mixture model. According to one implementation of the invention, the probabilities of belonging of each of the measures to each of the classes can be a function of a Mahalanobis distance. According to one embodiment of the invention, said iterative stochastic relaxation method can implement a compatibility matrix measuring the compatibility of a measure J belonging to a class c and of a measure j to a class d, expressed according to a formula of the type: where P^ is a probability that a measure i belongs to a class d and Pjc is a probability that a measure j belongs to a class c.

[0042] According to one embodiment of the invention, said predefined convergence criterion of said iterative relaxation method can be reached when, at iteration n*, An^ = 0, with: [°043]

[0044] where rW = 1 if = max ïfâ and r(fl) = h otherwise, is the probability ^ic -1 ^ic K) J e 1C that a measure 1 belongs to class c at iteration (n), — 1 if zd p(nl) = j / n-1) and = q otherwise, is the probability that a measure 1 id ee{l,.,X} ie ld ld belongs to class d at iteration (jq- 1), N is the number of said plurality of measures, and K is said number of classes.

[0045] The invention also relates to a computer program product downloadable from a communication network and / or recorded on a computer-readable medium and / or executable by a processor, comprising program code instructions for implementing the process as described above, when said program is executed on a computer.

[0046] The invention further relates to a method for exploiting a resource present in an underground formation and / or for storing a fluid in said underground formation, comprising the implementation of the method for determining an electrofacies interpretation of measurements relating to at least a portion of at least one well passing through an underground formation as described above.

[0047] According to one embodiment of the invention, from at least said interpretation in electrofacies of the measurements relating to at least said portion of at least said well crossing said subsurface formation, one can construct a mesh representation representative of said subsurface formation, one can determine at least one exploitation scheme of said resource and / or a scheme for injecting said fluid into said subsurface formation from at least said mesh representation representative of said subsurface formation, and one can exploit said resource of said subsurface formation according to said exploitation scheme and / or one can inject said fluid into said subsurface formation according to said scheme for injecting said fluid into said subsurface formation.

[0048] According to one embodiment of the invention, said resource exploitation scheme and / or fluid injection scheme may include at least one implantation of at least one injection well and / or at least one production well, and said wells of said implantation may be drilled and equipped with production infrastructure.

[0049] Other features and advantages of the process according to the invention will become apparent from the following description of non-limiting examples of embodiments, with reference to the figures attached and described below. List of figures

[0050] [Fig.1]

[0051] Fig. 1 presents, by way of illustration, a log of natural radioactivity as a function of depth.

[0052] [Fig.2]

[0053] Fig. 2 presents, by way of illustration, an electrofacies interpretation carried out manually by an expert geologist, for which 16 different classes were identified.

[0054] [Fig.3A]

[0055] Fig. 3A presents, by way of illustration, an electrofacies interpretation resulting from the implementation of steps 1 and 2 of the process according to the first aspect of the invention.

[0056] [Fig.3B]

[0057] Fig. 3B presents, by way of illustration, an enlargement of Fig. 3A between depths of 2200m and 2600m.

[0058] [Fig.4A]

[0059] Fig. 4A presents, by way of illustration, an electrofacies interpretation resulting from the implementation of all the steps of the process according to the first aspect of the invention.

[0060] [Fig.4B]

[0061] Fig. 4B presents, by way of illustration, an enlargement of Fig. 4A between depths of 2200m and 2600m. Description of the implementation methods

[0062] According to a first aspect, the invention relates to a method for determining an electrofacies interpretation of measurements relating to at least a portion of at least one well crossing an underground formation.

[0063] According to one embodiment of the invention, the method according to the first aspect of the invention may relate to a method for determining an electrofacies interpretation of measurements relating to at least a portion of at least one well passing through an underground formation in order to exploit a resource of an underground formation and / or to inject a fluid into the underground formation.

[0064] According to a second aspect, the invention relates to a method for exploiting a resource in an underground formation and / or for injecting a fluid into the underground formation, the method according to the second aspect comprising the implementation of the method for determining an electrofacies interpretation of measurements relating to at least a portion of at least one well according to the first aspect of the invention.

[0065] The underground formation studied can be at any depth, and in particular be shallow (for example less than 3 km, as is mostly the case in the case of a geothermal, hydrogeological or mining resource), or deep or even ultra-deep and possibly under a layer of water (as is mostly the case in the case of an oil and / or gas resource and in the case of deep geothermal energy).

[0066] According to the invention, the plurality of measurements relating to at least a portion of at least one well results from at least one well log and / or an image of at least one core taken from the well in question, at the level of at least one portion of the well in question.

[0067] According to one embodiment of the invention, the underground formation of interest may include an oil reservoir, preferably with its cover.

[0068] According to the invention, the well traversing the underground formation of interest can have any geometry, and in particular be a vertical or deviated well. This is referred to as the well trajectory.

[0069] By electrofacies, we mean a grouping of samples from the plurality of measurements (e.g., logs) according to the invention having homogeneous (measurement) values. In other words, two samples of measurements (e.g., logs) belong to the same group, or 'electrofacies', if their (e.g., log) responses, that is, if the (e.g., log) measurements taken at these points, do not differ significantly. The concept of electrofacies was introduced, in particular, in the document (Serra and Abbot, 1980). The determination of the different electrofacies can be seen as the search for both the maximization of the differences between the (e.g., log) responses at any two points belonging to two different electrofacies, and the minimization of the differences between the (e.g., log) responses at any two points belonging to the same electrofacies.

[0070] Electrofacies interpretation of measurements relating to a well refers to the classification (or partitioning) of samples located along the well's path for which measurements are available, based on their electrofacies. In other words, following an electrofacies interpretation, a class is assigned to each of the samples located along the well's path for which measurements are available. An electrofacies class is a label, which can be any meaningless string (e.g., class 'C0', class 'Cl') or a meaningful string (e.g., 'sandstone', 'clay', 'limestone'), a color, or simply a symbol (e.g., '*', '+', '%', etc.). This label is not a quantitative quantity, unlike quantities such as... numbers respecting an order relation (i.e., inferiority, superiority, equality). In particular, when an electrofacies interpretation is available, carried out by a specialist, at least for some samples along at least a portion of at least one well, an electrofacies class can be a string of characteristics representative of a lithological type (for example 'sandstone', 'limestone', 'clay', etc.). These are then referred to as lithofacies.

[0071] In general, the process according to the invention comprises at least the following steps:

[0072] 1) Acquisition of measurements relating to at least a portion of at least one well

[0073] 2) Determination of a first electrofacies interpretation by means of a unsupervised classification method and silhouette method

[0074] 3) Determination of a second electrofacies interpretation by means of of an iterative stochastic relaxation method

[0075] 4) Exploitation of a resource and / or storage of a fluid in a formation underground

[0076] The method according to the first aspect of the invention comprises at least steps 1 to 3 described below.

[0077] The method according to the second aspect of the invention further comprises at least step 4 described below.

[0078] At least step 2) and / or step 3) can be implemented by computer means, in particular a computer, a processor or a calculator.

[0079] The different stages of the process according to the invention are detailed below.

[0080] According to the invention, the steps of the process according to the invention are applied to at least a portion of at least one well passing through the underground formation.

[0081] 1) Acquisition of measurements relating to at least a portion of at least one well

[0082] During this step, a plurality of measurements are carried out relating to at least one portion of at least one well crossing the underground formation of interest, the plurality of measurements resulting from at least one well log and / or an image of at least one core taken from the well in question.

[0083] According to one embodiment of the invention, at least one well log can be selected from gamma ray logging, sonic logging, density logging, electrical logging, or well wall imaging logging. Advantageously, at least five different logs are performed for the same portion of the same well. The multiplicity of different logging types allows for more reliable electrofacies interpretation, due to the redundancy of information that can be deduced from each type of log.

[0084] As is well known, the acquisition of a well log is carried out by means of a probe which moves along the trajectory (of at least a portion, typically a few kilometers from the well, a well log measures a property (e.g., density, natural radioactivity, resistivity, etc.) of the rock surrounding the well at successive sampling intervals (on the order of tens of centimeters). Thus, a well log results in a series of samples (typically a few thousand to tens of thousands of measurement points) along the well's trajectory, each sample containing at least one value for a property (e.g., density, natural radioactivity, resistivity, etc.) of the surrounding rock.

[0085] According to one embodiment of the invention, well logs can undergo pretreatments, such as resamplings well known to those skilled in the art, so that well logs of different types are "replaced" at the same measurement points along the well path.

[0086] According to the invention, at least one image of at least one core sample taken from at least one well is obtained by an imaging device, such as, for example, a CT scanner or any other imaging technique. Preferably, the image of the extracted core can be preprocessed, for example, by textural analysis, to determine at least one measurement of a desired property (for example, the dip of the layers) for a series of samples along the wellbore. Advantageously, and when a core image is used in conjunction with at least one well log, resampling can be performed so that the sample series of the core images and the well log are concordant in terms of the location of the measurement points. Information on methods for processing core images can be found, for example, in the document (Jeong et al., 2020).

[0087] According to one embodiment of the invention, the well logs and / or the image of at least one core taken from at least one well may have undergone prior principal component decomposition.

[0088] At the end of this step, at least two types of measurements are obtained from a well, i.e. measurements from at least one well log and / or an image of a core taken from the well, for a succession of samples along at least a portion of the trajectory of at least one well crossing the underground formation of interest.

[0089] At the end of this step, we have a table of size NxP, where N is the number of measurement points along the portion of at least one well (which is a function of the length of the portion of the well's trajectory for which at least one measurement is taken, which can be on the order of a kilometer for log measurements, and of the sampling interval of the measurement, which can be on the order of tens of centimeters for a well logging tool) and P is the number of types of measurements (sonic logging, resistivity, etc.) measured for this same portion of the well.

[0090] Subsequently, we denote Xp ..., Xp the P vectors of size N corresponding to the N values ​​from the P measurements.

[0091] 2) Determination of a first electrofacies interpretation by means of a unsupervised classification method and silhouette method

[0092] During this step, a first electrofacies interpretation of the plurality of measurements relating to said at least a portion of said at least one well is determined according to the following two sub-steps:

[0093] 2.1) Application of an unsupervised classification method for a plurality of class numbers

[0094] 2.2) Application of a silhouette method to determine a number of optimal classes

[0095] In general, an unsupervised classification method is a method that seeks to partition, or segment, a set of samples into homogeneous and distinct classes. This is also referred to as "clustering" or "labeling." Unlike a supervised classification method, an unsupervised classification method is not trained using learning data. However, unlike a supervised classification method, an unsupervised classification method requires a number of classes as input. The number of classes is generally defined by a user.

[0096] The sequence of substeps 2.1) and 2.2) according to the invention aims to determine a classification by an unsupervised method (which, compared to a supervised classification method, avoids the need to create a training set) while avoiding the need for a user to define a number of classes. These substeps are detailed below.

[0097] 2.1) Application of an unsupervised classification method for a plurality of class numbers

[0098] During this substep, starting from a predefined minimum and maximum number of classes, for each value of the number of classes between the predefined minimum and maximum number of classes, an unsupervised classification method is applied to the plurality of measures from step 1).

[0099] According to one embodiment of the invention, the unsupervised classification method implemented may be a Gaussian Mixture Model (GMM). The Gaussian Mixture Model is based on an expectation maximization algorithm. A description of this method can be found in (Zhao et al., 2020). This model is advantageous for implementing the process according to the invention for the following reasons: i. This is a probabilistic model, which is consistent with the probabilistic aspect of stochastic relaxation which is implemented in step 3) of the process according to the invention; ii. It allows us to handle almost any type of point distribution, more precisely anything that can be approximated by a sum of weighted Gaussians; iii. It relies on a fast expectation-maximization algorithm that reliably converges to a local optimum as long as the local optimum is not degenerate (i.e., it is not an inflection or ripple point). Convergence is even faster when the data is easily separable into distinct groups. If the separation is very clear, it has even been shown that convergence to a global optimum occurs.

[0100] Alternatively, the unsupervised classification method can be chosen from any exclusive (e.g., K-means) or probabilistic (including GMM) clustering algorithm. Exclusive clustering associates one and only one class with each data point. Probabilistic clustering associates a probability with each pair (point, class), and the pair with the highest probability is retained.

[0101] According to one implementation of the invention, the predefined minimum number of classes may be 2.

[0102] According to one embodiment of the invention, the maximum predefined number of classes can be between 15 and 30, preferably between 20 and 25, and is most preferably 22. Such preferred values ​​allow a large number of classes to be tested in a reasonable amount of computation time.

[0103] At the end of this sub-step, we obtain a plurality of classifications of the measures from step 1), more precisely a classification for each of the values ​​of the number of classes between the minimum number of classes and the maximum number of classes.

[0104] 2.2) Application of a silhouette method to determine a number of optimal classes

[0105] During this substep, a silhouette method is applied to the plurality of classifications determined in substep 2.1), and a first electrofacies interpretation is determined by selecting, from among the plurality of classifications determined in substep 2.1), the classification for which the silhouette score is closest to 1.

[0106] The silhouette method is described, for example, in the document (Rousseeuw, 1987). Generally, in data partitioning (clustering), the silhouette coefficient is a measure of the quality of a partition of a dataset in automatic classification, ranging from -1 to 1. For each point, its silhouette coefficient is the difference between the average distance to points in its own group (cohesion) and the average distance to points in other neighboring groups (separation). If this difference is negative, the point is on average closer to the neighboring group than to its own: it is therefore misclassified. Conversely, if this difference is positive, the point is on average closer to its own group than to the neighboring group: it is therefore well classified.In other words, a silhouette score close to 1 indicates that the classification is robust, with little ambiguity and well-defined classes, whereas a silhouette score close to -1 indicates that the boundaries between the classes are uncertain.

[0107] Thus, at the end of this step, by selecting the classification for which the silhouette score is closest to 1, a classification of the measurements from step 1) is obtained automatically, without predetermination by a person skilled in the art of a number of classes, using an unsupervised classification method. Indeed, the sequence of substeps 2.1) and 2.2) makes it possible to determine the number of classes of an unsupervised classification method by maximizing a statistical criterion. Subsequently, the measurements taken in at least one portion of at least one well for the classification thus obtained are referred to as the "first electrofacies interpretation." One could also refer to it as an "intermediate electrofacies interpretation."

[0108] 3) Determination of a second electrofacies interpretation by means of of an iterative stochastic relaxation method

[0109] During this step, an iterative stochastic relaxation method is applied to probabilities of belonging of each of said measurements to each of said classes of said first electrofacies interpretation, and a second electrofacies interpretation is obtained when a predefined convergence criterion of said iterative relaxation method is reached.

[0110] Even if the number of classes in the first electrofacies interpretation from step 2) was statistically optimally determined by implementing the silhouette method, the resulting classification may exhibit very strong spatial discontinuities along the portion of the well for which measurements are available. For example, some measurements classified in one category Cj may be found isolated among measurements belonging to another category cj. Such a lithological distribution is clearly not realistic from a geological point of view. A person skilled in the art, observing such a geologically implausible distribution, would proceed to reclassify such isolated measurements into the dominant neighboring category. Similarly, measurements located on the boundary between two classes are often misclassified by unsupervised classification methods such as GMM, and manual relabeling may be necessary. Such reclassifications, carried out manually by a person skilled in the art, homogenize the entire classification, ensure realistic spatial continuity, and result in classes that are geologically more relevant and comparable to actual lithologies.

[0111] To avoid manual intervention by a person skilled in the art, which can be subjective and in any case requires considerable expertise, according to the invention, an iterative stochastic relaxation method is applied to the probabilities of each measurement belonging to each of the classes of the initial electrofacies interpretation. Generally, an iterative stochastic relaxation method allows for the homogenization of data, that is, the reduction of contrasts, in a robust, consistent, and statistically rigorous manner, without the intervention of an operator. Thus, the method according to the invention implements an iterative stochastic relaxation method based on a rigorous probability calculation derived from the statistical analysis of the measurements, thereby avoiding arbitrary smoothing of the results.

[0112] According to one embodiment of the invention, probabilities of belonging of each of the measurements to each of the classes of the first interpretation in electrofacies (initial conditions of the method of the iterative stochastic relaxation method) are first determined, then an iterative stochastic relaxation algorithm is applied to these probabilities of belonging.

[0113] Subsequently, we denote P^c the probability of belonging that a measure i belongs to a class c, with j g-{1, A / }ctC€{lz K}- Subsequently, we use the exponent (n) to signify the current iteration of the iterative relaxation method, the exponent (0) indicating that it is the initial condition (iteration 0) of the iterative relaxation method.

[0114] 3.1) Determination of initial membership probabilities

[0115] According to one implementation of the invention, during this substep, for each measure Ï€{1, N} from step 1) and each class cg X'} from step 2), we can determine the probability j / ÿ) that the measure i belongs to the class c. This results in a probabilistic classification, rather than a discrete one.

[0116] According to one embodiment of the invention, the probability of membership of measure i belonging to class c can be determined as a function of the distance 'ic dic from point 1 to class c in the parameter space (Xp by a relationship of the type: Pic-(i+dlc) ) •

[0117] Advantageously, the distance dic from point 1 to class c in the parameter space (Xp ..., Xp) corresponds to the Mahalanobis distance. Indeed, the Mahalanobis distance has the advantage of being invariant under changes of scale and of taking into account the variance and skewness of the data, that is to say the shape of the underlying distribution.

[0118] In general, the Mahalanobis distance is often used for detecting outliers in a dataset, or for determining the consistency of data provided by a sensor, for example. Thus, this distance is calculated between the received data and the data that can be used, but the latter may require prior knowledge of the point distribution, for example, a normal distribution.

[0119] 3.2) Application of an iterative stochastic relaxation method

[0120] In this substep, an iterative stochastic relaxation method is applied to the membership probabilities determined above. The use of an iterative relaxation method in this context aims to smooth the initial electrofacies interpretation obtained in step 2).

[0121] According to one embodiment of the invention, the probabilities of belonging to iteration n+1 of the iterative stochastic relaxation method can be determined from the probabilities of belonging to iteration n according to a formula of the type:

[0122]

[0123] where F; is an updating operator, nd+l) is the JG Jr je the probability of measure 1 belonging to class c at iteration n+1, and pfà is the probability of measure 1 belonging to class c at iteration n

[0124] According to one embodiment of the invention, the expression of the function F1C can be used according to a formula of the type: [°125] p zn >

[0126] where a is a positive integer, preferably equal to 1, as defined in (Rosenfeld et al., 1976), which leads to the following notation:

[0127] Pjl+Q 2^1+¾^

[0128] with „ _x? „ r frî , where V,(II) is the height neighborhood ^ïc ^jeV,(h)CiJ^d=l Pjd h around point J, cij is a contribution coefficient from point j to point 1 and Fjcd is a compatibility matrix measuring membership compatibility from point 1 to class c and from point j to class d. Indeed, given the expression of the term Ç[j, which takes into account the probabilities of all possible point-class combinations ( j, d ), the compatibility matrix gives more or less weight to the pairs ( j, d) that are more or less compatible with the pair ( i, C ) being updated by the algorithm p(u+l)= Fic[

[0129] According to one embodiment of the invention, the height h can be chosen in the following manner:

[0130] h = P*H, where H is the total length of the well, and P is between 0.003 and 0.01, preferably P = 0.005. In other words, the height h corresponds to a percentage of the well height between 0.3 and 1%, and preferably 0.5%. Such values ​​correspond to values ​​obtained from a plurality of tests carried out by the Applicant. It is quite clear that a person skilled in the art can also predefine the value of h.

[0131] According to one embodiment of the invention, the following expression can be used for the contribution coefficient cij from point j to point 1 according to a formula of the type:

[0132] ^2 VU'1 0 / -(1 + ¾) /

[0133] where DJJ is the spatial distance between points 1 and j. Such a formulation allows: i. to ensure that the contribution of point j to point 1 is relative to the contributions of the other points in the neighborhood V j(h); ii. to be well defined when the spatial distance Djj = 0, which happens when i = j, but also when there are, by mistake, redundant measurements in the data.

[0134] According to a preferred embodiment of the invention, a compatibility matrix rijcd can be used according to a formula of the type:

[0135]

[0136] This compatibility matrix therefore involves the product of "crossed" probabilities, which is justified by the fact that if the point-class pairs (i, d) and (j, c) have a low probability, they should have a small weight in the probability of (j, d) when updating the probability of (i, c), and vice versa if the probabilities of (i, d) and (j, c) are high. In general, the choice of the expression for the compatibility matrix rijcd is delicate because it inherently involves integrating a priori information about the interactions between the data that the operator must control. Furthermore, its calculation requires a significant amount of memory because the compatibility matrix is ​​of size gZ. The formulation of the matrix

[0137]

[0138]

[0139]

[0140]

[0141]

[0142]

[0143]

[0144] the compatibility defined above by the Applicant, directly based on probabilities, has the advantage of being simple to calculate. Furthermore, the above formulation, including a square root in the definition of rijcd, guarantees the following two points: i. The similarity (denoted ^ij below for the similarity between an individual 1 and an individual j) of an individual 1 with itself is maximal. ii. This maximum is always equal to 1 (that is, taking another distribution of log measurements, this maximum will always be equal to 1). If we do not take the square root, the similarity of an individual 1 with itself will always be maximal, so point (i) above will indeed be verified, but this similarity will not always be equal to 1, regardless of the underlying distribution, and therefore point (ii) will be refuted. This choice, including the square root, thus homogenizes the notion of similarity across all possible distributions of measurements. According to a preferred embodiment of the invention, the quantity Qic can be more simply rewritten as follows: ®ic = Or aij - ^d=1^PidPjd ■ The term ^ij represents the current element of the symmetric similarity graph between individuals 1 and j with respect to their respective probabilities of assignment to the K classes. This term is closer to 0 the more individuals 1 and j are assignable to different classes, and closer to 1 the more they are assignable to the same classes. Thus, it measures, in a certain way, the agreement (similarity) or disagreement (dissimilarity) between the two individuals 1 and j. In summary, the first term, cij, represents the spatial contribution of 1's neighbors, and the second term, aij, represents the probabilistic contribution of these same neighbors, calculated as the product of the square roots of the probabilities for all classes. In general, the stochastic relaxation algorithm is an iterative Picard algorithm for the continuous function Fjc: [0, 1] → [0, 1]. It is known from the paper (Zucker et al., 1978) that such an algorithm converges well to a fixed point in Fjc. However, the convergence can be more or less rapid depending on the type and quantity of data. Furthermore, the convergence can be numerically unstable; that is, there may be fluctuations when approaching a fixed point due to rounding errors or divisions by very small numbers, which can make the results less reliable. Moreover, the criterion proposed in the paper (Zucker et al., 1978) for measuring the rate of convergence proves difficult to to implement for log-type measurements. Indeed, the large number of individuals makes it impossible to define such a criterion in a relevant way, and, given that this criterion is defined locally (point by point), it becomes virtually impossible to use it globally to control the convergence rate of the process. To solve this problem and to control the reliability of the results, the Applicant has developed a convergence criterion adapted to the measurements of the process according to the invention. According to the invention, the iterative stochastic relaxation method is applied to the probabilities of each measurement belonging to each of the classes of the first electrofacies interpretation, and a second electrofacies interpretation is obtained when a predefined convergence criterion of said iterative stochastic relaxation method is reached.

[0145] According to one embodiment of the invention, the predefined convergence criterion of the iterative relaxation method is reached when, at iteration n*,

[0146] An^=0,

[0147] with:

[0149] where rh*) = 1 if nW= max and j^ = n otherwise, is the probability ic ic e^l„.,K]ie ic ic that a measure 1 belongs to class c at iteration (n), — i if n(nl) — max and _ n otherwise, nù!“b is the probability that a measure ^id e^K..,Kyie ld U id 1 belongs to class d at iteration Qj- 1), N is the number of measurements, and K is the number of classes. In other words, at each iteration n of the iterative stochastic relaxation method, we determine the parameter AnW, which is the number (as a percentage) of changes in class assignments between consecutive iterations n-1 and n-1, and we stop the iterative stochastic relaxation method at the first iteration n* for which All^ = 0. This criterion, based on the number of changes in class assignments between two consecutive iterations, guarantees (within numerical errors) that the algorithm no longer generates changes in assignments and that it is therefore no longer necessary to continue the relaxation from the user's point of view.Note that this criterion applies to (discrete) class memberships and not to (continuous) membership probabilities; therefore, the algorithm may not yet have converged in probabilities when our criterion has already been met. This approach allows us to:

[0150] (i) exit relaxation more quickly than if convergence had to be waited for probabilities, which, as already mentioned, can be slow;

[0151] (ii) monitor the stability of the result in terms of membership rather than probability, more easily achieved and quantified by the number An.

[0152] Alternatively, the predefined convergence criterion of the iterative stochastic relaxation method may consist of a maximum number of iterations, for example 50. After many trials carried out by the Applicant, such a value guarantees that the iterative stochastic relaxation method is reasonably close to convergence.

[0153] Thus, at the end of this step, a second electrofacies interpretation is obtained of the plurality of measurements relating to at least the portion of at least one well. This second interpretation is spatially smoothed with respect to the first interpretation, automatically and on the basis of rigorous statistical criteria.

[0154] Thus, the method according to the invention makes it possible to determine an electrofacies interpretation in an automated manner, benefiting from the advantages of an unsupervised classification method (i.e., not requiring a training set) but without having to predefine a number of classes to perform the classification. Furthermore, the spatial smoothing of the result from the unsupervised classification, often necessary and performed manually, is here carried out automatically and reliably, by exploiting statistical information contained in the measurements.

[0155] Furthermore, the invention relates to a computer program product downloadable from a communication network and / or stored on a computer-readable medium (for example, an embedded computer) and / or executable by a processor. This program includes program code instructions for implementing the method according to the first aspect as described above, in particular steps 2) and / or 3) described above, when the program is executed on a computer.

[0156] 4) Exploitation of a resource and / or storage of a fluid in a formation underground

[0157] This step is implemented within the framework of the process according to a second aspect of the invention, which relates to a process for exploiting a resource from an underground formation, such as a geothermal resource, an oil and / or gas resource, a mineral resource, or a hydrogeological resource, or for storing a fluid in the underground formation, such as the storage (or sequestration) of CO2.

[0158] During this step of the process according to the second aspect of the invention, from at least the electrofacies interpretation of at least a portion of at least one well determined at the end of the previous step, a resource of the underground formation is exploited, and / or a fluid is stored in the underground formation.

[0159] According to one embodiment of the invention, from at least the electrofacies interpretation of at least a portion of at least one well, a mesh representation of the underground formation of interest can be determined, and at least one exploitation scheme for the resource present in the underground formation and / or a scheme for injecting a fluid into the underground formation can be determined from this mesh representation, then the resource of interest and / or the fluid of interest is exploited according to the exploitation scheme.

[0160] Generally, an operating scheme and / or a scheme for injecting a fluid into a formation includes a number, geometry and location, position and spacing, of the injection and / or production wells to be drilled in the underground formation under study and to be equipped.

[0161] According to one embodiment of the invention in which the resource to be exploited is geothermal in nature, the task is to determine at least one exploitation scheme allowing the injection of a predominantly aqueous fluid into the underground formation under study, and its recovery. Indeed, in the field of geothermal energy, the heat or energy of the fluid injected into the formation and recovered is exploited.

[0162] According to an embodiment of the invention in which the resource to be exploited is of an oil and / or gas nature, it is necessary to determine at least one scheme for exploiting the hydrocarbons contained in the underground formation studied.

[0163] According to an embodiment of the invention in which the method aims to store a fluid in the underground formation, it is necessary to determine at least one scheme for injecting a fluid into a formation, with a view to its storage.

[0164] Conventionally, a representative mesh representation of an underground formation of interest is constructed, as according to the invention, from at least the electrofacies interpretation of at least a portion of at least one well, but is advantageously also constructed from measurements taken on rock samples from the wells, information deduced from seismic acquisition campaigns, production data such as oil and water flow rates, pressure variations, etc. Those skilled in the art have a thorough knowledge of methods for constructing a representative mesh representation of an underground formation.

[0165] A particular embodiment of the invention in which the fluid comprises hydrocarbons is described below in a non-limiting manner. Generally, in oil production, a production scheme includes the number, geometry, and location (position and spacing) of injection and production wells to be drilled in the reservoir under investigation and to be equipped. A production scheme may further include a type of enhanced recovery of hydrocarbons contained in the reservoir, such as recovery by means of injecting a solution comprising one or more polymers, CO2 foam, etc. A scheme The optimal exploitation of a hydrocarbon reservoir must, for example, allow for a high recovery rate of hydrocarbons trapped in the geological reservoir, over a long production period, and requiring a limited number of wells. In other words, the specialist predefines evaluation criteria according to which a fluid exploitation scheme for a geological reservoir is considered sufficiently efficient to be implemented on the geological reservoir under study.

[0166] According to one embodiment of the invention, the determination of a hydrocarbon exploitation scheme for the studied geological reservoir can be carried out using

[0167] of a flow simulator (or reservoir simulator). An example of a reservoir simulator is the PumaFlow® simulator (IFP Energies nouvelles, France). Generally, at any time t of the simulation, a flow simulator solves all the flow equations specific to each cell and provides solution values ​​for the unknowns (saturations, pressures, concentrations, temperature, etc.) predicted at that time t. From this solution, the quantities of oil produced and the state of the reservoir (pressure distribution, saturations, etc.) at the time considered are determined. By means of a mesh representation, determined from at least one electrofacies interpretation for at least a portion of at least one well, the flow simulator makes it possible to reliably predict production, particularly of oil and gas, for a given operating scenario.

[0168] According to one embodiment of the invention, different exploitation schemes for the fluid contained in the geological reservoir under study can be defined, and at least one criterion can be estimated using the flow simulator, such as the quantity of hydrocarbons produced according to each of the different exploitation schemes, the curve representing the evolution of production over time at each of the wells, the oil-to-gas ratio (OGR), etc. The scheme according to which the hydrocarbons contained in the reservoir are actually exploited can then correspond to the one satisfying at least one of the evaluation criteria of the different exploitation schemes.According to the invention, a plurality of flow simulations are performed for a plurality of injector-producer well locations, using the simulator according to the invention and a mesh representation determined from at least one electrofacies interpretation for at least a portion of at least one well. The production scheme for exploiting the geological reservoir fluid is determined for each location, and the location satisfying at least one of the predefined evaluation criteria is selected. Advantageously, a plurality of flow simulations can also be performed for a plurality of enhanced recovery types, using the simulator according to the invention and a mesh representation determined from the [missing information]. less than one electrofacies interpretation of at least a portion of at least one well, and the exploitation scheme is determined according to which the fluid from the geological reservoir is to be exploited for each of the assisted recovery types, and the assisted recovery is selected that satisfies at least one of the predefined evaluation criteria.

[0169] Then, once the production scheme has been determined, the hydrocarbons trapped in the oil reservoir are exploited according to this scheme, in particular at least by drilling the injection and production wells of the scheme thus determined, so as to produce the hydrocarbons, and by installing the production infrastructure necessary for the development of this reservoir. In the case where the production scheme has also been determined by estimating the reservoir production associated with different types of enhanced recovery, the type(s) of additive(s) (polymer, surfactants, CO2 foam) selected as described above are injected into the injection well.

[0170] It is understood that the exploitation scheme can evolve over the duration of hydrocarbon exploitation of a geological reservoir, depending on knowledge relating to the reservoir acquired during exploitation, and on improvements in the various technical fields occurring during the exploitation of a hydrocarbon deposit (improvements in the field of drilling, enhanced recovery for example). Application example

[0171] The advantages of the method according to the invention are presented below in an example of application.

[0172] For this application example, we have well log measurements taken in a portion ranging from approximately 1800m to 3300m deep of a vertical well through an underground formation consisting mainly of sandstone and clay, located in the offshore of Western Australia.

[0173] The available log measurements are of five types, namely natural radioactivity in gamma rays (GR), sonic logging, density logging, neutron logging, and electrical logging. [Fig. 1] shows, by way of illustration, a natural radioactivity log (GR in IPA units, standard in the field) evolving as a function of depth Z.

[0174] Fig. 2 illustrates an IE-M electrofacies interpretation performed manually by an expert geologist, for which 16 different classes were identified (labeled Cl to C16). Fig. 3A illustrates an IE-INV-PART electrofacies interpretation resulting from the implementation of steps 1 and 2 of the process according to the first aspect of the invention (i.e., without the iterative stochastic relaxation step), and Fig. 3B is an enlargement of Fig. 3A between depths of 2200 m and 2600 m. Fig. 4A Figure 3A illustrates an IE-INV electrofacies interpretation resulting from the implementation of all the steps of the process according to the first aspect of the invention, and Figure 4B shows an enlargement of Figure 4A between depths of 2200 m and 2600 m. For Figures 3A, 3B, 4A, and 4B, a number of distinct classes, totaling 7, was determined automatically by implementing the process according to the invention; the classes for these figures are denoted C1 to C7. For figures 2, 3A, 3B, 4A, and 4B, the classes determined along the well (here we only present the result of the interpretation for one sample out of 10 along the well, for visualization purposes) are represented by colors varying on a color scale in shades of gray, and are placed (for illustration purposes) on the x-axis at the level of the corresponding value of the GR log.

[0175] It can be observed that the classes determined by implementing all the steps of the process according to the invention (Figures 4A and 4B) are geologically plausible, in the sense that the classes remain stable with depth, whereas interrupting the implementation of the process according to the invention after step 2 (Figures 3A and 3B) can lead to isolated classifications within a dominant classification (see in particular [Fig. 3B]). Such lithological distributions are clearly not realistic from a geological point of view. A person skilled in the art, observing such a geologically implausible distribution, would reclassify such isolated measurements into the neighboring dominant category. Implementing all the steps of the process according to the invention, and in particular the iterative stochastic relaxation step, avoids manual reclassification.

[0176] Furthermore, comparing [Fig. 2] with Figures 4A and 4B, it can be observed that, even though manual interpretation resulted in a greater number of classes than with automatic determination of this number of classes by implementing the method according to the invention (16 classes instead of 7 classes), there is consistency between the result of the method according to the invention and manual labeling in terms of spatial continuity. However, electrofacies interpretation performed fully automatically by the method according to the invention can be obtained in about ten minutes on an Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz 2.59 GHz, whereas manual interpretation performed by the expert can take several days.

[0177] Thus, the method according to the invention makes it possible to determine an electrofacies interpretation in an automated manner, benefiting from the advantages of an unsupervised classification method (i.e., not requiring a training set) but without having to predefine a number of classes to perform the classification. Furthermore, the spatial smoothing of the result from the unsupervised classification, often necessary and performed manually, is here carried out automatically and reliably, by exploiting statistical information contained in the measurements.

Claims

Demands

1. A method for determining an electrofacies interpretation of measurements relating to at least a portion of at least one well passing through an underground formation, for the purpose of exploiting a resource of said underground formation and / or injecting a fluid into said underground formation, characterized in that at least the following steps are carried out: A) a plurality of measurements relating to at least said portion of said at least one well passing through said underground formation are carried out, said plurality of said measurements resulting at least from a well log and / or an image of at least one core taken from said at least one well;(b) A first electrofacial interpretation of said plurality of said measurements relating to at least said portion of said at least one well is determined as follows: (a) for each value of a number of classes of a plurality of values ​​of said number of classes between a minimum number of classes and a maximum number of classes, an unsupervised classification method is applied to said plurality of said measurements; (b) a silhouette method is applied to said plurality of classifications of said plurality of measurements determined for each of said values ​​of said number of classes, and said first electrofacial interpretation and a corresponding number of classes are determined by selecting said classification and said value of said number of classes for which said silhouette score is closest to 1;C) an iterative stochastic relaxation method is applied to the probabilities of belonging of each of said measures to each of the classes of said first interpretation in electrofacies, and a second interpretation in electrofacies is obtained when a predefined convergence criterion of said iterative relaxation method is reached.;

2. A method according to claim 1, wherein said at least one well log is selected from gamma ray logs, sonic logs, density logs, electrical logs or well imaging logs.

3. A method according to any one of the preceding claims, wherein said unsupervised classification method is chosen from a family of exclusive partitioning methods or a family of probabilistic partitioning methods.

4. A method according to claim 3, wherein said unsupervised classification method is a Gaussian mixture model.

5. A method according to any one of the preceding claims, wherein said probabilities of membership of each of said measures in each of said classes are a function of a Mahalanobis distance.

6. A method according to any one of the preceding claims, wherein said iterative stochastic relaxation method implements a compatibility matrix measuring the compatibility of a measure 1 belonging to a class c and a measure j to a class d, expressed according to a formula of the form: rijcd = ∑Pjc where Pjc is a probability that a measure i belongs to a class d and Pjc is a probability that a measure j belongs to a class c

7. A method according to any one of the preceding claims, wherein said predefined convergence criterion of said iterative relaxation method is reached when, at iteration H*, 0- with : A j / n) - 100 N y K y K Jn) dn-1) Alt NZ^Z^Z^^ic^d > where rW = 1 if = max and rW _ q otherwise, nbh is the ^ic KJ 1C probability that a measure 1 belongs to class c at iteration (n), / ^1) = 1 if rp1^ = max and - n otherwise, rp1^ is the ^id x ^id probability that a measure 1 belongs to class d at iteration (n- 1)' N is the number of said plurality of measures, and K is said number of classes.

8. A method for exploiting a resource present in an underground formation and / or for storing a fluid in said underground formation, comprising implementing the method for determining an electrofacies interpretation of measurements relating to at least a portion of at least one well passing through an underground formation according to any one of the preceding claims.

9. A method according to claim 8, wherein, from at least said electrofacies interpretation of measurements relating to at least said portion of at least said well traversing said subsurface formation, a mesh representation of said subsurface formation is constructed, at least one exploitation scheme of said resource and / or a scheme for injecting said fluid into said subsurface formation is determined from at least said mesh representation of said subsurface formation, and said resource of said subsurface formation is exploited according to said exploitation scheme and / or said fluid is injected into said subsurface formation according to said scheme for injecting said fluid into said subsurface formation.

10. A method according to any one of claims 8 or 9, wherein said resource exploitation scheme and / or fluid injection scheme comprises at least one planting of at least one injection well and / or at least one production well, and wherein said wells of said planting are drilled and equipped with production infrastructure.

11. Product computer program downloadable from a communication network and / or stored on a computer-readable medium and / or executable by a processor, comprising program code instructions for implementing the method according to any one of claims 1 to 7, when said program is executed on a computer.