|
| WellInterfaceGeneric (const Well &well, const ParallelWellInfo ¶llel_well_info, const int time_step, const int pvtRegionIdx, const int num_components, const int num_phases, const int index_of_well, const std::vector< PerforationData > &perf_data) |
|
const std::vector< PerforationData > & | perforationData () const |
| Get the perforations of the well.
|
|
const std::string & | name () const |
| Well name.
|
|
bool | isInjector () const |
| True if the well is an injector.
|
|
bool | isProducer () const |
| True if the well is a producer.
|
|
const std::vector< int > & | cells () const |
| Well cells.
|
|
int | indexOfWell () const |
| Index of well in the wells struct and wellState.
|
|
void | adaptRatesForVFP (std::vector< double > &rates) const |
|
const Well & | wellEcl () const |
|
const PhaseUsage & | phaseUsage () const |
|
bool | underPredictionMode () const |
| Returns true if the well is currently in prediction mode (i.e. not history mode).
|
|
bool | isOperableAndSolvable () const |
|
void | initCompletions () |
|
void | closeCompletions (const WellTestState &wellTestState) |
|
void | setVFPProperties (const VFPProperties *vfp_properties_arg) |
|
void | setGuideRate (const GuideRate *guide_rate_arg) |
|
void | setWellEfficiencyFactor (const double efficiency_factor) |
|
void | setRepRadiusPerfLength () |
|
void | setWsolvent (const double wsolvent) |
|
void | setDynamicThpLimit (const double thp_limit) |
|
void | updatePerforatedCell (std::vector< bool > &is_cell_perforated) |
|
bool | wellHasTHPConstraints (const SummaryState &summaryState) const |
| Returns true if the well has one or more THP limits/constraints.
|
|
void | stopWell () |
|
void | openWell () |
|
bool | wellIsStopped () const |
|
int | currentStep () const |
|
int | pvtRegionIdx () const |
|
const GuideRate * | guideRate () const |
|
int | numComponents () const |
|
int | numPhases () const |
|
int | numPerfs () const |
|
double | refDepth () const |
|
double | gravity () const |
|
const VFPProperties * | vfpProperties () const |
|
const ParallelWellInfo & | parallelWellInfo () const |
|
const std::vector< double > & | perfDepth () const |
|
std::vector< double > & | perfDepth () |
|
const std::vector< double > & | wellIndex () const |
|
double | getTHPConstraint (const SummaryState &summaryState) const |
|
double | getALQ (const WellState &well_state) const |
|
double | wsolvent () const |
|
bool | isVFPActive (DeferredLogger &deferred_logger) const |
|
void | reportWellSwitching (const SingleWellState &ws, DeferredLogger &deferred_logger) const |
|
bool | changedToOpenThisStep () const |
|
std::optional< double > | computeBhpAtThpLimitProdCommon (const std::function< std::vector< double >(const double)> &frates, const SummaryState &summary_state, const double maxPerfPress, const double rho, const double alq_value, DeferredLogger &deferred_logger) const |
|
|
bool | getAllowCrossFlow () const |
|
double | mostStrictBhpFromBhpLimits (const SummaryState &summaryState) const |
|
void | updateWellTestStatePhysical (const double simulation_time, const bool write_message_to_opmlog, WellTestState &well_test_state, DeferredLogger &deferred_logger) const |
|
std::optional< double > | bhpMax (const std::function< double(const double)> &fflo, const double bhp_limit, const double maxPerfPress, const double vfp_flo_front, DeferredLogger &deferred_logger) const |
|
std::optional< double > | computeBhpAtThpLimitCommon (const std::function< std::vector< double >(const double)> &frates, const std::function< double(const std::vector< double >)> &fbhp, const std::array< double, 2 > &range, DeferredLogger &deferred_logger) const |
|
bool | bruteForceBracket (const std::function< double(const double)> &eq, const std::array< double, 2 > &range, double &low, double &high, DeferredLogger &deferred_logger) const |
|
bool | bisectBracket (const std::function< double(const double)> &eq, const std::array< double, 2 > &range, double &low, double &high, std::optional< double > &approximate_solution, DeferredLogger &deferred_logger) const |
|