20#ifndef OPM_GROUP_ECONOMIC_LIMITS_CHECKER_HEADER_INCLUDED
21#define OPM_GROUP_ECONOMIC_LIMITS_CHECKER_HEADER_INCLUDED
25#include <opm/input/eclipse/Schedule/Group/GroupEconProductionLimits.hpp>
26#include <opm/input/eclipse/Units/UnitSystem.hpp>
35template<
class Scalar>
class BlackoilWellModelGeneric;
38template<
class Scalar>
class WellState;
46 WellTestState& well_test_state,
48 const double simulation_time,
49 const int report_step_idx,
63 const size_t sep_length = 110)
const
64 {
return std::string(sep_length, sep_char); }
69 void displayDebugMessage(
const std::string& msg)
const;
70 void addPrintMessage(
const std::string& msg,
73 const UnitSystem::measure measure);
74 bool closeWellsRecursive(
const Group& group,
int level = 0);
75 void throwNotImplementedError(
const std::string& error)
const;
79 const double simulation_time_;
80 const int report_step_idx_;
82 const std::string date_string_;
83 const UnitSystem& unit_system_;
85 WellTestState& well_test_state_;
86 const Schedule& schedule_;
87 GroupEconProductionLimits::GEconGroupProp gecon_props_;
89 std::array<Scalar,NUM_PHASES> production_rates_;
90 std::map<int, BlackoilPhases::PhaseIndex> phase_idx_map_ = {
95 std::map<BlackoilPhases::PhaseIndex, int> phase_idx_reverse_map_;
@ Liquid
Definition: BlackoilPhases.hpp:42
@ Aqua
Definition: BlackoilPhases.hpp:42
@ Vapour
Definition: BlackoilPhases.hpp:42
Class for handling the blackoil well model.
Definition: BlackoilWellModelGeneric.hpp:83
Definition: DeferredLogger.hpp:57
Definition: GroupEconomicLimitsChecker.hpp:43
std::string message_separator(const char sep_char=' *', const size_t sep_length=110) const
Definition: GroupEconomicLimitsChecker.hpp:62
static constexpr int NUM_PHASES
Definition: GroupEconomicLimitsChecker.hpp:66
int numProducersOpenInitially()
GroupEconomicLimitsChecker(const BlackoilWellModelGeneric< Scalar > &well_model, WellTestState &well_test_state, const Group &group, const double simulation_time, const int report_step_idx, DeferredLogger &deferred_logger)
Definition: WellState.hpp:62
Definition: blackoilboundaryratevector.hh:37