|
int | flowPhaseToModelCompIdx (const int phaseIdx) const |
|
int | modelCompIdxToFlowCompIdx (const unsigned compIdx) const |
|
Scalar | scalingFactor (const int phaseIdx) const |
|
template<class EvalWell > |
Eval | restrictEval (const EvalWell &in) const |
|
int | flowPhaseToModelPhaseIdx (const int phaseIdx) const |
|
const RateConverterType & | rateConverter () const |
|
| WellInterfaceGeneric (const Well &well, const ParallelWellInfo< Scalar > ¶llel_well_info, const int time_step, const ModelParameters ¶m, const int pvtRegionIdx, const int num_components, const int num_phases, const int index_of_well, const std::vector< PerforationData< Scalar > > &perf_data) |
|
const std::vector< PerforationData< Scalar > > & | 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< Scalar > &rates) const |
|
const Well & | wellEcl () const |
|
Well & | wellEcl () |
|
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 |
|
bool | useVfpExplicit () const |
|
bool | thpLimitViolatedButNotSwitched () const |
|
void | initCompletions () |
|
void | closeCompletions (const WellTestState &wellTestState) |
|
void | setVFPProperties (const VFPProperties< Scalar > *vfp_properties_arg) |
|
void | setPrevSurfaceRates (WellState< Scalar > &well_state, const WellState< Scalar > &prev_well_state) const |
|
void | setGuideRate (const GuideRate *guide_rate_arg) |
|
void | setWellEfficiencyFactor (const Scalar efficiency_factor) |
|
void | setRepRadiusPerfLength () |
|
void | setWsolvent (const Scalar wsolvent) |
|
void | setDynamicThpLimit (const Scalar thp_limit) |
|
void | setDynamicThpLimit (const std::optional< Scalar > thp_limit) |
|
std::optional< Scalar > | getDynamicThpLimit () const |
|
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 |
|
Scalar | refDepth () const |
|
Scalar | gravity () const |
|
const VFPProperties< Scalar > * | vfpProperties () const |
|
const ParallelWellInfo< Scalar > & | parallelWellInfo () const |
|
const std::vector< Scalar > & | perfDepth () const |
|
std::vector< Scalar > & | perfDepth () |
|
const std::vector< Scalar > & | wellIndex () const |
|
const std::map< int, std::vector< int > > & | getCompletions () const |
|
Scalar | getTHPConstraint (const SummaryState &summaryState) const |
|
Scalar | getALQ (const WellState< Scalar > &well_state) const |
|
Scalar | wsolvent () const |
|
Scalar | rsRvInj () const |
|
void | initInjMult (const std::vector< Scalar > &max_inj_mult) |
|
void | updateInjMult (std::vector< Scalar > &inj_multipliers, DeferredLogger &deferred_logger) const |
|
Scalar | getInjMult (const int perf, const Scalar bhp, const Scalar perf_pres, DeferredLogger &dlogger) const |
|
bool | isVFPActive (DeferredLogger &deferred_logger) const |
|
void | reportWellSwitching (const SingleWellState< Scalar > &ws, DeferredLogger &deferred_logger) const |
|
bool | changedToOpenThisStep () const |
|
void | updateWellTestState (const SingleWellState< Scalar > &ws, const double &simulationTime, const bool &writeMessageToOPMLog, const bool zero_group_target, WellTestState &wellTestState, DeferredLogger &deferred_logger) const |
|
bool | isPressureControlled (const WellState< Scalar > &well_state) const |
|
Scalar | wellEfficiencyFactor () const |
|
void | updateFilterCakeMultipliers (const std::vector< Scalar > &inj_fc_multiplier) |
| Update filter cake multipliers.
|
|
void | resetWellOperability () |
|
|
| WellInterfaceIndices (const Well &well, const ParallelWellInfo< Scalar > ¶llel_well_info, const int time_step, const ModelParameters ¶m, const typename WellInterfaceFluidSystem< FluidSystem >::RateConverterType &rate_converter, const int pvtRegionIdx, const int num_components, const int num_phases, const int index_of_well, const std::vector< PerforationData< Scalar > > &perf_data) |
|
| WellInterfaceFluidSystem (const Well &well, const ParallelWellInfo< Scalar > ¶llel_well_info, const int time_step, const ModelParameters ¶m, const RateConverterType &rate_converter, const int pvtRegionIdx, const int num_components, const int num_phases, const int index_of_well, const std::vector< PerforationData< Scalar > > &perf_data) |
|
void | calculateReservoirRates (const bool co2store, SingleWellState< Scalar > &ws) const |
|
bool | checkIndividualConstraints (SingleWellState< Scalar > &ws, const SummaryState &summaryState, DeferredLogger &deferred_logger, const std::optional< Well::InjectionControls > &inj_controls=std::nullopt, const std::optional< Well::ProductionControls > &prod_controls=std::nullopt) const |
|
bool | checkGroupConstraints (WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, const Schedule &schedule, const SummaryState &summaryState, DeferredLogger &deferred_logger) const |
|
bool | checkConstraints (WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, const Schedule &schedule, const SummaryState &summaryState, DeferredLogger &deferred_logger) const |
|
std::optional< Scalar > | getGroupInjectionTargetRate (const Group &group, const WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, const Schedule &schedule, const SummaryState &summaryState, const InjectorType &injectorType, Scalar efficiencyFactor, DeferredLogger &deferred_logger) const |
|
Scalar | getGroupProductionTargetRate (const Group &group, const WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, const Schedule &schedule, const SummaryState &summaryState, Scalar efficiencyFactor, DeferredLogger &deferred_logger) const |
|
bool | zeroGroupRateTarget (const SummaryState &summary_state, const Schedule &schedule, const WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferredLogger) const |
|
bool | getAllowCrossFlow () const |
|
Scalar | wmicrobes_ () const |
|
Scalar | wfoam_ () const |
|
Scalar | woxygen_ () const |
|
Scalar | wpolymer_ () const |
|
Scalar | wsalt_ () const |
|
Scalar | wurea_ () const |
|
int | polymerTable_ () const |
|
int | polymerInjTable_ () const |
|
int | polymerWaterTable_ () const |
|
bool | wellUnderZeroRateTargetIndividual (const SummaryState &summary_state, const WellState< Scalar > &well_state) const |
|
bool | wellUnderGroupControl (const SingleWellState< Scalar > &ws) const |
|
std::pair< bool, bool > | computeWellPotentials (std::vector< Scalar > &well_potentials, const WellState< Scalar > &well_state) |
|
void | checkNegativeWellPotentials (std::vector< Scalar > &well_potentials, const bool checkOperability, DeferredLogger &deferred_logger) |
|
void | prepareForPotentialCalculations (const SummaryState &summary_state, WellState< Scalar > &well_state, Well::InjectionControls &inj_controls, Well::ProductionControls &prod_controls) const |
|
void | resetDampening () |
|