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

@@ -248,7 +248,7 @@ protected:
bool checkGroupTargetsViolated(
const BasicRates& rates, const BasicRates& new_rates) const;
bool checkInitialALQmodified_(double alq, double initial_alq) const;
bool checkThpControl_() const;
virtual bool checkThpControl_() const = 0;
virtual std::optional<double> computeBhpAtThpLimit_(double alq) const = 0;
std::pair<std::optional<double>,double> computeConvergedBhpAtThpLimitByMaybeIncreasingALQ_() const;
std::pair<std::optional<BasicRates>,double> computeInitialWellRates_() const;