mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-12 09:21:56 -06:00
Merge pull request #4151 from GitPaean/wecon_only_producer
only enforcing production economic limit to producers.
This commit is contained in:
commit
0a3ede1400
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user