24#ifndef OPM_WELL_GROUP_CONTROLS_HEADER_INCLUDED
25#define OPM_WELL_GROUP_CONTROLS_HEADER_INCLUDED
38enum class InjectorType;
42class WellInterfaceGeneric;
51 using RateConvFunc = std::function<void(
const RegionId,
const int,
const std::optional<std::string>&, std::vector<double>&)>;
53 template<
class EvalWell>
54 void getGroupInjectionControl(
const Group& group,
57 const Schedule& schedule,
58 const SummaryState& summaryState,
59 const InjectorType& injectorType,
61 const EvalWell& injection_rate,
62 const RateConvFunc& rateConverter,
63 double efficiencyFactor,
68 getGroupInjectionTargetRate(
const Group& group,
71 const Schedule& schedule,
72 const SummaryState& summaryState,
73 const InjectorType& injectorType,
74 const RateConvFunc& rateConverter,
75 double efficiencyFactor,
78 template<
class EvalWell>
79 void getGroupProductionControl(
const Group& group,
82 const Schedule& schedule,
83 const SummaryState& summaryState,
85 const std::vector<EvalWell>& rates,
86 const RateConvFunc& rateConverter,
87 double efficiencyFactor,
91 double getGroupProductionTargetRate(
const Group& group,
94 const Schedule& schedule,
95 const SummaryState& summaryState,
96 const RateConvFunc& rateConverter,
97 double efficiencyFactor,
Definition: DeferredLogger.hpp:57
Definition: GroupState.hpp:34
Class for computing well group controls.
Definition: WellGroupControls.hpp:46
WellGroupControls(const WellInterfaceGeneric &well)
Constructor sets reference to well.
Definition: WellGroupControls.hpp:49
Definition: WellInterfaceGeneric.hpp:51
The state of a set of wells, tailored for use by the fully implicit blackoil simulator.
Definition: WellState.hpp:60
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: BlackoilPhases.hpp:27