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
commit 0a3ede1400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;