NETBALAN

Recognised by the OPM Flow parserSCHEDULESPECIAL

NETBALAN keyword causes the simulator to perform a network balancing operation at the next time step. In addition, the keyword defines the network balancing parameters used to control how network balancing is performed on a network, as well as the frequency of the network balancing calculations. If any of the parameters on the keyword are defaulted, then either the previously entered values are used, or if there are no previously entered values, then the keyword default values are employed.

Notes:

The keyword is terminated by a “/”.

Records
Fixed number of records
Record count
1
Items per record
8

Parameters

No.NameDescriptionTypeDimensionFieldMetricLabDefault
1TIME_INTERVAL
manual: NTSTEP
NSTEP is a real value that defines the criteria for the network balancing interval, used to define the frequency of the network balancing algorithm. NSTEP may be a negative number, a value of zero, or a positive number, as described below: Negative Value: If NSTEP is any negative value then the time stepping interval for the network balancing is based on the number of Newton iterations used in updating the well targets, as set by the NUPCOL keyword in the RUNSPEC section, or the NUPCOL parameter on the GCONTOL keyword in the SCHEDULE section. If NUPCOL is defined on both keywords, then the GCONTOL value takes precedence. Thus, any negative value of NSTEP means the network will be balanced for the first NUPCOL Newton iterations for each time step. Consequently, if this option is used it may result in some oscillations as the THP of the wells are updated at each Newton network re-balance computation. Zero Value: Here the network is balanced at the beginning of every time step, and should result in small network balancing errors for the time step, provided of course the reservoir conditions are fairly constant over the time step. This is the default value. Positive Value: In this case NSTEP is a time interval between the previous network balance and the next schedule network balancing. For example, if NSTEP is set equal to 91.25 days (365/4), then network balancing will occur every quarter. Again, the balancing occurs at the beginning of the time step. Note only negative or zero values are currently supported.DOUBLETimedays or dimensionlessdays or dimensionlesshours or dimensionless0.0
2PRESSURE_CONVERGENCE_LIMIT
manual: NCNV
NCNV is a real positive value that defines the nodal pressure convergence variance, used to define if convergence has been satisfied.DOUBLEPressurepsia 1.45barsa 0.10atma 0.09869Defined
3MAX_ITER
manual: NMXITER
A positive integer value that defines the maximum number of network balancing operations that may be performed during a network balancing computation.INTdimensionlessdimensionlessdimensionless10
4THP_CONVERGENCE_LIMIT
manual: GRPCNV
GRPCNV is a real positive value less than one that sets the group tolerance criteria used to define if convergence has been satisfied for: Wells in subsea completion manifold groups under rate control. In this case GRPCNV is applied to the THP values of the wells within the group. In the field, these type of wells must flow against a common manifold pressure, that is all the wells must flow at approximately the same THP, for a given group’s flow rate. Automatic chokes for group’s under rate control. Here, GRPCNV is applied to the pressure drop across the automatic chokes. In both cases GRPCNV is an acceptable fraction of the group’s rate target. Thus, the default value 0.01 means that network balance calculated rate must be within 0.01 (or 1.0%) of the groups’ production target. Note that this criteria may not be satisfied if the number of Newton iterations used in updating the well targets, as set by the NUPCOL keyword in the RUNSPEC section, or the NUPCOL parameter on the GCONTOL keyword in the SCHEDULE section, is exceeded. Group convergence criteria can also be set by the GRPCNV parameter on the GCONTOL keyword in the SCHEDULE section. If both values of GRPCNV have been entered, then the minimum of the two is used.DOUBLEdimensionlessdimensionlessdimensionless0.01
5MAX_ITER_THP
manual: THPMXITE
A positive integer value that defines the maximum number of well THP iterations for wells in subsea completion.anifold groups under rate control. There is no equivalent iteration maximum for automatic chokes in groups under rate control, as the pressure drop across the chokes is automatically calculated in the network balancing calculation. Thus, NMXITER is used for these calculations.INTdimensionlessdimensionlessdimensionless10
6TARGET_BALANCE_ERROR
manual: NTRGERR
A real positive value that stipulates the maximum target branch error in a network balance calculation, at the end of the time step. NTRGERR is compared with the branch error (Error), where Error is the difference between the pressure drop along the branch from the previous network balance and the current calculation, again, at the end of the time step. Subject to existing targets and constraints, the simulator will attempt to adjust the time step size in order to roughly match NTRGERR. Note also that NTRGERR should be a value that is sufficient to allow convergence as defined by NCNV and GRPNCN parameters. The default value of 1.0 x 1020 means that this parameter has no effect in the selection of the time step size.DOUBLEPressurepsiabarsaatma1.0 x 1020
7MAX_BALANCE_ERROR
manual: NMAXERR
A real positive value that stipulates the maximum branch error in a network balance calculation, at the end of the time step. Again, NMAXERR is compared against the branch error (Error), where Error is the difference between the pressure drop along the branch from the previous network balance and the current calculation, at the end of the time step. If Error is greater than NMAXERR then the simulator will enforce a time step chop. Time step chops are computationally expensive and should therefore be minimized. Hence, care should be used in setting this value, which should be significantly greater than NTRGERR. The default value of 1.0 x 1020 means that this parameter has no effect in the selection of the time step size.DOUBLEPressurepsiabarsaatma1.0 x 1020
8MIN_TIME_STEP
manual: NTSMIN
NTSMIN is a real positive value that sets the minimum time step size for when NTRGERR and NMAXERR have values. Large network balancing errors (Error) can take place for various reasons, a common occurrence is for wells producing near their operating limit which may shut in during a network balance operation. If NTRGERR and NMAXERR have values, then this will result in the simulator enforcing time step chops to perhaps very small time steps. NTSMIN can therefore be used to set the minimum time step size under, and only, these circumstances. The default value, TSMINZ, is taken from TSMINZ parameter on the TUNING keyword in the SCHEDULE section.DOUBLETimedaysdayshourTSMINZ

Example

The first example sets network balancing to occur at the beginning of each time step using a 1.0 psia convergence criteria, and a maximum of 10 iterations. All the other parameters are defaulted.
--
-- NETWORK BALANCE CONTROL OPTIONS
--
-- BAL CONV MAX WTHP WTHP ERR ERR TSTEP
-- INTV TOL ITRS TOL ITS TARG MAX MIN
NETBALAN
0.0 1.0 10 1* 1* 1* 1* 1* /
The next example sets network balancing to occur for the first NUPCOL Newton iterations for each time step. All the other parameters are defaulted.
--
-- NETWORK BALANCE CONTROL OPTIONS
--
-- BAL CONV MAX WTHP WTHP ERR ERR TSTEP
-- INTV TOL ITRS TOL ITS TARG MAX MIN
NETBALAN
-1 1* 1* 1* 1* 1* 1* 1* /

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