Opm::Well::WellProductionProperties Class Reference

#include <Well.hpp>

Public Member Functions

bool operator== (const WellProductionProperties &other) const
 
bool operator!= (const WellProductionProperties &other) const
 
 WellProductionProperties ()
 
 WellProductionProperties (const UnitSystem &units, const std::string &name_arg)
 
bool hasProductionControl (ProducerCMode controlModeArg) const
 
void dropProductionControl (ProducerCMode controlModeArg)
 
void addProductionControl (ProducerCMode controlModeArg)
 
void handleWCONPROD (const std::string &well, const DeckRecord &record)
 
void handleWCONHIST (const DeckRecord &record)
 
void handleWELTARG (WELTARGCMode cmode, double newValue, double SiFactorP)
 
void resetDefaultBHPLimit ()
 
void clearControls ()
 
ProductionControls controls (const SummaryState &st, double udq_default) const
 
bool updateUDQActive (const UDQConfig &udq_config, UDQActive &active) const
 
void setBHPLimit (const double limit)
 
int productionControls () const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Static Public Member Functions

static WellProductionProperties serializeObject ()
 
static bool effectiveHistoryProductionControl (ProducerCMode cmode)
 

Public Attributes

std::string name
 
UDAValue OilRate
 
UDAValue WaterRate
 
UDAValue GasRate
 
UDAValue LiquidRate
 
UDAValue ResVRate
 
UDAValue BHPTarget
 
UDAValue THPTarget
 
double bhp_hist_limit = 0.0
 
double thp_hist_limit = 0.0
 
double BHPH = 0.0
 
double THPH = 0.0
 
int VFPTableNumber = 0
 
double ALQValue = 0.0
 
bool predictionMode = false
 
ProducerCMode controlMode = ProducerCMode::CMODE_UNDEFINED
 
ProducerCMode whistctl_cmode = ProducerCMode::CMODE_UNDEFINED
 

Constructor & Destructor Documentation

◆ WellProductionProperties() [1/2]

Opm::Well::WellProductionProperties::WellProductionProperties ( )

◆ WellProductionProperties() [2/2]

Opm::Well::WellProductionProperties::WellProductionProperties ( const UnitSystem units,
const std::string name_arg 
)

Member Function Documentation

◆ addProductionControl()

void Opm::Well::WellProductionProperties::addProductionControl ( ProducerCMode  controlModeArg)
inline

◆ clearControls()

void Opm::Well::WellProductionProperties::clearControls ( )

◆ controls()

ProductionControls Opm::Well::WellProductionProperties::controls ( const SummaryState st,
double  udq_default 
) const

◆ dropProductionControl()

void Opm::Well::WellProductionProperties::dropProductionControl ( ProducerCMode  controlModeArg)
inline

◆ effectiveHistoryProductionControl()

static bool Opm::Well::WellProductionProperties::effectiveHistoryProductionControl ( ProducerCMode  cmode)
static

◆ handleWCONHIST()

void Opm::Well::WellProductionProperties::handleWCONHIST ( const DeckRecord record)

◆ handleWCONPROD()

void Opm::Well::WellProductionProperties::handleWCONPROD ( const std::string well,
const DeckRecord record 
)

◆ handleWELTARG()

void Opm::Well::WellProductionProperties::handleWELTARG ( WELTARGCMode  cmode,
double  newValue,
double  SiFactorP 
)

◆ hasProductionControl()

bool Opm::Well::WellProductionProperties::hasProductionControl ( ProducerCMode  controlModeArg) const
inline

◆ operator!=()

bool Opm::Well::WellProductionProperties::operator!= ( const WellProductionProperties other) const

◆ operator==()

bool Opm::Well::WellProductionProperties::operator== ( const WellProductionProperties other) const

◆ productionControls()

int Opm::Well::WellProductionProperties::productionControls ( ) const
inline

◆ resetDefaultBHPLimit()

void Opm::Well::WellProductionProperties::resetDefaultBHPLimit ( )

◆ serializeObject()

static WellProductionProperties Opm::Well::WellProductionProperties::serializeObject ( )
static

◆ serializeOp()

template<class Serializer >
void Opm::Well::WellProductionProperties::serializeOp ( Serializer serializer)
inline

◆ setBHPLimit()

void Opm::Well::WellProductionProperties::setBHPLimit ( const double  limit)

◆ updateUDQActive()

bool Opm::Well::WellProductionProperties::updateUDQActive ( const UDQConfig udq_config,
UDQActive active 
) const

Member Data Documentation

◆ ALQValue

double Opm::Well::WellProductionProperties::ALQValue = 0.0

Referenced by serializeOp().

◆ bhp_hist_limit

double Opm::Well::WellProductionProperties::bhp_hist_limit = 0.0

Referenced by serializeOp().

◆ BHPH

double Opm::Well::WellProductionProperties::BHPH = 0.0

Referenced by serializeOp().

◆ BHPTarget

UDAValue Opm::Well::WellProductionProperties::BHPTarget

Referenced by serializeOp().

◆ controlMode

ProducerCMode Opm::Well::WellProductionProperties::controlMode = ProducerCMode::CMODE_UNDEFINED

Referenced by serializeOp().

◆ GasRate

UDAValue Opm::Well::WellProductionProperties::GasRate

Referenced by serializeOp().

◆ LiquidRate

UDAValue Opm::Well::WellProductionProperties::LiquidRate

Referenced by serializeOp().

◆ name

std::string Opm::Well::WellProductionProperties::name

Referenced by serializeOp().

◆ OilRate

UDAValue Opm::Well::WellProductionProperties::OilRate

Referenced by serializeOp().

◆ predictionMode

bool Opm::Well::WellProductionProperties::predictionMode = false

Referenced by serializeOp().

◆ ResVRate

UDAValue Opm::Well::WellProductionProperties::ResVRate

Referenced by serializeOp().

◆ thp_hist_limit

double Opm::Well::WellProductionProperties::thp_hist_limit = 0.0

Referenced by serializeOp().

◆ THPH

double Opm::Well::WellProductionProperties::THPH = 0.0

Referenced by serializeOp().

◆ THPTarget

UDAValue Opm::Well::WellProductionProperties::THPTarget

Referenced by serializeOp().

◆ VFPTableNumber

int Opm::Well::WellProductionProperties::VFPTableNumber = 0

Referenced by serializeOp().

◆ WaterRate

UDAValue Opm::Well::WellProductionProperties::WaterRate

Referenced by serializeOp().

◆ whistctl_cmode

ProducerCMode Opm::Well::WellProductionProperties::whistctl_cmode = ProducerCMode::CMODE_UNDEFINED

Referenced by serializeOp().


The documentation for this class was generated from the following file: