opm-simulators/opm/core/wells/InjectionSpecification.hpp

47 lines
1.0 KiB
C++
Raw Normal View History

2012-03-27 09:57:01 -05:00
#ifndef OPM_INJECTORSPECIFICATION_HPP
#define OPM_INJECTORSPECIFICATION_HPP
#include <opm/core/wells.h>
2016-05-20 03:13:37 -05:00
#include <string>
2012-03-28 08:49:39 -05:00
namespace Opm
{
2012-03-27 09:57:01 -05:00
2012-03-28 08:49:39 -05:00
struct InjectionSpecification
{
enum ControlMode
{
NONE, RATE, RESV, BHP, THP, REIN, VREP, GRUP, FLD
2012-03-28 08:49:39 -05:00
};
enum InjectorType
{
WATER, OIL, GAS
};
enum GuideRateType
{
RAT, NONE_GRT
};
2012-03-28 08:49:39 -05:00
InjectionSpecification();
2016-05-23 20:07:28 -05:00
static std::string toString(const ControlMode& mode);
static std::string toString(const InjectorType& type);
static std::string toString(const GuideRateType& type);
InjectorType injector_type_;
2012-03-28 08:49:39 -05:00
ControlMode control_mode_;
double surface_flow_max_rate_;
double reservoir_flow_max_rate_;
double BHP_limit_;
double reinjection_fraction_target_;
double voidage_replacment_fraction_;
double guide_rate_;
GuideRateType guide_rate_type_;
2012-03-27 09:57:01 -05:00
};
2012-03-27 09:57:01 -05:00
}
2012-03-27 09:57:01 -05:00
#endif /* OPM_INJECTORSPECIFICATION_HPP */