23#ifndef OPM_BLACKOILWELLMODEL_CONSTRAINTS_HEADER_INCLUDED
24#define OPM_BLACKOILWELLMODEL_CONSTRAINTS_HEADER_INCLUDED
26#include <opm/input/eclipse/Schedule/Group/Group.hpp>
32class BlackoilWellModelGeneric;
44 : wellModel_(wellModel)
72 std::map<std::pair<std::string,Opm::Phase>,std::string>&
switched_inj,
80 std::pair<Group::InjectionCMode, double>
81 checkGroupInjectionConstraints(
const Group& group,
83 const Phase& phase)
const;
86 std::pair<Group::ProductionCMode, double>
87 checkGroupProductionConstraints(
const Group& group,
Definition AquiferInterface.hpp:35
Class for handling constraints for the blackoil well model.
Definition BlackoilWellModelConstraints.hpp:40
bool updateGroupIndividualControl(const Group &group, const int reportStepIdx, std::map< std::pair< std::string, Opm::Phase >, std::string > &switched_inj, std::map< std::string, std::string > &switched_prod, GroupState &group_state, WellState &well_state, DeferredLogger &deferred_logger) const
Update the individual controls for wells in a group.
Definition BlackoilWellModelConstraints.cpp:468
void actionOnBrokenConstraints(const Group &group, const Group::InjectionCMode &newControl, const Phase &controlPhase, GroupState &group_state, DeferredLogger &deferred_logger) const
Execute action for broken constraint for an injection well group.
Definition BlackoilWellModelConstraints.cpp:382
BlackoilWellModelConstraints(const BlackoilWellModelGeneric &wellModel)
Constructor initializes reference to the well model.
Definition BlackoilWellModelConstraints.hpp:43
bool checkGroupConstraints(const Group &group, const int reportStepIdx, DeferredLogger &deferred_logger) const
Check the constraints of a well group.
Definition BlackoilWellModelConstraints.cpp:345
bool hasTHPConstraints() const
Return true if any well has a THP constraint.
Definition BlackoilWellModelConstraints.cpp:41
Class for handling the blackoil well model.
Definition BlackoilWellModelGeneric.hpp:82
Definition DeferredLogger.hpp:57
Definition GroupState.hpp:34
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