Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
A METHOD AND DEVICE FOR OPTIMIZING A MODELLING OF FLOWS WITHIN A RESERVOIR FOR OPTIMIZATION OF OIL/GAS PRODUCTION
Document Type and Number:
WIPO Patent Application WO/2017/212056
Kind Code:
A1
Abstract:
The present invention relates to a method for optimizing a modeling of flows within a reservoir for optimization of oil/gas production, the method comprising: /a/ receiving (302) a first time step; /b/ receiving (301) flow condition for at least one well connected to the reservoir; /c/ selecting data (204, 208) in the control data that is applicable to the first time step; /d/ determining (309, 319, 329) at least one quality value based on the selected data; /e/ if a quality criterion is not met (310, 330) based on the quality value, determining a second time step within the first time step and reiterating step /c/ to /e/ with the second time step as the first time step; /f/ if the quality criterion is met (310, 330) based on the quality value, performing a modeling (104) of flows within the reservoir based on said first time step.

Inventors:
BERGEY PIERRE (FR)
EBERLE NICOLAS (FR)
Application Number:
PCT/EP2017/064195
Publication Date:
December 14, 2017
Filing Date:
June 09, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
TOTAL SA (FR)
International Classes:
G01V99/00; E21B49/00
Domestic Patent References:
WO2008036982A12008-03-27
Foreign References:
US20120179436A12012-07-12
Attorney, Agent or Firm:
CABINET PLASSERAUD et al. (FR)
Download PDF:
Claims:
CLAIMS

1 . A method for optimizing a modeling of flows within a reservoir for optimization of oil/gas production, said modeling comprising a determination (103) of a time step within a simulation period, the method comprising: /a/ receiving (302) a first time step;

/b/ receiving (301 ) control data (201 , 206) applicable to said simulation period and comprising flow condition for at least one well connected to the reservoir;

Id selecting data (204, 208) corresponding to the control data (201 , 206) and that is applicable to the first time step; 161 determining (309, 319, 329) at least one quality value based on the selected data; lei if a quality criterion is not met (310, 330) based on the quality value, determining a second time step within the first time step and reiterating step Id to lei with the second time step as the first time step; /f/ if the quality criterion is met (310, 330) based on the quality value, performing a modeling (104) of flows within the reservoir based on said first time step.

2. The method according to claim 1 , wherein the determination of the quality value comprises a determination of a root mean square error (309) of the selected data.

3. The method according to claim 1 or 2, wherein the determination of the quality value comprises a determination of a mean absolute error (309) of the selected data.

4. The method according to one of the preceding claims, wherein the determination of the quality value comprises a determination of a mean frequency (21 0) of a frequency transform (209) of the selected data.

5. The method according to one of the preceding claims, wherein the quality criterion is not met if the quality value is greater than a predetermined value.

6. The method according to one of the preceding claims, wherein the method further comprises:

/b2/ receiving pressure and temperature values (305) for a bottom hole of said at least one well connected to the reservoir; /b3/ converting (307) the selected data based on said received pressure and temperature values (305); wherein the converted data is used for the determination of step 161.

7. The method according to one of the preceding claims, wherein the determination of the quality value comprises a binarization (318) of at least the selected data.

8. The method according to one of the preceding claims, wherein the simulation period is determined to exclude (351 ) periods of time in which the at least one well ceases to have non-null flow condition or ceases to have a null flow condition.

9. The method according to one of claims 1 -7, wherein the simulation period is split (351 ) into a plurality of simulation periods to exclude periods of time in which the at least one well ceases to have non-null flow condition or ceases to have a null flow condition.

10. The method according to one of the preceding claims, wherein the determination of the quality value comprises a determination of a respective quality sub-value for each of the wells, the quality value being determined based on a weighted sum of the respective quality sub-values.

1 1 . The method according to claim 10, wherein respective weights of the weighted sum are functions of a flow of each well during the first time step or the simulation period.

12. A non-transitory computer readable storage medium, having stored thereon a computer program comprising program instructions, the computer program being loadable into a data-processing unit and adapted to cause the data-processing unit to carry out the steps of any of claims 1 to 1 1 when the computer program is run by the data-processing device.

13. A device for optimizing a modeling of flows within a reservoir for optimization of oil/gas production, said modeling comprising a determination of a time step within a simulation period, the device comprising:

/a/ an interface (403) for receiving a first time step;

/b/ an interface (403) for receiving control data applicable to said simulation period and comprising flow condition for at least one well connected to the reservoir;

Id a first circuit (404) for executing an action of selecting data corresponding to the control data and that is applicable to the first time step;

161 a second circuit (404) for executing an action of determining at least one quality value based on the selected data; lei a third circuit (404) for, if a quality criterion is not met based on the quality value, executing an action of determining a second time step within the first time step and for controlling the first circuit, the second circuit, the third circuit to execute their actions with the second time step as the first time step.

/f/ a fourth circuit (404) for, if the quality criterion is met based on the quality value, performing a modeling of flows within the reservoir based on said first time step.

Description:
A METHOD AND DEVICE FOR OPTIMIZING A MODELLING OF FLOWS WITHIN A RESERVOIR FOR OPTIMIZATION OF OIL/GAS PRODUCTION

BACKGROUND OF THE INVENTION The present invention relates to simulation optimization especially for modeling a multiphase flow within an oil/gas reservoir (porous medium) and from wells positioned within such reservoir.

The approaches described in this section could be pursued, but are not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated herein, the approaches described in this section are not prior art to the claims in this application and are not admitted to be prior art by inclusion in this section. Furthermore, all embodiments are not necessarily intended to solve all or even any of the problems brought forward in this section.

The flow modeling algorithms are often used to predict fluid flows at wells and within a reservoir and / or to improve knowledge of model input through an inversion process.

The input of a reservoir flow simulator consists in:

- A "static" reservoir model (M or element 101 of Figure 1 ). Such reservoir model is typically comprised of a cellular grid, associated cell properties and model scale properties.

- One or two time-dependent simulation controls corresponding respectively to the history and forecast periods. Time dependent controls are provided relative to time intervals between control dates. Such time intervals are often labeled as "control steps" {Q t l P or element 102 of Figure 1 , where i being the number of the control (or well number), t being the time, p being the phase number of the fluid (e.g. the oil, the water, the gas, etc.)) : a set of control steps be named as "control data". The basic output of a reservoir flow simulator consists in a series of time- dependent reservoir and well(s) flow states (element 106 of Figure 1 ).

In order to be able to provide such output, the simulator often has a stepping module (element 103 of Figure 1 ) and a core simulation module (element 104 of Figure 1 ).

The time stepping module is designed to determine the accurate "time steps" for an iterative simulation performed by the core simulation module.

A time step is limited by two simulations dates. Time steps are distinct from control steps. For each "time step" within a period to be simulated, the core simulation module provides a flow modeling of the reservoir that may satisfy well and reservoir controls (such as the flow at wells, pressure, temperature, etc.) or at least a mean of such well and reservoir controls during the considered time step: the flow modeling being a forecast/reconstruction of well and flow states applicable to the considered time step. When the core simulation module has provided the flow modeling for one given step (test 105 of Figure 1 ), the process is reiterated (i.e. redetermination of the next time step and core simulation of said new step) until the end of the period to be simulated.

The determination of the accurate time step is a key component of the global simulation. Most of the time, the time steps are determined based on time-dependent heuristic, e.g. :

- the time steps are determined to fulfil a maximum duration criterion, such as "the simulation should last no more than 48 hours". If the maximum duration criterion is not fulfilled (e.g. the simulation is expected to last more than 48 hours), the time steps are increased so that the number of steps is limited.

- the time steps are also determined to fulfil a minimum duration criterion, such as "the simulation should last at least 24 hours". If the minimum duration criterion is not fulfilled (e.g. the simulation is expected to last 12 hours), the time steps are decreased so that the number of steps is increased. Nevertheless, these methods of time stepping are only driven by duration/time consideration.

Another time stepping method may be an a priori setting by the user: for instance, the user may indicate to the simulation algorithm that N steps should be performed (with N, an integer).

This latter method is only driven by a subjective approach. Therefore, the simulation process can certainly be very poor if the user set the number of steps incorrectly.

Another method (i.e. "flexible stepping logic") determines the time step of a given period based on a convergence function of the simulation for the previous determined time step: therefore, if the simulation for the previous determined time step was very complex (i.e. the time for convergence of the simulation was quite long), the new time step may be determined according to the previous determined time step. Therefore, due to convergence issue, this time stepping method may choose quite a long time step, regardless the accuracy/quality of the simulation.

There is thus a need to provide a time stepping to take into account a quality criterion for the simulation. Indeed, improving the simulation (e.g. the simulated pressure frequency content) is of particular importance for inverting the static model based upon a comparison between simulated and observed flows in well or reservoir observations (history matching) and for representing transient effects in well and flow lines.

SUMMARY OF THE INVENTION

The invention relates to a method for optimizing a modeling of flows within a reservoir for optimization of oil/gas production, said modeling comprising a determination of a time step within a simulation period, the method comprising:

/a/ receiving a first time step;

/b/ receiving control data applicable to said simulation period and comprising flow condition for at least one well connected to the reservoir; Id selecting data corresponding to the control data and that is applicable to the first time step;

161 determining at least one quality value based on the selected data; lei if a quality criterion is not met based on the quality value, determining a second time step within the first time step and reiterating step Id to lei with the second time step as the first time step;

/f/ if the quality criterion is met based on the quality value, performing a modeling of flows within the reservoir based on said first time step.

A flow condition is a time-dependent set of data indicating the flow of the well during a period of time: the flow condition may comprise flows (per phase and or global flows), pressure, and/or temperature and may be specific for a well/part of a well.

The control data may be derived from real historical data of the well (e.g. the real flow of the well during a former period). The first time step may be determined by another method or predetermined by a user.

The at least one quality value is then function of the control data and is not exclusively function of the simulation complexity.

The second time step within the first time step has time boundaries inside the boundaries of the first time step. Most of the time, at least one boundary of the second time step is identical to a boundary of the first time step while the other boundary of the second time step is strictly lower than the other boundary of the first time step.

Thanks to said method, it is possible to enhance the simulation and limit the size of the time step even if convergence of the simulation is very quick. As the simulation could converge to the mean of the control data for said first time step, it is important to assess the quality of the data to be sure that the core simulation is about to converge to a value with high quality (i.e. close to the real control data). As the simulation of flows is more accurate and takes into account the quality of the control data, it is possible to adapt/optimize the oil/gas production of well(s) connected to the reservoir. Knowing in a accurate manner the flow into the reservoir, it is also possible to determine the best possible position of new well(s) to be drilled. Therefore the oil and gas production of real oil/gas reservoir/field may be optimized.

In one possible embodiment, the determination of the quality value may comprise a determination of a root mean square error of the selected data.

Therefore, such method enables the determination of a highly variable set of control data that is not adequate for a core simulation.

In addition, the determination of the quality value may comprise a determination of a mean absolute error of the selected data.

Furthermore, the determination of the quality value may comprise a determination of a mean frequency of a frequency transform of the selected data.

This method provides a proper and efficient way to assess the variability of the control data during the first time step. In addition, said method may be physically implemented thanks to dedicated hardware.

For instance, the quality criterion may be not met if the quality value is greater than a predetermined value.

The method may further comprise: /b2/ receiving pressure and temperature values for a bottom hole of said at least one well connected to the reservoir;

/b3/ converting the selected data based on said received pressure and temperature values.

The converted data may be used for the determination of step 161.

By converting the control data or the selected data to the bottom hole of the well, the control data may be more relevant for the core simulation, as the core simulation manipulates data directly in the reservoir conditions, close to the bottom hole conditions of the well : as the error/quality may be expressed in the bottom hole condition, the accuracy may be better represented in the bottom hole conditions close to the reservoir conditions.

In a possible embodiment, the determination of the quality value may comprise a binarization of at least the selected data.

The binarization eases the automatic identification of the closure / opening of the well and therefore eases the positioning of the boundaries of the time step close to said closure / opening. By doing so, the error of the core simulation for said transitional period (i.e. closure / opening) may be significantly reduced.

Advantageously, the simulation period may be determined to exclude periods of time in which the at least one well ceases to have non-null flow condition or ceases to have a null flow condition.

In one example, the simulation period may be split into a plurality of simulation periods to exclude periods of time in which the at least one well ceases to have non- null flow condition or ceases to have a null flow condition.

These periods of time (i.e. periods of time in which the at least one well ceases to have non-null flow condition or ceases to have a null flow condition) may be identified as closure / opening of the well and/or as transitional period for the production of the well. The determination of the quality value may comprise a determination of a respective quality sub-value for each of the wells, the quality value being determined based on a weighted sum of the respective quality sub-values.

Hence, respective weights of the weighted sum may be a function of a flow of each well during the first time step or the simulation period.

A second aspect of the invention relates to a device for optimizing a modeling of flows within a reservoir for optimization of oil/gas production, said modeling comprising a determination of a time step within a simulation period, the device comprising:

/a/ an interface for receiving a first time step;

/b/ an interface for receiving control data applicable to said simulation period and comprising flow condition for at least one well connected to the reservoir; Id a first circuit for executing an action of selecting data corresponding to the control data and that is applicable to the first time step;

161 a second circuit for executing an action of determining at least one quality value based on the selected data; lei a third circuit for, if a quality criterion is not met based on the quality value, executing an action of determining a second time step within the first time step and for controlling the first circuit, the second circuit, the third circuit to execute their actions with the second time step as the first time step.

/f/ a fourth circuit for, if the quality criterion is met based on the quality value, performing a modeling of flows within the reservoir based on said first time step.

A third aspect relates to a computer program product comprising a computer- readable medium, having thereon a computer program comprising program instructions. The computer program is loadable into a data-processing unit and adapted to cause the data-processing unit to carry out the method described above when the computer program is run by the data-processing unit. Other features and advantages of the method and apparatus disclosed herein will become apparent from the following description of non-limiting embodiments, with reference to the appended drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention is illustrated by way of example, and not by way of limitations, in the figures of the accompanying drawings, in which like reference numerals refer to similar elements and in which:

- Figure 1 is an overview of a global simulation process that can be enabled by the invention.

Figure 2a is a graph illustrating a first method of determination of a time step based on one possible embodiment of the invention;

Figure 2b is a graph illustrating a second method of determination of a time step based on one possible embodiment of the invention;

Figure 2c is a graph illustrating a third method of determination of a time step based on one possible embodiment of the invention;

Figure 2d is a graph illustrating a fourth method of determination of a time step based on one possible embodiment of the invention;

Figure 3a is a flow chart describing a possible embodiment of the first method of the present invention;

Figure 3b is a flow chart describing a possible embodiment of the second method of the present invention;

Figure 3c is a flow chart describing a possible embodiment of the third method of the present invention; - Figure 3d is a flow chart describing a possible embodiment of the fourth method of the present invention;

- Figure 3e is an example of weighting quality values for a plurality of wells;

- Figure 4 is a possible embodiment for a device that enables the present invention.

DESCRIPTION OF PREFERRED EMBODIMENTS

Figure 1 is an overview of a global simulation process that can be enabled by the invention.

As described above, the simulation process comprises two main modules that iterate on a plurality of consecutive periods of time (i.e. time steps). The time step module 103 is in charge of determining the accurate time step that will be an input of the core module 104.

According to the description below, it is advantageous to enhance the time step module for increasing the accuracy of the time step module and to take into account a quality of the received control data \ Q l . p ) for the determination by the core i.P.t

simulation module.

Figure 2a is a graph illustrating a first method of determination of a time step based on one possible embodiment of the invention. In this method, it is possible to receive the control data \ Q l . p ) (step 301 of i.P.t

Figure 3a). This control data (for instance, the flow for a well p and for a phase i, given for a plurality of time t) may be represented as a time graph 201 (only one graph is represented in Figure 2a, for a given p and i).

In addition, it is possible to receive a provisional time step L * n (step 302 of Figure 3a) and a set of time t n , to and t en d (step 303 of Figure 3a).

The provisional time step L * n can be set by the user for each iteration of step 103- 104-105 as described above or can be set by an additional determination module such as implementing one of the time stepping method (step 304 of Figure Figure 3a) described above such as the "flexible stepping logid' or such as another method described in the present application. The present method corrects the provisional time step L * n to provide an accurate time step L n .

The time t n defines the start of the simulation time step.

The time t 0 defines the start of the simulation period (that includes the time steps).

The time t en d defines the end of the simulation period (that includes the time steps). In one embodiment, it is also possible to optionally receive pressure information Ρ,,η at the bottom hole of well i and temperature information T i n (step 305 of Figure 3a). This information may be set by the user (e.g. predetermined temperature and pressure) or may be derived from the previous iteration if any (step 306 of Figure 3a).

As the control data Q t l p are often provided at the surface of the well i, it may be advantageous to convert said control data to the bottom hole with standard techniques using the pressure and temperature at the bottom hole of the given well i (step 307 of Figure 3a). If such conversion occurs, the "control data" should be understood in the following (unless otherwise mentioned) as the "converted control data" and the same notation Q i p is used for both. By converting the control data to the bottom hole, it is possible to have more accurate data to control the simulation of the core module / time stepping module: therefore the accuracy of the time steps could be better.

For the given provisional time step L * n , it is first possible to determine if said provisional time step L * n ends before the finale time J, for instance by computing:

Ln = m i n (^n + tn! tend) ~ ^n Then, for each well i and phase p, it is possible to determine the mean of the control data Q i p that is applicable to the provisional time step L * n (step 308 of Figure 3a). It should be understood that "the control data Q i p that is applicable to the provisional time step L * n " means the data of the control data Q i p that have a time t that corresponds to the provisional time step L * n (i.e. t being within the time limit of L * n ). For instance, if the time step L x in Figure 2a have two time limits ti and t 2 , it is possible to select the data of the control data Q i p (element 201 of Figure 2a) that is applicable to L-i by selecting the data 204 which are in the interval defined by the dashed lines 202 and 203 starting from ti and t 2 . Once the data 204 selected, a mean

Q i p 205 may be easily determined.

Once the mean determined, it is possible to determine a quality value (step 309 of Figure 2a) of the control data Q i p compared to said mean. For instance, it is possible to compute as a quality value:

- a root mean square error of the control data Q i p (i.e , with k the index of the control data within the time step L * n )

Q l p -Q l p

- a mean absolute error of the control data Q i p (i.e. , with k the index of the control data within the time step L * n )

- the surface between the control data curve 204 and the mean 205 divided by the length of the time step L * n .

The quality value is based on the control data itself and is not exclusively derived from time / duration consideration (of the simulation).

Therefore the quality value is intrinsically linked to the control data.

In the previous examples:

- if the quality value is high, it means that the control data is not close to its mean, i.e. the control data varies a lot in the time step L * n ;

- if the quality value is low (i.e. close to zero), it means that the control data is close to its mean, i.e. the control data does not vary a lot in the time step L * n .

Here, the computed quality value is decreasing with the quality of the data. The best the data is, the lower the quality value is.

As a consequence, the determination heuristic may be: - if the quality value is greater than a predetermined value (step 31 0 of Figure

3a, output OK), the provisional time step L * n is shorten and the process described in step 308 and 309 of Figure 3a is reiterated.

- if the quality value is lower than the predetermined value (step 310 of Figure 3a, output KO), the provisional time step L * n is taken as the time step L n (step 31 1 of Figure 3a) for the simulation by the core module (step 31 2 of Figure

3a). In addition, the last computed mean of step 308 may be input to the core module as the simulation may try to satisfy said mean as control data for the time step L n .

It is also possible that a computed quality value is increasing with the quality of the data (for instance, by computing the inverse of the previous quality data). Therefore, determination heuristics may be adapted by replacing "greater" by "lower" and vis-et- versa.

The same process may be reiterated with the time steps L 0 , L 2 , L 3 , L 4 , L 5 , L 6 . As the start of the time steps may be a function of the previous time steps, it may be advantageous to iterate the process according to the time order of the time step.

It is noted that the quality value may be a dimensionless number, a number or a percentage or any other metrics.

Figure 2b is a graph illustrating a second method of determination of a time step based on one possible embodiment of the invention.

In Figure 2b, the process used is very close to the process that is used for Figure 2a: therefore, the flowchart of Figure 3b is identical to the flowchart of Figure 3a (and its associated description applies) as long as the numerical references are identical. In this example, the production of the well i may be stopped between time ** and to*, i.e. the flow condition of the well i is equal to 0 for a period of time [t en d*- 1 0 *] : the well i ceases to have non-null flow condition at time t en d* and ceases to have a null flow condition at time t 0 * (see curve 206). When such situation may occur, it may be advantageous to binarize (step 31 8 of

Figure 3a) the control data Q t l P (curve 206) (i.e. to transform part of the curve into 0-1 signal - or at least into a signal having two possible values) into a new signal 207: a first value (e.g. 0) if the condition data is null / the well is closed - a second value (e.g. 1 ) if the condition data is non-null / the well is in operation. Once this binarization performed, it is possible to determine (step 31 9 of Figure 3a) the quality value of the binarized signal 207 the same way the quality value has been determined for curve 201 in Figure 2a (i.e. by executing step 308 and 309 on the binarized signal).

For most of the time steps, the binarized signal is constant during the considered time step and therefore no modification of the provisional time step L * n is requested. For time steps overlapping (at least) one change in the binarized signal (i.e. L-i overlaps t en d*, and L 2 overlaps t 0 * in the example of Figure 2b), the process described in Figure 3b leads to modify the boundaries of said time steps to a position in time very close to these changes (e.g. t 2 is close to t en d*, t 3 is close to t 0 *). If the predetermined value is 0, the boundaries of said time steps are the positions in time of these changes.

As a consequence, it is possible to automatically create time steps closely aligned with the changes in production of the wells: the transitional period can be accurately simulated by the core module based on this time stepping method.

Figure 2c is a graph illustrating a third method of determination of a time step based on one possible embodiment of the invention.

In Figure 2c, the process used is very close to the process that is used for Figure 2a: therefore, the flowchart of Figure 3c is identical to the flowchart of Figure 3a (and its associated description applies) as long as the numerical references are identical.

In this example, a frequency based method is presented to adapt the length of the provisional time step L * n .

In particular, the step 308 is replaced by step 328, step 309 is replaced by step 329 and test 310 is replaced by step 330.

In step 328, the data 208 of the data of the control data Q t l P that is applicable to the provisional time step L * n (in the present case of Figure 2c, L 2 ) is selected and a time frequency transform is computed on said selected data. The transform may be illustrated in element 209 of Figure 2c. Once said transform computed, it is possible to compute the average frequency 21 0 in this transform (step 329 of Figure 3c).

This average frequency 21 0 may act as the quality value described above.

As a consequence, the determination heuristic may be:

- if the average frequency 21 0 is greater than a predetermined value (step 330 of Figure 3c, output OK), the provisional time step L * n is shorten and the process described in steps 328 and 329 of Figure 3c are reiterated.

- if the average frequency 21 0 is lower than the predetermined value (step 330 of Figure 3c, output KO), the provisional time step L * n is taken as the time step L n (step 31 1 of Figure 3c) for the simulation by the core module (step 312 of Figure 3a). In addition, a mean of the control data applicable to time step L n may be computed to be to the core module.

Figure 2d is a graph illustrating a fourth method of determination of a time step based on one possible embodiment of the invention. In this example, the production of the well i may be stopped between time t en d* and to*, i.e. the flow condition 21 6 of the well i is equal to 0 for a period of time [t en d*- to*]: tend* and to* may be defined as "operational transitions". When such situation may occur, it may be advantageous to divide (step 351 in Figure 3d) the simulation period t 0 -t en d into sub-periods that do not have any "operational transition" in any well i. For instance, for the well i, the simulation period may be split into three sub-periods 217, 218, 219. If more than one well exists for the considered reservoir connected to the wells, the sub-periods should be adapted to satisfy said condition (no "operational transition") for every well.

The above described process(es) may then be run for every determined sub- period as the simulation period (step 352).

Figures 3a-3d are flow charts describing possible embodiments of the present invention as described above. Part(s) of these flow charts can represent steps of an example of a computer program which may be executed by the device of Figure 4.

It is noted that method of Figures 3a-3c may be executed individually, alternatively, consecutively (each outputted L n is used for L * n in another method) or in parallel (the shorten outputted L n is used).

Figure 3e is an example of weighting quality values for a plurality of wells.

In the previous figures, a quality value is determined for a single well and for a single phase. If the considered reservoir has a plurality of wells connected to and/or a plurality of phases in the production flow (i.e. the index i of the control data Q t l P may be greater than 1 and/or the index p of the control data Q t l p may be greater than 1 ), it is possible to compute a "global quality value" for every well and for every phase taking into account every quality value of each well and each phase.

Therefore, the example of Figure 3e is only a small adaptation of steps 308-309, 318-319 and 328-329.

First, it is possible to determine the quality value for each well and each phase as described above for the time step L n . For instance:

- for well i1 and phase p1 , having control data Q v , the computed quality value is 1 0% ;

- for well i1 and phase p2, having control data Q t ll p2 , the computed quality value is 1 5% ;

- for well i2 and phase p1 , having control data Q t l2 pl , the computed quality value is 5% ;

- for well i2 and phase p2, having control data Q l2 p2 , the computed quality value is 1 2%. Once the quality value is determined for each well and each phase, it is possible to compute a global quality value as a weighted sum of the quality values (or quality sub-values) of each well and each phase.

For instance, by applying a weight of W1 for well i 1 and phase p1 , a weight of W2 for well i1 and phase p2, a weight of W3 for well i2 and phase p1 , a weight of W4 for well i2 and phase p2, it is possible to determine that the global quality value is 7%:

10%W1 + 1 %W2 + S%W3 + 13%W4

W1 + W2 + W3 + W4

The weight may be a function of:

- the flow of the well i and of the phase p (e.g. the higher the flow is, the greater the weight is). This "flow" may be the mean of the flow during the whole simulation period or during the provisional time step L * n or during any other time period;

- the strategic value of the well (e.g. the more important the well is regarding an economic value, the greater the weight is). This strategic value may be user-determined;

- etc. Figure 4 is a possible embodiment for a device that enables the present invention.

In this embodiment, the device 400 comprise a computer, this computer comprising a memory 405 to store program instructions loadable into a circuit and adapted to cause circuit 404 to carry out the steps of the present invention when the program instructions are run by the circuit 404.

The memory 405 may also store data and useful information for carrying the steps of the present invention as described above.

The circuit 404 may be for instance: - a processor or a processing unit adapted to interpret instructions in a computer language, the processor or the processing unit may comprise, may be associated with or be attached to a memory comprising the instructions, or

- the association of a processor / processing unit and a memory, the processor or the processing unit adapted to interpret instructions in a computer language, the memory comprising said instructions, or

- an electronic card wherein the steps of the invention are described within silicon, or

- a programmable electronic chip such as a FPGA chip (for « Field- Programmable Gate Array »).

This computer comprises an input interface 403 for the reception of data used for the above method according to the invention and an output interface 406 for providing the simulated model / flows to an external module 407.

To ease the interaction with the computer, a screen 401 and a keyboard 402 may be provided and connected to the computer circuit 404.

Expressions such as "comprise", "include", "incorporate", "contain", "is" and "have" are to be construed in a non-exclusive manner when interpreting the description and its associated claims, namely construed to allow for other items or components which are not explicitly defined also to be present. Reference to the singular is also to be construed in be a reference to the plural and vice versa.

A person skilled in the art will readily appreciate that various parameters disclosed in the description may be modified and that various embodiments disclosed may be combined without departing from the scope of the invention.