24#ifndef OPM_WELL_GROUP_CONSTRAINTS_HEADER_INCLUDED
25#define OPM_WELL_GROUP_CONSTRAINTS_HEADER_INCLUDED
39enum class InjectorType;
43class WellInterfaceGeneric;
52 using RateConvFunc = std::function<void(
const RegionId,
const int,
const std::optional<std::string>&, std::vector<double>&)>;
54 bool checkGroupConstraints(
WellState& well_state,
56 const Schedule& schedule,
57 const SummaryState& summaryState,
58 const RateConvFunc& rateConverter,
62 std::pair<bool, double>
63 checkGroupConstraintsInj(
const Group& group,
66 const double efficiencyFactor,
67 const Schedule& schedule,
68 const SummaryState& summaryState,
69 const RateConvFunc& rateConverter,
72 std::pair<bool, double>
73 checkGroupConstraintsProd(
const Group& group,
76 const double efficiencyFactor,
77 const Schedule& schedule,
78 const SummaryState& summaryState,
79 const RateConvFunc& rateConverter,
Definition: DeferredLogger.hpp:57
Definition: GroupState.hpp:34
Class for computing well group constraints.
Definition: WellGroupConstraints.hpp:47
WellGroupConstraints(const WellInterfaceGeneric &well)
Constructor sets reference to well.
Definition: WellGroupConstraints.hpp:50
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