BlackoilWellModelGeneric.hpp
Go to the documentation of this file.
571 // previous injection multiplier, it is used in the injection multiplier calculation for WINJMULT keyword
Connection index mappings. Definition: BlackoilWellModelGeneric.hpp:465 int open(const int connIdx) const Definition: BlackoilWellModelGeneric.hpp:527 const std::vector< int > & local() const Definition: BlackoilWellModelGeneric.hpp:505 int global(const int connIdx) const Definition: BlackoilWellModelGeneric.hpp:515 ConnectionIndexMap(const std::size_t numConns) Definition: BlackoilWellModelGeneric.hpp:471 void addActiveConnection(const int connIdx, const bool connIsOpen) Definition: BlackoilWellModelGeneric.hpp:485 Class for handling the blackoil well model. Definition: BlackoilWellModelGeneric.hpp:83 void gliftDebugShowALQ(DeferredLogger &deferred_logger) std::unordered_map< std::string, WellFilterCake< Scalar > > filter_cake_ Definition: BlackoilWellModelGeneric.hpp:575 int numLocalWells() const void updateNetworkActiveState(const int report_step) Checks if network is active (at least one network well on prediction). void updateNupcolWGState() Definition: BlackoilWellModelGeneric.hpp:319 bool initial_step_ Definition: BlackoilWellModelGeneric.hpp:455 void initFromRestartFile(const RestartValue &restartValues, std::unique_ptr< WellTestState > wtestState, const std::size_t numCells, bool handle_ms_well) const Well & getWellEcl(const std::string &well_name) const void assignNodeValues(std::map< std::string, data::NodeData > &nodevalues, const int reportStepIdx) const std::map< std::string, const WellInterfaceGeneric< Scalar > * > GLiftProdWells Definition: BlackoilWellModelGeneric.hpp:87 void assignWellTracerRates(data::Wells &wsrpt, const WellTracerRates &wellTracerRates) const const EclipseState & eclipseState() const Definition: BlackoilWellModelGeneric.hpp:201 GuideRate guideRate_ Definition: BlackoilWellModelGeneric.hpp:567 std::map< std::pair< std::string, Phase >, std::string > switched_inj_groups_ Definition: BlackoilWellModelGeneric.hpp:595 std::map< std::tuple< std::string, std::string, std::size_t >, Scalar > MswTracerRates Definition: BlackoilWellModelGeneric.hpp:440 Scalar updateNetworkPressures(const int reportStepIdx) const SummaryState & summaryState_ Definition: BlackoilWellModelGeneric.hpp:447 const GuideRate & guideRate() const Definition: BlackoilWellModelGeneric.hpp:205 bool reportStepStarts() const Definition: BlackoilWellModelGeneric.hpp:207 virtual void calculateProductivityIndexValuesShutWells(const int reportStepIdx, DeferredLogger &deferred_logger)=0 void checkGconsaleLimits(const Group &group, WellState< Scalar > &well_state, const int reportStepIdx, DeferredLogger &deferred_logger) bool wellsActive() const return true if wells are available in the reservoir bool report_step_starts_ Definition: BlackoilWellModelGeneric.hpp:456 bool checkGroupHigherConstraints(const Group &group, DeferredLogger &deferred_logger, const int reportStepIdx) virtual void calcInjResvCoeff(const int fipnum, const int pvtreg, std::vector< Scalar > &resv_coeff)=0 GroupState< Scalar > & groupState() Definition: BlackoilWellModelGeneric.hpp:145 int numLocalWellsEnd() const std::vector< std::vector< int > > getMaxWellConnections() const bool wellStructureChangedDynamically_ Definition: BlackoilWellModelGeneric.hpp:591 void initInjMult() void updateAndCommunicateGroupData(const int reportStepIdx, const int iterationIdx) bool networkActive() const return true if network is active (at least one network well in prediction mode) const Schedule & schedule() const Definition: BlackoilWellModelGeneric.hpp:115 Schedule & schedule_ Definition: BlackoilWellModelGeneric.hpp:446 std::vector< std::reference_wrapper< ParallelWellInfo< Scalar > > > local_parallel_well_info_ Definition: BlackoilWellModelGeneric.hpp:558 std::vector< Well > wells_ecl_ Definition: BlackoilWellModelGeneric.hpp:460 std::vector< ParallelWellInfo< Scalar > > parallel_well_info_ Definition: BlackoilWellModelGeneric.hpp:557 void updateWellPotentials(const int reportStepIdx, const bool onlyAfterEvent, const SummaryConfig &summaryConfig, DeferredLogger &deferred_logger) bool forceShutWellByName(const std::string &wellname, const double simulation_time) virtual void calcResvCoeff(const int fipnum, const int pvtreg, const std::vector< Scalar > &production_rates, std::vector< Scalar > &resv_coeff)=0 std::map< std::string, Scalar > node_pressures_ Definition: BlackoilWellModelGeneric.hpp:569 void setRepRadiusPerfLength() void assignShutConnections(data::Wells &wsrpt, const int reportStepIndex) const const WellTestState & wellTestState() const Definition: BlackoilWellModelGeneric.hpp:149 void updateClosedWellsThisStep(const std::string &well_name) const Definition: BlackoilWellModelGeneric.hpp:212 void assignGroupControl(const Group &group, data::GroupData &gdata) const void assignInjectionWellTargets(const Well &well, data::WellControlLimits &limits) const std::map< std::pair< std::string, std::string >, Scalar > WellTracerRates Definition: BlackoilWellModelGeneric.hpp:437 void updateFiltrationParticleVolume(const double dt, const std::size_t water_index) std::vector< WellProdIndexCalculator< Scalar > > prod_index_calc_ Definition: BlackoilWellModelGeneric.hpp:560 double last_glift_opt_time_ Definition: BlackoilWellModelGeneric.hpp:589 std::vector< int > local_shut_wells_ Definition: BlackoilWellModelGeneric.hpp:555 std::vector< int > pvt_region_idx_ Definition: BlackoilWellModelGeneric.hpp:563 void updateInjFCMult(DeferredLogger &deferred_logger) virtual void createWellContainer(const int time_step)=0 void setWsolvent(const Group &group, const int reportStepIdx, Scalar wsolvent) void updateEclWells(const int timeStepIdx, const SimulatorUpdate &sim_update, const SummaryState &st) void gasLiftOptimizationStage2(DeferredLogger &deferred_logger, GLiftProdWells &prod_wells, GLiftOptWells &glift_wells, GasLiftGroupInfo< Scalar > &group_info, GLiftWellStateMap &map, const int episodeIndex) const WGState< Scalar > & prevWGState() const Definition: BlackoilWellModelGeneric.hpp:289 std::vector< Well > getLocalWells(const int timeStepIdx) const const std::vector< PerforationData< Scalar > > & perfData(const int well_idx) const Definition: BlackoilWellModelGeneric.hpp:196 bool glift_debug Definition: BlackoilWellModelGeneric.hpp:587 std::unordered_set< std::string > closed_this_step_ Definition: BlackoilWellModelGeneric.hpp:565 bool anyMSWellOpenLocal() const void gliftDebug(const std::string &msg, DeferredLogger &deferred_logger) const data::GroupAndNetworkValues groupAndNetworkData(const int reportStepIdx) const void initializeWellProdIndCalculators() virtual void initWellContainer(const int reportStepIdx)=0 bool wells_active_ Definition: BlackoilWellModelGeneric.hpp:453 bool shouldBalanceNetwork(const int reportStepIndex, const int iterationIdx) const const WellState< Scalar > & wellState() const Definition: BlackoilWellModelGeneric.hpp:124 std::map< std::string, std::pair< std::string, std::string > > closed_offending_wells_ Definition: BlackoilWellModelGeneric.hpp:597 std::function< bool(const Well &)> not_on_process_ Definition: BlackoilWellModelGeneric.hpp:550 void prepareDeserialize(int report_step, const std::size_t numCells, bool handle_ms_well) void commitWGState(WGState< Scalar > wgstate) Definition: BlackoilWellModelGeneric.hpp:299 void assignProductionWellTargets(const Well &well, data::WellControlLimits &limits) const void commitWGState() Definition: BlackoilWellModelGeneric.hpp:173 std::vector< std::reference_wrapper< ParallelWellInfo< Scalar > > > createLocalParallelWellInfo(const std::vector< Well > &wells) Create the parallel well information. std::vector< WellInterfaceGeneric< Scalar > * > well_container_generic_ Definition: BlackoilWellModelGeneric.hpp:553 bool needPreStepNetworkRebalance(const int report_step) const void assignGroupValues(const int reportStepIdx, std::map< std::string, data::GroupData > &gvalues) const void assignMassGasRate(data::Wells &wsrpt, const Scalar &gasDensity) const std::map< std::string, std::string > switched_prod_groups_ Definition: BlackoilWellModelGeneric.hpp:594 void initializeWellPerfData() std::optional< int > last_run_wellpi_ Definition: BlackoilWellModelGeneric.hpp:458 bool hasTHPConstraints() const Return true if any well has a THP constraint. bool network_active_ Definition: BlackoilWellModelGeneric.hpp:454 const Parallel::Communication & comm() const Definition: BlackoilWellModelGeneric.hpp:199 const WellState< Scalar > & prevWellState() const Definition: BlackoilWellModelGeneric.hpp:284 const Parallel::Communication & comm_ Definition: BlackoilWellModelGeneric.hpp:449 WGState< Scalar > last_valid_wgstate_ Definition: BlackoilWellModelGeneric.hpp:584 bool wasDynamicallyShutThisTimeStep(const std::string &well_name) const bool terminal_output_ Definition: BlackoilWellModelGeneric.hpp:452 std::map< std::string, std::unique_ptr< GasLiftSingleWellGeneric< Scalar > > > GLiftOptWells Definition: BlackoilWellModelGeneric.hpp:86 WGState< Scalar > nupcol_wgstate_ Definition: BlackoilWellModelGeneric.hpp:585 std::vector< ConnectionIndexMap > conn_idx_map_ Definition: BlackoilWellModelGeneric.hpp:549 const GroupState< Scalar > & groupState() const Definition: BlackoilWellModelGeneric.hpp:117 virtual void calculateProductivityIndexValues(DeferredLogger &deferred_logger)=0 std::vector< std::vector< PerforationData< Scalar > > > well_perf_data_ Definition: BlackoilWellModelGeneric.hpp:461 int numLocalNonshutWells() const bool operator==(const BlackoilWellModelGeneric &rhs) const Definition: BlackoilWellModelGeneric.hpp:238 WGState< Scalar > active_wgstate_ Definition: BlackoilWellModelGeneric.hpp:583 BlackoilWellModelGeneric(Schedule &schedule, const SummaryState &summaryState, const EclipseState &eclState, const PhaseUsage &phase_usage, const Parallel::Communication &comm) WellState< Scalar > & wellState() Definition: BlackoilWellModelGeneric.hpp:132 std::map< std::string, std::unique_ptr< GasLiftWellState< Scalar > > > GLiftWellStateMap Definition: BlackoilWellModelGeneric.hpp:88 WellTestState & wellTestState() Definition: BlackoilWellModelGeneric.hpp:147 std::vector< int > getCellsForConnections(const Well &well) const ParallelWBPCalculation< Scalar > wbpCalculationService_ Definition: BlackoilWellModelGeneric.hpp:561 const PhaseUsage & phaseUsage() const Definition: BlackoilWellModelGeneric.hpp:116 void updateWsolvent(const Group &group, const int reportStepIdx, const WellState< Scalar > &wellState) virtual ~BlackoilWellModelGeneric()=default void calculateEfficiencyFactors(const int reportStepIdx) virtual void computePotentials(const std::size_t widx, const WellState< Scalar > &well_state_copy, std::string &exc_msg, ExceptionType::ExcEnum &exc_type, DeferredLogger &deferred_logger)=0 void inferLocalShutWells() const SummaryState & summaryState() const Definition: BlackoilWellModelGeneric.hpp:203 void assignMswTracerRates(data::Wells &wsrpt, const MswTracerRates &mswTracerRates) const Scalar wellPI(const std::string &well_name) const std::unique_ptr< VFPProperties< Scalar > > vfp_properties_ Definition: BlackoilWellModelGeneric.hpp:568 std::unordered_map< std::string, std::vector< Scalar > > prev_inj_multipliers_ Definition: BlackoilWellModelGeneric.hpp:572 void serializeOp(Serializer &serializer) Definition: BlackoilWellModelGeneric.hpp:219 const EclipseState & eclState_ Definition: BlackoilWellModelGeneric.hpp:448 std::vector< const WellInterfaceGeneric< Scalar > * > genericWells() const Definition: BlackoilWellModelGeneric.hpp:118 bool wasDynamicallyShutThisTimeStep(const int well_index) const void assignWellTargets(data::Wells &wsrpt) const void checkGEconLimits(const Group &group, const double simulation_time, const int report_step_idx, DeferredLogger &deferred_logger) void runWellPIScaling(const int reportStepIdx, DeferredLogger &local_deferredLogger) bool hasWell(const std::string &wname) const void resetWGState() Definition: BlackoilWellModelGeneric.hpp:309 Scalar wellPI(const int well_index) const PhaseUsage phase_usage_ Definition: BlackoilWellModelGeneric.hpp:451 const WellState< Scalar > & nupcolWellState() const Definition: BlackoilWellModelGeneric.hpp:141 int numPhases() const void updateInjMult(DeferredLogger &deferred_logger) std::vector< std::string > getWellsForTesting(const int timeStepIdx, const double simulationTime) virtual int compressedIndexForInterior(int cartesian_cell_idx) const =0 get compressed index for interior cells (-1, otherwise Definition: DeferredLogger.hpp:57 Definition: GasLiftGroupInfo.hpp:46 Definition: GroupState.hpp:38 Definition: ParallelWBPCalculation.hpp:51 Definition: WellInterfaceGeneric.hpp:51 Definition: WellState.hpp:62 Dune::Communication< MPIComm > Communication Definition: ParallelCommunication.hpp:30 Definition: blackoilboundaryratevector.hh:37 Definition: BlackoilPhases.hpp:46 Definition: WGState.hpp:41 |