24#ifndef OPM_WELL_GROUP_CONTROLS_HEADER_INCLUDED
25#define OPM_WELL_GROUP_CONTROLS_HEADER_INCLUDED
27#include <opm/input/eclipse/Schedule/Group/GuideRate.hpp>
38template<
class Scalar>
class GroupState;
43template<
typename Scalar,
typename IndexTraits>
class WellInterfaceGeneric;
44template<
typename Scalar,
typename IndexTraits>
class WellState;
47template<
typename Scalar,
typename IndexTraits>
53 using RateConvFunc = std::function<
void(
const RegionId,
const int,
54 const std::optional<std::string>&, std::vector<Scalar>&)>;
56 template<
class EvalWell>
57 void getGroupInjectionControl(
const Group& group,
65 const RateConvFunc& rateConverter,
71 getGroupInjectionTargetRate(
const Group& group,
77 const RateConvFunc& rateConverter,
81 template<
class EvalWell>
82 void getGroupProductionControl(
const Group& group,
88 const std::vector<EvalWell>& rates,
89 const RateConvFunc& rateConverter,
94 Scalar getGroupProductionTargetRate(
const Group& group,
99 const RateConvFunc& rateConverter,
103 static std::pair<Scalar, Group::ProductionCMode> getAutoChokeGroupProductionTargetRate(
const std::string& name,
Definition DeferredLogger.hpp:57
Definition GroupState.hpp:41
Class for computing well group controls.
Definition WellGroupControls.hpp:48
WellGroupControls(const WellInterfaceGeneric< Scalar, IndexTraits > &well)
Constructor sets reference to well.
Definition WellGroupControls.hpp:51
Definition WellInterfaceGeneric.hpp:53
The state of a set of wells, tailored for use by the fully implicit blackoil simulator.
Definition WellState.hpp:66
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilbioeffectsmodules.hh:43
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:240