Automatic choke

This commit is contained in:
Paul
2023-10-03 13:28:23 +02:00
parent 0137bd566c
commit 30e1f5178c
9 changed files with 175 additions and 31 deletions

View File

@@ -118,6 +118,11 @@ public:
getFloIPR(const WellState<Scalar>& well_state,
const Well& well,
const SummaryState& summary_state) const;
//! \brief Find limits using brute-force solver.
static bool bruteForceBracket(const std::function<double(const double)>& eq,
const std::array<double, 2>& range,
double& low, double& high,
DeferredLogger& deferred_logger);
private:
//! \brief Compute BHP from THP limit for an injector - implementation.