mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Only shut down wells if under prediction-type control.
This commit is contained in:
@@ -378,7 +378,7 @@ namespace Opm {
|
||||
} else {
|
||||
// Close all consistently failing wells.
|
||||
for (const auto& well : failing_wells) {
|
||||
solver.model().wellModel().forceShutWellByName(well, substepTimer.simulationTimeElapsed());
|
||||
solver.model().wellModel().forceShutWellByNameIfPredictionMode(well, substepTimer.simulationTimeElapsed());
|
||||
}
|
||||
substepTimer.provideTimeStepEstimate(dt);
|
||||
if (solverVerbose_) {
|
||||
|
||||
Reference in New Issue
Block a user