Merge pull request #4151 from GitPaean/wecon_only_producer

only enforcing production economic limit to producers.
This commit is contained in:
Bård Skaflestad
2022-10-06 15:44:52 +02:00
committed by GitHub

View File

@@ -725,6 +725,11 @@ updateWellTestStateEconomic(const SingleWellState& ws,
return;
}
if (this->isInjector()) {
deferred_logger.warning("ECON_LIMITS_INJECTOR_" + this->name(), this->name() + " is an injector, the production economic limits for this well will be ignored.\n");
return;
}
// flag to check if the mim oil/gas rate limit is violated
bool rate_limit_violated = false;