WellInterfaceGeneric.hpp
Go to the documentation of this file.
187 void updateInjMult(std::vector<double>& inj_multipliers, DeferredLogger& deferred_logger) const;
189 // Note:: for multisegment wells, bhp is actually segment pressure in practice based on observation
196 void reportWellSwitching(const SingleWellState<double>& ws, DeferredLogger& deferred_logger) const;
Definition: DeferredLogger.hpp:57 Class encapsulating some information about parallel wells. Definition: ParallelWellInfo.hpp:184 Definition: VFPProperties.hpp:40 Definition: WellInterfaceGeneric.hpp:50 bool wellHasTHPConstraints(const SummaryState &summaryState) const Returns true if the well has one or more THP limits/constraints. bool stopppedOrZeroRateTarget(const SummaryState &summary_state, const WellState< double > &well_state) const void setWellEfficiencyFactor(const double efficiency_factor) const int current_step_ Definition: WellInterfaceGeneric.hpp:305 const GuideRate * guide_rate_ Definition: WellInterfaceGeneric.hpp:392 const PhaseUsage * phase_usage_ Definition: WellInterfaceGeneric.hpp:374 double woxygen_() const std::vector< double > inj_fc_multiplier_ Definition: WellInterfaceGeneric.hpp:388 void updateWellTestState(const SingleWellState< double > &ws, const double &simulationTime, const bool &writeMessageToOPMLog, WellTestState &wellTestState, DeferredLogger &deferred_logger) const void updateInjMult(std::vector< double > &inj_multipliers, DeferredLogger &deferred_logger) const const int pvtRegionIdx_ Definition: WellInterfaceGeneric.hpp:309 void checkNegativeWellPotentials(std::vector< double > &well_potentials, const bool checkOperability, DeferredLogger &deferred_logger) std::vector< double > perf_depth_ Definition: WellInterfaceGeneric.hpp:338 bool changedToOpenThisStep() const Definition: WellInterfaceGeneric.hpp:198 const std::vector< int > & cells() const Well cells. Definition: WellInterfaceGeneric.hpp:74 Well & wellEcl() void updatePerforatedCell(std::vector< bool > &is_cell_perforated) double wellEfficiencyFactor() const Definition: WellInterfaceGeneric.hpp:213 int number_of_phases_ Definition: WellInterfaceGeneric.hpp:314 int pvtRegionIdx() const Definition: WellInterfaceGeneric.hpp:126 void resetWellOperability() std::pair< bool, bool > computeWellPotentials(std::vector< double > &well_potentials, const WellState< double > &well_state) void prepareForPotentialCalculations(const SummaryState &summary_state, WellState< double > &well_state, Well::InjectionControls &inj_controls, Well::ProductionControls &prod_controls) const std::vector< double > ipr_a_ Definition: WellInterfaceGeneric.hpp:325 const int num_components_ Definition: WellInterfaceGeneric.hpp:311 const PhaseUsage & phaseUsage() const const ParallelWellInfo & parallelWellInfo() const Definition: WellInterfaceGeneric.hpp:158 std::vector< double > perf_rep_radius_ Definition: WellInterfaceGeneric.hpp:341 void adaptRatesForVFP(std::vector< double > &rates) const void setPrevSurfaceRates(WellState< double > &well_state, const WellState< double > &prev_well_state) const int indexOfWell() const Index of well in the wells struct and wellState. void setDynamicThpLimit(const double thp_limit) bool thpLimitViolatedButNotSwitched() const std::optional< double > dynamic_thp_limit_ Definition: WellInterfaceGeneric.hpp:378 int polymerInjTable_() const OperabilityStatus operability_status_ Definition: WellInterfaceGeneric.hpp:300 std::vector< double > ipr_b_ Definition: WellInterfaceGeneric.hpp:326 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) void setVFPProperties(const VFPProperties *vfp_properties_arg) std::vector< double > bore_diameters_ Definition: WellInterfaceGeneric.hpp:347 bool isOperableAndSolvable() const const std::vector< double > & perfDepth() const Definition: WellInterfaceGeneric.hpp:162 std::optional< double > getDynamicThpLimit() const std::vector< double > prev_inj_multiplier_ Definition: WellInterfaceGeneric.hpp:385 void initCompletions() bool changed_to_open_this_step_ Definition: WellInterfaceGeneric.hpp:396 std::vector< double > well_index_ Definition: WellInterfaceGeneric.hpp:332 double wurea_() const double well_efficiency_factor_ Definition: WellInterfaceGeneric.hpp:390 std::vector< double > & perfDepth() Definition: WellInterfaceGeneric.hpp:166 const std::map< int, std::vector< int > > & getCompletions() const Definition: WellInterfaceGeneric.hpp:174 const std::vector< PerforationData > * perf_data_ Definition: WellInterfaceGeneric.hpp:319 double wfoam_() const void setGuideRate(const GuideRate *guide_rate_arg) bool isVFPActive(DeferredLogger &deferred_logger) const std::vector< double > perf_length_ Definition: WellInterfaceGeneric.hpp:344 Well::Status wellStatus_ Definition: WellInterfaceGeneric.hpp:372 int polymerWaterTable_() const std::map< int, std::vector< int > > completions_ Definition: WellInterfaceGeneric.hpp:364 bool wellUnderZeroRateTarget(const SummaryState &summary_state, const WellState< double > &well_state) const int number_of_perforations_ Definition: WellInterfaceGeneric.hpp:335 void setWsolvent(const double wsolvent) double getALQ(const WellState< double > &well_state) const int currentStep() const Definition: WellInterfaceGeneric.hpp:122 void updateFilterCakeMultipliers(const std::vector< double > &inj_fc_multiplier) Update filter cake multipliers. Definition: WellInterfaceGeneric.hpp:217 void reportWellSwitching(const SingleWellState< double > &ws, DeferredLogger &deferred_logger) const std::vector< std::string > well_control_log_ Definition: WellInterfaceGeneric.hpp:394 bool underPredictionMode() const Returns true if the well is currently in prediction mode (i.e. not history mode). void initInjMult(const std::vector< double > &max_inj_mult) void closeCompletions(const WellTestState &wellTestState) const Well & wellEcl() const const std::vector< double > & wellIndex() const Definition: WellInterfaceGeneric.hpp:170 bool wellIsStopped() const Definition: WellInterfaceGeneric.hpp:118 double wpolymer_() const bool isPressureControlled(const WellState< double > &well_state) const bool getAllowCrossFlow() const void setRepRadiusPerfLength() double wsalt_() const double getInjMult(const int perf, const double bhp, const double perf_pres) const std::vector< int > well_cells_ Definition: WellInterfaceGeneric.hpp:329 const VFPProperties * vfpProperties() const Definition: WellInterfaceGeneric.hpp:154 double getTHPConstraint(const SummaryState &summaryState) const const VFPProperties * vfp_properties_ Definition: WellInterfaceGeneric.hpp:391 const GuideRate * guideRate() const Definition: WellInterfaceGeneric.hpp:130 double wsolvent() const std::vector< int > saturation_table_number_ Definition: WellInterfaceGeneric.hpp:370 const ParallelWellInfo & parallel_well_info_ Definition: WellInterfaceGeneric.hpp:304 double rsRvInj() const bool useVfpExplicit() const const std::vector< PerforationData > & perforationData() const Get the perforations of the well. int polymerTable_() const double wmicrobes_() const std::vector< double > inj_multiplier_ Definition: WellInterfaceGeneric.hpp:381 int numComponents() const Definition: WellInterfaceGeneric.hpp:134 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:255 bool solvable Definition: WellInterfaceGeneric.hpp:291 bool has_negative_potentials Definition: WellInterfaceGeneric.hpp:293 bool obey_bhp_limit_with_thp_limit Definition: WellInterfaceGeneric.hpp:289 bool obey_thp_limit_under_bhp_limit Definition: WellInterfaceGeneric.hpp:285 void resetOperability() Definition: WellInterfaceGeneric.hpp:272 bool isOperableAndSolvable() const Definition: WellInterfaceGeneric.hpp:256 bool isOperableUnderBHPLimit() const Definition: WellInterfaceGeneric.hpp:264 bool can_obtain_bhp_with_thp_limit Definition: WellInterfaceGeneric.hpp:287 bool use_vfpexplicit Definition: WellInterfaceGeneric.hpp:297 bool operable_under_only_bhp_limit Definition: WellInterfaceGeneric.hpp:282 bool thp_limit_violated_but_not_switched Definition: WellInterfaceGeneric.hpp:295 bool isOperableUnderTHPLimit() const Definition: WellInterfaceGeneric.hpp:268 |