|
int | flowPhaseToEbosCompIdx (const int phaseIdx) const |
|
int | ebosCompIdxToFlowCompIdx (const unsigned compIdx) const |
|
double | scalingFactor (const int phaseIdx) const |
|
int | flowPhaseToEbosPhaseIdx (const int phaseIdx) const |
|
const RateConverterType & | rateConverter () const |
|
| 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 |
|
bool | useVfpExplicit () const |
|
bool | thpLimitViolatedButNotSwitched () 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) |
|
std::optional< double > | 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 |
|
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 |
|
const std::map< int, std::vector< int > > & | getCompletions () const |
|
double | getTHPConstraint (const SummaryState &summaryState) const |
|
double | getALQ (const WellState &well_state) const |
|
double | wsolvent () const |
|
double | rsRvInj () const |
|
bool | isVFPActive (DeferredLogger &deferred_logger) const |
|
void | reportWellSwitching (const SingleWellState &ws, DeferredLogger &deferred_logger) const |
|
bool | changedToOpenThisStep () const |
|
void | updateWellTestState (const SingleWellState &ws, const double &simulationTime, const bool &writeMessageToOPMLog, WellTestState &wellTestState, DeferredLogger &deferred_logger) const |
|
bool | isPressureControlled (const WellState &well_state) const |
|
bool | stopppedOrZeroRateTarget (const SummaryState &summary_state, const WellState &well_state) const |
|
|
| WellInterfaceIndices (const Well &well, const ParallelWellInfo ¶llel_well_info, const int time_step, 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 > &perf_data) |
|
| WellInterfaceFluidSystem (const Well &well, const ParallelWellInfo ¶llel_well_info, const int time_step, const RateConverterType &rate_converter, const int pvtRegionIdx, const int num_components, const int num_phases, const int index_of_well, const std::vector< PerforationData > &perf_data) |
|
void | calculateReservoirRates (SingleWellState &ws) const |
|
bool | checkIndividualConstraints (SingleWellState &ws, const SummaryState &summaryState, DeferredLogger &deferred_logger) const |
|
bool | checkGroupConstraints (WellState &well_state, const GroupState &group_state, const Schedule &schedule, const SummaryState &summaryState, DeferredLogger &deferred_logger) const |
|
bool | checkConstraints (WellState &well_state, const GroupState &group_state, const Schedule &schedule, const SummaryState &summaryState, DeferredLogger &deferred_logger) const |
|
std::optional< double > | getGroupInjectionTargetRate (const Group &group, const WellState &well_state, const GroupState &group_state, const Schedule &schedule, const SummaryState &summaryState, const InjectorType &injectorType, double efficiencyFactor, DeferredLogger &deferred_logger) const |
|
double | getGroupProductionTargetRate (const Group &group, const WellState &well_state, const GroupState &group_state, const Schedule &schedule, const SummaryState &summaryState, double efficiencyFactor, DeferredLogger &deferred_logger) const |
|
bool | getAllowCrossFlow () const |
|
double | wmicrobes_ () const |
|
double | wfoam_ () const |
|
double | woxygen_ () const |
|
double | wpolymer_ () const |
|
double | wsalt_ () const |
|
double | wurea_ () const |
|
int | polymerTable_ () const |
|
int | polymerInjTable_ () const |
|
int | polymerWaterTable_ () const |
|
bool | wellUnderZeroRateTarget (const SummaryState &summary_state, const WellState &well_state) const |
|
|
static constexpr int | Water = BlackoilPhases::Aqua |
|
static constexpr int | Oil = BlackoilPhases::Liquid |
|
static constexpr int | Gas = BlackoilPhases::Vapour |
|
using | RateConverterType = RateConverter::SurfaceToReservoirVoidage< FluidSystem, std::vector< int > > |
|
const RateConverterType & | rateConverter_ |
|
OperabilityStatus | operability_status_ |
|
Well | well_ecl_ |
|
const ParallelWellInfo & | parallel_well_info_ |
|
const int | current_step_ |
|
const int | pvtRegionIdx_ |
|
const int | num_components_ |
|
int | number_of_phases_ |
|
int | index_of_well_ |
|
const std::vector< PerforationData > * | perf_data_ |
|
std::vector< double > | ipr_a_ |
|
std::vector< double > | ipr_b_ |
|
std::vector< int > | well_cells_ |
|
std::vector< double > | well_index_ |
|
int | number_of_perforations_ |
|
std::vector< double > | perf_depth_ |
|
std::vector< double > | perf_rep_radius_ |
|
std::vector< double > | perf_length_ |
|
std::vector< double > | bore_diameters_ |
|
std::map< int, std::vector< int > > | completions_ |
|
double | ref_depth_ |
|
std::vector< int > | saturation_table_number_ |
|
Well::Status | wellStatus_ |
|
const PhaseUsage * | phase_usage_ |
|
double | gravity_ |
|
double | wsolvent_ |
|
std::optional< double > | dynamic_thp_limit_ |
|
double | well_efficiency_factor_ |
|
const VFPProperties * | vfp_properties_ |
|
const GuideRate * | guide_rate_ |
|
std::vector< std::string > | well_control_log_ |
|
bool | changed_to_open_this_step_ = true |
|
static constexpr int | INVALIDCOMPLETION = std::numeric_limits<int>::max() |
|