My Project
Loading...
Searching...
No Matches
Opm::BlackoilWellModelConstraints Class Reference

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.
 
bool actionOnBrokenConstraints (const Group &group, const int reportStepIdx, const Group::GroupLimitAction group_limit_action, const Group::ProductionCMode &newControl, const WellState &well_state, std::optional< std::string > &worst_offending_well, GroupState &group_state, DeferredLogger &deferred_logger) const
 Execute action on broken constraint for a production well group. Return true if a group control is changed.
 
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, std::map< std::string, std::pair< std::string, std::string > > &closed_offending_wells, GroupState &group_state, WellState &well_state, DeferredLogger &deferred_logger) const
 Update the individual controls for wells in a group. Return true if a group control is changed.
 

Detailed Description

Class for handling constraints for the blackoil well model.


The documentation for this class was generated from the following files: