Class for handling the gaslift in the blackoil well model. More...

#include <BlackoilWellModelGasLift.hpp>

Inheritance diagram for Opm::BlackoilWellModelGasLift< TypeTag >:
Inheritance graph

Public Types

using Scalar = GetPropType< TypeTag, Properties::Scalar >
 
using GLiftEclWells = typename GasLiftGroupInfo< Scalar >::GLiftEclWells
 
using GLiftOptWells = typename Base::GLiftOptWells
 
using GLiftProdWells = typename Base::GLiftProdWells
 
using GLiftSyncGroups = typename GasLiftSingleWellGeneric< Scalar >::GLiftSyncGroups
 
using GLiftWellStateMap = typename Base::GLiftWellStateMap
 
using Simulator = GetPropType< TypeTag, Properties::Simulator >
 
using WellInterfacePtr = std::shared_ptr< WellInterface< TypeTag > >
 

Public Member Functions

 BlackoilWellModelGasLift (bool terminal_output, const PhaseUsage &phase_usage)
 
bool maybeDoGasLiftOptimize (const Simulator &simulator, const std::vector< WellInterfacePtr > &well_container, WellState< Scalar > &wellState, GroupState< Scalar > &groupState, DeferredLogger &deferred_logger)
 
void gliftDebug (const std::string &msg, DeferredLogger &deferred_logger) const
 
bool terminalOutput () const
 
void serializeOp (Serializer &serializer)
 
bool operator== (const BlackoilWellModelGasLiftGeneric &that) const
 

Static Public Member Functions

static void initGliftEclWellMap (const std::vector< WellInterfacePtr > &well_container, GLiftEclWells &ecl_well_map)
 

Static Public Attributes

static constexpr bool glift_debug
 

Protected Member Functions

void gliftDebugShowALQ (const std::vector< WellInterfaceGeneric< GetPropType< TypeTag, Properties::Scalar > > * > &well_container, const WellState< GetPropType< TypeTag, Properties::Scalar > > &wellState, DeferredLogger &deferred_logger)
 
void gasLiftOptimizationStage2 (const Parallel::Communication &comm, const Schedule &schedule, const SummaryState &summaryState, WellState< GetPropType< TypeTag, Properties::Scalar > > &wellState, GroupState< GetPropType< TypeTag, Properties::Scalar > > &groupState, GLiftProdWells &prod_wells, GLiftOptWells &glift_wells, GasLiftGroupInfo< GetPropType< TypeTag, Properties::Scalar > > &group_info, GLiftWellStateMap &map, const int episodeIndex, DeferredLogger &deferred_logger)
 

Protected Attributes

bool terminal_output_
 
double last_glift_opt_time_
 

Detailed Description

template<typename TypeTag>
class Opm::BlackoilWellModelGasLift< TypeTag >

Class for handling the gaslift in the blackoil well model.

Member Typedef Documentation

◆ GLiftEclWells

template<typename TypeTag >
using Opm::BlackoilWellModelGasLift< TypeTag >::GLiftEclWells = typename GasLiftGroupInfo<Scalar>::GLiftEclWells

◆ GLiftOptWells

template<typename TypeTag >
using Opm::BlackoilWellModelGasLift< TypeTag >::GLiftOptWells = typename Base::GLiftOptWells

◆ GLiftProdWells

template<typename TypeTag >
using Opm::BlackoilWellModelGasLift< TypeTag >::GLiftProdWells = typename Base::GLiftProdWells

◆ GLiftSyncGroups

template<typename TypeTag >
using Opm::BlackoilWellModelGasLift< TypeTag >::GLiftSyncGroups = typename GasLiftSingleWellGeneric<Scalar>::GLiftSyncGroups

◆ GLiftWellStateMap

template<typename TypeTag >
using Opm::BlackoilWellModelGasLift< TypeTag >::GLiftWellStateMap = typename Base::GLiftWellStateMap

◆ Scalar

template<typename TypeTag >
using Opm::BlackoilWellModelGasLift< TypeTag >::Scalar = GetPropType<TypeTag, Properties::Scalar>

◆ Simulator

template<typename TypeTag >
using Opm::BlackoilWellModelGasLift< TypeTag >::Simulator = GetPropType<TypeTag, Properties::Simulator>

◆ WellInterfacePtr

template<typename TypeTag >
using Opm::BlackoilWellModelGasLift< TypeTag >::WellInterfacePtr = std::shared_ptr<WellInterface<TypeTag> >

Constructor & Destructor Documentation

◆ BlackoilWellModelGasLift()

template<typename TypeTag >
Opm::BlackoilWellModelGasLift< TypeTag >::BlackoilWellModelGasLift ( bool  terminal_output,
const PhaseUsage phase_usage 
)
inline

Member Function Documentation

◆ gasLiftOptimizationStage2()

void Opm::BlackoilWellModelGasLiftGeneric< GetPropType< TypeTag, Properties::Scalar > >::gasLiftOptimizationStage2 ( const Parallel::Communication comm,
const Schedule &  schedule,
const SummaryState &  summaryState,
WellState< GetPropType< TypeTag, Properties::Scalar > > &  wellState,
GroupState< GetPropType< TypeTag, Properties::Scalar > > &  groupState,
GLiftProdWells prod_wells,
GLiftOptWells glift_wells,
GasLiftGroupInfo< GetPropType< TypeTag, Properties::Scalar > > &  group_info,
GLiftWellStateMap map,
const int  episodeIndex,
DeferredLogger deferred_logger 
)
protectedinherited

◆ gliftDebug()

void Opm::BlackoilWellModelGasLiftGeneric< GetPropType< TypeTag, Properties::Scalar > >::gliftDebug ( const std::string &  msg,
DeferredLogger deferred_logger 
) const
inherited

◆ gliftDebugShowALQ()

void Opm::BlackoilWellModelGasLiftGeneric< GetPropType< TypeTag, Properties::Scalar > >::gliftDebugShowALQ ( const std::vector< WellInterfaceGeneric< GetPropType< TypeTag, Properties::Scalar > > * > &  well_container,
const WellState< GetPropType< TypeTag, Properties::Scalar > > &  wellState,
DeferredLogger deferred_logger 
)
protectedinherited

◆ initGliftEclWellMap()

template<typename TypeTag >
void Opm::BlackoilWellModelGasLift< TypeTag >::initGliftEclWellMap ( const std::vector< WellInterfacePtr > &  well_container,
GLiftEclWells ecl_well_map 
)
static

◆ maybeDoGasLiftOptimize()

template<typename TypeTag >
bool Opm::BlackoilWellModelGasLift< TypeTag >::maybeDoGasLiftOptimize ( const Simulator simulator,
const std::vector< WellInterfacePtr > &  well_container,
WellState< Scalar > &  wellState,
GroupState< Scalar > &  groupState,
DeferredLogger deferred_logger 
)

◆ operator==()

bool Opm::BlackoilWellModelGasLiftGeneric< GetPropType< TypeTag, Properties::Scalar > >::operator== ( const BlackoilWellModelGasLiftGeneric< GetPropType< TypeTag, Properties::Scalar > > &  that) const
inlineinherited

◆ serializeOp()

void Opm::BlackoilWellModelGasLiftGeneric< GetPropType< TypeTag, Properties::Scalar > >::serializeOp ( Serializer &  serializer)
inlineinherited

◆ terminalOutput()

bool Opm::BlackoilWellModelGasLiftGeneric< GetPropType< TypeTag, Properties::Scalar > >::terminalOutput ( ) const
inlineinherited

Member Data Documentation

◆ glift_debug

constexpr bool Opm::BlackoilWellModelGasLiftGeneric< GetPropType< TypeTag, Properties::Scalar > >::glift_debug
staticconstexprinherited

◆ last_glift_opt_time_

double Opm::BlackoilWellModelGasLiftGeneric< GetPropType< TypeTag, Properties::Scalar > >::last_glift_opt_time_
protectedinherited

◆ terminal_output_

bool Opm::BlackoilWellModelGasLiftGeneric< GetPropType< TypeTag, Properties::Scalar > >::terminal_output_
protectedinherited

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