Commit Graph
107 Commits
Author SHA1 Message Date
Arne Morten Kvarving 7945f45c5e fixed: avoid direct floating point comparisons in tests
we want to compare with an epsilon since these have gone
through calculations
2022-04-28 12:17:19 +02:00
Joakim Hove d55f5fa5f5 Allow ACTIONX with empty condition
Allow ACTIONX keywords with empty conditions, these ACTIONX keywords will always
evaluate to false. Main motivation is to facilitate dummy keywords for PYACTION.
2022-01-31 15:10:40 +01:00
Joakim Hove 0b27fd8e18 Remove unused function 2022-01-31 10:18:00 +01:00
Joakim Hove 343f14dacf Record and act on return value from PYACTION 2022-01-28 12:05:17 +01:00
Joakim Hove 9ce5ca2b21 Pass matching wells to Schedule::applyAction() 2022-01-20 08:22:21 +01:00
Joakim Hove b62b5be44f Remove unused argument sim_time from Schedule::applyAction() 2022-01-20 08:12:10 +01:00
Joakim Hove 0a59bd8f61 Filesystem rename EclipseState/Schedule/ Schedule/ 2022-01-02 14:32:14 +01:00
Joakim Hove aede532b9a Filesystem rename parser/eclipse/ input/eclipse 2022-01-02 14:32:14 +01:00
Joakim Hove e4be1e83b0 Log well and group names encountered in ACTIONX 2021-12-13 18:33:14 +01:00
Joakim Hove aabc3b999b Utility class Action::WGNames to manage names introduced in ACTIONX 2021-12-13 18:33:14 +01:00
Daniel 90ce7bc6cb Replaced call to Deck::getKeyword(kw, index) with deck[kw][index] 2021-11-23 14:00:38 +01:00
Daniel b0f757eb50 Replace Deck::getKeyword(std::string) with operator[std::string] 2021-11-23 14:00:38 +01:00
Joakim Hove 84c551a6df Record use of GEO keywords as ACTIONX keyword 2021-11-12 16:52:23 +01:00
Joakim Hove 1d6a930784 Add test for COMPDAT as ACTIONX keyword 2021-11-12 15:08:16 +01:00
Joakim Hove 10314ce169 Merge pull request #2826 from daniepin/applyAction-refactor
Combine ScheduleGrid and FieldPropsManager
2021-11-12 15:04:37 +01:00
Joakim Hove f1e768e184 Add struct SimulatorUpdate to transport results back to simulator 2021-11-10 15:57:56 +01:00
Daniel faefde1a4f Modify ACTIONX tests 2021-11-09 13:01:36 +01:00
Joakim Hove a51a220a24 Add test for ACTIONX with trailing COMPDAT 2021-11-09 12:33:22 +01:00
Joakim Hove 0595aa8fea Merge pull request #2801 from joakim-hove/affected-wells
Register well as "touched" by WCONHIST and WCONINJE in ACTIONX block
2021-11-05 12:02:01 +01:00
Daniel 45dd77938b Removed constructor from ScheduleGrid, added perm prop to tests
Changed (BASE_SIM.DATA, BASE_SIM_THPRES.DATA, RESTART_SIM.DATA),  testblackoilstate3.DATA and testrft.DATA since they affect the tests in test_Restart.cpp, test_restartwellinfo.cpp and test_RFT.cpp respectively.
2021-11-04 11:29:12 +01:00
Joakim Hove f2db4651d0 Register well as "touched" by WCONHIST and WCONINJE in ACTIONX block 2021-11-04 09:37:36 +01:00
Joakim Hove d338325147 Merge pull request #2699 from joakim-hove/numerical-month
Round numerical month values to integer before comparison
2021-09-22 00:27:35 +02:00
Joakim Hove 33a791d499 Merge pull request #2696 from joakim-hove/actionx-strip-quotes
Remove quotes before creating ACTIONX AST
2021-09-22 00:27:16 +02:00
Joakim Hove fcad042bdd Round numerical month values to integer before comparison 2021-09-20 19:04:34 +02:00
Joakim Hove 67b850d086 Remove quotes before creating ACTIONX AST 2021-09-18 20:48:40 +02:00
Joakim Hove 56f5ae6558 Check number of conditions in ACTIONX with ACTDIMS 2021-09-18 18:46:12 +02:00
Joakim Hove 539c86c21c Move action condition related enums to separate compilation unit 2021-09-13 10:18:35 +02:00
Joakim Hove 1eaa527725 Implement Actions::operator[] 2021-09-06 20:02:04 +02:00
Joakim Hove e75b6167ef Split Actions::size() in py_size() and ecl_size() 2021-09-03 14:05:43 +02:00
Joakim Hove 957f540d17 The Action::State will store the last Action::Result instance 2021-08-19 15:29:15 +02:00
Joakim Hove c9325ccfcc Remove unused variables 2021-05-28 12:02:14 +02:00
Jostein Alvestad 7974fd219a modified code to handle new empty wlists and make action NEW more robust 2021-05-26 13:58:06 +02:00
Jostein Alvestad 5907a7520a first complete version that satisfies all unit tests 2021-05-25 10:37:45 +02:00
Joakim Hove ff292908ff Add new well event for wells which have been touched by ACTIONX 2021-05-21 15:55:39 +02:00
Arne Morten Kvarving 72ede7df50 changed: remove unnecessary boost includes 2021-04-23 11:27:38 +02:00
Joakim Hove 9bfdf709b7 Schedule::applyAction() will return a set of wells affected 2021-03-25 12:00:08 +01:00
Joakim Hove d02ae5e650 Make sure action results contain well for fully specified condition 2021-03-17 10:08:35 +01:00
Joakim Hove 7b896359f6 Part 2: Use Opm::time_point 2021-03-03 15:13:34 +01:00
Joakim Hove 36159d8512 Handle WELPI as ACTIONX keyword 2021-02-14 18:57:51 +01:00
Joakim Hove 579890177e Remove prod_index member from Well class 2021-02-11 15:57:42 +01:00
Joakim Hove 6d02754260 Update Schedulle::applyAction() api with wellpi argument 2021-02-10 12:30:49 +01:00
Joakim Hove 759a00538e Export list of WELPI wells from an ACTIONX keyword 2021-02-07 16:26:58 +01:00
Joakim Hove 39c560e5cc Pass simulation time argument to Schedule::applyAction() 2021-02-05 09:53:27 +01:00
Joakim Hove acb1284efd Use small wrapper to manage shared pointers in ScheduleState 2021-01-29 11:42:36 +01:00
Joakim Hove c22b47f994 Use ScheduleState to manage Actionx 2021-01-15 07:51:51 +01:00
Joakim Hove b652fe794f Add Condition::open_paren() and Condition::close_paren() 2021-01-07 10:52:02 +01:00
Joakim Hove 545a5ecf7b Use event_step 2020-12-13 09:02:10 +01:00
Joakim Hove 469cf09d85 Handle parenthesis in the Actionx::Condition class 2020-12-11 14:53:29 +01:00
Joakim Hove c31ebda702 Add test for boolean logic 2020-12-09 17:34:18 +01:00
Joakim Hove e0a9bcc924 ACTIONX: Determine required summary keywords 2020-11-26 20:09:28 +01:00