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 FluidSystem = GetPropType< TypeTag, Properties::FluidSystem >
 
using IndexTraits = typename FluidSystem::IndexTraitsType
 
using Base = BlackoilWellModelGasLiftGeneric< Scalar, IndexTraits >
 
using GLiftEclWells = typename GasLiftGroupInfo< Scalar, IndexTraits >::GLiftEclWells
 
using GLiftOptWells = typename Base::GLiftOptWells
 
using GLiftProdWells = typename Base::GLiftProdWells
 
using GLiftSyncGroups = typename GasLiftSingleWellGeneric< Scalar, IndexTraits >::GLiftSyncGroups
 
using GLiftWellStateMap = typename Base::GLiftWellStateMap
 
using Simulator = GetPropType< TypeTag, Properties::Simulator >
 
using WellInterfacePtr = std::shared_ptr< WellInterface< TypeTag > >
 
using WellStateType = WellState< Scalar, IndexTraits >
 

Public Member Functions

 BlackoilWellModelGasLift (bool terminal_output)
 
bool maybeDoGasLiftOptimize (const Simulator &simulator, const std::vector< WellInterfacePtr > &well_container, const std::map< std::string, Scalar > &node_pressures, const bool updatePotentials, WellStateType &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 >, GetPropType< TypeTag, Properties::FluidSystem >::IndexTraitsType > * > &well_container, const WellState< GetPropType< TypeTag, Properties::Scalar >, GetPropType< TypeTag, Properties::FluidSystem >::IndexTraitsType > &wellState, DeferredLogger &deferred_logger)
 
void gasLiftOptimizationStage2 (const Parallel::Communication &comm, const Schedule &schedule, const SummaryState &summaryState, WellState< GetPropType< TypeTag, Properties::Scalar >, GetPropType< TypeTag, Properties::FluidSystem >::IndexTraitsType > &wellState, GroupState< GetPropType< TypeTag, Properties::Scalar > > &groupState, GLiftProdWells &prod_wells, GLiftOptWells &glift_wells, GasLiftGroupInfo< GetPropType< TypeTag, Properties::Scalar >, GetPropType< TypeTag, Properties::FluidSystem >::IndexTraitsType > &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

◆ Base

template<typename TypeTag >
using Opm::BlackoilWellModelGasLift< TypeTag >::Base = BlackoilWellModelGasLiftGeneric<Scalar, IndexTraits>

◆ FluidSystem

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

◆ GLiftEclWells

template<typename TypeTag >
using Opm::BlackoilWellModelGasLift< TypeTag >::GLiftEclWells = typename GasLiftGroupInfo<Scalar, IndexTraits>::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, IndexTraits>::GLiftSyncGroups

◆ GLiftWellStateMap

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

◆ IndexTraits

template<typename TypeTag >
using Opm::BlackoilWellModelGasLift< TypeTag >::IndexTraits = typename FluidSystem::IndexTraitsType

◆ 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> >

◆ WellStateType

template<typename TypeTag >
using Opm::BlackoilWellModelGasLift< TypeTag >::WellStateType = WellState<Scalar, IndexTraits>

Constructor & Destructor Documentation

◆ BlackoilWellModelGasLift()

template<typename TypeTag >
Opm::BlackoilWellModelGasLift< TypeTag >::BlackoilWellModelGasLift ( bool  terminal_output)
inlineexplicit

Member Function Documentation

◆ gasLiftOptimizationStage2()

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

◆ gliftDebug()

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

◆ gliftDebugShowALQ()

void Opm::BlackoilWellModelGasLiftGeneric< GetPropType< TypeTag, Properties::Scalar > , GetPropType< TypeTag, Properties::FluidSystem >::IndexTraitsType >::gliftDebugShowALQ ( const std::vector< WellInterfaceGeneric< GetPropType< TypeTag, Properties::Scalar > , GetPropType< TypeTag, Properties::FluidSystem >::IndexTraitsType > * > &  well_container,
const WellState< GetPropType< TypeTag, Properties::Scalar > , GetPropType< TypeTag, Properties::FluidSystem >::IndexTraitsType > &  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,
const std::map< std::string, Scalar > &  node_pressures,
const bool  updatePotentials,
WellStateType wellState,
GroupState< Scalar > &  groupState,
DeferredLogger deferred_logger 
)

◆ operator==()

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

◆ serializeOp()

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

◆ terminalOutput()

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

Member Data Documentation

◆ glift_debug

template<typename TypeTag >
constexpr bool Opm::BlackoilWellModelGasLiftGeneric< Scalar, IndexTraits >::glift_debug
staticconstexpr

◆ last_glift_opt_time_

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

◆ terminal_output_

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

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