Allow for gaslift for wells that violate thp limit but are not allowed to switch

This commit is contained in:
Tor Harald Sandve
2022-09-02 12:11:39 +02:00
parent 42ef6ed9de
commit b072cc1d5d
6 changed files with 28 additions and 17 deletions

View File

@@ -278,22 +278,6 @@ checkInitialALQmodified_(double alq, double initial_alq) const
}
}
bool
GasLiftSingleWellGeneric::
checkThpControl_() const
{
const int well_index = this->well_state_.index(this->well_name_).value();
const Well::ProducerCMode& control_mode =
this->well_state_.well(well_index).production_cmode;
bool thp_control = control_mode == Well::ProducerCMode::THP;
if (this->debug) {
if (!thp_control) {
displayDebugMessage_("Well is not under THP control, skipping iteration..");
}
}
return thp_control;
}
std::pair<std::optional<double>,double>
GasLiftSingleWellGeneric::
computeConvergedBhpAtThpLimitByMaybeIncreasingALQ_() const