Method for operating a hydrocarbon deposit by injection of a gas in foam form

10669818 ยท 2020-06-02

Assignee

Inventors

Cpc classification

International classification

Abstract

The invention is a method for operating a hydrocarbon deposit by injection of gas in foam form, comprising determining a model of displacement of the foam which is a function of an optimal mobility reduction factor of the gas and at least one interpolation function dependent on a parameter and constants to be calibrated. The mobility reduction factor of the gas is determined and the constants of at least one interpolation function are calibrated from experimental measurements comprising injections of gas in non-foaming form and in foam form into a sample of the deposit for different values of the parameter relative to the function being considered. Measurements of headloss corresponding to each value of the parameter of the interpolation function are considered. The calibration of the constants is performed interpolation function by interpolation function.

Claims

1. A method for operating an underground formation to produce the hydrocarbons from the formation by drilling at least one well in the formation, injecting an aqueous solution comprising a gas in foam form and using a flow simulator based on a displacement model of the gas in foam form, the displacement model of the gas in foam form being a function of an optimal mobility reduction factor of the gas and of at least one interpolation function of the optimal mobility reduction factor, the at least one interpolation function of the optimal mobility reduction factor being a function of at least one parameter relating to at least one characteristic of the sample of the formation of relative permeabilities to the gas in non-foaming form and of relative permeabilities to the aqueous solution, the method comprising: A. determining the displacement model of the simulator according to steps of: i). defining values of the at least one parameter relative to at least one of the interpolation functions, injecting the gas in non-foaming form and injecting the gas in foaming form into the at least one sample according to values of the at least one parameter relative to the at least one interpolation function of the optimum mobility reduction factor of the gas, and measuring headloss with foam and headloss without foam for each of the values of the at least one parameter relative to the at least one interpolation function; ii). determining from the measurements of headloss relative to the at least one interpolation function an optimal value of the at least one parameter relative to the at least one of the interpolation function, the optimal value enabling maximizing a ratio between the headloss without foam and the headloss with foam measured for the at least one interpolation function; iii). defining optimal conditions corresponding to the optimal values determined for each of the at least one interpolation functions, injecting the gas in non-foaming form and the gas in foam form into the sample according to the optimal conditions, and measuring a headloss with foam and a headloss without form respectively performed for the optimal conditions; iv). determining the optimal mobility reduction factor from the measurements of headloss performed with the optimal value determined for the at least one interpolation function from the measurements of relative permeabilities to the gas in non-foaming form and from measurements of relative permeabilities of the aqueous solution; and v). calibrating the constants for the at least interpolation function from the optimal mobility reduction factor, the measurements of headloss relative to the at least one interpolation function, and from the measurements of relative permeabilities of the gas in non-foaming form and from the measurements of relative permeabilities to the aqueous solution; and B. determining an optimum operational scheme for the formation by using the displacement model and the flow simulator and extracting the hydrocarbons from the at least one well in the formation located with the operational scheme.

2. The method according to claim 1, wherein the displacement model of the foam is expressed as:
k.sub.rg.sup.FO(S.sub.g)=FMk.sub.rg(S.sub.g) wherein k.sub.rg.sup.FO(S.sub.g) is relative permeability to the gas in foam form for a given gas saturation value Sg, k.sub.rg(S.sub.g) is relative permeability to the non-foaming gas for the gas saturation value Sg, and FM is a function expressed as: F M = 1 1 + ( M opt - 1 ) * .Math. k F k wherein M.sup.opt is the optimal mobility reduction factor of the gas and F.sub.k is one of the interpolation functions, with k1.

3. The method according to claim 1, wherein there are four interpolation functions and the parameters of the four interpolation functions are foaming agent concentration, water saturation, oil saturation and gas flow rate.

4. The method according to claim 2, wherein there are four interpolation functions and the parameters of the four interpolation functions are a foaming agent concentration, water saturation, oil saturation and gas flow rate.

5. The method according to claim 1, wherein the interpolation function F.sub.k of a parameter V.sub.k is written as: F k ( V k ) = M k opt - 1 M opt - 1 wherein M.sup.opt is the optimal mobility reduction factor and M.sub.k.sup.opt is an optimal mobility reduction factor for the parameter V.sub.k.

6. The method according to claim 2, wherein the interpolation function F.sub.k of a parameter V.sub.k is written as: F k ( V k ) = M k opt - 1 M opt - 1 wherein M.sup.opt is the optimal mobility reduction factor and M.sub.k.sup.opt is an optimal mobility reduction factor for the parameter V.sub.k.

7. The method according to claim 3, wherein the interpolation function F.sub.k of a parameter V.sub.k is written as: F k ( V k ) = M k opt - 1 M opt - 1 wherein M.sup.opt is the optimal mobility reduction factor and M.sub.k.sup.opt is an optimal mobility reduction factor for the parameter V.sub.k.

8. The method according to claim 4, wherein the interpolation function F.sub.k of a parameter V.sub.k is written as: F k ( V k ) = M k opt - 1 M opt - 1 wherein M.sup.opt is the optimal mobility reduction factor and M.sub.k.sup.opt is an optimal mobility reduction factor for the parameter V.sub.k.

9. The method according to claim 1, wherein the constants of at least one of the interpolation functions are calibrated by at least squares method, based on an iterative minimization of a function.

10. The method according to claim 2, wherein the constants of at least one of the interpolation functions are calibrated by at least squares method, based on an iterative minimization of a function.

11. The method according to claim 3, wherein the constants of at least one of the interpolation functions are calibrated by at least squares method, based on an iterative minimization of a function.

12. The method according to claim 4, wherein the constants of at least one of the interpolation functions are calibrated by at least squares method, based on an iterative minimization of a function.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 illustrates an example of the trend of a mobility reduction factor R as a function of the gas flow rate Q.

DETAILED DESCRIPTION OF THE INVENTION

(2) In general, the invention relates to a method for operating an underground formation comprising hydrocarbons, by injecting an aqueous solution comprising a gas in foam form, and in particular the determination of an optimal operating scheme for the underground formation being studied. In particular, the method according to the invention targets the determination of the parameters of a model of displacement of the gas in foam form. Hereinbelow, foam describes a phase dispersed in another phase by the addition of a foaming agent in one of the two phases. One of the phases can be water and the other phase is a gas, such as natural gas, nitrogen or CO.sub.2.

(3) The method according to the invention requires the availability of: a sample of the underground formation being studied, taken by in situ coring for example; a flow simulator relying on a model of displacement of the gas in foam form (see below); measurements of conventional relative permeabilities to the gas in non-foaming form and measurements of conventional relative permeabilities to the aqueous solution. These measurements can be measurements performed expressly for the requirements of the method according to the invention (knowledge of how to conduct such laboratory experiments is known), but they can also be analytical functions calibrated from known correlations.

(4) Thus, the method according to the invention requires the availability of a flow simulator comprising a model of displacement of the foam. According to the invention, the model of displacement of the foam relies on the hypothesis that the gas present in foam form has its mobility reduced by a given factor in set conditions of formation and of flow of the foam. The formulation of such a model, used by many flow simulators, modifies the relative permeabilities to the gas when the gas is present in foam form which, for a given gas saturation S.sub.g, is expressed according to a formula:
k.sub.rg.sup.FO(S.sub.g)=FMk.sub.rg(S.sub.g)(1)
in which k.sub.rg.sup.FO(S.sub.g) is the relative permeability to the gas in foam form, that is expressed as the product of a function FM by the relative permeability to the non-foaming gas k.sub.rg(S.sub.g) for the same gas saturation value S.sub.g (later denoted S.sub.g.sup.FO). One assumption underpinning the current foam models is that the relative permeability to water (or to liquid by extension) is assumed unchanged, whether the gas is present in continuous phase form or in foam form. Given this assumption, the gas mobility reduction function, hereinafter denoted FM, is expressed according to a formula:

(5) F M = 1 1 + ( M mod opt - 1 ) * .Math. k F k ( V k ) ( 2 )
in which:

(6) M.sub.mod.sup.opt is the optimal mobility reduction factor, that is the ratio of the relative permeabilities to the gas (k.sub.rg) and to the foam (k.sub.rg.sup.FO) in optimal conditions for reducing the mobility of the gas, that is the conditions in which the terms F.sub.k(V.sub.k) defined hereinbelow have the value 1:

(7) M mod opt = k rg ( S g , opt FO ) k rg FO ( S g , opt FO ) = 1 F M opt ( 3 ) the terms F.sub.k(V.sub.k) (with k equal to or greater than 1) are the values of the interpolation functions F.sub.k of the mobility reduction factor between the value M.sub.mod.sup.opt and 1, which each depend on a parameter V.sub.k relative to at least one characteristic of the foam, and which involve calibration constants which are calibrated as explained hereinbelow.

(8) In order to provide a model of displacement of the foam to the simulator that is representative of the reality, the method according to the invention determines, reliably from representative displacement measurements, the following modelling data: the optimal mobility reduction factor of the gas M.sub.mod.sup.opt as defined according to the equation (3); the calibration constants of each of the functions F.sub.k considered in the definition of the model of displacement of the foam according to the equations (1) and (2).

(9) According to one implementation of the invention, the parameter V.sub.k can notably be the foaming agent concentration C.sub.s.sup.w, the water saturation s.sub.w, the oil saturation s.sub.o, or even the gas flow rate u.sub.g.

(10) According to one implementation of the invention, the gas mobility reduction functional, denoted FM, comprises four interpolation functions F.sub.k(V.sub.k) and each of these functions comprises two constants to be calibrated from experimental data. According to an implementation of the invention in which the gas mobility reduction functional comprises four interpolation functions F.sub.k(V.sub.k), the following are defined: the interpolation function F.sub.1 relative to the parameter V.sub.1=C.sub.s.sup.w (foaming agent concentration C.sub.s.sup.w) by a formula:

(11) F 1 = ( Min ( C s w , C s w - ref ) C s w - ref ) e s ( 4 ) and for which the constants to be calibrated are the exponent e.sub.s, and the constant C.sub.s.sup.w-ref which corresponds to the foaming agent concentration in reference optimal conditions; the interpolation function F.sub.2 relative to the parameter V.sub.2=S.sub.w (water saturation), by a formula:

(12) F 2 = [ 0.5 + arctan [ f w ( S w - S w * ) ] ] ( 5 )
and for which the constants to be determined are the constant f.sub.w which governs the transition (according to the water saturation) between the foaming and non-foaming states and the constant S.sub.w* which represents the transition water saturation between stable and unstable foaming states; the interpolation function F.sub.3 relative to the parameter V.sub.3=s.sub.o (oil saturation) by a formula of the type:

(13) F 3 = ( Max [ 0 ; S o * - S o ] S o * ) e 0 ( 6 ) in which S.sub.o* is the oil saturation beyond which the foam loses all capability of reducing the mobility of the gas, and the exponent e.sub.o is a constant to be determined; the interpolation function F.sub.4 relative to the parameter V.sub.4=u.sub.g (gas flow rate) by a formula of the type:

(14) F 4 = ( N c * Max ( N c , N c * ) ) e c with N c = g u g vg ( C s w ) ( 7 ) in which N.sub.c* is the reference value of the capillary number N.sub.c calculated for the reference optimal flow rate. The variables involved in the calculation of N.sub.c are the velocity of the gas u.sub.g, the porosity of the formation being considered, the water-gas interfacial tension .sub.gw (which is dependent on the foaming agent concentration C.sub.s.sup.w), and the viscosity of the gas .sub.g. The exponent e.sub.c is also a constant to be calibrated.

(15) Generally, it can be shown that any interpolation function F.sub.k of the parameter V.sub.k can be written in the form:

(16) F k ( V k ) = 1 F M - 1 1 F M opt - 1 = M mod ( V k ) - 1 M mod opt - 1 ( 8 )
in which M.sub.mod(V.sub.k) is the reduction of mobility for a value V.sub.k of the parameter k affecting the foam (and for optimal values of the other parameters V.sub.j, j being different from k) and in which M.sub.mod.sup.opt=M.sub.mod(V.sub.k.sup.opt) is the reduction of mobility obtained for the optimal value V.sub.k.sup.opt of the parameter V.sub.k. The method according to the invention thus involves, for each parameter V.sub.k affecting the foam, in determining the factors M.sub.mod(V.sub.k) for various values of this parameter, and M.sub.mod.sup.opt, then determining, from these factors, the constants of the interpolation function F.sub.k being considered.

(17) According to an implementation of the invention in which the functional FM defined in the equation (2) involves the interpolation functions F.sub.1, F.sub.2, F.sub.3 and F.sub.4 defined in the equations (4) to (7), the determination of the model of displacement of the foam entails calibrating the 8 constants: C.sub.s.sup.w-ref, e.sub.s, f.sub.w, S.sub.w*, S.sub.o*, e.sub.o, N.sub.c.sup.ref, e.sub.c.

(18) According to the invention, the determination of the constants of the interpolation functions F.sub.k involved in the equation (2) is performed via a calibration, interpolation function by interpolation function (and not globally, for all the functions), from experimental measurements relative to each of the interpolation functions, performed in the optimal conditions established for the other interpolation functions.

(19) The method according to the invention comprises at least the following steps with step 1 being repeated for each of the interpolation functions of the model of displacement of the foam, and step 2 being optional: 1. Laboratory measurements relative to an interpolation function 1.1. Definition of values of the parameter relative to the interpolation function 1.2. Injections with/without foam and measurements of headlosses 1.3. Determination of an optimal parameter value 2. Laboratory measurements according to optimal conditions 3. Determination of the foam displacement model 3.1. Determination of the optimal mobility reduction factor 3.2. Calibration of the constants of the interpolation functions 4. Operation of the hydrocarbons of the formation

(20) The various steps of the method according to the invention are detailed hereinbelow.

(21) 1. Laboratory Measurements Relative to an Interpolation Function

(22) During this step, laboratory experiments are performed relative to a given interpolation function F.sub.k of the model of displacement of the foam defined according to the equations (1) and (2). According to one implementation of the invention, this step is repeated for each of the interpolation functions involved in the model of displacement of the foam defined according to the equations (1) and (2). It should be noted that the model of displacement of the foam can however comprise only a single interpolation function (case for which k=1). Optimal values are adopted for the other parameters affecting the foam in such a way that the other interpolation functions F.sub.j, different from k, have the value 1 or do not vary in these experiments relative to the interpolation function F.sub.k.

(23) During this step, applied to each interpolation function independently of one another, values of the parameter are defined relative to the interpolation function being considered, then an injection into the sample of the gas in non-foaming form and of the gas in foam form is performed according to the values of the parameter relative to the interpolation function considered, and a headloss with foam and a headloss without foam are measured respectively for each of the values of the parameter relative to this function. This step is detailed hereinbelow for a given interpolation function F.sub.k.

(24) 1.1. Definition of Parameter Values Relative to the Interpolation Function

(25) During this substep, the objective is to define values V.sub.k,i (with i lying between 1 and I, and I>1) of the characteristic parameter V.sub.k of the interpolation function F.sub.k being considered.

(26) According to one implementation of the invention, the range of values of this parameter and a sampling step for this range are defined.

(27) According to one implementation of the invention, the values of the parameter V.sub.k relative to the interpolation function F.sub.k being considered are defined from the possible or realistic values of the parameter being considered (for example, a mass concentration of foaming agent less than 1% in all cases) to sample in an ad hoc manner the curve representative of the interpolation function being considered (an interpolation function that has a linear behavior does not need a high number of measurements, unlike other types of function). Foam injection-assisted recovery uses available knowledge of how to define ad hoc values of the parameters of each of the interpolation functions F.sub.k.

(28) According to an implementation of the invention in which the interpolation function being considered relates to the fluid flow rate (parameter V.sub.4 of the function F.sub.4 of the equation (7)), an injection flow rate on coring of between 10 and 40 cm.sup.3/h is for example chosen, with a step of 10 cm.sup.3/h.

(29) 1.2. Injections with/without Foam and Headloss Measurements

(30) During this substep, at least two series of experiments are carried out on at least one sample of the underground formation for the interpolation function F.sub.k being considered: injection of gas in non-foaming form (more specifically, a co-injection of water and of gas in non-foaming form) into the sample being considered for each of the values V.sub.k,i of the parameter V.sub.k relative to the function F.sub.k being considered. The flow rates of gas and of water adopted for each of these co-injections are the same as the flow rates of gas and of water injected in foam form in the tests which follow these co-injections. For example, in the case of the interpolation function F.sub.4 of the equation (7), the flow rate only is made to vary in the sample being considered, the parameters of the other interpolation functions F.sub.1, F.sub.2, F.sub.3 (for example, with the foaming agent concentration, the quality of the foam and the oil saturation) being fixed. During each of the experiments of this first series, a headloss (that is to say a pressure difference) is measured, that is denoted P.sub.k,i.sup.NOFO, for each value V.sub.k,i; injection of foam: the same experiment is repeated, for the same values of the parameter being considered (for example the flow rate for the interpolation function F.sub.4 according to the equation (7)), but by this time injecting the water and the gas in foam form. During each of the experiments of this second series, a headloss (that is to say a pressure difference) is measured, that is denoted P.sub.k,i.sup.FO for each value V.sub.k,i;

(31) According to one implementation of the invention, the injections of gas in non-foaming form and in foam form are performed on samples of the formation initially saturated with a liquid phase (such as water and/or oil). The latter are able to be mobile or residual depending on the history of the coring and the measurement objectives (checking mobility of the gas in secondary or tertiary injection, after injection of water). The displacements which are studied are then draining processes in which the saturation of the gas phase increases in all cases.

(32) According to a variant implementation of the invention, it is possible to measure, in addition to the headlosses, the production of liquid phase (water and/or oil) and of gas, and, possibly, the gas saturation profiles during the transitional period of the displacement and in the steady state. These optional measurements make possible validating the model once the interpolation functions F.sub.k are calibrated.

(33) 1.3. Determination of an Optimal Parameter Value

(34) During this substep, the value V.sub.k.sup.opt is determined, that will hereinafter be called the optimal value, maximizing the ratio between the headlosses without foam P.sub.k,i.sup.NOFO and the headlosses with foam P.sub.k,i.sup.FO relative to the interpolation function F.sub.k being considered and measured during the preceding substep. Thus, if M.sub.lab.sup.k,i is used to denote the ratio of the headlosses measured in the presence and in the absence of foam for the value V.sub.k,i of the parameter V.sub.k, that is

(35) 0 M lab k , i = P k , t FO P k , i NOFO = k rg ( S g ( k , i ) NOFO ) k rg FO ( S g ( k , i ) FO ) ,
it is then possible to define the optimal value V.sub.k,opt as the value V.sub.k,i which maximizes M.sub.lab.sup.k,i whose value is then denoted as follows:

(36) M lab k , iopt = M lab kopt = Max i M lab k , i ( 9 )

(37) According to a preferred implementation of the invention, step 1 as described hereinabove is repeated for each of the parameters V.sub.k relative to each of the interpolation functions F.sub.k taken into consideration for the implementation of the method according to the invention. Thus, at the end of such a repetition, an optimal value V.sub.k.sup.opt is obtained for each parameter V.sub.k.

(38) Subsequently, optimal conditions is the term used to denote the set of the values V.sub.k.sup.opt determined on completion of the step 1. The latter, if necessary, is repeated for each of the interpolation functions taken into consideration for the implementation of the method according to the invention.

(39) 2. Laboratory Measurements According to Optimal Conditions

(40) During this step, two types of experiments are performed on at least one sample of the underground formation, by injecting gas in non-foaming form, and gas in foam form, similarly to the substep 1.2. But this time in the optimal conditions determined on completion of the substep 1.3, this substep is repeated if necessary for each of the interpolation functions taken into consideration for the definition of the model of displacement of the foam according to the equations (1) and (2). In other words, the following measures are carried out: injection of gas in non-foaming form (more specifically, a co-injection of water and of gas in non-foaming form) into the sample being considered, with this injection being performed in the optimal conditions (defined by the set of the optimal values V.sub.k.sup.opt determined for each parameter V.sub.k) that are determined on completion of the step 1. During this first experiment, a headloss (that is to say a pressure difference) is measured, that is then denoted P.sub.opt.sup.NOFO; injection of foam (an injection of gas and of water, with an addition of a foaming agent into one of the water or gas phases) into the sample being considered, with this injection being performed using optimal conditions (defined by the set of the optimal values V.sub.k.sup.opt determined for each parameter V.sub.k) which are determined on completion of the step 1. During this second experiment, a headloss (that is to say a pressure difference) is measured, that is then denoted P.sub.opt.sup.FO.

(41) Subsequently, M.sub.lab.sup.opt will be used to denote the optimal mobility reduction factor relative to the laboratory measurements, defined by a formula:

(42) M lab opt = P opt FO P opt NOFO = k rg ( S g , opt NOFO ) k rg FO ( S g , opt FO ) . ( 10 )

(43) This step is not necessary in practice if the precaution to perform the experiments of the step 1 relative to each of the parameters V.sub.k by adopting optimal values V.sub.j,jk.sup.opt of the other parameters V.sub.j affecting the foam has indeed been taken. This step nevertheless makes it possible to refine the value of M.sub.lab.sup.opt if the assumed optimal conditions of the parameters V.sub.j,jk were not perfectly satisfied.

(44) 3. Determination of the Foam Displacement Model

(45) 3.1. Determination of the Optimal Mobility Reduction Factor

(46) During this substep, the goal is, from the headloss measurements performed in the optimal conditions, from measurements of conventional relative permeabilities to the gas in non-foaming form and from measurements of conventional relative permeabilities to the aqueous phase, to determine an optimal mobility reduction factor, that is the factor of reduction of the relative permeabilities to the gas when, present at a given saturation within the porous medium, it circulates in foam form or in continuous phase form (in the presence of water).

(47) According to one implementation of the invention, the optimal mobility reduction factor is determined according to at least the following steps: from the conventional relative permeabilities to the gas k.sub.rg and to the aqueous phase k.sub.rw, the gas saturation is calculated in steady state conditions of flow of non-foaming gas and water s.sub.g.sup.NOFO according to a formula:

(48) S g NOFO = ( k rg k rw ) - 1 ( f g 1 - f g g w ) ( 11 ) in which f.sub.g is the fractional gas flow rate (ratio of the gas flow rate to the total flow rate), .sub.g and .sub.w are, respectively, the viscosity of the gas and of the water; from the ratio of headlosses measured in the optimal conditions as defined on completion of the step 1 (step 1 may be repeated if necessary for each of the interpolation functions F.sub.k being considered), from the gas saturation in steady state conditions of flow of non-foaming gas and water S.sub.g.sup.NOFO, and the gas saturation in the presence of foam S.sub.g.sup.FO is calculated according to a formula of the type:

(49) S g , opt FO = 1 - ( k rw ) - 1 { k rw ( S w NOFO = 1 - S g NOFO ) M lab opt } ( 12 ) This relationship follows from the known assumption that the functions of relative permeability to water flowing in the form of foam films or in conventional continuous form do not vary. from the gas saturation in steady state conditions of flow of non-foaming gas and water S.sub.g.sup.NOFO, from the gas saturation in the presence of foam S.sub.g,opt.sup.FO in the optimal conditions, from the factor M.sub.lab.sup.opt determined in the optimal conditions (see step 2), the mobility reduction factor M.sub.mod.sup.opt is determined according to a formula:

(50) M mod opt = M lab opt k rg ( S g , opt FO ) k rg ( S g , opt NOFO ) ( 13 )

(51) 3.2. Calibration of the Constants of the Interpolation Functions

(52) During this substep, the constants of each of the interpolation functions F.sub.k being considered are calibrated, from the optimal mobility reduction factor M.sub.mod.sup.opt, from the headloss measurements relative to the interpolation function considered, from the measurements of conventional relative permeabilities to the gas in non-foaming form and from the measurements of conventional relative permeabilities to the aqueous phase.

(53) According to one implementation of the invention, the procedure described in the substep 3.1 is applied beforehand to the ratios of the headlosses M.sub.lab.sup.k,i measured in the presence and in the absence of foam for the different values V.sub.k,i of the parameter V.sub.k. Thus, the mobility reduction factors M.sub.mod.sup.k,i relative to the values V.sub.k,i of the parameter V.sub.k are determined according to a formula:

(54) M mod k , i = M lab k , i k rg ( S g , ( k , i ) FO ) k rg ( S g ( k , i ) NOFO ) , ( 14 )
in which the gas saturation in the presence of foam S.sub.g(k,i).sup.FO for the values V.sub.k,i of the parameter V.sub.k is obtained according to a formula:

(55) S g ( k , i ) FO = 1 - ( k rw ) - 1 { k rw ( S w ( k , i ) NOFO = 1 - S g , ( k , i ) NOFO ) M lab k , i } ( 15 )
Advantageously, this operation is repeated for each of the interpolation functions F.sub.k. Then, the constants of each of the interpolation functions F.sub.k being considered are calibrated, from the optimal mobility reduction factor M.sub.mod.sup.opt and from the values of the mobility reduction factors M.sub.mod.sup.k,i relative to each interpolation function determined as described above. In the case of the function F.sub.4 for example, a value of the exponent e.sub.c is determined which most closely adjusts the values of M.sub.mod.sup.4,i corresponding to the values V.sub.4,i of the parameter studied (flow rate in this example), which is formulated as follows:

(56) F 4 ( V 4 , i ) = ( N c * Max ( N c , i , N c * ) ) e c = M mod 4 , i - 1 M mod opt - 1

(57) According to one implementation of the invention, this calibration, interpolation function by interpolation function, can be performed by a least squares method, such as for example an inverse method based on the iterative minimization of a functional. These methods are known. Advantageously, the implementation of a least squares method and in particular the iterative minimization of a functional, is performed by use of a computer.

(58) According to another implementation of the invention, such a calibration is graphically carried out, interpolation function by interpolation function. Knowledge of such methods for calibrating constants of a function from a series of values of the function is known.

(59) Thus, on completion of this step, there is a model of displacement of the foam that is calibrated and suitable for use by an ad hoc flow simulator.

(60) 4. Operation of the Hydrocarbons

(61) During this step, the at least an optimal scheme for operating the fluid contained in the formation is defined by, an operating scheme that allows for an optimal operation of a fluid considered according to technical and economic criteria predefined by those working in the field. It can be a scenario offering a high rate of recovery of the fluid, over a long period of operation, and requiring a limited number of wells. Then, according to the invention, the fluid of the formation being studied is operated according to this optimal operation scheme.

(62) According to the invention, the determination of the operational scheme is performed using a flow simulation that makes use of the foam displacement model established during the preceding steps. One example of flow simulator that makes it possible to take account of a foam displacement model is the PumaFlow software (IFP Energies nouvelles, France).

(63) According to the invention, at any instant t of the simulation, the flow simulator solves all the flow equations specific to each mesh and delivers solution values of the unknowns (saturations, pressures, concentrations, temperature, etc.) predicted at that instant t. The knowledge of the quantities of oil produced and of the state of the deposit (distribution of the pressures, saturations, etc.) at the instant being considered results from this resolution. According to one implementation of the invention, different schemes for operating the fluid of the formation being studied are defined. The flow simulator incorporating the foam displacement model determined on completion of the step 3 is used to estimate the quantity of hydrocarbons produced according to each of the different operating schemes.

(64) An operating scheme relative to a foam injection-assisted recovery can notably be defined by at least one of a type of gas injected into the formation being studied, the type of foaming agent added to this gas, and by the quantity of foaming agent, etc. An operating scheme is also defined by a number, a geometry and a layout (position and spacing) of the injecting and producing wells in order to best account for the impact of the fractures on the progression of the fluids in the reservoir. In order to define an optimal operating scheme, various tests of different production scenarios can be performed using a flow simulator. The operating scheme that offers the best fluid recovery rate for the lowest cost will for example be preferred. By selecting various scenarios, characterized for example by various respective layouts of the injecting and producing wells, and by simulating the fluid production for each of them, it is possible to select the scenario that makes it possible to optimize the production of the formation considered according to the technical and economic criteria predefined by the expert. The operating scheme offering the best fluid recovery rate for the lowest cost will for example be considered as the optimal operating scheme.

(65) Then the formation is operated according to the scenario that makes it possible to optimize the production from the deposit, notably by drilling injecting and producing wells defined by the optimal operating scheme, and to produce the fluid according to the recovery method defined by the optimal operating scheme.

Production Example

(66) The features and advantages of the method according to the invention will become more clearly apparent on reading about the following exemplary application.

(67) More specifically, the present invention has been applied to an underground formation in which the reservoir rock is sandstone, of the Berea sandstone type. An assisted recovery of the hydrocarbons contained in the reservoir based on an injection of foaming CO2 is tried.

(68) For this example, a functional FM of the foam displacement model is used according to the equation (2) defined by the four interpolation functions according to the equations (4) to (7). As prescribed in the method according to the invention, the calibration of the constants of the interpolation functions is carried out interpolation function by interpolation function. Only the calibration of the interpolation function F.sub.4 (see equation (7)) is detailed hereinbelow, but the same principle can be applied to the other interpolation functions.

(69) According to the step 1.2 described above, a series of co-injections of gas and of water and of injections of foam were carried out in the laboratory, on a sample of the reservoir rock originating from the formation being studied. The characteristics of this sample and the measurement conditions are presented in Table 1. A non-dense gaseous mixture having 62% CO2 and 38% methane at a temperature of 100 C. and a pressure of 100 bar was injected. These displacements were performed with fixed fractional gas flow rate (equal to 0.8) and for different successive total flow rates (10, 20, 30 and 40 cm.sup.3/h). The oil is absent for this series of tests and the headlosses in steady state conditions of flow of water and of gas on the one hand, of foam on the other hand, were measured in the same conditions.

(70) The conventional known relative permeabilities required to resolve the equations (11) and (12) are analytical functions defined as power functions (called Corey functions) with exponents equal to approximately 2.5 for the gas and 3.9 for the water with an irreducible drainage water saturation equal to 0.15, and limit points equal to 0.2 for the gas and 1 for the water, i.e.:

(71) k rg ( S g NOFO ) = 0.2 ( S g NOFO 0.85 ) 2.5 k rw ( S w NOFO ) = ( S w NOFO - 0.15 0.85 ) 3.9
These curves of relative permeabilities were estimated beforehand from literature data and checked afterwards by comparison of the headloss values calculated and measured during the co-injections of gas and of water. In this way the model of relative permeability to the foam does indeed return the gas mobility reductions that is the ratios of relative permeability in the absence and in the presence of foam, but without necessarily the well reproducing the real diphasic behavior (transient states in particular).

(72) Table 1 presents the headlosses (pressure gradient) with and without foam for four values of the parameter V.sub.4=u.sub.g of the equation (7). From these values, the value of

(73) 0 M lab kopt = Max i M lab k , i
is deduced therefrom. This value (M.sub.lab.sup.4opt in this example), equal to 83, was obtained for a flow rate V.sub.4.sup.opt equal to 20 cm.sup.3/h (see substep 1.3). These laboratory experiments were repeated for the other parameters of the other interpolation functions F.sub.1, F.sub.2, and F.sub.3. The optimal conditions are then determined for all of the interpolation functions.

(74) According to step 2, measurements are performed with and without foam for the duly determined optimal conditions. The optimal mobility reduction factor M.sub.mod.sup.opt is then determined, in accordance with the step 3.1 and values of the mobility reduction factors M.sub.mod.sup.k,i are determined relative to the sampled values V.sub.k,i of the parameter V.sub.k, in accordance with the step 3.2. The calibration of each of the interpolation functions is then carried out. In particular with the constant e.sub.c of the function F.sub.4 being calibrated and a value close to 0.6 being determined.

(75) FIG. 1 shows by a solid line the trend of the mobility reduction factor R as a function of the parameter V.sub.4 of the function F.sub.4 (flow rate Q) deduced from the method according to the invention. The comparison with the mobility reduction factor deriving from the flow simulation (dotted line curve) shows a good consistency with the foam displacement model of according to the invention.

(76) Thus, the method according to the invention provides a reliable determination of the foam displacement model from experimental data produced and processed according to a sequential and systematic approach, parameter by parameter without the overall adjustment of a set of measurements varying one or more parameters simultaneously. Moreover, given the parametric complexity of the behavior of the foams, the experiments according to the method according to the invention are carried out in conditions as close as possible to the reservoir conditions.

(77) TABLE-US-00001 TABLE 1 Berea sandstone Total flow rate [cm3/h] 10 20 30 40 P = 100 bar P.sub.k,i.sup.FO 5.2 10.3 11.9 13.6 T = 100 C. P.sub.k,i.sup.NOFO 0.07 0.124 0.18 0.235 L = 15 cm A = 12.56 cm2 = 0.19 Kw = 120 mD w = 0.28 cp g = 0.02 cp g = 0.125 g/cm3 M lab k , i = P k , i NOFO P k , i FO 74 83 66 58