My Project
Loading...
Searching...
No Matches
Opm::Well::WellInjectionProperties Struct Reference

Public Member Functions

bool operator== (const WellInjectionProperties &other) const
 
bool operator!= (const WellInjectionProperties &other) const
 
 WellInjectionProperties (const UnitSystem &units, const std::string &wname)
 
void handleWELTARG (WELTARGCMode cmode, const UDAValue &new_arg, double SIFactorP)
 
void handleWCONINJE (const DeckRecord &record, const double bhp_def, bool availableForGroupControl, const std::string &well_name, const KeywordLocation &location)
 Handle a WCONINJE keyword.
 
void handleWCONINJH (const DeckRecord &record, const double bhp_def, const bool is_producer, const std::string &well_name, const KeywordLocation &loc)
 Handle a WCONINJH keyword.
 
bool hasInjectionControl (InjectorCMode controlModeArg) const
 
void dropInjectionControl (InjectorCMode controlModeArg)
 
void addInjectionControl (InjectorCMode controlModeArg)
 
void clearControls ()
 
void resetDefaultHistoricalBHPLimit ()
 
void resetBHPLimit ()
 
void setBHPLimit (const double limit)
 
InjectionControls controls (const UnitSystem &unit_system, const SummaryState &st, double udq_default) const
 
bool updateUDQActive (const UDQConfig &udq_config, UDQActive &active) const
 
bool updateUDQActive (const UDQConfig &udq_config, const WELTARGCMode cmode, UDQActive &active) const
 
void update_uda (const UDQConfig &udq_config, UDQActive &udq_active, UDAControl control, const UDAValue &value)
 
void handleWTMULT (Well::WELTARGCMode cmode, double factor)
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Static Public Member Functions

static WellInjectionProperties serializationTestObject ()
 

Public Attributes

std::string name
 
UDAValue surfaceInjectionRate
 
UDAValue reservoirInjectionRate
 
UDAValue BHPTarget
 
UDAValue THPTarget
 
double bhp_hist_limit = 0.0
 
double thp_hist_limit = 0.0
 
double BHPH
 
double THPH
 
int VFPTableNumber
 
bool predictionMode
 
int injectionControls
 
InjectorType injectorType
 
InjectorCMode controlMode
 
double rsRvInj
 

Member Function Documentation

◆ handleWCONINJE()

void Opm::Well::WellInjectionProperties::handleWCONINJE ( const DeckRecord record,
const double  bhp_def,
bool  availableForGroupControl,
const std::string &  well_name,
const KeywordLocation location 
)

Handle a WCONINJE keyword.

Parameters
recordThe deck record to use
bhp_defThe default BHP target in input units
availableForGroupControlTrue if available for group control
well_nameName of well
locationLocation of keyword for logging purpose

◆ handleWCONINJH()

void Opm::Well::WellInjectionProperties::handleWCONINJH ( const DeckRecord record,
const double  bhp_def,
const bool  is_producer,
const std::string &  well_name,
const KeywordLocation loc 
)

Handle a WCONINJH keyword.

Parameters
recordThe deck record to use
bhp_defThe default BHP limit in SI units
is_producerTrue if well is a producer
well_nameName of well
locLocation of keyword for logging purpose

The documentation for this struct was generated from the following files: