opm-simulators
Opm::WellGroupControls< Scalar, IndexTraits > Class Template Reference

Class for computing well group controls. More...

#include <WellGroupControls.hpp>

Public Types

using RateConvFunc = std::function< void(const RegionId, const int, const std::optional< std::string > &, std::vector< Scalar > &)>
 
using GroupStateHelperType = GroupStateHelper< Scalar, IndexTraits >
 

Public Member Functions

 WellGroupControls (const WellInterfaceGeneric< Scalar, IndexTraits > &well)
 Constructor sets reference to well.
 
template<class EvalWell >
void getGroupInjectionControl (const Group &group, const GroupStateHelperType &groupStateHelper, const InjectorType &injectorType, const EvalWell &bhp, const EvalWell &injection_rate, const RateConvFunc &rateConverter, Scalar efficiencyFactor, EvalWell &control_eq) const
 
std::optional< Scalar > getGroupInjectionTargetRate (const Group &group, const GroupStateHelperType &groupStateHelper, const InjectorType &injectorType, const RateConvFunc &rateConverter, Scalar efficiencyFactor) const
 
template<class EvalWell >
void getGroupProductionControl (const Group &group, const GroupStateHelperType &groupStateHelper, const EvalWell &bhp, const std::vector< EvalWell > &rates, const RateConvFunc &rateConverter, Scalar efficiencyFactor, EvalWell &control_eq) const
 
Scalar getGroupProductionTargetRate (const Group &group, const GroupStateHelperType &groupStateHelper, const RateConvFunc &rateConverter, Scalar efficiencyFactor) const
 

Detailed Description

template<typename Scalar, typename IndexTraits>
class Opm::WellGroupControls< Scalar, IndexTraits >

Class for computing well group controls.


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