WVFPEXP

Recognised by the OPM Flow parserSCHEDULE

This keyword, WVFPEXP, defines how Vertical Flow Performance (“VFP”) tables are interpolated and can be used to resolve certain issues with wells operating under tubing head pressure control. For example, setting the VFP table to interpolate explicitly, that is using the previous time step results of the gas and water ratios for an oil well, may improve convergence. The default is to use implicit interpolation that uses the current time step values and may result in solution convergence oscillations in solving the linear equations. The WCONPROD keyword is used to allocate the VFPPROD tables to specific production wells. Note that one VFP table can be allocated to one or more wells; however, WVFPEXP is applied to a well’s allocated VFP table, not to all wells that use the same table, unless specifically requested. All the aforementioned keywords are in the SCHEDULE section.

Notes:

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

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

Parameters

No.NameDescriptionTypeDefault
1WELL
manual: WELNAME
A character string of up to eight characters in length that defines the well name for which the well’s VFP interpolation options are being defined. Note that the well name (WELNAME) must have been declared previously using the WELSPECS keyword in the SCHEDULE section, otherwise an error may occur.STRINGNone
2EXPLICIT_IMPLICIT
manual: IMPEXP
A defined character string of length three that defines the how the well’s VFPPROD tables are to be interpolated and should be set to one of the following character strings: IMP: For this option the simulator interpolates a well’s VFP table implicitly, that is the latest gas fraction (GOR, GLR, etc.), water fraction (WCUT, WOR etc.), and ALQ is used to determine the required pressure. This is the most accurate option but may lead to oscillating behavior during the Newton/Linear iterations. This is the default behavior. EXP: This options forces the simulator to use the previous time step values of a well’s gas fraction, water fraction, and ALQ to interpolate a well’s VFP table in order to determine the required pressure. This is less accurate than the IMP option but minimizes any oscillating behavior during the Newton/Linear iterations. If a well's WCUT and GOR is varying as a function of BHP inside a Newton/Linear iteration (as for example when gas cusping or water coning is occurring), the implicit lookup of the VFP tables might indicate that the well has died, due to the interpolation/extrapolation. If a well dies using implicit WCUT and GOR VFP lookup then the simulator automatically switches to explicit (previous time step) VFP lookup to prevent the well from premature closure, and writes a message to the screen and print file stating the fact. Note the explicit treatment is just for the VFP lookup only. Using the IMPEXP option allows one to select wells that should use either the implicit or explicit lookup option, which may be useful in improving run time performance. Note that if the default value of IMP is used, the simulator will still switch to explicit VFP lookup to prevent a well from premature closure if the condition occurs.STRINGIMP
3CLOSE
manual: STATUS
A defined character string that defines if the well’s operating condition should be checked to see if the VFP table lookup indicates if the well is operating on the flat or horizontal part of stabilized portion of the VLP table (curve), and should be set to one of the following character strings: NO: For this option the check is not performed. YES: In this case the check is performed. Hence, if a well under THP control is found to operating on the horizontal stabilized portion of the VLP curve, then the well is SHUT or STOPPED depending on the AUTO parameter on the WELSPECS keyword. This option is specific to the commercial simulator’s VFPi program that can generate VFPF tables where the unstable part of the VFP curves to the left of the minimum is replaced with a horizontal line at the minimum BHP value. This option is not supported by OPM Flow.STRINGNO
4PREVENT_THP
manual: CONTROL
A defined character string that defines the behavior of rate control wells operating on the unstabilized portion of the VFP table, and should be set to one of the following character strings: NO: This option does not prevent changes to a well’s operating mode when the well is constrained to be operating on the unstabilized portion of the VFP table. This option may cause the well control to oscillate between rate and THP control during the Newton/Linear iterations. YES1: For this option the well is prevented from changing from rate control to THP control provided it can produce at a higher rate under THP control. In this case the well will continue to produce at the required rate even though the calculated THP may be below the well’s minimum THP value. Note however, the well will still be allowed to die if the IPR does not intersect the VFP curve. In the commercial simulator this option will also print a message the first time a well is prevented from changing its control mode, whereas OPM Flow always prints a message every time a well is prevented from changing its control mode. YES2: This option behaves the same as the YES1 option, except a message is printed every time a well is prevented from changing its control mode. The default value of NO allows wells to die when they are constrained by a lower rate that forces them to operate on the unstable section of the VFP curve. This can occur if a well’s rate is being set to match its group target rate or constraint limit. Using either the YES1 or YES2 option will help prevent the "hunting between control modes" issue or the well prematurely being shut-in.STRINGNO
5EXTRAPOLATION_CONTROL
manual: EXTRAP
The EXTRAP parameter is a defined character string in the commercial composition simulator that declares how the extrapolation of a well’s gas fraction, water fraction, and ALQ values is to be conducted. This option is not supported by OPM Flow.STRINGWG

Example

The following example defines two oil wells using the WELSPECS and WCONPROD keywords, together with the WVFPEXP keyword that declares how the VFPPROD table lookup should be performed.
--
-- WELL SPECIFICATION DATA
--
-- WELL GROUP LOCATION BHP PHASE DRAIN INFLOW SHUT CROSS PRESS
-- NAME NAME I J DEPTH FLUID AREA EQUA. IN FLOW TABLE
WELSPECS
OP01 PLATFORM 14 13 1* OIL 1* STD SHUT NO 1* /
OP02 PLATFORM 28 96 1* OIL 1* STD SHUT NO 1* /
/
--
-- WELL PRODUCTION WELL CONTROLS
--
-- WELL OPEN/ CNTL OIL WAT GAS LIQ RES BHP THP VFP VFP
-- NAME SHUT MODE RATE RATE RATE RATE RATE PRES PRES TABLE ALFQ
WCONPROD
OP01 SHUT GRUP 1* 1* 1* 1* 1* 500.0 100.0 1 /
OP02 SHUT GRUP 1* 1* 1* 1* 1* 500.0 100.0 1 /
/
--
-- WELL OPTIONS FOR PROBLEMATIC THP CONTROLLED WELLS
--
-- WELL IMP CLSE RATE VFP
-- NAME EXP WELL CNTL EXT
WVFPEXP
'OP* ' 1* 1* YES1 1* /
/
Here both wells are declared as initially shut on the WELSPECS keyword and use VFPPROD table number one as declared on the WCONPROD keyword. The WVFPEXP keyword declares all wells with a name beginning with OP to use implicit lookup and the wells are prevented from changing from rate control to THP control provided they can produce at a higher rate under THP control.

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