WellInterfaceGeneric.hpp
Go to the documentation of this file.
156 // Note:: for multisegment wells, bhp is actually segment pressure in practice based on observation
Definition: DeferredLogger.hpp:57 Class encapsulating some information about parallel wells. Definition: ParallelWellInfo.hpp:184 Definition: SingleWellState.hpp:41 Definition: VFPProperties.hpp:40 Definition: WellInterfaceGeneric.hpp:51 bool wellIsStopped() const Definition: WellInterfaceGeneric.hpp:114 int number_of_phases_ Definition: WellInterfaceGeneric.hpp:284 const PhaseUsage * phase_usage_ Definition: WellInterfaceGeneric.hpp:344 void updatePerforatedCell(std::vector< bool > &is_cell_perforated) void setGuideRate(const GuideRate *guide_rate_arg) bool wellUnderZeroRateTarget(const SummaryState &summary_state, const WellState< Scalar > &well_state) const std::vector< Scalar > inj_multiplier_ Definition: WellInterfaceGeneric.hpp:351 bool isOperableAndSolvable() const Well & wellEcl() Scalar wellEfficiencyFactor() const Definition: WellInterfaceGeneric.hpp:179 OperabilityStatus operability_status_ Definition: WellInterfaceGeneric.hpp:270 void setVFPProperties(const VFPProperties *vfp_properties_arg) void updateInjMult(std::vector< Scalar > &inj_multipliers, DeferredLogger &deferred_logger) const int currentStep() const Definition: WellInterfaceGeneric.hpp:116 void setPrevSurfaceRates(WellState< Scalar > &well_state, const WellState< Scalar > &prev_well_state) const bool changedToOpenThisStep() const Definition: WellInterfaceGeneric.hpp:166 const GuideRate * guideRate() const Definition: WellInterfaceGeneric.hpp:120 Scalar getALQ(const WellState< Scalar > &well_state) const std::vector< Scalar > bore_diameters_ Definition: WellInterfaceGeneric.hpp:317 int pvtRegionIdx() const Definition: WellInterfaceGeneric.hpp:118 void updateFilterCakeMultipliers(const std::vector< Scalar > &inj_fc_multiplier) Update filter cake multipliers. Definition: WellInterfaceGeneric.hpp:182 std::vector< Scalar > ipr_a_ Definition: WellInterfaceGeneric.hpp:295 const ParallelWellInfo & parallelWellInfo() const Definition: WellInterfaceGeneric.hpp:134 const GuideRate * guide_rate_ Definition: WellInterfaceGeneric.hpp:362 Scalar wsolvent() const const Well & wellEcl() const void checkNegativeWellPotentials(std::vector< Scalar > &well_potentials, const bool checkOperability, DeferredLogger &deferred_logger) Well::Status wellStatus_ Definition: WellInterfaceGeneric.hpp:342 bool getAllowCrossFlow() const void prepareForPotentialCalculations(const SummaryState &summary_state, WellState< Scalar > &well_state, Well::InjectionControls &inj_controls, Well::ProductionControls &prod_controls) const Scalar woxygen_() const std::pair< bool, bool > computeWellPotentials(std::vector< Scalar > &well_potentials, const WellState< Scalar > &well_state) Scalar getTHPConstraint(const SummaryState &summaryState) const std::vector< Scalar > well_index_ Definition: WellInterfaceGeneric.hpp:302 std::map< int, std::vector< int > > completions_ Definition: WellInterfaceGeneric.hpp:334 const int num_components_ Definition: WellInterfaceGeneric.hpp:281 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 int pvtRegionIdx_ Definition: WellInterfaceGeneric.hpp:279 std::optional< Scalar > dynamic_thp_limit_ Definition: WellInterfaceGeneric.hpp:348 Scalar wfoam_() const void adaptRatesForVFP(std::vector< Scalar > &rates) const int number_of_perforations_ Definition: WellInterfaceGeneric.hpp:305 const VFPProperties * vfp_properties_ Definition: WellInterfaceGeneric.hpp:361 std::vector< Scalar > perf_depth_ Definition: WellInterfaceGeneric.hpp:308 bool thpLimitViolatedButNotSwitched() const bool wellHasTHPConstraints(const SummaryState &summaryState) const Returns true if the well has one or more THP limits/constraints. const ParallelWellInfo & parallel_well_info_ Definition: WellInterfaceGeneric.hpp:274 Scalar wmicrobes_() const void setDynamicThpLimit(const Scalar thp_limit) int polymerInjTable_() const int polymerTable_() const std::optional< Scalar > getDynamicThpLimit() const bool isVFPActive(DeferredLogger &deferred_logger) const const VFPProperties * vfpProperties() const Definition: WellInterfaceGeneric.hpp:132 Scalar well_efficiency_factor_ Definition: WellInterfaceGeneric.hpp:360 const PhaseUsage & phaseUsage() const const std::vector< int > & cells() const Well cells. Definition: WellInterfaceGeneric.hpp:75 Scalar wsalt_() const std::vector< Scalar > perf_length_ Definition: WellInterfaceGeneric.hpp:314 int polymerWaterTable_() const std::vector< Scalar > & perfDepth() Definition: WellInterfaceGeneric.hpp:138 std::vector< int > well_cells_ Definition: WellInterfaceGeneric.hpp:299 bool stopppedOrZeroRateTarget(const SummaryState &summary_state, const WellState< Scalar > &well_state) const std::vector< std::string > well_control_log_ Definition: WellInterfaceGeneric.hpp:364 void setRepRadiusPerfLength() void closeCompletions(const WellTestState &wellTestState) Scalar wpolymer_() const bool useVfpExplicit() const const std::vector< PerforationData > & perforationData() const Get the perforations of the well. std::vector< Scalar > inj_fc_multiplier_ Definition: WellInterfaceGeneric.hpp:358 Scalar rsRvInj() const const std::vector< Scalar > & perfDepth() const Definition: WellInterfaceGeneric.hpp:136 void updateWellTestState(const SingleWellState< Scalar > &ws, const double &simulationTime, const bool &writeMessageToOPMLog, WellTestState &wellTestState, DeferredLogger &deferred_logger) const const std::vector< PerforationData > * perf_data_ Definition: WellInterfaceGeneric.hpp:289 void setWellEfficiencyFactor(const Scalar efficiency_factor) Scalar wurea_() const std::vector< Scalar > prev_inj_multiplier_ Definition: WellInterfaceGeneric.hpp:355 void reportWellSwitching(const SingleWellState< Scalar > &ws, DeferredLogger &deferred_logger) const void resetWellOperability() void setWsolvent(const Scalar wsolvent) void initInjMult(const std::vector< Scalar > &max_inj_mult) int numComponents() const Definition: WellInterfaceGeneric.hpp:122 std::vector< Scalar > perf_rep_radius_ Definition: WellInterfaceGeneric.hpp:311 const std::vector< Scalar > & wellIndex() const Definition: WellInterfaceGeneric.hpp:140 int indexOfWell() const Index of well in the wells struct and wellState. Scalar getInjMult(const int perf, const Scalar bhp, const Scalar perf_pres) const bool changed_to_open_this_step_ Definition: WellInterfaceGeneric.hpp:366 bool underPredictionMode() const Returns true if the well is currently in prediction mode (i.e. not history mode). std::vector< Scalar > ipr_b_ Definition: WellInterfaceGeneric.hpp:296 const std::map< int, std::vector< int > > & getCompletions() const Definition: WellInterfaceGeneric.hpp:142 const int current_step_ Definition: WellInterfaceGeneric.hpp:275 void initCompletions() std::vector< int > saturation_table_number_ Definition: WellInterfaceGeneric.hpp:340 bool isPressureControlled(const WellState< Scalar > &well_state) const Definition: WellState.hpp:62 VFPEvaluation bhp(const VFPProdTable &table, const double aqua, const double liquid, const double vapour, const double thp, const double alq, const double explicit_wfr, const double explicit_gfr, const bool use_vfpexplicit) Definition: BlackoilPhases.hpp:27 Definition: BlackoilPhases.hpp:46 Definition: WellInterfaceGeneric.hpp:221 bool obey_thp_limit_under_bhp_limit Definition: WellInterfaceGeneric.hpp:255 void resetOperability() Definition: WellInterfaceGeneric.hpp:241 bool obey_bhp_limit_with_thp_limit Definition: WellInterfaceGeneric.hpp:259 bool operable_under_only_bhp_limit Definition: WellInterfaceGeneric.hpp:252 bool use_vfpexplicit Definition: WellInterfaceGeneric.hpp:267 bool isOperableUnderTHPLimit() const Definition: WellInterfaceGeneric.hpp:236 bool isOperableUnderBHPLimit() const Definition: WellInterfaceGeneric.hpp:231 bool thp_limit_violated_but_not_switched Definition: WellInterfaceGeneric.hpp:265 bool has_negative_potentials Definition: WellInterfaceGeneric.hpp:263 bool isOperableAndSolvable() const Definition: WellInterfaceGeneric.hpp:222 bool can_obtain_bhp_with_thp_limit Definition: WellInterfaceGeneric.hpp:257 bool solvable Definition: WellInterfaceGeneric.hpp:261 |