opm-simulators/opm/core/ProductionSpecification.hpp

46 lines
909 B
C++
Raw Normal View History

2012-03-27 09:57:01 -05:00
#ifndef OPM_PRODUCTIONSPECIFICATION_HPP
#define OPM_PRODUCTIONSPECIFICATION_HPP
2012-03-28 08:49:39 -05:00
#include <opm/core/newwells.h>
namespace Opm
{
struct ProductionSpecification
{
enum ControlMode
{
2012-05-09 07:26:30 -05:00
NONE = 0, ORAT = 1, WRAT=2, GRAT=3, LRAT=4, CRAT=5, RESV=6, PRBL=7, BHP=8, THP=9, GRUP=10, FLD=11
2012-03-28 08:49:39 -05:00
};
enum Procedure
{
NONE_P, RATE, WELL
};
enum GuideRateType
{
OIL, NONE_GRT
};
2012-03-28 08:49:39 -05:00
ProductionSpecification();
ControlMode control_mode_;
Procedure procedure_;
double oil_max_rate_;
double water_max_rate_;
double gas_max_rate_;
double liquid_max_rate_;
double reservoir_flow_max_rate_;
double BHP_limit_;
double guide_rate_;
GuideRateType guide_rate_type_;
2012-03-28 08:49:39 -05:00
2012-03-27 09:57:01 -05:00
};
}
#endif /* OPM_PRODUCTIONSPECIFICATION_HPP */