keep msw wells open even if bhp from thp fails

This commit is contained in:
Tor Harald Sandve 2020-11-27 14:02:12 +01:00
parent a7664f9ea6
commit 90050372ae

View File

@ -2574,8 +2574,11 @@ namespace Opm
deferred_logger.debug(msg);
}
} else {
this->operability_status_.can_obtain_bhp_with_thp_limit = false;
this->operability_status_.obey_bhp_limit_with_thp_limit = false;
// Shutting wells that can not find bhp value from thp may results in
// too early shutting of the well during startup of new wells.
// Lets try to keep them open.
//this->operability_status_.can_obtain_bhp_with_thp_limit = false;
//this->operability_status_.obey_bhp_limit_with_thp_limit = false;
if (!this->wellIsStopped()) {
const double thp_limit = this->getTHPConstraint(summaryState);
deferred_logger.debug(" could not find bhp value at thp limit "