mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-03 12:47:42 -06:00
Merge pull request #6319 from totto82/open_testing_well
open wells at well testing
This commit is contained in:
1 file changed
+2
-2
@@ -402,6 +402,8 @@ namespace Opm
|
||||
else {
|
||||
ws.production_cmode = Well::ProducerCMode::BHP;
|
||||
}
|
||||
// We will try to open the well
|
||||
ws.open();
|
||||
|
||||
updateWellStateWithTarget(simulator, group_state, well_state_copy, deferred_logger);
|
||||
calculateExplicitQuantities(simulator, well_state_copy, deferred_logger);
|
||||
@@ -488,8 +490,6 @@ namespace Opm
|
||||
if (!welltest_state_temp.completion_is_closed(this->name(), completion.first))
|
||||
well_test_state.open_completion(this->name(), completion.first);
|
||||
}
|
||||
// set the status of the well_state to open
|
||||
ws.open();
|
||||
well_state = well_state_copy;
|
||||
open_times.try_emplace(this->name(), well_test_state.lastTestTime(this->name()));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user