GUIDERAT
Recognised by the OPM Flow parserSCHEDULE
This keyword defines a general formulae used to define a group’s and well’s guide rate as a function of the their potential. The default behavior, that is when this keyword is not invoked, is to set the target control mode and rate via the GCONPROD keyword in the SCHEDULE section. In this case the target rate is distributed between the group’s wells that are under group control using a well’s guide rate. If a well’s guide rate has not been defined, for example by this keyword, then the well potential of the group controlling phase at the beginning of the time step is used. For example, if the group target rate and phase is oil, then the well’s under group control will have their oil rates determined by their oil rate potential309 Production and injection potentials are based on rates that are unrestricted. For wells this implies that well potential is calculated based on either the BHP or THP limit, which ever is the more constraining.. The GUIDERAT keyword substitutes the potential calculation with a more general formulae in the aforementioned distribution and allocation of the rates:
Production and injection potentials are based on rates that are unrestricted. For wells this implies that well potential is calculated based on either the BHP or THP limit, which ever is the more constraining.
[Phase Guide Rate``= { (Potental _Phase) ^A } over { B``+``C(Potential Ratio_1)^D``+`` E(Potential Ratio_2)^F}]
(12.28)
Where:
PotentialPhase= the potential of the phase,
A to F= constants defined on this keyword,
Potential Ratio1= the potential phase ratio as defined by this keyword,
Potential Ratio2= the potential phase ratio as defined by this keyword.
The formulae can be used to control high water cut or high GOR wells in an oil field, such as the offending wells are given progressively smaller guide rates as they water out or gas out.
Note that groups can only have potential guide rates if they are subordinate in another group and required to produce a proportion of the superior group’s target rate. In this case the GUIDERAT keyword can optionally be applied by setting GUIPHASE variable on the GCONPROD keyword in the SCHEDULE section. Group potentials are the sum of the potentials of their subordinate open wells.
Notes:
The keyword is terminated by a “/”.
Note that the GUIDERAT keyword only applies to production groups and wells. Injection groups and wells are still controlled by their potential guide rates.
Finally, as mentioned previously, if the GUIDERAT or WGRUPCON keywords are not present in the input deck then the group and well potential guide rates will be calculated using the well’s potential rates. The WGRUPCON keyword in the SCHEDULE section can be used to set a constant potential guide rate for a well.
Note
GUIDERAT can be used to penalize wells producing excessive water by utilizing the C and D coefficients in equation (12.28), and to discriminate against wells that are gassing out by setting the E and F coefficients.
Note that the value range through which Potential Ratio1 and Potential Ratio2 vary is variable. For example, if Potential Ratio1 is water cut, then the value should be between zero and one, whereas for the water-oil ratio the value can vary between zero and infinity. The same applies to the units of Potential Ratio2 which are dependent on if the GOR, GLR or OGR ratio is used in the calculation.
One can use the C and E coefficients to scale these terms to the required relative magnitudes in the denominator and the D and F powers to influence how quickly the penalty increases with increasing water and gas fractions. High positive value for D and F coefficients will make production fall off rapidly as the water or gas fraction increases, while a negative values will favor producing these type of wells.
Note that the B coefficient should always be positive to prevent the denominator's going to zero.
Finally, if one wishes each well to produce in proportion to its potential when the water fraction and gas fraction are equal (the usual case), then the A coefficient should be set to one.
- Records
- Fixed number of records
- Record count
- 1
- Items per record
- 12
Parameters
| No. | Name | Description | Type | Dimension | Field | Metric | Lab | Default |
|---|---|---|---|---|---|---|---|---|
| 1 | MIN_manual: TSTEP | A real positive value that defines the minimum time interval to re-calculate the guide rates. The guide rates are calculated at the start of a time step and the default value of zero means that the guide rates are calculated for each time step. A non-zero value for TSTEP resets the minimum interval, for example setting TSTEP equal to 30 would mean the guide rates are calculate every 30 days, or to the nearest associated time step. Calculating guide rates every time step may cause issues due to the rate dependent behavior, for example gas cusping or water coning causing the well rates to oscillate. In this case using a non-zero value of TSTEP may eliminate this oscillating behavior. | DOUBLE | Time | days | days | hours | 0.0 |
| 2 | NOMINATED_manual: PHASE | A defined character string that sets the potential phase guide rate for the group and well, the resulting Phase Guide Rate in equation (12.28). PHASE should be set to one of the following character strings: OIL: is set as the potential phase guide rate and in this case the Potential Ratio1 variable is the water-oil ratio (“WOR”) and Potential Ratio2 refers to the gas-oil ratio (“GOR”) in equation (12.28). LIQ: is set as the potential phase guide rate and the Potential Ratio1 variable is the water cut (“WCT”) and Potential Ratio2 refers to the gas-liquid ratio (“GLR”) in equation (12.28). GAS: is set as the potential phase guide rate with the Potential Ratio1 variable being the water cut (“WCT”) and Potential Ratio2 referring to the oil-gas ratio (“OGR”) in equation (12.28). RES: here the potential phase guide rate is defined as the reservoir fluid volume rate and the Potential Ratio1 variable is the water-oil ratio (“WOR”) and Potential Ratio2 refers to the gas-oil ratio (“GOR”) in equation (12.28). COMB: this option uses the linearly combined phase guide rate based on the values entered on the LINCOM keyword in the SCHEDULE section. Here the Potential Ratio1 variable is the water divided by linearly combined phase and Potential Ratio2 refers to the gas divided by linearly combined phase in equation (12.28). This option is not available in OPM Flow. NONE: the Phase Guide Rate calculation is switched off and the well guide rates revert to the well potentials of their group target phase. For reference, the units for the various options is given below . | STRING | WOR: dimensionless WCT: dimensionless WGR: stb/ | dimensionless dimensionless dimensionless | dimensionless dimensionless dimensionless | None | |
| 3 | A | A real value greater than or equal to -3 and less than or equal to 3, that defines coefficient A in equation (12.28). | DOUBLE | 0.0 | ||||
| 4 | B | B is a real positive value that defines coefficient B in equation (12.28). | DOUBLE | 0.0 | ||||
| 5 | C | C is a real value that defines coefficient C in equation (12.28). | DOUBLE | 0.0 | ||||
| 6 | D | D is a real value greater than or equal to -3 and less than or equal to 3, that defines coefficient D in equation (12.28). | DOUBLE | 0.0 | ||||
| 7 | E | E is a real value that defines coefficient E in equation (12.28). | DOUBLE | 0.0 | ||||
| 8 | F | F is a real value greater than or equal to -3 and less than or equal to 3, that defines coefficient F in equation (12.28). | DOUBLE | 0.0 | ||||
| 9 | ALLOW_manual: GROPT01 | A defined character string that determines if calculated phase guide rates should be allowed to increase (YES) or not (NO), and should be set to one of the following: NO: The phase guide rates calculated from equation (12.28)are not allowed to increase above the current value, and will be reset to the current value if the calculated value does exceed the current value. YES: The phase guide rates calculated from equation (12.28)are allowed to increase at each calculation. This may increase the propensity for oscillations in the rates if the water cut and GOR are rate dependent. Note only the default value is currently supported by OPM Flow. | STRING | YES | ||||
| 10 | DAMPING_manual: GROPT02 | A real positive value greater than or equal to zero and less than or equal to one that “dampens” the calculated phase guide rate based on the following formula: [( Phase`Guide`Rate )_t ^new``=``GROPT02 times ( Phase`Guide`Rate )_t``+` newline( 1`-`GROPT02) times (Phase`Guide`Rate )_(t-1)] The option is intended to have a similar effect as the GROPT01 NO option to reduce oscillations as a result of either the water cut or GOR being rate dependent. Values approaching one allows the calculated phase guide rates to change instantaneously with the phase potentials, whereas values approaching zero dampen the potential guide rates towards the previously calculated values, thereby reducing the potential for oscillating behavior. | DOUBLE | 1.0 | ||||
| 11 | USE_manual: GROPT03 | A defined character string that determines if “free” gas potential rates for the Potential Ratio2 variable in equation (12.28)should be used (YES), or if “free and associated” gas should be used (NO), and should be set to one of the following: NO: Use “free and associated” gas, that is total gas in the Potential Ratio2 variable. YES: Only utilize “free” gas in the Potential Ratio2 variable. | STRING | NO | ||||
| 12 | MIN_manual: GROPT04 | A real positive value that sets the minimum potential guide rate. If the calculated potential guide is below this value it will be reset to GROPT04. The option is meant to avoid groups and wells being ignored due to the calculated potential guide rates being minuscule. | DOUBLE | 1.0 x10-6 |
Example
The first example sets the guide phase to oil and the resulting Phase Guide Rate based on oil potential based on setting the A and B coefficients to to one, that is:
[Phase Guide Rate``= { (Potental _Phase) ^A } over { B``+``C(Potential Ratio_1)^D``+`` E(Potential Ratio_2)^F} newline newline
~=~{Oil Potential^1.0} over 1.0]
(12.29)
with all the other parameters defaulted, except for the minimum time interval to re-calculate the guide rates which is set to 30 days.
--
-- SETS GUIDE RATES FOR GROUPS AND WELLS UNDER GUIDE RATE CONTROL
--
-- TIME GUIDE A B C D E F INCR DAMP FREE
-- STEP PHASE POW CON CON POW CON POW OPTN OPTN GAS
GUIDERAT
30 'OIL' 1.0 1.0 1* 1* 1* 1* 1* 1* 1* /
The next example sets the Phase Guide Rate to the reservoir fluid volume rate, with preference given to low GOR wells and with high GOR wells penalized, based on setting A and B to one, C and D to zero, E equal to 10 and F equal to two, that is:
[Phase Guide Rate``= { (Potental _Phase) ^A } over { B``+``C(Potential Ratio_1)^D``+`` E(Potential Ratio_2)^F}~newline newline
~~~~~`` =~{Reservoir` Fluid `Volume` Potential^1.0} over {1.0`` + ``10 times (GOR)^2}]
(12.30)
with all the other parameters defaulted.
--
-- SETS GUIDE RATES FOR GROUPS AND WELLS UNDER GUIDE RATE CONTROL
--
-- TIME GUIDE A B C D E F INCR DAMP FREE
-- STEP PHASE POW CON CON POW CON POW OPTN OPTN GAS
GUIDERAT
1* 'RES' 1.0 1.0 1* 1* 10 2 1* 1* 1* /
The GUIDERAT keyword is very flexible but can also lead to unexpected results, thus it is probably useful to perform some manual calculations outside of the simulator before implementing the selected scheme in the input deck.
| [Phase Guide Rate``= { (Potental _Phase) ^A } over { B``+``C(Potential Ratio_1)^D``+`` E(Potential Ratio_2)^F}] | (12.28) |
|------------------------------------------------------------------------------------------------------------------|---------|
| Note GUIDERAT can be used to penalize wells producing excessive water by utilizing the C and D coefficients in equation (12.28), and to discriminate against wells that are gassing out by setting the E and F coefficients. Note that the value range through which Potential Ratio1 and Potential Ratio2 vary is variable. For example, if Potential Ratio1 is water cut, then the value should be between zero and one, whereas for the water-oil ratio the value can vary between zero and infinity. The same applies to the units of Potential Ratio2 which are dependent on if the GOR, GLR or OGR ratio is used in the calculation. One can use the C and E coefficients to scale these terms to the required relative magnitudes in the denominator and the D and F powers to influence how quickly the penalty increases with increasing water and gas fractions. High positive value for D and F coefficients will make production fall off rapidly as the water or gas fraction increases, while a negative values will favor producing these type of wells. Note that the B coefficient should always be positive to prevent the denominator's going to zero. Finally, if one wishes each well to produce in proportion to its potential when the water fraction and gas fraction are equal (the usual case), then the A coefficient should be set to one. |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Phase Guide Rate``= { (Potental _Phase) ^A } over { B``+``C(Potential Ratio_1)^D``+`` E(Potential Ratio_2)^F} newline newline
~=~{Oil Potential^1.0} over 1.0] | (12.29) |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|
| [Phase Guide Rate``= { (Potental _Phase) ^A } over { B``+``C(Potential Ratio_1)^D``+`` E(Potential Ratio_2)^F}~newline newline
~~~~~`` =~{Reservoir` Fluid `Volume` Potential^1.0} over {1.0`` + ``10 times (GOR)^2}] | (12.30) |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|Manual source: parts/chapters/subsections/12.3/GUIDERAT.fodt