check operability injectors

This commit is contained in:
Tor Harald Sandve
2021-10-15 12:32:02 +02:00
parent 70c9d2e237
commit 1c9c5c484b
7 changed files with 54 additions and 62 deletions
@@ -812,11 +812,6 @@ updateWellTestState(const SingleWellState& ws,
DeferredLogger& deferred_logger) const
{
// currently, we only updateWellTestState for producers
if (this->isInjector()) {
return;
}
// Based on current understanding, only under prediction mode, we need to shut well due to various
// reasons or limits. With more knowlage or testing cases later, this might need to be corrected.
if (!underPredictionMode() ) {
@@ -897,7 +892,6 @@ checkMaxRatioLimitWell(const SingleWellState& ws,
}
const double well_ratio = ratioFunc(well_rates, phaseUsage());
return (well_ratio > max_ratio_limit);
}