My Project
|
Class for handling constraints for the blackoil well model. More...
#include <BlackoilWellModelConstraints.hpp>
Public Member Functions | |
BlackoilWellModelConstraints (const BlackoilWellModelGeneric &wellModel) | |
Constructor initializes reference to the well model. | |
bool | hasTHPConstraints () const |
Return true if any well has a THP constraint. | |
bool | checkGroupConstraints (const Group &group, const int reportStepIdx, DeferredLogger &deferred_logger) const |
Check the constraints of a well group. | |
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. | |
void | actionOnBrokenConstraints (const Group &group, const Group::ExceedAction &exceed_action, const Group::ProductionCMode &newControl, GroupState &group_state, DeferredLogger &deferred_logger) const |
Execute action on broken constraint for a production well group. | |
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. | |
Class for handling constraints for the blackoil well model.