WellInterfaceGeneric.hpp
Go to the documentation of this file.
157 // 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:186 Definition: SingleWellState.hpp:42 Definition: VFPProperties.hpp:40 Definition: WellInterfaceGeneric.hpp:51 bool wellIsStopped() const Definition: WellInterfaceGeneric.hpp:115 int number_of_phases_ Definition: WellInterfaceGeneric.hpp:285 const PhaseUsage * phase_usage_ Definition: WellInterfaceGeneric.hpp:345 void updatePerforatedCell(std::vector< bool > &is_cell_perforated) void setGuideRate(const GuideRate *guide_rate_arg) std::vector< Scalar > inj_multiplier_ Definition: WellInterfaceGeneric.hpp:352 bool isOperableAndSolvable() const Well & wellEcl() Scalar wellEfficiencyFactor() const Definition: WellInterfaceGeneric.hpp:178 OperabilityStatus operability_status_ Definition: WellInterfaceGeneric.hpp:271 void updateInjMult(std::vector< Scalar > &inj_multipliers, DeferredLogger &deferred_logger) const int currentStep() const Definition: WellInterfaceGeneric.hpp:117 void setPrevSurfaceRates(WellState< Scalar > &well_state, const WellState< Scalar > &prev_well_state) const bool changedToOpenThisStep() const Definition: WellInterfaceGeneric.hpp:167 const GuideRate * guideRate() const Definition: WellInterfaceGeneric.hpp:121 Scalar getALQ(const WellState< Scalar > &well_state) const std::vector< Scalar > bore_diameters_ Definition: WellInterfaceGeneric.hpp:318 int pvtRegionIdx() const Definition: WellInterfaceGeneric.hpp:119 const ParallelWellInfo< Scalar > & parallel_well_info_ Definition: WellInterfaceGeneric.hpp:275 void updateFilterCakeMultipliers(const std::vector< Scalar > &inj_fc_multiplier) Update filter cake multipliers. Definition: WellInterfaceGeneric.hpp:181 std::vector< Scalar > ipr_a_ Definition: WellInterfaceGeneric.hpp:296 const GuideRate * guide_rate_ Definition: WellInterfaceGeneric.hpp:363 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:343 bool getAllowCrossFlow() const void prepareForPotentialCalculations(const SummaryState &summary_state, WellState< Scalar > &well_state, Well::InjectionControls &inj_controls, Well::ProductionControls &prod_controls) const const VFPProperties< Scalar > * vfpProperties() const Definition: WellInterfaceGeneric.hpp:133 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:303 std::map< int, std::vector< int > > completions_ Definition: WellInterfaceGeneric.hpp:335 const int num_components_ Definition: WellInterfaceGeneric.hpp:282 void setDynamicThpLimit(const std::optional< Scalar > thp_limit) const int pvtRegionIdx_ Definition: WellInterfaceGeneric.hpp:280 std::optional< Scalar > dynamic_thp_limit_ Definition: WellInterfaceGeneric.hpp:349 const VFPProperties< Scalar > * vfp_properties_ Definition: WellInterfaceGeneric.hpp:362 Scalar wfoam_() const void adaptRatesForVFP(std::vector< Scalar > &rates) const int number_of_perforations_ Definition: WellInterfaceGeneric.hpp:306 const std::vector< PerforationData< Scalar > > * perf_data_ Definition: WellInterfaceGeneric.hpp:290 std::vector< Scalar > perf_depth_ Definition: WellInterfaceGeneric.hpp:309 bool thpLimitViolatedButNotSwitched() const bool wellHasTHPConstraints(const SummaryState &summaryState) const Returns true if the well has one or more THP limits/constraints. Scalar wmicrobes_() const void setVFPProperties(const VFPProperties< Scalar > *vfp_properties_arg) void setDynamicThpLimit(const Scalar thp_limit) int polymerInjTable_() const int polymerTable_() const std::optional< Scalar > getDynamicThpLimit() const bool isVFPActive(DeferredLogger &deferred_logger) const Scalar well_efficiency_factor_ Definition: WellInterfaceGeneric.hpp:361 const PhaseUsage & phaseUsage() const const std::vector< int > & cells() const Well cells. Definition: WellInterfaceGeneric.hpp:75 const ParallelWellInfo< Scalar > & parallelWellInfo() const Definition: WellInterfaceGeneric.hpp:135 Scalar wsalt_() const std::vector< Scalar > perf_length_ Definition: WellInterfaceGeneric.hpp:315 int polymerWaterTable_() const std::vector< Scalar > & perfDepth() Definition: WellInterfaceGeneric.hpp:139 std::vector< int > well_cells_ Definition: WellInterfaceGeneric.hpp:300 std::vector< std::string > well_control_log_ Definition: WellInterfaceGeneric.hpp:365 void setRepRadiusPerfLength() void closeCompletions(const WellTestState &wellTestState) Scalar wpolymer_() const bool useVfpExplicit() const std::vector< Scalar > inj_fc_multiplier_ Definition: WellInterfaceGeneric.hpp:359 Scalar rsRvInj() const const std::vector< Scalar > & perfDepth() const Definition: WellInterfaceGeneric.hpp:137 WellInterfaceGeneric(const Well &well, const ParallelWellInfo< Scalar > ¶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< Scalar > > &perf_data) void setWellEfficiencyFactor(const Scalar efficiency_factor) Scalar wurea_() const std::vector< Scalar > prev_inj_multiplier_ Definition: WellInterfaceGeneric.hpp:356 void reportWellSwitching(const SingleWellState< Scalar > &ws, DeferredLogger &deferred_logger) const bool wellUnderGroupControl(const SingleWellState< Scalar > &ws) const const std::vector< PerforationData< Scalar > > & perforationData() const Get the perforations of the well. void resetWellOperability() void setWsolvent(const Scalar wsolvent) bool wellUnderZeroRateTargetIndividual(const SummaryState &summary_state, const WellState< Scalar > &well_state) const void initInjMult(const std::vector< Scalar > &max_inj_mult) int numComponents() const Definition: WellInterfaceGeneric.hpp:123 std::vector< Scalar > perf_rep_radius_ Definition: WellInterfaceGeneric.hpp:312 const std::vector< Scalar > & wellIndex() const Definition: WellInterfaceGeneric.hpp:141 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:367 void updateWellTestState(const SingleWellState< Scalar > &ws, const double &simulationTime, const bool &writeMessageToOPMLog, const bool zero_group_target, WellTestState &wellTestState, DeferredLogger &deferred_logger) const 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:297 const std::map< int, std::vector< int > > & getCompletions() const Definition: WellInterfaceGeneric.hpp:143 const int current_step_ Definition: WellInterfaceGeneric.hpp:276 void initCompletions() std::vector< int > saturation_table_number_ Definition: WellInterfaceGeneric.hpp:341 bool isPressureControlled(const WellState< Scalar > &well_state) const Definition: WellState.hpp:62 Definition: blackoilboundaryratevector.hh:37 Static data associated with a well perforation. Definition: PerforationData.hpp:30 Definition: BlackoilPhases.hpp:46 Definition: WellInterfaceGeneric.hpp:222 bool obey_thp_limit_under_bhp_limit Definition: WellInterfaceGeneric.hpp:256 void resetOperability() Definition: WellInterfaceGeneric.hpp:242 bool obey_bhp_limit_with_thp_limit Definition: WellInterfaceGeneric.hpp:260 bool operable_under_only_bhp_limit Definition: WellInterfaceGeneric.hpp:253 bool use_vfpexplicit Definition: WellInterfaceGeneric.hpp:268 bool isOperableUnderTHPLimit() const Definition: WellInterfaceGeneric.hpp:237 bool isOperableUnderBHPLimit() const Definition: WellInterfaceGeneric.hpp:232 bool thp_limit_violated_but_not_switched Definition: WellInterfaceGeneric.hpp:266 bool has_negative_potentials Definition: WellInterfaceGeneric.hpp:264 bool isOperableAndSolvable() const Definition: WellInterfaceGeneric.hpp:223 bool can_obtain_bhp_with_thp_limit Definition: WellInterfaceGeneric.hpp:258 bool solvable Definition: WellInterfaceGeneric.hpp:262 |