opm-common/tests/summary_deck.DATA
Bård Skaflestad 2d3432a9e0 Summary: Add Support for 'GPR' (Network Node Pressure) Keyword
This commit adds an evaluation function for the GPR summary vector.
We assume that the actual value is calculated elsewhere and passed
in unchanged from the caller of Summary::eval().  We therefore need
only convert the value to output units and hook this procedure up to
the table of known output functions.

Add a simple unit test for demonstration.
2020-09-22 10:08:44 +02:00

892 lines
7.1 KiB
Plaintext

-- Synthetic test deck based on Norne. This data set is meant to be a simple,
-- well-documented deck for the behaviour of SUMMARY specified output. Data
-- is mostly entered to *traceable* and does not necessarily make sense from
-- a simulation point of view.
START
10 MAI 2007 /
RUNSPEC
TITLE
SUMMARYTESTS
-- A simple 10x10x10 cube. Simple to reason about, large enough for all tests
DIMENS
10 10 10 /
REGDIMS
10 /
WELLDIMS
-- Item 1: NWMAX (Maximum number of wells in model)
-- Item 2: NCWMAX (Maximum number of connections per well)
-- Item 3: NGMAX (Maximum number of groups in model--excluding FIELD)
-- Item 4: NWGMAX (Maximum number of wells or child groups per group)
-- NWMAX NCWMAX NGMAX NWGMAX
6 2 3 2
/
OIL
GAS
WATER
UNIFIN
UNIFOUT
GRID
DX
1000*1 /
DY
1000*1 /
DZ
1000*1 /
TOPS
100*1 /
-- Cell 2,1,10 is inactive
ACTNUM
901*1 0 98*1 /
PORO
1000*0.2 /
PERMX
1000*50 /
PERMY
1000*50 /
PERMZ
1000*10 /
REGIONS
FIPNUM
100*1
100*2
100*3
100*4
100*5
100*6
100*7
100*8
100*9
100*10 /
SUMMARY
DATE
PERFORMA
--
-- Field Data
-- Production Rates
FVPR
FWPR
FWPRH
FOPR
FOPRH
FGPR
FGPRH
FLPR
FLPRH
FGSR
FGCR
FNPR -- solvent
FGPRF
FGPRS
FOPRF
FOPRS
FCPR
FSPR
--FTPRSEA
-- Injection Rates
FVIR
FWIR
FWIRH
FGIR
FNIR -- solvent
FGIRH
FCIR
FSIR
-- Production Cummulatives
FVPT
FWPT
FOPT
FLPT
FLPTH
FGPT
FNPT
FOP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
/
GGPTH
/
GLPTH
/
GPRG
/
GPRW
/
GOPTF
/
GOPTS
/
GOPTH
/
GOPRF
/
GOPRS
/
GOPRH
/
GGPTF
/
GGPTS
/
GGPTH
/
GGPRF
/
GGPRS
/
GGPTF
/
GGPTS
/
GGPTH
/
GGLR
/
GGLIR
/
GGLRH
/
GVPR
/
GVPT
/
GMCTP
/
GOPP
/
GWPP
/
GGPP
/
GGPI
/
GWPI
/
GVIR
/
GVIT
/
GVPRT
/
GMWPR
/
GMWIN
/
GCPR
/
GCPT
/
GSPR
/
GSPT
/
-- Production and injection guide rates (group level)
GOPGR
G_1 /
GGPGR
G_1 /
GWPGR
G_1 /
GVPGR
G_1 /
GGIGR
G_1 /
GWIGR
G_1 /
-- Network reporting (extended network, node level)
GPR
/
-- Well Data
-- Production Rates
WWPR
/
WWPRH
/
WOPR
/
WGVPR
W_1 W_2 /
WOPRH
/
WGPR
/
WNPR
/
WGPRH
/
WLPR
/
WLPRH
/
WLPT
/
WLPTH
/
WGPRS
/
WGPRF
/
-- Injection Rates
WWIR
W_3
/
WWIT
W_3
/
WWIRH
W_3
/
WGVIR
W_3
/
WWVIR
W_3
/
WWITH
W_3
/
WGIT
W_3
/
WGIR
W_3
/
WGIRH
W_3
/
WGITH
W_3
/
WNIR
W_3
/
WCIR
W_3
/
WSIR
W_3
/
WCIT
W_3
/
WSIT
W_3
/
WNIT
W_3
/
-- Production Cummulatives
WWPT
/
WWPTH
/
WOPT
/
WOPTH
/
WGPT
/
WGPTH
/
WNPT
/
WGPTF
/
WGPTS
/
WOPTF
/
WOPTS
/
-- Tracers
--WTPRSEA
--/
--WTPTSEA
--/
-- Injection Cummulatives
WWIT
W_3
/
-- Ratios
WWCT
/
WWCTH
/
WGOR
/
WGORH
/
WGLR
/
WGLRH
/
-- Performance
WBHP
/
WBHPH
/
WTHP
/
WTHPH
/
WPI
/
WBP
/
WBP4
/
-- from model2
WOPTF
/
WOPTS
/
WOPTH
/
WOPRS
/
WOPRF
/
WGPTF
/
WGPTS
/
WGPRF
/
WTPRS
/
WGLIR
/
WVPR
/
WVPT
/
WVPRT
/
WOPP
/
WWPP
/
WGPP
/
WGPI
/
WWPI
/
WVIR
/
WVIT
/
WMCTL
/
WCPR
/
WCPT
/
WSPR
/
WSPT
/
-- Production and injection guide rates (well level)
WOPGR
/
WGPGR
/
WWPGR
/
WVPGR
/
WGIGR
/
WWIGR
/
-- Water injection per connection
CWIR
* /
/
-- Gas injection on 3 1 1 (45)
CGIR
'W_3' 3 1 1 /
/
CWIT
'W_3' /
/
CGIT
* /
/
-- Production per connection
-- Using all the different ways of specifying connections here
-- as an informal test that we still get the data we want
CWPR
'W_1' 1 1 1 /
/
COPR
'W_1' /
'W_2' /
'W_3' /
/
CGPR
'*' /
/
CNFR
'*' /
/
CNPT
'*' /
/
CNIT
'*' /
/
CCIR
'*' /
/
CCIT
'*' /
/
CSIR
'*' /
/
CSIT
'*' /
/
CWPT
'W_1' 1 1 1 /
/
COPT
'W_1' /
/
CGPT
'W_1' /
'W_2' /
'W_3' /
/
CTFAC
'W_1' /
'W_2' /
'W_3' /
/
---- Connection production rates
----CGFR
----'E-4AH' /
----/
----CWFR
----'E-2H' /
----/
WUBHP
/
SCHEDULE
UDQ
UNITS WUBHP 'BARSA' /
/
BRANPROP
-- Downtree Uptree #VFP ALQ
G_1 PLAT-A 5 1* /
G_2 PLAT-A 4 1* /
/
NODEPROP
-- Node_name Press autoChoke? addGasLift? Group_name
PLAT-A 21.0 NO NO 1* /
G_1 1* NO NO 1* /
G_2 1* NO NO 1* /
/
-- Three wells, two producers (so that we can form a group) and one injector
WELSPECS
'W_1' 'G_1' 1 1 3.33 'OIL' 7* /
'W_2' 'G_1' 2 1 3.33 'OIL' 7* /
'W_3' 'G_2' 3 1 3.92 'WATER' 7* /
'W_6' 'G_2' 8 8 3.92 'GAS' 7* /
'W_5' 'G_3' 4 1 3.92 'OIL' 7* /
/
-- Completion data.
COMPDAT
-- Passing 0 to I/J means they'll get the well head I/J
-- 'Well' I J K1 K2 STATUS SatTable TransFact Rw Kh S
W_1 0 0 1 1 2* 100 3* / -- Active index: 0
W_2 0 0 1 1 2* 1* 5 20 0.5 / -- Active index: 1
W_2 0 0 2 2 2* 1* 5 10 0.2 / -- Active index: 101
W_3 0 0 1 1 2* 1* 2* 0.7 / -- Active index: 2
W_6 0 0 2 2 2* 1* 2* 0.7 / -- Active index: 2
/
WCONHIST
-- history rates are set so that W_1 produces 1, W_2 produces 2 etc.
-- index.offset.
-- organised as oil-water-gas
W_1 SHUT ORAT 10.1 10 10.2 2* 0.2 0.1 /
W_2 SHUT ORAT 20.1 20 20.2 2* 1.2 1.1 /
/
WCONINJH
-- Injection historical rates (water only, as we only support pure injectors)
W_3 WATER STOP 30.0 2.1 2.2 /
/
WPOLYMER
'W_3' 1.5 1.0 /
/
WCONINJH
-- Injection historical rates (water only, as we only support pure injectors)
W_6 GAS STOP 30000.0 /
/
WCONPROD
W_5 SHUT ORAT 0.0 0.0 0.0 1* 30.1 /
/
TSTEP
-- register time steps (in days). This allows us to write *two* report steps (1
-- and 2. Without this, totals/accumulations would fail (segfault) when looking
-- up historical rates and volumes. These volumes however don't change, i.e.
-- every time step has the same set of values
10 /
WPOLYMER
'W_3' 2.5 1.0 /
/
TSTEP
10 /
-- Register a fourth well with completions later. This ensure we handle when
-- wells are registered or activated later in a simulation
WELSPECS
'W_4' 'G_3' 1 1 3.33 'OIL' 7* /
/
COMPDAT
W_4 1 1 3 3 /
/
WPIMULT
W_1 0.5 /
/
TSTEP
10 /
WPIMULT
W_1 0.5 /
/
TSTEP
10 /