mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 01:01:00 -06:00
don't shut stopped wells
This commit is contained in:
parent
81419aa001
commit
bcdf6c8d02
@ -926,7 +926,7 @@ namespace Opm
|
||||
WellTestState& well_test_state,
|
||||
Opm::DeferredLogger& deferred_logger) const
|
||||
{
|
||||
if (!isOperable() || wellIsStopped_) {
|
||||
if (!isOperable()) {
|
||||
if (well_test_state.hasWellClosed(name(), WellTestConfig::Reason::ECONOMIC) ||
|
||||
well_test_state.hasWellClosed(name(), WellTestConfig::Reason::PHYSICAL) ) {
|
||||
// Already closed, do nothing.
|
||||
|
Loading…
Reference in New Issue
Block a user