Integrated Model
Description of the OIS_IPM.oim Integrated Model
Each keyword must be on a separate line; data starts on a new line and ends with the "/" character.
All files attached to this project must be in the same directory as the project.
1.List of reservoir models (file names with extension)
Each file name must be on a separate line
RESERVOIRLIST
'OIS.Reservoir.format.ors'
/
2.List of well models as VFP tables (values are bottomhole pressures) in Eclipse format (file names with extension)
Each file may contain several tables, both VFPPROD and VFPINJ
The number of each table must be unique across all files
Each file name must be on a separate line
VFPLIST
'Producer.ecl'
/
3.List of well models as VFP tables (values are temperatures) in Eclipse format (file names with extension)
Each file may contain several VFPPROD tables
The number of each table must be unique across all files
Each file name must be on a separate line
VFPTEMPLIST
'ProducerTemp.ecl'
/
4.List of well models as TPD tables (extended universal VFP tables) (file names with extension)
Each file contains only one table
Each file name must be on a separate line
*/
TPDLIST
'OIS.TPD.format.otpd'
/
5.List of full well models (file names with extension)
Connecting well models is used only to transfer data from these files into wells of the Integrated Model
Each file name must be on a separate line
*/
WELLMODELLIST
'OIS.Well.format_v2.owm'
/
6.List of PVT files
Fluid models from these files are connected to wells by model name and region
Each file name must be on a separate line
*/
PVTLIST
'FluidModel.ofm'
/
7.List of compositional PVT files
Fluid models from these files are connected to wells by model (file) name
Each file name must be on a separate line
*/
PVTCOMPLIST
'OIS.PVTComp.format.pvtcomp'
/
8.Networks
NETWORKLIST
[Network type] [File name] -- PROD || INJ || GASPROD || GASINJ || GASLIFT
PROD 'ProdNetwork.onw'
/
Enabling and disabling networks in the calculation
First column — network type: PROD || INJ || GASPROD || GASINJ || GASLIFT
Second column — include-in-calculation flag: ON || OFF (default ON for all network types)
*/
NETWORKENABLE
PROD ON
INJ OFF
GASPROD OFF
GASINJ OFF
GASLIFT OFF
/
9.List of scenarios; the scenario for the calculation is optionally passed as a command-line argument
Scenario actions are merged with actions specified on model objects
SCENARIOLIST
[NAME] [COMMENT]
'Scen1' 'Shut down all SRP'
'Scen2' 'Increase frequencies'
/
10.Specification of common properties for all networks.
The table contains two columns:
Parameter keyword, always the first column
Parameter value, always the second column
NOTE: the list of initial conditions may be extended
*/
NETWORKPROPS
ENVTEMP 10 -- Ambient temperature [°C]
TEMPMODEL BALANCE -- BALANCE || APPROX || IMPROVED — enthalpy balance, coarse approximation, or improved approximation (default APPROX)
VFPMODEL E100 -- E100 || TPD — VFP table format for well modeling (default E100)
DECLINEMODEL EXTERNAL -- EXTERNAL || INTERNAL — external attached models or built-in models (default EXTERNAL)
CPOIL 2220 -- Oil heat capacity [J/(kg*K)] (default 2220)
CPGAS 2130 -- Gas heat capacity [J/(kg*K)] (default 2130)
CPWATER 4180 -- Water heat capacity [J/(kg*K)] (default 4180)
ENABLEUSERMIXTUREFLOW 1 -- use user flow correlations (1 — use, 0 — do not use, default 0)
MIXTUREFLOW DUNSROS -- Gas-liquid mixture flow correlation: ORKISZEWSKI || DUNSROS || BEGGSBRILL || MUKHERJEEBRILL || HAGEDORNBROWN || ANSARI || GRIFFITH || AZIZ || POETTMANNCARPENTER || GRAY
LIQUIDVISCOSITY AVERAGE -- Oil-water mixture viscosity correlation (THREESTAGE || BRINKMAN || VAND || WOELFLIN || OIS || AVERAGE — default)
RESTEMP 60 -- Reservoir temperature [°C]
SOURCETEMP 23 -- Fluid temperature at sources [°C]
WINDSPEED 6 -- Wind speed [m/s] (note: Wind Speed is the English term) — common settings only
SNOWDEPTH 0.6 -- Snow depth [m] (note: Snow Depth is the English term) — common settings only
GROUNDTERMCONDUCT 0.7 -- Ground thermal conductivity [W/(m*K)] — common settings only
LAYINGTYPE OVER -- Pipeline laying method (OVER || UNDER) — common and local settings
LAYINGDEPTH 1.2 -- Buried pipeline laying depth [m] — common and local settings
PIPETERMCONDUCT 0.05 -- Pipe insulation thermal conductivity [W/(m*K)] — common and local settings
INSULATIONTHICKNESS 30 -- Pipe insulation thickness [mm] — common and local settings
OVERALLHEATTRANSFER 42 -- Overall heat transfer coefficient [W / (m2*K)] (applied when TEMPMODEL=APPROX in the NETWORKPROPS keyword of the Integrated Model)
BPOINTGORFVF STANDING -- Bubblepoint pressure, gas dissolution in oil, and oil formation volume factor (STANDING || LASATER || VASQUEZBEGGS || GLASO || PETROSKY || DEGHETTO || ALMARHOUN)
OILVISCOSITY BEGGSROBINSON -- Oil viscosity (BEGGSROBINSON || PETROSKY || BERGMAN || NGEGBOGAH || BEAL || DEGHETTO)
GASZFACTOR DRANCHUCK -- Gas Z-factor (DRANCHUCK || PAPAY || STANDING)
GASVISCOSITY LEE -- Gas viscosity (LEE || CARR)
GASLIQUIDGORCUTOFF -- GOR cutoff. When exceeded, flow is modeled as a single-phase gas stream [m3/m3] (default 8860)
/
11.Specification of links between networks.
First column — type of the first network
Second column — joint name in the first network
Third column — type of the second network
Fourth column — joint name in the second network
*/
NETWORKLINKS
PROD '1' GASLIFT 'Sink1'
/
12.Specification of compositional model settings.
The table contains two columns:
Parameter keyword, always the first column
Parameter value, always the second column
*/
EOSOPTIONS
EOSMODEL PR -- equation of state type — PR || SRK — Peng Robinson, Soave Redlich Kwong
USEPRCORR ON -- use the PR78 equation of state, ON || OFF
VOLUMESHIFT USEVS -- volume shift usage — USEVS || USEVST || NOTUSE — (USEVS — SHIFT only, USEVST — SHIFT and SHIFTS, NOTUSE — not used)
PRESSREF 1 -- standard pressure, atm
TEMPREF 20 -- standard temperature, °C
VISCOSITY LBC -- viscosity calculation method — LBC || PED — Lorenz Bray Clark, Pedersen
SEPARATOR SEPTRAIN -- defines the path of the liquid until standard conditions are reached — FLASHSTC || SEPTRAIN
/
13.Specification of the liquid separation path.
First line — header
PRESS — pressure, atm
TEMP — temperature, C
Second and subsequent lines — separation conditions table
*/
SEPARATORTRAIN
PRESS TEMP
50 40
0 20
/
14.Data describing emulsion viscosity for the THREESTAGE model specified by default for all pipelines
The model describes the oil viscosity multiplier versus water cut using three regions — increase, plateau, and decrease
The keyword is identical to the same keyword in the fluid model except for the region name — in this keyword it is omitted
List of parameters describing the three-stage emulsion viscosity function as an oil viscosity multiplier
WCTMIN — left water-cut bound of the plateau [%] (default 60)
WCTMAX — right water-cut bound of the plateau [%] (default 80)
MATCHINGPARAMS — three coefficients describing the oil viscosity multiplier function:
P1, P2 — coefficients of the increasing quadratic dependence to the left of the plateau [dimensionless] (default P1=2.5 and P2=14.1)
P3 — coefficient of the decreasing function to the right of the plateau [dimensionless] (default 0)
*/
EMULSIONTHREESTAGE
WCTMIN 50.5
WCTMAX 85.4
MATCHINGPARAMS 2.5 14.1 0.0
/
15.Laboratory emulsion viscosity data specified by default for all pipelines
The keyword is identical to the same keyword in the fluid model except for the region name — in this keyword it is omitted
First line — temperature [C] and pressure [atm] at which the laboratory data were obtained
Second and N subsequent lines — test data table:
Water cut [%], oil viscosity multiplier [dimensionless]
Missing data is specified as -9999, but such rows are ignored during matching
The test data table ends with the / character on a separate line
This default emulsion table can be specified only once
*/
EMULSIONMATCHDATA
75.8 38.755
0 1
10 1.54
20 2.2
30 4.1
70 5.0
80 3.14159
90 2.718
/
16.Hydrate, salt, and wax (ASPO) formation curves
These curves are used by default for all pipelines of the Integrated Model
First line: flow assurance type (HYDRATES || SALT || WAX)
Each type of curve must be specified no more than once
Flow Assurance in the Integrated Model is specified analogously to its specification in the fluid model
Second and subsequent lines — two-column table: pressure [atm] and temperature [C]
The table must contain at least two rows
*/
PVTWARNINGS
HYDRATES
20 -75
30 -50
40 -10
50 0
250 10
/
17.Data for calculating CO2 corrosion rate by method M-506 (Norsok standard)
*/
CORROSION
PH 7.5 -- pH value, dimensionless (default 7.5)
/
18.Data for calculating the erosion penetration rate of the inner pipeline surface (erosion penetration rate)
*/
EROSION
PARTICLEDENS 2000.0 -- particle density, kg/m3 (default 2000.0)
PARTICLEDIAM 1.0 -- particle diameter, mm (default 1.0)
PARTICLERATE 0.0 -- particle (sand) rate, kg/day (default 0.0)
PIPESTRENGTH 250.0 -- pipe material Brinell hardness, kgf/mm² (default 250.0)
/
19.Specifies default matching parameters of multiphase flow correlations (for the model as a whole).
First column — correlation name (the correlation list is in the MIXTUREFLOW property description in the NETWORKPROPS keyword).
Second column — friction correction factor (default 1.0)
Third column — gravity correction factor (default 1.0).
If a correlation is not listed in the table, its correction factors equal the default values.
For a specific pipe these coefficients are applied if MIXTURESETTINGS=GLOBAL (or is not set), and also if MIXTURESETTINGS=LOCAL but coefficients for the selected correlation are missing from the MATCHPIPEPARAMS keyword
*/
MATCHPIPEPARAMSGLOBAL
BEGGSBRILL 2.41 1.58
HAGEDORNBROWN 1.21 1.02
GRAY 1.0 1.30
ORKISZEWSKI 1.33 1.14
DUNSROS 1.46 2.01
MUKHERJEEBRILL 3.09 1.81
MECH2 1 1
ANSARI 1 1
GRIFFITH 1 1
AZIZ 1 1
POETTMANNCARPENTER 1 1
MECH1 1 1
MECH3 1 1
/
20.Well data — the keyword may be repeated any number of times (thereby specifying the well operating schedule)
after the keyword, a separate line contains the date and time (time is optional, default 00:00:00)
for initial data, INITIAL is used instead of the date
after the date and time follows the column list
Column list:
WELL — well name, required column, always first
PURPOSE — well purpose: OIL — oil || INJ — water injection || GAS — gas || GASINJ — gas injection, required column, always second
STATE — well state: RUN — operating || STOP — shut in, required column, always third
LIFTTYPE — lift type: UNDEF — not set || NFL — flowing || SRP — SRP || ESP — ESP, ESPCP — ESPCP, RDPCP — RDPCP, GL — valve gas lift, DGL — dual-string gas lift, required column, always fourth
the following columns may be in any order
VFPNUM — VFP table number for bottomhole pressure
VFPTEMPNUM — VFP table number for temperature
TPDNAME — TPD table file name without extension in 'quotes' from the TPDLIST table list. Default — empty string
WELLMODELNAME — full well model file name without extension in 'quotes' from the WELLMODELLIST table list. Default — empty string
Connecting well models is used only to transfer data from these files into wells of the Integrated Model, therefore it is specified on the INITIAL date
WELLCALCMODE — well calculation mode: NODAL — VFP and IPR intersection (default) || VFPOUTFLOW — outflow calculation by VFP tables
GASLIFTRATE — gas-lift gas rate, thsd m3/day
SRPSTRLEN — SRP stroke length, mm
SRPSTRNUM — SRP stroke rate, 1/min
ESPFREQ — ESP frequency, Hz
ESPCPSPEED — ESPCP rotational speed, 1/min
DPCHOKE — specified choke pressure drop, atm
THPSHIFT — tubing-head pressure correction, atm
WEFAC — utilization factor, unit fraction
SEPRESSCASING — use wellhead casing pressure in the calculation (OFF || ON), default OFF
PRESSCASINGMODE — casing-pressure usage mode (UNDEF | FIXED | CALC), default UNDEF
PRESSCASING — wellhead casing pressure value, atm
WEARFACTOR — pump wear factor, dimensionless
PERIODIC — cyclic well operation flag (UNDEF || OFF || ON), default UNDEF
PERIODMODE — cyclic regime specification method (UNDEF || TIME || COEF), default UNDEF
WORKTIME — operating time, h
STOPTIME — accumulation time, h
PERIODCOEF — cyclic operation factor, unit fraction
USEMETHANOLINJECT — use methanol injection in the calculation (UNDEF || OFF || ON), default UNDEF
METHANOLINJECTRATE — water-methanol mixture injection rate, m3/day
METHANOLINJECTFRACTION — methanol mole fraction, %
WELLDATA
01.01.2022
[WELL] [PURPOSE] [STATE] [LIFTTYPE] [VFPNUM] [SRPSTRNUM] [ESPFREQ] [WELLCALCMODE]
'1' OIL RUN ESP 1 -9999 45.5 NODAL
'2' OIL RUN SRP 2 6.5 -9999 NODAL
'3' INJ RUN UNDEF 3 -9999 -9999 VFPOUTFLOW
/
WELLDATA
01.04.2022 12:00:00
[WELL] [PURPOSE] [STATE] [LIFTTYPE] [ESPFREQ]
'1' OIL RUN ESP 55
'2' OIL STOP SRP -9999
/
WELLDATA
INITIAL
[WELL] [TPDNAME] [WELLMODELNAME] [GASLIFTRATE]
'1' 'OIS.TPD.format' '' 15.5
'2' '' 'OIS.Well.format_v2' -9999
/
21.Inflow data — the keyword may be repeated any number of times (thereby specifying the inflow operating schedule)
after the keyword, a separate line contains the date and time (time is optional, default 00:00:00)
for initial data, INITIAL is used instead of the date
after the date and time follows the column list
Column list (parameters are identical to those specified in the WELLDATA keyword):
INFLOW — inflow name, required column, always first
PURPOSE — inflow purpose: OIL — oil || INJ — injection || GAS — gas || GASINJ — gas injection, required column, always second
STATE — inflow state: RUN — operating || STOP — shut in, required column, always second
WELLMODELNAME — full well model file name without extension in 'quotes' from the WELLMODELLIST table list. Default — empty string
Connecting well models is used only to transfer data from these files into wells of the Integrated Model, therefore it is specified on the INITIAL date
DPCHOKE — specified choke pressure drop, atm
WEFAC — utilization factor, unit fraction
*/
INFLOWDATA
INITIAL
INFLOW STATE WELLMODELNAME DPCHOKE WEFAC
'inflow1' RUN 'well1esp' 0.0 1.0
'inflow2' STOP '' -1.2 0.25
/
22.List of well-to-tank connections
The well-to-tank connection name may coincide with the well name but must be unique!
Column list:
CONNECT — connection name (required column)
WELL — well name (required column)
MODEL — reservoir model name without extension (required column) (may be empty)
TANK — tank name from the reservoir model (required column) (may be empty)
COMMENT — comment in 'single-line quotes'
OIL — oil rate, m3/day
WATER — water rate, m3/day
GAS — gas rate, thsd m3/day
INJ — injection rate, m3/day
WCT — water cut, %
GOR — gas-oil ratio, m3/m3
WGR — water-gas ratio, m3/m3
CGR — condensate-gas ratio, m3/m3
CUMOIL — cumulative oil production, thsd m3
CUMWATER — cumulative water production, thsd m3
CUMGAS — cumulative gas production, thsd m3
PRESSRES — reservoir pressure, atm
TEMPRES — reservoir temperature, °C
PRESSHIFT — reservoir pressure correction, atm
PVT — PVT region name from the attached fluid model file (keyword PVTLIST)
USEPVTMATCHING — use matching coefficients from the fluid model (0 — do not use (default); 1 — use)
PVTCOMP — compositional PVT model name without extension in 'quotes' from the PVTCOMPLIST list
TRANSIENTIPR — transient IPR flag (0 — do not use (default); 1 — use)
TIGHTRESMODEL — tight-gas reservoir model name without extension (may be empty)
TIGHTRESWELL — well name from the attached tight-gas reservoir model
WELLRESCONNECT
[Well-tank connection name] [Well name] [Reservoir model name] [Tank name (for a decline curve '-')] [PVT region name]
[CONNECT] [WELL] [MODEL] [TANK] [PVT] [USEPVTMATCHING] [PVTCOMP]
'1_PL' '1' 'New Reservoir' '-' 'zone_1' 0 'FluidModelComp'
'2_PL' '2' 'MatBalReservior' 'TankName' 'zone_1' 1 'FluidModelComp'
/
23.List of inflow-to-tank connections
The inflow-to-tank connection name may coincide with the inflow name but must be unique!
Column list:
CONNECT — connection name (required column)
INFLOW — inflow name (required column)
MODEL — reservoir model name without extension (required column) (may be empty)
TANK — tank name from the reservoir model (required column) (may be empty)
COMMENT — comment in 'single-line quotes'
OIL — oil rate, m3/day
WATER — water rate, m3/day
GAS — gas rate, thsd m3/day
INJ — injection rate, m3/day
WCT — water cut, %
GOR — gas-oil ratio, m3/m3
WGR — water-gas ratio, m3/m3
CGR — condensate-gas ratio, m3/m3
CUMOIL — cumulative oil production, thsd m3
CUMWATER — cumulative water production, thsd m3
CUMGAS — cumulative gas production, thsd m3
PRESSRES — reservoir pressure, atm
TEMPRES — reservoir temperature, °C
PRESSHIFT — Pressure correction, atm
PVT — PVT region name from the attached fluid model file (keyword PVTLIST)
USEPVTMATCHING — use matching coefficients from the fluid model (0 — do not use (default); 1 — use)
PVTCOMP — compositional PVT model name without extension in 'quotes' from the PVTCOMPLIST list
*/
INFLOWRESCONNECT
[CONNECT] [INFLOW] [MODEL] [TANK] [PVT] [PRESSHIFT] [USEPVTMATCHING] [PVTCOMP]
'inflow1_pl' 'inflow1' 'New Reservoir' '-' 'zone_1' 5.5 1 'FluidModelComp'
/
24.Well-to-reservoir connection data
WELLRESDATA — the keyword may be repeated any number of times (thereby specifying the well-to-reservoir connection schedule)
after the keyword, a separate line contains the date and time (time is optional, default 00:00:00)
for initial data, INITIAL is used instead of the date
after the date and time follows the column list
Column list:
WELLRES — well-to-tank connection name, required column, always first;
the following columns may be in any order
STATE — well-to-tank connection state: RUN — operating || STOP — shut in
RPTYPE — relative permeability or fraction flow model: COREY || TABLE || FRACFLOW || TANK (identical options in the reservoir model, keyword TANKWELLLIST)
*/
[WELLRESDATA]
01.01.2022
[WELLRES] [STATE] [RPTYPE]
'1_PL' RUN TANK
'2_PL' STOP COREY
/
[WELLRESDATA]
01.04.2022 12:35:13
[WELLRES] [STATE ]
'2_PL' RUN
/
25.Inflow-to-reservoir connection data (the analogous keyword for wells is WELLRESDATA)
INFLOWRESDATA — the keyword may be repeated any number of times (thereby specifying the inflow-to-reservoir connection schedule)
after the keyword, a separate line contains the date and time (time is optional, default 00:00:00)
for initial data, INITIAL is used instead of the date
after the date and time follows the column list
Column list:
INFLOWRES — well-to-tank connection name, required column, always first;
the following columns may be in any order
STATE — well-to-tank connection state: RUN — operating || STOP — shut in
RPTYPE — relative permeability or fraction flow model: COREY || TABLE || FRACFLOW || TANK (identical options in the reservoir model, keyword TANKWELLLIST)
*/
INFLOWRESDATA
INITIAL
[INFLOWRES] [STATE] [RPTYPE]
'inflow1_pl' RUN FRACFLOW
/
26.Network joint schedule
NETWORKNODEDATA — the keyword may be repeated any number of times (thereby specifying the network operating schedule)
First line — date and time (time is optional, default 00:00:00)
Second line — column list.
Third and subsequent lines — table.
Column list:
NODE — network joint name, required column, always first.
NETWORK — network type (PROD || INJ || GASPROD || GASINJ), required column, always second.
The following columns may be in any order
CONTROLTYPE — boundary condition type for sources and sinks (PRESS || RATE). Undefined by default.
PRESS — pressure boundary-condition value for sources and sinks [atm]
RATE — rate boundary-condition value for sources and sinks [m3/day]
WATERFACTORTYPE — water factor type for sources (WCUT || WOR || WGR). Undefined by default.
WCUT — water-cut value for sources [%]
WOR — water-oil ratio value for sources [m3/m3]
WGR — water-gas ratio value for sources [m3/m3]
GASFACTORTYPE — gas factor type for sources (GOR || GLR || CGR). Undefined by default.
GOR — gas-oil ratio value for sources [m3/m3]
GLR — gas-liquid ratio value for sources [m3/m3]
CGR — condensate-gas ratio value for sources [m3/m3]
CHOKETYPE — choke specification method (DIAM || DPCHOKE). Undefined by default.
DIAM — choke diameter value [mm].
DPCHOKE — choke pressure-drop value [atm].
CHOKEMODEL — choke model type (ELF || Venturi || Sachdeva). Undefined by default.
GASSEPTYPE — gas separation specification method (GASCOEF || GASRATE). Undefined by default.
GASCOEF — gas separation coefficient value [%].
GASRATE — separated gas rate value [thsd m3/day].
WATERSEPTYPE — water separation specification method (WATERCOEF || WATERRATE). Undefined by default.
WATERCOEF — water separation coefficient value [%].
WATERRATE — separated water rate value [m3/day].
OILSEPTYPE — oil separation specification method (OILCOEF || OILRATE).
OILCOEF — oil separation coefficient value [%].
OILRATE — separated oil rate value [m3/day].
SOURCETEMP — fluid temperature at sources [°C]
DPEQUIP — pressure drop for generic equipment [atm].
DTEQUIP — temperature drop for generic equipment [°C].
ENABLE — include-in-calculation flag (1 — used, 0 — not used). Default 1.
BYPASS — bypass option flag for the joint — when enabled the joint is modeled as a joint (1 — used, 0 — not used). Default 0
Notes:
1. If columns CONTROLTYPE, WATERFACTORTYPE, GASFACTORTYPE, CHOKETYPE, CHOKEMODEL, GASSEPTYPE, WATERSEPTYPE are not specified, their current values are used in the calculation. A calculation error occurs if the current values are also undefined.
2. Difference between ENABLE and BYPASS.
If ENABLE is 0, there is no fluid flow through the joint.
If BYPASS is 0, fluid flow through the joint is preserved, but the joint is treated as JOINT (choke and separator properties are ignored).
*/
NETWORKNODEDATA
01.04.2022 12:35:13
[NODE] [NETWORK] [ENABLE]
'joint' PROD 1
/
27.Source schedule
NETWORKNODEDATA
01.04.2022 08:00:00
[NODE] [NETWORK] [CONTROLTYPE] [RATE] [WATERFACTORTYPE] [WCUT] [GASFACTORTYPE] [GOR]
'source_1' PROD RATE 20.0 WCUT 50.0 GOR 30.0
/
Source schedule
NETWORKNODEDATA
01.04.2022 12:00:00
[NODE] [NETWORK] [CONTROLTYPE] [RATE] [WATERFACTORTYPE] [WOR] [GASFACTORTYPE] [GLR]
'source_2' PROD RATE 35.0 WOR 1.0 GLR 15.0
/
28.Sink schedule
NETWORKNODEDATA
01.04.2022
[NODE] [NETWORK] [CONTROLTYPE] [PRESS]
'sink' PROD PRESS 1.25
/
29.Choke schedule
NETWORKNODEDATA
01.04.2022
[NODE] [NETWORK] [CHOKETYPE] [DIAM] [CHOKEMODEL] [BYPASS]
'choke' PROD DIAM 8.0 Venturi 1
/
30.Separator schedule
NETWORKNODEDATA
01.04.2022
[NODE] [NETWORK] [GASSEPTYPE] [GASCOEF] [WATERSEPTYPE] [WATERRATE] [BYPASS]
'sep' PROD GASCOEF 25.0 WATERRATE 35.5 0
/
31.Network connection (pipe) data
NETWORKPIPEDATA — the keyword may be repeated any number of times (thereby specifying the network operating schedule)
after the keyword, a separate line contains the date and time (time is optional, default 00:00:00)
after the date and time follows the column list
Column list:
PIPE — network connection name, required column, always first
NETWORK — network type (PROD || INJ || GASPROD || GASINJ), required column, always second.
the following columns may be in any order
ENABLE — 1 — used in the calculation, 0 — not used
BYPASS — bypass option flag for the pipe — when enabled the pipe is modeled as a link (1 — used, 0 — not used). Default 0
MIXTUREFLOW — Gas-liquid mixture flow correlation: ORKISZEWSKI || DUNSROS || BEGGSBRILL || MUKHERJEEBRILL || HAGEDORNBROWN || ANSARI || GRIFFITH || AZIZ || POETTMANNCARPENTER || GRAY
FRICTION — friction correction factor
GRIVITY — gravity correction factor
EXTDIAMETER — outer diameter [mm]
THICKNESS — wall thickness [mm]
ROUGHNESS — roughness [mm]
NETWORKPIPEDATA
01.04.2022
[PIPE] [NETWORK] [ENABLE] [BYPASS]
'src1->joint' PROD 1 1
/
32.Network pipe segment data
NETWORKSEGMENTDATA — the keyword may be repeated any number of times (thereby specifying the network operating schedule)
after the keyword, a separate line contains the date and time (time is optional, default 00:00:00)
after the date and time follows the column list
Column list:
PIPE — network connection name, required column, always first
NETWORK — network type (PROD || INJ || GASPROD || GASINJ), required column, always second.
SEGMENT — segment number (starting from 1), required column, always third.
the following columns may be in any order
EXTDIAMETER — outer diameter [mm]
THICKNESS — wall thickness [mm]
ROUGHNESS — roughness [mm]
NETWORKSEGMENTDATA
01.04.2022 12:35:13
[PIPE] [NETWORK] [SEGMENT] [ROUGHNESS]
'src1->joint' PROD 1 20.0
/
33.Model constraint data
CONSTRAINTDATA — the keyword may be repeated any number of times (thereby specifying the constraint schedule)
after the keyword, a separate line contains the date and time (time is optional, default 00:00:00)
for initial data, INITIAL is used instead of the date
Column list:
Object type (enumeration). Possible object types:
WELL — well
INFLOW – inflow
SOURCE – source
SINK — sink
CHOKE — line choke
SEP — separator
JOINT — joint
PIPE — pipe
SYSTEM — system constraint
Object name
Constraint type (enumeration) (depends on the object type). Possible constraint types:
MAXOILRATE — maximum oil rate [m3/day]
MAXWATERRATE — maximum water rate [m3/day]
MAXGASRATE — maximum gas rate [thsd m3/day]
MAXLIQUIDRATE — maximum liquid rate [m3/day]
MAXWATERINJRATE — maximum water injection rate [m3/day]
MAXGASINJRATE — maximum gas injection rate [thsd m3/day]
MAXPRESSURE — maximum pressure [atm]
MAXVELOCITY — maximum velocity [m/s]
MINFREQUENCY — minimum ESP frequency [Hz]
MAXFREQUENCY — maximum ESP frequency [Hz]
MINGASLIFTRATE — minimum gas-lift gas rate [thsd m3/day]
MAXGASLIFTRATE — maximum gas-lift gas rate [thsd m3/day]
MINSTROKENUMBER — minimum SRP stroke rate [1/min]
MAXSTROKENUMBER — maximum SRP stroke rate [1/min]
MINBHP — minimum bottomhole pressure [atm]
MAXDPCHOKE — maximum choke pressure drop [atm]
MAXDEPRESS — maximum drawdown [atm]
MAXREPRESS — maximum overbalance [atm]
MINOILRATE — minimum oil rate [m3/day]
MINWATERRATE — minimum water rate [m3/day]
MINGASRATE — minimum gas rate [thsd m3/day]
MINLIQUIDRATE — minimum liquid rate [m3/day]
MINWATERINJRATE — minimum water injection rate [m3/day]
MINGASINJRATE — minimum gas injection rate [thsd m3/day]
MAXCOMPRATE — maximum mass rate of selected compositional-model components [t/day]
MINCOMPRATE — minimum mass rate of selected compositional-model components [t/day]
Constraint value (double)
System constraints may be specified (Object type: SYSTEM, Object name: '')
*/
CONSTRAINTDATA
01.01.2022
WELL '1' MAXOILRATE 50.0
/*
List of components accounted for in the MAXCOMPRATE and MINCOMPRATE constraints
of the CONSTRAINTDATA keyword
*/
CONSTRAINTCNAMES
/
34.Optimization control equipment data
CONTROLEQUIPMENT — the keyword may be repeated any number of times
after the keyword, a separate line contains the date and time (time is optional, default 00:00:00)
for initial data, INITIAL is used instead of the date
Column list:
Object type (enumeration). Possible object types:
WELL — well
INFLOW — inflow
CHOKE — line choke
Object name
Parameter type (enumeration) (depends on the object type). Possible parameter types:
DPCHOKE — choke pressure drop [atm] — applicable to WELL, INFLOW, CHOKE
FREQUENCY — ESP frequency [Hz] — applicable to WELL
GASLIFTRATE — gas-lift gas rate [thsd m3/day] — applicable to WELL
STROKENUMBER — SRP stroke rate [1/min] — applicable to WELL
Use-in-optimization flag (ON, OFF)
*/
CONTROLEQUIPMENT
01.01.2022
WELL '1' DPCHOKE ON
/
35.Conditions under which a well, an inflow, or their reservoir connections are shut in until they are explicitly enabled in actions
ABANDONMENT — the keyword may be repeated any number of times
after the keyword, a separate line contains the date and time (time is optional, default 00:00:00)
for initial data, INITIAL is used instead of the date
Column list:
TYPE — object type for which the condition is specified (WELL || INFLOW || WELLRES || INFLOWRES) — required column
NAME — name of the well, inflow, or their reservoir connection — required column
Parameter type (enumeration, may be in any order):
MAXGOR — maximum gas-oil ratio [m3/m3]
MAXWCT — maximum water cut [%]
MAXWGR — maximum water-gas ratio [m3/m3]
MINLIQUIDRATE — minimum liquid rate [m3/day]
MINOILRATE — minimum oil rate [m3/day]
MINGASRATE — minimum gas rate [thsd m3/day]
*/
ABANDONMENT
01.01.2022
WELL 'Well_1' MAXWCT 98
WELL 'Well_1' MINLIQUIDRATE 1
WELL 'Well_1' MAXGOR 1000
/
36.Calculation steps
CALCSTEPS
01.10.2022 -- step start date[dd.mm.yyyy] and time[hh:mm:ss] (time is optional, default 00:00:00)
01.11.2022 12:45:32 -- step start date and time / previous step end date and time
01.12.2022 -- previous step end date and time
/
37.Reservoir model — pressure decline curve
DECLINECURVE
[pressure decline curve name] [curve type] [current cumulative production]
'1_PL' OIL 50.5
curve type — OIL — cumulative oil production, GAS — gas, WATER — water, DATE — date and time
cumulative production: oil and water in m3, gas in thsd m3
table defining the pressure decline curve (OIL || GAS || WATER)
pressure[atm] cumulative_production[m3 or thsd m3]
138.90839 1
87.197716 2
52.723931 5.5
20 6
10 500
/
38.Reservoir model — pressure decline curve
DECLINECURVE
[pressure decline curve name] [curve type] [current cumulative production]
'2_PL' DATE 0.0
curve type — OIL — cumulative oil production, GAS — gas, WATER — water, DATE — date and time
cumulative production: oil and water in m3, gas in thsd m3
table defining the pressure decline curve (DATE)
pressure[atm] date[dd.mm.yyyy] and time[hh:mm:ss]
138.90839 01.10.2022
87.197716 01.11.2022 12:45:32
52.723931 01.12.2022
20 01.01.2023
10 01.02.2023
/
39.Displacement characteristic
FRACTIONFLOW
[Date and time (time is optional, default 00:00:00)]
for initial data, INITIAL is used instead of the date
01.11.2022 12:45:32
[well or inflow to tank connection name] [argument type] [value type]
'1_PL' OILTANK WCT
argument type: PRESS || OILTANK || OILWELLTANK || GASTANK || GASWELLTANK || TIME || PRESSBOTTOM
PRESS — atm, OILTANK — m3, OILWELLTANK — m3, GASTANK — thsd m3, GASWELLTANK — thsd m3, TIME — day, PRESSBOTTOM — atm
value type: WCT || GOR || WGR || CGR
WCT — %, GOR — m3/m3, WGR — m3/m3, CGR — m3/m3
[Argument value] [Function value]
1.0 2.0
20.0 30.0
50.0 90.0
/
Relative permeability — Corey functions
RPPCOREY
[Date and time (time is optional, default 00:00:00)]
for initial data, INITIAL is used instead of the date
01.11.2022 12:45:32
[well or inflow to tank connection name] [residual water saturation [unit fraction]] [residual gas saturation [unit fraction]]
[residual oil saturation to water [unit fraction]] [residual oil saturation to gas [unit fraction]]
[relative permeability at max. water saturation] [relative permeability at max. gas saturation] [relative permeability at max. oil saturation]
[exponent at water saturation] [exponent at gas saturation]
[exponent at oil saturation to water] [exponent at oil saturation to gas]
'1_PL' 0.08 0.3 0.002 0 0.7 0.8 0.9 1.5 1.5 2.0 2.0
'2_PL' 0.08 0.3 0.002 0 0.7 0.8 0.9 1.5 1.5 2.0 2.0
/
40.Relative permeability — tables (two tables must be specified for the tank: oil-water and gas-oil)
RPPTABLE
[Date and time (time is optional, default 00:00:00)]
for initial data, INITIAL is used instead of the date
01.11.2022
[well or inflow to tank connection name] [table type (WATEROIL | GASOIL)]
'1_PL' WATEROIL
[water or gas saturation] [water or gas relative permeability] [oil relative permeability to water or gas]
0.27 0 1
0.285 0.001 0.9343
0.41 0.0209 0.47296
0.5527 0.08353 0.065
0.719 0.31102 0
1 1 0
/
RPPTABLE
[Date and time (time is optional, default 00:00:00)]
for initial data, INITIAL is used instead of the date
01.11.2022
[well or inflow to tank connection name] [table type (WATEROIL | GASOIL)]
'1_PL' GASOIL
[water or gas saturation] [water or gas relative permeability] [oil relative permeability to water or gas]
0.0 0.0 1.0
0.5 0.4 0.5
1.0 1.0 0.0
/
41.Vogel IPR
41.1.IPRVOGEL
[Date and time (time is optional, default 00:00:00)]
for initial data, INITIAL is used instead of the date
INITIAL
[Well or inflow to tank connection name] [Productivity index (PI)] [Reservoir pressure, atm] [Bubblepoint pressure, atm] [Water cut, %]
'1_PL' 1.5 200.0 120.0 17.1
'2_PL' 0.9 195.1 120.0 35.4
/
41.2.Forchheimer IPR
IPRFORCHHEIMER
[Date and time (time is optional, default 00:00:00)]
for initial data, INITIAL is used instead of the date
01.11.2022
[Well or inflow to tank connection name] [Coefficient A] [Coefficient B] [Reservoir pressure, atm]
'1_PL' 1.4 0.6 200.0
'2_PL' 0.8 0.1 195.1
/
41.3.IPR C and N
IPRCANDN
[Date and time (time is optional, default 00:00:00)]
for initial data, INITIAL is used instead of the date
02.11.2022
[Well or inflow to tank connection name] [Coefficient C] [Coefficient N] [Reservoir pressure, atm]
'1_PL' 1.4 0.9 200.0
'2_PL' 0.8 0.5 195.1
/
41.4.Forchheimer IPR with pseudopressure
IPRFORCHHEIMERPSEUDO
[Date and time (time is optional, default 00:00:00)]
for initial data, INITIAL is used instead of the date
03.11.2022
[Well or inflow to tank connection name] [Coefficient A] [Coefficient B] [Reservoir pressure, atm]
'1_PL' 1.4 0.6 200.0
'2_PL' 0.8 0.1 195.1
/
41.5.IPR no flow boundaries
IPRNOFLOWBOUND
[Date and time (time is optional, default 00:00:00)]
for initial data, INITIAL is used instead of the date
04.11.2022
[Well or inflow to tank connection name] [Permeability, mD] [Reservoir thickness, m] [Well radius, m] [Horizontal anisotropy] [Vertical anisotropy] [Horizontal well section length, m] [Reservoir length, m] [Reservoir width, m] [Distance from the boundary to the well center along length, m] [Distance from the boundary to the well center along width, m] [Distance from the boundary to the well center along depth, m] [Skin factor] [Reservoir pressure, atm] [Bubblepoint pressure, atm] [Water cut, %]
'1_PL' 10.0 30.0 0.1 1.0 0.1 1000.0 5000.0 5000.0 2500.0 2500.0 15.0 0.0 320.0 100.0 0.0
/
41.6.IPR transverse vertical fractures
IPRTRANSVERTFRAC
[Date and time (time is optional, default 00:00:00)]
for initial data, INITIAL is used instead of the date
05.11.2022
[Well or inflow to tank connection name] [Permeability, mD] [Reservoir thickness, m] [Well radius, m] [Horizontal anisotropy] [Vertical anisotropy] [Horizontal well section length, m] [Reservoir length, m] [Reservoir width, m] [Distance from the boundary to the well center along length, m] [Distance from the boundary to the well center along width, m] [Distance from the boundary to the well center along depth, m] [Skin factor] [Hydraulic fracture half-length, m] [Dimensionless fracture conductivity] [Number of fractures] [Reservoir pressure, atm] [Bubblepoint pressure, atm] [Water cut, %]
'2_PL' 10.0 30.0 0.1 1.0 0.1 1000.0 5000.0 5000.0 2500.0 2500.0 15.0 0.0 800.0 6.2 2 320.0 100.0 0.0
/
42.IPR
42.1.IPR
[Date and time (time is optional, default 00:00:00)]
for initial data, INITIAL is used instead of the date
06.11.2022
Column list.
NAME — Well or inflow to tank connection name
TYPE — IPR type, enumeration (VOGEL, FORCHHEIMER, FORCHHEIMERPSEUDO, CANDN, NOFLOWBOUND, TRANSVERTFRAC)
PI — Productivity index (PI)
A — Coefficient A (Forchheimer), atm^2 / (m3/day)^2
B — Coefficient B (Forchheimer), atm^2 / (m3/day)
APSEUDO — Coefficient A (Forchheimer with pseudopressure), atm^2 / cP / (m3/day)^2
BPSEUDO — Coefficient B (Forchheimer with pseudopressure), atm^2 / cP / (m3/day)
C — Coefficient C
N — Coefficient N
PERM — Permeability, mD
THICKNESS — Reservoir thickness, m
RW — Well radius, m
ANISHOR — Horizontal anisotropy
ANISVERT — Vertical anisotropy
LW — Horizontal well section length, m
LX — Reservoir length, m
LY — Reservoir width, m
XW — Distance from the boundary to the well center along length, m
YW — Distance from the boundary to the well center along width, m
ZW — Distance from the boundary to the well center along depth, m
SKIN — Skin factor
FHALFLENGTH — Hydraulic fracture half-length, m
FCOND — Dimensionless fracture conductivity
FCOUNT — Number of fractures
PRESSRES — Reservoir pressure, atm
PRESSBP — Bubblepoint pressure, atm
WCUT — Water cut, %
GOR — Gas-oil ratio, m3/m3
CALCMODE — Variable used in the calculation, enumeration (PRESSBP, GOR) — default PRESSBP
[NAME] [TYPE] [PERM] [THICKNESS] [RW] [ANISHOR] [ANISVERT] [LW] [LX] [LY] [XW] [YW] [ZW] [SKIN] [PRESSRES] [PRESSBP] [WCUT] [GOR] [CALCMODE]
'1_PL' NOFLOWBOUND 10.0 30.0 0.1 1.0 0.1 1000.0 5000.0 5000.0 2500.0 2500.0 15.0 0.0 320.0 100.0 0.0 50.0 PRESSBP
/
42.2.Vogel IPR
IPR
07.11.2022
[NAME] [TYPE] [PI] [PRESSRES] [PRESSBP] [WCUT] [GOR] [CALCMODE]
'1_PL' VOGEL 1.5 200.0 120.0 17.1 50 PRESSBP
/
42.3.IPR no flow boundaries
IPR
08.11.2022
[NAME] [TYPE] [PERM] [THICKNESS] [RW] [ANISHOR] [ANISVERT] [LW] [LX] [LY] [XW] [YW] [ZW] [SKIN] [PRESSRES] [PRESSBP] [WCUT] [GOR] [CALCMODE]
'1_PL' NOFLOWBOUND 10.0 30.0 0.1 1.0 0.1 1000.0 5000.0 5000.0 2500.0 2500.0 15.0 0.0 320.0 100.0 0.0 50.0 PRESSBP
/
42.4.IPR transverse vertical fractures
IPR
09.11.2022
[NAME] [TYPE] [PERM] [THICKNESS] [RW] [ANISHOR] [ANISVERT] [LW] [LX] [LY] [XW] [YW] [ZW] [SKIN] [FHALFLENGTH] [FCOND] [FCOUNT] [PRESSRES] [PRESSBP] [WCUT] [GOR] [CALCMODE]
'2_PL' TRANSVERTFRAC 10.0 30.0 0.1 1.0 0.1 1000.0 5000.0 5000.0 2500.0 2500.0 15.0 0.0 800.0 6.2 2 320.0 100.0 0.0 60.0 GOR
/
42.5.Forchheimer IPR
IPR
10.11.2022
[NAME] [TYPE] [A] [B] [PRESSRES]
'1_PL' FORCHHEIMER 1.4 0.6 200.0
/
42.6.Forchheimer IPR with pseudopressure
IPR
11.11.2022
[NAME] [TYPE] [APSEUDO] [BPSEUDO] [PRESSRES]
'2_PL' FORCHHEIMERPSEUDO 0.8 0.1 195.1
/
42.7.IPR C and N
IPR
12.11.2022
[NAME] [TYPE] [C] [N] [PRESSRES]
'2_PL' CANDN 0.8 0.5 195.1
/
43.Tabular IPR specifying oil, water, and gas rates versus bottomhole pressure
When this IPR type is specified, the following data are ignored: relative permeability and the WCT, GOR, WGR, CGR parameters of the WELLRESCONNECT keyword
First line — Date and time (time is optional, default 00:00:00); for initial data INITIAL is used instead of the date
Second line — well or inflow to tank connection name
Third line — table header
Fourth and subsequent lines — data table
Column list:
PRESSBOTTOM — bottomhole pressure, atm.
OILRATE — oil rate, m3/day
WATERRATE — water rate, m3/day
GASRATE — gas rate, thsd m3/day
*/
IPRTABLELOOKUP
15.11.2022
'1_PL'
[PRESSBOTTOM] [OILRATE] [WATERRATE] [GASRATE]
0 374.9498 89.987952 20.622239
0.13 374.8033 89.952792 20.6141815
0.2484 374.6699 89.920776 20.6068445
0.2669 374.649 89.91576 20.605695
0.5479 374.3324 89.839776 20.588282
1.1248 373.6822 89.683728 20.552521
1.2086 373.5877 89.661048 20.5473235
1.9997 372.6962 89.447088 20.498291
2.1488 372.5281 89.406744 20.4890455
4.1052 370.3232 88.877568 20.367776
4.4114 369.9782 88.794768 20.348801
9.0563 364.7434 87.538416 20.060887
47.3601 240.4133 57.699192 13.2227315
84.2 0 0 0
/
44.Table of points for matching to actual data
MATCHPOINTS
[Date and time (time is optional, default 00:00:00)]
for initial data, INITIAL is used instead of the date
INITIAL
Well or inflow to tank connection name
'1_PL'
[Liquid rate, m3/day (or gas rate thsd m3/day)] [Bottomhole pressure, atm]
10.0 90.0
15.0 75.0
/
45.Working component composition for the connection.
First line — well or inflow to tank connection name.
Second and subsequent lines — table.
Column list:
CNAMES — Component names
ZI — Mole fractions, unit fraction
*/
FLUIDCOMP
'1_PL'
CNAMES ZI
N2 0.0018
CO2 0.0136
C1 0.326
C2 0.087
C3 0.0936
iC4 0.0171
C4 0.0423
iC5 0.0192
C5 0.0248
C6 0.0543
C7 0.0435
C8 0.0441
C9 0.021304
C10-C14 0.080622
C15-C18 0.041744
C19-C22 0.028443
C23-C26 0.01938
C27-C31 0.015787
C32-C37 0.011225
C38-C45 0.00773
C46-C56 0.004366
C57-C80 0.002099
/
46.The keyword describes conditions that trigger the actions described in the SCENARIOACTIONS keyword
Column list describing the conditions:
OBJECTTYPE — type of the object associated with the condition
NAME — name of the object associated with the condition
PARAM — type of the parameter associated with the condition
OPER — comparison operation type for evaluating the condition (<, >, <=, >=, =, !=)
VALUE — parameter value used in the comparison
LOGIC — logical link to the next condition (in the last condition any value must be specified; it will be ignored)
*/
SCENARIOCONDITIONS -- a separate keyword for each scenario
[Scenario name] [Action number] [Condition check location] [Number of executions]
Condition check location: PRESTEP || POSTSTEP || START
'Scen1' 1 PRESTEP 2
[OBJECTTYPE] [NAME] [PARAM] [OPER] [VALUE] [LOGIC]
WELL '1' QLIQUID > 100.5 OR
INFLOW 'inflow1' PRESSBOTTOM < 50.54 OR
/
SCENARIOCONDITIONS -- a separate keyword for each scenario
OBJECTTYPE: SYSTEM || WELL || INFLOW || WELLRES || INFLOWRES || SOURCE ...
[Scenario name] [Action number] [Condition check location] [Number of executions]
'Scen1' 2 POSTSTEP 2
[OBJECTTYPE] [NAME] [PARAM] [OPER] [VALUE] [LOGIC]
WELLRES '1_PL' QLIQUID > 100.5 AND
SYSTEM '' DATE < '05.05.2024' AND
/
47.The keyword describes actions performed when the conditions described in the SCENARIOCONDITIONS keyword are met
Column list describing the conditions:
OBJECTTYPE — type of the object for which the action is performed
NAME — name of the object for which the action is performed
PARAM — type of the parameter whose value changes as a result of the action
NEWVALUE — new parameter value
OPER — operation type between the current parameter value and NEWVALUE (=, +, *)
*/
SCENARIOACTIONS
[Scenario name] [Action number] [Condition check location]
'Scen1' 1 PRESTEP
[OBJECTTYPE] [NAME] [PARAM] [OPER] [VALUE]
WELL '1' STATE = STOP
/
SCENARIOACTIONS
[Scenario name] [Action number] [Condition check location]
'Scen1' 2 POSTSTEP
[OBJECTTYPE] [NAME] [PARAM] [OPER] [VALUE]
WELL '2' DPCHOKE * 105.1
SOURCE 'source_1' QLIQUID = 3.14159
WELL '2' FREQUENCY + 1
/
48.Object types associated with a condition or an action. OBJECTTYPE takes the values:
SYSTEM — the Integrated Model as a whole
WELL — well
INFLOW — inflow
WELLRES — well-to-reservoir connection
INFLOWRES — inflow-to-reservoir connection
SOURCE — source
SINK — sink
CHOKE — choke
SEPARATOR — separator
JOINT — joint
GENERICEQUIPMENT — generic equipment
PUMP — pump
PIPE — pipeline
49.Parameter types used when evaluating conditions (the PARAM column in the SCENARIOCONDITIONS keyword):
DATE — date
QOIL — oil rate [m3/day]
QWATER — water rate [m3/day]
QLIQUID — liquid rate [m3/day]
QGAS — gas rate [thsd m3/day]
WCT — water cut [%]
GOR — gas-oil ratio [m3/m3]
WGR — water-gas ratio [m3/m3].
CGR — condensate-gas ratio [m3/m3].
PRESS — pressure [atm]
TEMP — temperature [C]
ENABLE — include-in-calculation flag: 1 — used, 0 — not used
BYPASS — bypass option flag for the joint — when enabled the joint is modeled as a joint: 1 — used, 0 — not used
STATE — well state: RUN — operating || STOP — shut in
PRESSBOTTOM — bottomhole pressure [atm]
PRESSRES — reservoir pressure [atm]
PRESSTUBING — tubing-head pressure [atm]
PRESSLINE — line pressure [atm]
TEMPBOTTOM — bottomhole temperature [C]
TEMPRES — reservoir temperature [C]
TEMPTUBING — tubing-head temperature [C]
TEMPLINE — line temperature [C]
FREQUENCY — ESP frequency [Hz]
DPCHOKE — choke pressure drop [atm]
GASLIFTRATE — gas-lift gas rate [thsd m3/day]
STROKENUMBER — SRP stroke rate [1/min]
LIQUIDVELOCITY — liquid velocity [m/s]
BOTTLENECK — bottleneck flag: 1 — yes, 0 — no
PRESSDROP — pipeline pressure drop [atm]
SPECPRESSDROP — specific pressure losses in the pipeline [atm/km]
50.Parameter types that change when conditions are met (the PARAM column in the SCENARIOACTIONS keyword):
QLIQUID — liquid rate [m3/day]
QGAS — gas rate [thsd m3/day]
WCT — water cut [%]
GOR — gas-oil ratio [m3/m3]
WGR — water-gas ratio [m3/m3].
CGR — condensate-gas ratio [m3/m3].
PRESS — pressure [atm]
TEMP — temperature [C]
ENABLE — include-in-calculation flag: 1 — used, 0 — not used
BYPASS — bypass option flag for the joint — when enabled the joint is modeled as a joint: 1 — used, 0 — not used
STATE — well state: RUN — operating || STOP — shut in
PRESSRES — reservoir pressure [atm]
FREQUENCY — ESP frequency [Hz]
DPCHOKE — choke pressure drop [atm]
GASLIFTRATE — gas-lift gas rate [thsd m3/day]
STROKENUMBER — SRP stroke rate [1/min]
below are special parameter types for SCENARIOACTIONS
LIFTTYPE — lift type: NFL — flowing || SRP — SRP || ESP — ESP || ESPCP — ESPCP || RDPCP — RDPCP || GL — valve gas lift || DGL — dual-string gas lift
VFPNUM — VFP table number for bottomhole pressure
VFPTEMPNUM — VFP table number for temperature
TPDNAME — TPD table file name without extension in 'quotes' from the TPDLIST table list
PI — Productivity index [m3/day/atm]
WEFAC — utilization factor [unit fraction]
FRICTION — friction correction factor [dimensionless]
GRIVITY — gravity correction factor [dimensionless]
EXTDIAMETER — pipeline outer diameter [mm]
THICKNESS — pipeline wall thickness [mm]
ROUGHNESS — pipeline roughness [mm]
GASSEPTYPE — gas separation specification method (GASCOEF || GASRATE).
GASCOEF — gas separation coefficient value [%].
GASRATE — separated gas rate value [thsd m3/day].
WATERSEPTYPE — water separation specification method (WATERCOEF || WATERRATE).
WATERCOEF — water separation coefficient value [%].
WATERRATE — separated water rate value [m3/day].
OILSEPTYPE — oil separation specification method (OILCOEF || OILRATE).
OILCOEF — oil separation coefficient value [%].
OILRATE — separated oil rate value [m3/day].
DPEQUIP — pressure drop for generic equipment [atm].
DTEQUIP — temperature drop for generic equipment [°C].
*/
51.WELLVALIDATION specifies a table of actual data for checking the quality of well matching
First line — table header
Second and subsequent lines — data table
Column list:
WELL — well name
RESP — reservoir pressure, atm (Reservoir Pressure)
PSHIFT — reservoir pressure correction, atm (IPR DP shift)
TUBP — tubing-head pressure, atm (Tubing Pressure)
LRATE — liquid rate, m3/day (Liquid Rate)
WCT — water cut, % (Water Cut)
GOR — gas-oil ratio, m3/m3 (Gas Oil Ratio)
GRATE — gas rate, thsd m3/day (Gas Rate)
WGR — water-gas ratio, m3/m3 (Water Gas Ratio)
CGR — condensate-gas ratio, m3/m3 (Condensate Gas Ratio)
WINJRATE — water injection rate, m3/day (Water Injection Rate)
GINJRATE — gas injection rate, thsd m3/day (Gas Injection Rate)
FREQ — ESP frequency, Hz (Operating Frequence)
GLINJRATE — gas-lift gas rate, thsd m3 (Gaslift Injection Rate)
SRPSTRNUM — stroke rate, 1/min (Strokes Per Minute)
SRPSTRLEN — stroke length, mm (Stroke Length)
*/
WELLVALIDATION
[WELL] [RESP] [PSHIFT] [TUBP] [LRATE] [WCT] [GOR] [FREQ]
'1' 200.0 0.0 25.0 50.0 31.0 60.0 55.0
/
WELLVALIDATION
[WELL] [RESP] [PSHIFT] [TUBP] [WINJRATE]
'3' 190.0 0.0 50.0 90.0
/
52.Calculation settings
52.1.CALCSETTINGS
[Parameter type] [Parameter value]
ARTLIFTSRP STROKES -- artificial lift parameter type for SRP — enumeration: stroke length or stroke rate (LENGTH || STROKES)
PRESSERROR 0.1 -- pressure calculation tolerance, atm (double)
RATEERROR 0.1 -- liquid rate calculation tolerance, m3/day (double)
GASRATEERROR 0.01 -- gas rate calculation tolerance, thsd m3/day (double)
MAXITER 100 -- maximum number of iterations (int)
WELLBOUNDCOND RESERVOIR -- well boundary-condition specification method (RESERVOIR || SURFACE). In the SURFACE case wells operate as sources.
In the RESERVOIR case nodal analysis is calculated for wells, and the reservoir model is used (if specified).
PRESSHIFTMODE ON -- account for reservoir pressure correction in the calculation (OFF || ON), default ON
PIPECYCLEPRESSERROR 0.5 -- pressure tolerance used by the network model to close loops, atm (double), default 0.5
USEGDEM OFF -- use the GDEM method to accelerate the calculation (OFF || ON), default OFF
PERIODGDEM 5 -- minimum number of iterations between GDEM calls (int), default 5
SIZEGDEM 2 -- dimension of the GDEM equation system (int), default 2
CRITGDEM 0.001 -- GDEM trigger criterion (double), default 0.001
USEGASLIFTSYSTEM ON -- coupled calculation of the production and gas-lift networks (OFF || ON), default ON
MAXSTARTLIQRATE 1000.0 -- maximum initial liquid rate, m3/day
MAXSTARTGASRATE 1000.0 -- maximum initial gas rate, thsd m3/day
MAXLIQRATECHANGE 1000.0 -- maximum liquid rate change per iteration, m3/day
MAXGASRATECHANGE 1000.0 -- maximum gas rate change per iteration, thsd m3/day
INHIBITORTRACKING OFF -- calculate inhibitor concentrations, ON || OFF (default OFF — in this case inhibitor sources are disabled)
TRACKINGCHOKEMODE COMP -- calculate choke pressure and temperature drops using the compositional model or black oil in tracking calculation mode, COMP || BLACKOIL (default BLACKOIL)
TEMPERATUREERROR 1 -- temperature calculation tolerance (default 1.0), °C
MAXTEMPERATURECHANGE 50 -- maximum temperature change per iteration (default 50.0), °C
MAXPIPELENGTH 100 -- maximum pipe section length (default 100.0), m
RELAXFACTOR 1 -- relaxation factor (default 1.0), dimensionless
PARALLEL 1 -- number of parallel calculation cores (default 1) (int)
PRESSPERTURBANCE 1 -- pressure increment when computing derivatives (default 1.0), atm
GASPERTURBANCE 28 -- gas rate increment when computing derivatives (default 28.0), thsd m3/day
LIQUIDPERTURBANCE 150 --- liquid rate increment when computing derivatives (default 150.0), m3/day
TEMPPERTURBANCE 5 -- temperature increment when computing derivatives (default 5.0), °C
CALCTEMPERATURE ON -- temperature calculation (OFF || ON), default ON
RELAXFACTORMODE FIXED -- relaxation factor specification method (FIXED — fixed, LINESEARCH — Line Search algorithm, LINESEARCHMOD — modified Line Search algorithm) (default — FIXED)
RELAXCALCSTARTSTEP 2 -- iteration number from which relaxation factor selection starts (default — 2)
RELAXFACTORMULT 1 -- step multiplier in linear search (default — 1.0), dimensionless
/
52.2.Common settings for the Rule Based Solver and the SQP optimizer
COMMONOPTSETTINGS
MAXDPCHOKE 200 -- maximum choke pressure-drop value, atm (double), default 200 atm
WELLCONSTRAINTS ALL -- account for well and inflow constraints: ALL — all constraints, CONTROL — constraints only for wells and inflows with control (default ALL)
/
52.3.Rule Based Solver settings
RBNSSETTINGS
[Parameter type] [Parameter value]
TARGET MAXOILRATE -- objective function (MAXOILRATE || MAXLIQUIDRATE || MINLIQUIDRATE || MAXGASRATE || MINGASRATE || PRODUCTION || MAXWATERINJRATE || MAXGASINJRATE)
MAXITER 50 -- maximum number of iterations (int)
LIQRATEERROR 1.0 -- liquid-rate constraint tolerance, m3/day (double)
GASRATEERROR 1.0 -- gas-rate constraint tolerance, thsd m3/day (double)
PRESSERROR 1.0 -- pressure constraint tolerance, atm (double)
MINCONTROLCHANGE 0.01 -- minimum control-parameter change to finish the calculation, unit fraction (double)
MAXFREQUENCYCHANGE 10.0 -- maximum ESP frequency change, Hz (double)
MAXPRESSCHANGE 10.0 -- maximum pressure change, atm (double)
MAXGASLIFTRATECHANGE 0.5 -- maximum gas-lift gas rate change, thsd m3/day (double)
MAXSTROKENUMBERCHANGE 0.5 -- maximum SRP stroke rate change, 1/min (double)
WATERPENALTY 1.0 -- penalty parameter for watered-out wells, default 1.0
OILWEIGHT 1.0 -- weight parameter for the oil/condensate fraction, default 1.0
CALCCHOKECONSTRAINT OFF -- calculate constraints for the maximum choke pressure drop to prevent well shut-in (OFF || ON), default OFF
USECONTROLPRIORITY ON -- account for control parameter priority (parameters with and without energy consumption) (OFF || ON), default ON
COMPRATEERROR 1 -- component-rate constraint tolerance, t/day (double)
/
52.4.SQP optimizer settings
SQPSETTINGS
[Parameter type] [Parameter value]
TARGET MAXOILRATE -- objective function (MAXOILRATE || MAXLIQUIDRATE || MINLIQUIDRATE || MAXGASRATE || MINGASRATE || PRODUCTION || MAXWATERINJRATE || MAXGASINJRATE)
MAXITER 50 -- maximum number of iterations (int)
MINCONTROLCHANGE 0.01 -- minimum control-parameter change to finish the calculation, unit fraction (double)
MAXFREQUENCYCHANGE 10.0 -- maximum ESP frequency change, Hz (double)
MAXPRESSCHANGE 10.0 -- maximum pressure change, atm (double)
MAXGASLIFTRATECHANGE 0.5 -- maximum gas-lift gas rate change, thsd m3/day (double)
MAXSTROKENUMBERCHANGE 0.5 -- maximum SRP stroke rate change, 1/min (double)
APPROXSIZE 0 -- number of approximation points of the objective function and constraints (int), default 0
if APPROXSIZE <= 0, the number of points is determined by the formula 2n+1, where n is the number of active controls
otherwise APPROXSIZE explicitly sets the number of points (it is recommended to specify at least n+1 points)
USEIMPROVECRITERION OFF -- stop optimization when there is no improvement of the objective function and constraints (OFF || ON), default OFF
IMPROVECRITERION 0.01 -- relative threshold for checking the absence of improvement of the objective function and constraints (double), default 0.01
IMPROVELIMIT 6 -- number of times the no-improvement criterion is triggered after which optimization stops
CONSTRAINTMETHOD QUADRATIC -- constraint approximation method (LINEAR || QUADRATIC), default LINEAR
/
52.5.Calculation results are saved to a file with the project name and the *.oimres extension
52.6.The calculation log is saved to a file with the project name and the *.oimlog extension
52.7.