21#ifndef OPM_TARGETCALCULATOR_HEADER_INCLUDED
22#define OPM_TARGETCALCULATOR_HEADER_INCLUDED
24#include <opm/input/eclipse/Schedule/Group/Group.hpp>
25#include <opm/input/eclipse/Schedule/Group/GuideRate.hpp>
38namespace WellGroupHelpers
54 template <
typename RateType>
55 RateType calcModeRateFromRates(
const std::vector<RateType>& rates)
const
57 return calcModeRateFromRates(rates.data());
60 template <
typename RateType>
65 GuideRateModel::Target guideTargetMode()
const;
68 Group::ProductionCMode cmode_;
70 const std::vector<double>& resv_coeff_;
71 const double group_grat_target_from_sales_;
72 const std::string& group_name_;
92 template <
typename RateVec>
93 auto calcModeRateFromRates(
const RateVec& rates)
const
100 GuideRateModel::Target guideTargetMode()
const;
103 Group::InjectionCMode cmode_;
105 const std::vector<double>& resv_coeff_;
106 const std::string& group_name_;
107 double sales_target_;
111 GuideRateModel::Target target_;
Definition AquiferInterface.hpp:35
Definition DeferredLogger.hpp:57
Definition GroupState.hpp:34
Based on a group control mode, extract or calculate rates, and provide other conveniences.
Definition TargetCalculator.hpp:80
Based on a group control mode, extract or calculate rates, and provide other conveniences.
Definition TargetCalculator.hpp:44
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition BlackoilPhases.hpp:27
Definition BlackoilPhases.hpp:46