All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
ProductionSpecification.hpp
1 #ifndef OPM_PRODUCTIONSPECIFICATION_HPP
2 #define OPM_PRODUCTIONSPECIFICATION_HPP
3 
4 #include <opm/core/wells.h>
5 #include <string>
6 
7 namespace Opm
8 {
9 
11  {
12 
13  enum ControlMode
14  {
15  NONE = 0, ORAT = 1, WRAT=2, GRAT=3, LRAT=4, CRAT=5, RESV=6, PRBL=7, BHP=8, THP=9, GRUP=10, FLD=11
16  };
17 
18  enum Procedure
19  {
20  NONE_P, RATE, WELL
21  };
22 
23  enum GuideRateType
24  {
25  OIL, GAS, WATER, LIQ, NONE_GRT
26  };
27 
29  static std::string toString(const ControlMode& mode);
30  static std::string toString(const Procedure& type);
31  static std::string toString(const GuideRateType& type);
32 
33  ControlMode control_mode_;
34  Procedure procedure_;
35 
36  double oil_max_rate_;
37  double water_max_rate_;
38  double gas_max_rate_;
39  double liquid_max_rate_;
40  double reservoir_flow_max_rate_;
41  double BHP_limit_;
42  double guide_rate_;
43  GuideRateType guide_rate_type_;
44 
45  };
46 }
47 
48 #endif /* OPM_PRODUCTIONSPECIFICATION_HPP */
Definition: ProductionSpecification.hpp:10
Main OPM-Core well data structure along with functions to create, populate and destroy it...