Bård Skaflestad
c71ffd1415
Add Restart I/O Support for Well's THP
...
This commit adds support for saving and restoring a well's THP
quantitiy. We put the THP into the summary facility's list of
"required restart quantities" and pick up the value converted to
output units from the SummaryState.
On restart we restore the THP value to internal (SI) units and
transport the value to the simulator in data::Well::thp. While
here, also add the THP value to the RstWell object although
currently not strictly needed in that context.
2020-05-19 22:20:55 +02:00
Bernd Flemisch
283da4d2b6
[test] avoid designated initializer error
2020-05-19 13:03:45 +02:00
Bård Skaflestad
317d1ba14e
Restart: Prepare to Output Well/Group Guide Rates
...
This commit identifies vector items in XWEL and XGRP that hold guide
rate values at the well and group levels, and adds functionality to
output those values to the restart file. We do not identify such
value at the FIELD level. As with other summary-like quantities, we
expect to pick up the fully converted values from a SummaryState
object.
Calculating and storing the guide rate quantities in SummaryState is
the subject of future work.
2020-05-18 21:56:57 +02:00
Joakim Hove
66acfb5249
When defining branch properties: vfp == 0 should delete branch
2020-05-15 14:21:44 +02:00
Joakim Hove
fd5a42801f
Make sure the UDQ usage in GCONPROD is recorded
2020-05-15 08:27:52 +02:00
Joakim Hove
ebdffa2abb
Ensure correct SI conversion for the scalar data in OPERATE keyword
2020-05-11 15:45:01 +02:00
Joakim Hove
64fb589ec6
Use string based parent *name* in GTNode instead of pointer
2020-05-07 20:08:39 +02:00
Joakim Hove
7fe89422e2
Internalize keywords for gas lift optimization
2020-05-07 16:29:42 +02:00
Joakim Hove
3c879dd5dc
ActionResult will not access wells if overall false
2020-05-06 12:48:38 +02:00
Joakim Hove
94ab966c1b
Merge pull request #1774 from atgeirr/fix-actionx-testcase
...
Remove group list in test file
2020-05-05 09:11:44 +02:00
Atgeirr Flø Rasmussen
3cb39f8bd4
We do not handle lists of groups.
...
Addressed by removing such a list (replace with the single
group matching pattern) in a test case.
2020-05-05 08:28:10 +02:00
Joakim Hove
9a4c8f754e
Change type of new value argument in WELTARG to UDA
2020-05-04 08:29:34 +02:00
Joakim Hove
ef77be1508
Refactor ScheduleTests to use fixture function
2020-05-04 08:29:34 +02:00
Joakim Hove
8b70e42e0f
Connection - Segment interaction implemented with optional pair
2020-04-30 14:54:21 +02:00
Joakim Hove
b8ab03b22b
Merge pull request #1767 from joakim-hove/remove-unused-include
...
Remove #include which is not needed
2020-04-30 12:03:39 +02:00
Joakim Hove
57cfeeb854
Remove #include which is not needed
2020-04-30 10:23:44 +02:00
Joakim Hove
c7008d329a
Add class ExtNetwork for extended networks
2020-04-29 15:45:18 +02:00
Bård Skaflestad
79bb8386d3
Sat-Func Initializers: Add End-Point Unit Tests
...
Exercises the initializers for SW{L,CR,U}, SO{W,G}CR, SG{L,CR,U}, as
well as the function values KRW, KRWR, KRG, KRGR, KRO, KRORW, KRORG
and capillary pressure function values PCW and PCG.
Example data from region one (1) of
opm-tests/model1/include/sattab_basemod1.sattab
Example phrased both as family I (S*OF) and as family II (S*FN, SOF3).
2020-04-29 13:33:51 +02:00
Bård Skaflestad
96a2350bf3
Summary Output: Make Group Potentials Aware of Efficiency Factors
...
As with all rate-like quantities, the *EFAC values affect the group
tree level above the level where the factor is applied
2020-04-27 10:56:48 +02:00
Joakim Hove
e7f750da83
Add method WellSegments::branches()
2020-04-22 17:03:03 +02:00
Joakim Hove
48969b8b77
Add method WellSegments::branchSegments()
2020-04-22 12:07:26 +02:00
Joakim Hove
dd0041f8ee
Add method WellSegments::segmentDepthChange()
2020-04-22 10:21:51 +02:00
Bård Skaflestad
f902ceb6d7
Merge pull request #1729 from joakim-hove/changed-wells
...
Add function Schedule::changed_wells() to use in WELSPECS reporting
2020-04-21 14:13:54 +02:00
Joakim Hove
d37aa1116d
Add function Schedule::changed_wells() to use in WELSPECS reporting
2020-04-21 13:18:49 +02:00
Joakim Hove
0f5fddc470
Merge pull request #1722 from joakim-hove/raw-string-quote
...
Raw string quote
2020-04-21 13:02:49 +02:00
Joakim Hove
3077f7aff8
Introduce class RawString
...
The RawString class is introduced as a string which can hold the literals '*',
'/' and '''. The RawString class is used to hold the content of UDQ and ACTIONX
keywords.
2020-04-21 06:51:25 +02:00
Bård Skaflestad
89503cd4d9
Merge pull request #1676 from tskille/esmry_test_lod
...
Effective LOD for ESmry
2020-04-20 20:59:51 +02:00
Torbjørn Skille
54087e3bd8
Effective LOD for ESmry
2020-04-19 20:59:38 +02:00
Joakim Hove
84ad5ef502
Internalize Gas inflow equation flag in Well - for reporting
2020-04-19 08:37:48 +02:00
Bård Skaflestad
2d4175ed0f
Merge pull request #1695 from GitPaean/msw_summary_keywords
...
adding the summary output keywords for MSW
2020-04-17 20:53:31 +02:00
Joakim Hove
819b624809
Changes in available for group control implementation
...
1. Add separate available_group_control flags for injection and production.
2. Add separate available_group_control flags for each injection phase.
2020-04-17 13:30:26 +02:00
Joakim Hove
dd30fb7bd8
Extracte Schedule construction to separate function in test
2020-04-17 13:03:26 +02:00
Kai Bao
e09b0a2de4
addressing reviewing comments from OPM/opm-common#1695
2020-04-17 01:06:22 +02:00
Kai Bao
8e4d4827a2
adding the test for new segment summary keywords
2020-04-17 00:38:21 +02:00
Joakim Hove
315382bad8
Run PYACTION keywords
...
The PYACTION keyword is implemented with a Python module with a run() function
in an external module.
2020-04-16 14:13:54 +02:00
Joakim Hove
685ab301d2
Merge pull request #1691 from joakim-hove/UDQ-UNITS
...
Default construct UDQ keywords with value 0 when defined with UNIT
2020-04-16 09:27:28 +02:00
Joakim Hove
b899a1da64
Merge pull request #1703 from joakim-hove/well-store-dens-calc
...
Check WELSPECS values
2020-04-16 09:26:48 +02:00
Joakim Hove
43e2fced7d
Simplified testing of exit status
2020-04-15 21:04:26 +02:00
Joakim Hove
133ff18ee3
Make sure all generated files are in $work_dir
2020-04-15 20:50:51 +02:00
Atgeirr Flø Rasmussen
0cdd6ba3d8
Merge pull request #1692 from joakim-hove/action-exit
...
Action exit
2020-04-15 17:11:15 +02:00
Joakim Hove
3072f0dabe
Add pvt_table as member for Well
2020-04-15 11:26:57 +02:00
Joakim Hove
1c84c4c3f3
Add new keyword EXIT
...
The keyword EXIT is a opm only keyword which can be used to terminate the whole
simulation as part of the ACTIONX keyword.
2020-04-14 16:32:52 +02:00
Arne Morten Kvarving
784389d228
remove unused variables
2020-04-14 14:10:33 +02:00
Joakim Hove
750e7b8b24
Default construct UDQ keywords with value 0 when defined with UNIT
2020-04-12 08:38:59 +02:00
Joakim Hove
acda777b9d
Merge pull request #1685 from joakim-hove/rsm-regression-test
...
Rsm regression test
2020-04-09 10:58:41 +02:00
Joakim Hove
650ffb12b8
EclipseGrid: ensure that all ACTNUM manipulations use resetACTNUM
2020-04-08 21:38:41 +02:00
Bård Skaflestad
afd0ed21ba
Merge pull request #1682 from joakim-hove/timestamp-ymd
...
Add three argument (year, month, day) constructor TimeStampUTC
2020-04-07 12:07:02 +02:00
Joakim Hove
db8c9652e4
Add cmp() function to compare ERsm and ESmry instances
2020-04-05 12:37:41 +02:00
Joakim Hove
f260c05d9d
Add class ERsm for loading RSM files
2020-04-05 12:37:41 +02:00
Joakim Hove
b4f5848e3e
Add three argument (year, month, day) constructor TimeStampUTC
2020-04-05 10:58:53 +02:00