|
| BlackoilWellModelGeneric (Schedule &schedule, const SummaryState &summaryState, const EclipseState &eclState, const PhaseUsage &phase_usage, const Parallel::Communication &comm) |
|
int | numLocalWells () const |
|
int | numPhases () const |
|
bool | wellsActive () const |
| return true if wells are available in the reservoir
|
|
bool | hasWell (const std::string &wname) |
|
bool | localWellsActive () const |
| return true if wells are available on this process
|
|
bool | anyMSWellOpenLocal () const |
|
const Well & | getWellEcl (const std::string &well_name) const |
|
std::vector< Well > | getLocalWells (const int timeStepIdx) const |
|
const Schedule & | schedule () const |
|
const PhaseUsage & | phaseUsage () const |
|
const GroupState & | groupState () const |
|
const WellState & | wellState () const |
|
WellState & | wellState () |
|
GroupState & | groupState () |
|
WellTestState & | wellTestState () |
|
const WellTestState & | wellTestState () const |
|
double | wellPI (const int well_index) const |
|
double | wellPI (const std::string &well_name) const |
|
void | updateEclWells (const int timeStepIdx, const std::unordered_set< std::string > &wells, const SummaryState &st) |
|
void | loadRestartData (const data::Wells &rst_wells, const data::GroupAndNetworkValues &grpNwrkValues, const PhaseUsage &phases, const bool handle_ms_well, WellState &well_state) |
|
void | initFromRestartFile (const RestartValue &restartValues, WellTestState wtestState, const size_t numCells, bool handle_ms_well) |
|
void | setWellsActive (const bool wells_active) |
|
void | commitWGState () |
|
data::GroupAndNetworkValues | groupAndNetworkData (const int reportStepIdx) const |
|
bool | hasTHPConstraints () const |
| Return true if any well has a THP constraint.
|
|
bool | forceShutWellByName (const std::string &wellname, const double simulation_time) |
| Shut down any single well Returns true if the well was actually found and shut.
|
|
|
const WellState & | prevWellState () const |
|
const WGState & | prevWGState () const |
|
const WellState & | nupcolWellState () const |
|
void | commitWGState (WGState wgstate) |
|
void | resetWGState () |
|
void | updateNupcolWGState () |
|
std::vector< std::reference_wrapper< ParallelWellInfo > > | createLocalParallelWellInfo (const std::vector< Well > &wells) |
| Create the parallel well information. More...
|
|
void | initializeWellProdIndCalculators () |
|
void | initializeWellPerfData () |
|
bool | wasDynamicallyShutThisTimeStep (const int well_index) const |
|
void | updateNetworkPressures (const int reportStepIdx) |
|
void | updateWsolvent (const Group &group, const int reportStepIdx, const WellState &wellState) |
|
void | setWsolvent (const Group &group, const int reportStepIdx, double wsolvent) |
|
virtual void | calcRates (const int fipnum, const int pvtreg, std::vector< double > &resv_coeff)=0 |
|
virtual void | calcInjRates (const int fipnum, const int pvtreg, std::vector< double > &resv_coeff)=0 |
|
data::GuideRateValue | getGuideRateValues (const Group &group) const |
|
data::GuideRateValue | getGuideRateValues (const Well &well) const |
|
data::GuideRateValue | getGuideRateInjectionGroupValues (const Group &group) const |
|
void | getGuideRateValues (const GuideRate::RateVector &qs, const bool is_inj, const std::string &wgname, data::GuideRateValue &grval) const |
|
void | assignWellGuideRates (data::Wells &wsrpt, const int reportStepIdx) const |
|
void | assignShutConnections (data::Wells &wsrpt, const int reportStepIndex) const |
|
void | assignGroupControl (const Group &group, data::GroupData &gdata) const |
|
void | assignGroupGuideRates (const Group &group, const std::unordered_map< std::string, data::GroupGuideRates > &groupGuideRates, data::GroupData &gdata) const |
|
void | assignGroupValues (const int reportStepIdx, std::map< std::string, data::GroupData > &gvalues) const |
|
void | assignNodeValues (std::map< std::string, data::NodeData > &nodevalues) const |
|
void | loadRestartConnectionData (const std::vector< data::Rates::opt > &phs, const data::Well &rst_well, const std::vector< PerforationData > &old_perf_data, SingleWellState &ws) |
|
void | loadRestartSegmentData (const std::string &well_name, const std::vector< data::Rates::opt > &phs, const data::Well &rst_well, SingleWellState &ws) |
|
void | loadRestartWellData (const std::string &well_name, const bool handle_ms_well, const std::vector< data::Rates::opt > &phs, const data::Well &rst_well, const std::vector< PerforationData > &old_perf_data, SingleWellState &ws) |
|
void | loadRestartGroupData (const std::string &group, const data::GroupData &value) |
|
void | loadRestartGuideRates (const int report_step, const GuideRateModel::Target target, const data::Wells &rst_wells) |
|
void | loadRestartGuideRates (const int report_step, const GuideRateConfig &config, const std::map< std::string, data::GroupData > &rst_groups) |
|
std::unordered_map< std::string, data::GroupGuideRates > | calculateAllGroupGuiderates (const int reportStepIdx) const |
|
void | calculateEfficiencyFactors (const int reportStepIdx) |
|
bool | checkGroupConstraints (const Group &group, const int reportStepIdx, DeferredLogger &deferred_logger) const |
|
std::pair< Group::InjectionCMode, double > | checkGroupInjectionConstraints (const Group &group, const int reportStepIdx, const Phase &phase) const |
|
std::pair< Group::ProductionCMode, double > | checkGroupProductionConstraints (const Group &group, const int reportStepIdx, DeferredLogger &deferred_logger) const |
|
void | checkGconsaleLimits (const Group &group, WellState &well_state, const int reportStepIdx, DeferredLogger &deferred_logger) |
|
bool | checkGroupHigherConstraints (const Group &group, DeferredLogger &deferred_logger, const int reportStepIdx, std::set< std::string > &switched_groups) |
|
bool | updateGroupIndividualControl (const Group &group, DeferredLogger &deferred_logger, const int reportStepIdx, std::set< std::string > &switched_groups) |
|
bool | updateGroupIndividualControls (DeferredLogger &deferred_logger, std::set< std::string > &switched_groups, const int reportStepIdx, const int iterationIdx) |
|
bool | updateGroupHigherControls (DeferredLogger &deferred_logger, const int reportStepIdx, std::set< std::string > &switched_groups) |
|
void | actionOnBrokenConstraints (const Group &group, const Group::ExceedAction &exceed_action, const Group::ProductionCMode &newControl, DeferredLogger &deferred_logger) |
|
void | actionOnBrokenConstraints (const Group &group, const Group::InjectionCMode &newControl, const Phase &controlPhase, DeferredLogger &deferred_logger) |
|
void | updateAndCommunicateGroupData (const int reportStepIdx, const int iterationIdx) |
|
void | inferLocalShutWells () |
|
void | setRepRadiusPerfLength () |
|
void | gliftDebug (const std::string &msg, DeferredLogger &deferred_logger) const |
|
void | gliftDebugShowALQ (DeferredLogger &deferred_logger) |
|
void | gasLiftOptimizationStage2 (DeferredLogger &deferred_logger, GLiftProdWells &prod_wells, GLiftOptWells &glift_wells, GLiftWellStateMap &map, const int episodeIndex) |
|
virtual void | computePotentials (const std::size_t widx, const WellState &well_state_copy, std::string &exc_msg, ExceptionType::ExcEnum &exc_type, DeferredLogger &deferred_logger)=0 |
|
void | updateWellPotentials (const int reportStepIdx, const bool onlyAfterEvent, const SummaryConfig &summaryConfig, DeferredLogger &deferred_logger) |
|
bool | guideRateUpdateIsNeeded (const int reportStepIdx) const |
|
virtual void | createWellContainer (const int time_step)=0 |
|
virtual void | initWellContainer ()=0 |
|
virtual void | calculateProductivityIndexValuesShutWells (const int reportStepIdx, DeferredLogger &deferred_logger)=0 |
|
virtual void | calculateProductivityIndexValues (DeferredLogger &deferred_logger)=0 |
|
void | runWellPIScaling (const int timeStepIdx, DeferredLogger &local_deferredLogger) |
|
virtual int | compressedIndexForInterior (int cartesian_cell_idx) const =0 |
| get compressed index for interior cells (-1, otherwise
|
|
Class for handling the blackoil well model.