opm-simulators/opm/core/ProductionSpecification.hpp
2012-05-09 14:26:30 +02:00

46 lines
909 B
C++

#ifndef OPM_PRODUCTIONSPECIFICATION_HPP
#define OPM_PRODUCTIONSPECIFICATION_HPP
#include <opm/core/newwells.h>
namespace Opm
{
struct ProductionSpecification
{
enum ControlMode
{
NONE = 0, ORAT = 1, WRAT=2, GRAT=3, LRAT=4, CRAT=5, RESV=6, PRBL=7, BHP=8, THP=9, GRUP=10, FLD=11
};
enum Procedure
{
NONE_P, RATE, WELL
};
enum GuideRateType
{
OIL, NONE_GRT
};
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_;
};
}
#endif /* OPM_PRODUCTIONSPECIFICATION_HPP */