GCONSALE

Recognised by the OPM Flow parserSCHEDULE

GCONSALE defines group sales gas production targets and constraints for when the gas production from an oil field group is exported under a Gas Sales Agreement (“GSA”) and the oil field group also has oil production targets and constraints.

Note that the keyword should not be used to control sales gas for a gas field group, as the gas injection rate is used to control the sales gas production with this keyword, that is:

["Gas Sales Rate" ~ = ~ "Total Group Gas Production Rate" newline ~~~~~~~~~~~~~~ - ` "Group Gas Injection Rate" newline ~~~~~~~~~~~~~~~~~~ + ` "Total Group Gas Import Rate" newline ~~~~~~~~~~~~~~~~~~~ - ` "Total Group Gas Consumption"]

(12.23)

Thus, surplus gas that cannot be sold is re-injected, which requires that there are active gas injectors in the model that are subordinate to groups with gas sales targets. Note that the surplus gas re-injection rates are automatically calculated by OPM Flow at each time step.

Notes:

User Defined Quantities ("UDQ") can be used as User Defined Arguments ("UDA") for various group, well, and connection keywords in the SCHEDULE section. User Defined Arguments are activated using the UDADIMS keyword in the RUNSPEC section, and defined by the UDQ keyword in the SCHEDULE section.

The keyword is followed by any number of records with each record terminated by a “/” and the keyword should be terminated by a “/”.

GCONSALE can also be used with the GCONINJE keyword in the SCHEDULE section in order to apply additional limits, for example by applying a maximum group injection rate. In this scenario,the TARGET variable on the GCONINJE keyword must be set to “REIN”, and if desired, a re-injection fraction (REIN on the GCONINJE keyword), or any other constraint.

See also the GCONSUMP in the SCHEDULE section that defines the fuel gas requirements for groups.

Records
One or more records, each terminated by /
Items per record
5

Parameters

No.NameDescriptionTypeDimensionFieldMetricLabDefault
1GROUP
manual: GRPNAME
A character string of up to eight characters in length that defines the group name for which the group gas sales target and constraints are being defined. The group named FIELD is the top most group and should be used to set the gas sales targets and constraints for the field. Note that the group hierarchy should be defined by the GRUPTREE keyword when there is more than one level of groups, otherwise all the groups will sit directly under the FIELD group in the group tree hierarchy.STRINGNone
2SALES_TARGET
manual: GSALE
GSALE should either be set to: A real positive value that defines the gas sales rate for the group, or, A real negative value that switches off both gas sales and gas re-injection for the group. This value may be specified using a User Defined Argument (UDA). Note that if GSALE has been set to switch off both gas sales and gas re-injection, then the GCONINJE keyword in the SCHEDULE section may be used to re-enable gas re-injection again.UDAGasSurfaceVolume/TimeMscf/dsm3/dayscc/hourNone
3MAX_SALES_RATE
manual: GSALEMAX
A real positive value that must be greater than GSALE that defines the maximum allowed gas sales rate. If GSALE exceeds GSALEMAX then the action defined by the ACTION variable on this keyword is implemented at the end of the current time step. This value may be specified using a User Defined Argument (UDA).UDAGasSurfaceVolume/TimeMscf/dsm3/dayscc/hour1 x 1020
4MIN_SALES_RATE
manual: GSALEMIN
A real positive value that must be less than GSALE that defines the minimum allowed gas sales rate. If GSALE is less than GSALEMIN then one of the following actions will be implemented at the end of the current time step: If the group’s maximum gas production rate constraint is constraining the gas rate, then reset the constraint to satisfy the group’s minimum gas sales rate (GSALEMIN), else: If the group has active subordinate dedicated gas producers, as defined by the WGASPROD keyword in the SCHEDULE section, then reset their gas target rates to satisfy GSALEMIN, else: If there are subordinate dedicated gas producers for the group in a drilling queue, open the next dedicated well and set the well’s gas rate to satisfy GSALEMIN. Note that only wells that are subordinate to the group and are not under gas rate control or group prioritization are considered for opening. If there are no appropriate subordinate dedicated gas producers for the group in a drilling queue, open the next non-dedicated well and set the well’s gas rate to satisfy GSALEMIN. Again, note that only wells that are subordinate to the group and are not under gas rate control or group prioritization are considered for opening. If none of the above actions can be implemented then the minimum gas sales rate will not be satisfied. This value may be specified using a User Defined Argument (UDA).UDAGasSurfaceVolume/Time-1 x 1020
5MAX_PROC
manual: ACTION
A defined character string that defines the action to be taken if the maximum gas sales rate, GSALEMAX, is violated. ACTION should be set to one of the following character strings: NONE: no action is taken. CON: close the worst offending connection in the worst offending well. If connections have been grouped as completions then the worst offending completion in the worst offending well will be closed. +CON: close the worst offending connection and all below it in the worst offending well. If connections have been grouped as completions then the worst offending completion and all below it in the worst offending well will be closed. WELL: close the worst offending well. PLUG: plug back the worst offending well. This option is not implemented in OPM Flow. RATE: the group’s production rate target is reduced to equal GSALEMAX, after accounting for fuel gas (GCONSUMP keyword) and the current rate of re-injection. This will also place the group on gas production control. END: stop the simulation at the end of the report step. The corrective action takes places at the end of the time step in which the constraint is violated.
NONECONWELLPLUGRATEEND
STRINGNone

Example

The following examples sets the field gas sales target rate:
--
-- GROUP GAS SALES FOR OIL FIELDS
--
-- GRUP GAS MAX MIN CNTL
-- NAME SALES RATE RATE ACTN
GCONSALE
FIELD 40E3 50E3 20E3 RATE /
/
Here the field has a gas sales target of 40 MMscf/d, with a maximum rate of 50 MMscf/d and a minimum of 20 MMscf/d. If the maximum gas sales rate is exceeded then the group’s gas production rate target is reduced to equal GSALEMAX, after accounting for fuel gas and the current rate of re-injection. This will also place the group on gas production control.
| ["Gas Sales Rate" ~ = ~ "Total Group Gas Production Rate"
newline  
~~~~~~~~~~~~~~ - ` "Group Gas Injection Rate"
newline 
~~~~~~~~~~~~~~~~~~ + ` "Total Group Gas Import Rate" 
newline  
~~~~~~~~~~~~~~~~~~~ - ` "Total Group Gas Consumption"] | (12.23) |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|

Manual source: parts/chapters/subsections/12.3/GCONSALE.fodt