20 #ifndef GUIDE_RATE_MODEL_HPP
21 #define GUIDE_RATE_MODEL_HPP
23 #include <opm/input/eclipse/Deck/UDAValue.hpp>
24 #include <opm/input/eclipse/Schedule/Group/Group.hpp>
25 #include <opm/input/eclipse/Schedule/Well/Well.hpp>
42 static Target TargetFromString(
const std::string& s);
43 static Target TargetFromRestart(
const int nominated_phase);
53 bool allow_increase_arg,
54 double damping_factor_arg,
55 bool use_free_gas_arg);
58 static bool rst_valid(
double time_interval,
65 double damping_factor);
70 double eval(
double oil_pot,
double gas_pot,
double wat_pot)
const;
72 double update_delay()
const;
73 bool allow_increase()
const;
74 double damping_factor()
const;
77 Target target()
const;
85 static Target convert_target(Well::GuideRateTarget well_target);
86 static Target convert_target(Group::GuideRateProdTarget group_target);
87 static Target convert_target(Phase injection_phase);
88 static double pot(Target target,
double oil_pot,
double gas_pot,
double wat_pot);
90 template<
class Serializer>
93 serializer(time_interval);
101 serializer(allow_increase_);
102 serializer(damping_factor_);
103 serializer(use_free_gas);
104 serializer(default_model);
105 alpha.serializeOp(serializer);
106 beta.serializeOp(serializer);
107 gamma.serializeOp(serializer);
111 double pot(
double oil_pot,
double gas_pot,
double wat_pot)
const;
116 double time_interval = 0;
117 Target m_target = Target::NONE;
124 bool allow_increase_ =
true;
125 double damping_factor_ = 1.0;
126 bool use_free_gas =
false;
127 bool default_model =
true;
Definition: GuideRateModel.hpp:29
Definition: Serializer.hpp:38
Definition: UDAValue.hpp:32
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29