|
GroupStateHelper.hpp
Go to the documentation of this file.
174 std::vector<std::string> groupChainTopBot(const std::string& bottom, const std::string& top) const;
346 std::optional<GSatProd::GSatProdGroupProp::Rate> selectRateComponent_(const int phase_pos) const;
363 // NOTE: The phase usage info seems to be read-only throughout the simulation, so it should be safe
387 std::map<std::string, std::unique_ptr<AverageRegionalPressureType>>& regional_average_pressure_calculator)
391 this->setRegionAveragePressureCalculator(this->schedule_.getGroup(groupName, this->report_step_),
495 // we only activate gpmaint if pressure is lower than the target regional pressure for injectors
Definition: DeferredLogger.hpp:57 Definition: GroupStateHelper.hpp:92 GroupStateGuard(GroupStateGuard &&)=delete GroupStateGuard & operator=(GroupStateGuard &&)=delete GroupStateGuard(GroupStateHelper &group_state_helper, GroupState< Scalar > &group_state) Definition: GroupStateHelper.hpp:94 GroupStateGuard(const GroupStateGuard &)=delete ~GroupStateGuard() Definition: GroupStateHelper.hpp:102 GroupStateGuard & operator=(const GroupStateGuard &)=delete Definition: GroupStateHelper.hpp:63 WellStateGuard(WellStateGuard &&)=delete WellStateGuard(const WellStateGuard &)=delete ~WellStateGuard() Definition: GroupStateHelper.hpp:73 WellStateGuard & operator=(const WellStateGuard &)=delete WellStateGuard & operator=(WellStateGuard &&)=delete WellStateGuard(GroupStateHelper &groupStateHelper, WellState< Scalar, IndexTraits > &well_state) Definition: GroupStateHelper.hpp:65 Definition: GroupStateHelper.hpp:59 void updateWellRatesFromGroupTargetScale(const Scalar scale, const Group &group, bool is_injector, WellState< Scalar, IndexTraits > &well_state) const void setRegionAveragePressureCalculator(const Group &group, const FieldPropsManager &fp, std::map< std::string, std::unique_ptr< AverageRegionalPressureType > > ®ional_average_pressure_calculator) const Definition: GroupStateHelper.hpp:384 void setCmodeGroup(const Group &group) std::vector< std::string > groupChainTopBot(const std::string &bottom, const std::string &top) const void updateVREPForGroups(const Group &group) void updateWellRates(const Group &group, const WellState< Scalar, IndexTraits > &well_state_nupcol, WellState< Scalar, IndexTraits > &well_state) const std::map< std::string, Scalar > computeNetworkPressures(const Network::ExtNetwork &network, const VFPProdProperties< Scalar > &vfp_prod_props, const Parallel::Communication &comm) const ReservoirCouplingMaster< Scalar > & reservoirCouplingMaster() Definition: GroupStateHelper.hpp:223 GroupState< Scalar > & groupState() const Definition: GroupStateHelper.hpp:183 Scalar sumWellResRates(const Group &group, const int phase_pos, const bool injector) const void accumulateGroupEfficiencyFactor(const Group &group, Scalar &factor) const void setReservoirCouplingMaster(ReservoirCouplingMaster< Scalar > *reservoir_coupling_master) Definition: GroupStateHelper.hpp:249 int groupControlledWells(const std::string &group_name, const std::string &always_included_child, const bool is_production_group, const Phase injection_phase) const const PhaseUsageInfo< IndexTraits > & phaseUsage() const Definition: GroupStateHelper.hpp:218 std::pair< bool, Scalar > checkGroupConstraintsProd(const std::string &name, const std::string &parent, const Group &group, const Scalar *rates, const Scalar efficiency_factor, const std::vector< Scalar > &resv_coeff, const bool check_guide_rate, DeferredLogger &deferred_logger) const const SummaryState & summaryState() const Definition: GroupStateHelper.hpp:260 const GuideRate & guideRate() const Definition: GroupStateHelper.hpp:213 void updateReservoirRatesInjectionGroups(const Group &group) const WellState< Scalar, IndexTraits > & wellState() const Definition: GroupStateHelper.hpp:309 const PhaseUsageInfo< IndexTraits > & phaseUsageInfo() const Definition: GroupStateHelper.hpp:188 GuideRate::RateVector getWellRateVector(const std::string &name) const int updateGroupControlledWells(const bool is_production_group, const Phase injection_phase, DeferredLogger &deferred_logger) Scalar sumSolventRates(const Group &group, const bool is_injector) const const Schedule & schedule() const Definition: GroupStateHelper.hpp:208 void updateGroupTargetReduction(const Group &group, const bool is_injector) std::optional< Scalar > getWellGroupTargetProducer(const std::string &name, const std::string &parent, const Group &group, const Scalar *rates, const Scalar efficiency_factor, const std::vector< Scalar > &resv_coeff, DeferredLogger &deferred_logger) const GuideRate::RateVector getProductionGroupRateVector(const std::string &group_name) const void updateGroupProductionRates(const Group &group) GroupStateHelper(WellState< Scalar, IndexTraits > &well_state, GroupState< Scalar > &group_state, const Schedule &schedule, const SummaryState &summary_state, const GuideRate &guide_rate, const PhaseUsageInfo< IndexTraits > &phase_usage_info) void updateGpMaintTargetForGroups(const Group &group, const RegionalValues ®ional_values, const double dt) Definition: GroupStateHelper.hpp:419 Scalar sumWellSurfaceRates(const Group &group, const int phase_pos, const bool injector) const std::pair< std::optional< std::string >, Scalar > worstOffendingWell(const Group &group, const Group::ProductionCMode &offended_control, const Parallel::Communication &comm, DeferredLogger &deferred_logger) const Returns the name of the worst offending well and its fraction (i.e. violated_phase / preferred_phase) Scalar getGuideRate(const std::string &name, const GuideRateModel::Target target) const void setReportStep(int report_step) Definition: GroupStateHelper.hpp:243 void updateState(WellState< Scalar, IndexTraits > &well_state, GroupState< Scalar > &group_state) void updateNetworkLeafNodeProductionRates() WellStateGuard pushWellState(WellState< Scalar, IndexTraits > &well_state) Definition: GroupStateHelper.hpp:198 GroupStateGuard pushGroupState(GroupState< Scalar > &group_state) Definition: GroupStateHelper.hpp:193 ReservoirCouplingSlave< Scalar > & reservoirCouplingSlave() Definition: GroupStateHelper.hpp:228 std::optional< Scalar > getWellGroupTargetInjector(const std::string &name, const std::string &parent, const Group &group, const Scalar *rates, const Phase injection_phase, const Scalar efficiency_factor, const std::vector< Scalar > &resv_coeff, DeferredLogger &deferred_logger) const Scalar sumWellPhaseRates(bool res_rates, const Group &group, const int phase_pos, const bool injector, const bool network=false) const void updateREINForGroups(const Group &group, bool sum_rank) std::pair< bool, Scalar > checkGroupConstraintsInj(const std::string &name, const std::string &parent, const Group &group, const Scalar *rates, const Phase injection_phase, const Scalar efficiency_factor, const std::vector< Scalar > &resv_coeff, const bool check_guide_rate, DeferredLogger &deferred_logger) const void setReservoirCouplingSlave(ReservoirCouplingSlave< Scalar > *reservoir_coupling_slave) Definition: GroupStateHelper.hpp:254 void updateSurfaceRatesInjectionGroups(const Group &group) Definition: GroupState.hpp:41 Definition: GasLiftGroupInfo.hpp:37 Definition: ReservoirCouplingMaster.hpp:38 Definition: ReservoirCouplingSlave.hpp:40 Definition: VFPProdProperties.hpp:38 Definition: WellState.hpp:66 Dune::Communication< MPIComm > Communication Definition: ParallelCommunication.hpp:30 Phase Phase indices for reservoir coupling, we currently only support black-oil phases (oil,... Definition: ReservoirCoupling.hpp:141 Definition: blackoilbioeffectsmodules.hh:43 |