BlackoilWellModelConstraints.hpp
Go to the documentation of this file.
Class for handling constraints for the blackoil well model. Definition: BlackoilWellModelConstraints.hpp:41 bool checkGroupConstraints(const Group &group, const int reportStepIdx, DeferredLogger &deferred_logger) const Check the constraints of a well group. bool updateGroupIndividualControl(const Group &group, const int reportStepIdx, std::map< std::pair< std::string, 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< Scalar > &group_state, WellState< Scalar > &well_state, DeferredLogger &deferred_logger) const Update the individual controls for wells in a group. Return true if a group control is changed. bool hasTHPConstraints() const Return true if any well has a THP constraint. void actionOnBrokenConstraints(const Group &group, const Group::InjectionCMode &newControl, const Phase &controlPhase, GroupState< Scalar > &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< Scalar > &well_state, std::optional< std::string > &worst_offending_well, GroupState< Scalar > &group_state, DeferredLogger &deferred_logger) const Execute action on broken constraint for a production well group. Return true if a group control is ch... BlackoilWellModelConstraints(const BlackoilWellModelGeneric< Scalar > &wellModel) Constructor initializes reference to the well model. Definition: BlackoilWellModelConstraints.hpp:44 Class for handling the blackoil well model. Definition: BlackoilWellModelGeneric.hpp:83 Definition: DeferredLogger.hpp:57 Definition: GroupState.hpp:38 Definition: WellState.hpp:62 Definition: blackoilboundaryratevector.hh:37 |