custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp
Go to the documentation of this file.
254 void handleWCONINJE(const DeckRecord& record, bool availableForGroupControl, const std::string& well_name);
278 InjectionControls controls(const UnitSystem& unit_system, const SummaryState& st, double udq_default) const;
380 // this is used to check whether the specified control mode is an effective history matching production mode
501 static bool wellNameInWellNamePattern(const std::string& wellName, const std::string& wellNamePattern);
527 bool updateConnections(std::shared_ptr<WellConnections> connections, const EclipseGrid& grid, const std::vector<int>& pvtnum);
530 bool updateWellGuideRate(bool available, double guide_rate, GuideRateTarget guide_phase, double scale_factor);
545 bool handleCOMPSEGS(const DeckKeyword& keyword, const EclipseGrid& grid, const ParseContext& parseContext, ErrorGuard& errors);
614 GasInflowEquation gas_inflow = GasInflowEquation::STD; // Will NOT be loaded/assigned from restart file
630 std::shared_ptr<WellConnections> connections; // The WellConnections object can not be const because of the filterConnections method - would be beneficial to rewrite to enable const
Simple class capturing active cells of a grid. Definition: ActiveGridCells.hpp:35 Definition: DeckKeyword.hpp:38 Definition: DeckRecord.hpp:32 Definition: EclipseGrid.hpp:54 Definition: ErrorGuard.hpp:29 Definition: ParseContext.hpp:84 Definition: Serializer.hpp:38 Definition: SummaryState.hpp:65 Definition: UDAValue.hpp:32 Definition: UDQActive.hpp:35 Definition: UDQConfig.hpp:41 Definition: UnitSystem.hpp:32 Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:332 UDAValue GasRate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:339 UDAValue LiquidRate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:340 double BHPH Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:350 int productionControls() const Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:391 bool operator!=(const WellProductionProperties &other) const void handleWCONHIST(const DeckRecord &record) std::string name Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:336 WellProductionProperties() void addProductionControl(ProducerCMode controlModeArg) Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:375 bool predictionMode Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:354 void handleWELTARG(WELTARGCMode cmode, double newValue, double SiFactorP) WellProductionProperties(const UnitSystem &units, const std::string &name_arg) bool operator==(const WellProductionProperties &other) const void handleWCONPROD(const std::string &well, const DeckRecord &record) UDAValue BHPTarget Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:342 double bhp_hist_limit Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:346 ProducerCMode controlMode Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:355 bool hasProductionControl(ProducerCMode controlModeArg) const Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:366 static WellProductionProperties serializeObject() double thp_hist_limit Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:347 static bool effectiveHistoryProductionControl(ProducerCMode cmode) void clearControls() int VFPTableNumber Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:352 ProductionControls controls(const SummaryState &st, double udq_default) const void serializeOp(Serializer &serializer) Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:394 double THPH Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:351 UDAValue WaterRate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:338 void setBHPLimit(const double limit) double ALQValue Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:353 void resetDefaultBHPLimit() bool updateUDQActive(const UDQConfig &udq_config, UDQActive &active) const UDAValue ResVRate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:341 UDAValue OilRate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:337 void dropProductionControl(ProducerCMode controlModeArg) Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:370 UDAValue THPTarget Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:343 ProducerCMode whistctl_cmode Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:356 Definition: WellConnections.hpp:31 Definition: WellEconProductionLimits.hpp:29 Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:58 bool operator==(const Well &data) const static std::string Status2String(Status enumValue) Well(const RestartIO::RstWell &rst_well, int report_step, const UnitSystem &unit_system, double udq_undefined) const WellType & wellType() const void setInsertIndex(std::size_t index) bool updateDrainageRadius(double drainage_radius) const WellTracerProperties & getTracerProperties() const WELTARGCMode Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:119 bool updateConnections(std::shared_ptr< WellConnections > connections, const EclipseGrid &grid, const std::vector< int > &pvtnum) bool isAvailableForGroupControl() const Status getStatus() const bool updateRefDepth(double ref_dpeth) GuideRateTarget Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:136 double getEfficiencyFactor() const bool updateTracer(std::shared_ptr< WellTracerProperties > tracer_properties) bool updateConnections(std::shared_ptr< WellConnections > connections) double getRefDepth() const static const std::string ProducerCMode2String(ProducerCMode enumValue) Status Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:61 static Well serializeObject() static WELTARGCMode WELTARGCModeFromString(const std::string &stringValue) double production_rate(const SummaryState &st, Phase phase) const int vfp_table_number() const Well(const std::string &wname, const std::string &gname, std::size_t init_step, std::size_t insert_index, int headI, int headJ, double ref_depth, const WellType &wtype_arg, ProducerCMode whistctl_cmode, Connection::Order ordering, const UnitSystem &unit_system, double udq_undefined, double dr, bool allow_xflow, bool auto_shutin, int pvt_table, GasInflowEquation inflow_eq) bool cmp_structure(const Well &other) const bool isMultiSegment() const int getHeadI() const ProducerCMode Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:101 @ CMODE_UNDEFINED bool handleWELOPEN(const DeckRecord &record, Connection::State status, bool action_mode) bool updatePolymerProperties(std::shared_ptr< WellPolymerProperties > polymer_properties) bool isProducer() const double injection_rate(const SummaryState &st, Phase phase) const const WellFoamProperties & getFoamProperties() const bool updateBrineProperties(std::shared_ptr< WellBrineProperties > brine_properties) int getHeadJ() const bool hasBeenDefined(size_t timeStep) const bool updateWellGuideRate(double guide_rate) bool predictionMode() const int fip_region_number() const Phase getPreferredPhase() const void updateSegments(std::shared_ptr< WellSegments > segments_arg) const WellBrineProperties & getBrineProperties() const GasInflowEquation gas_inflow_equation() const ProductionControls productionControls(const SummaryState &st) const static GasInflowEquation GasInflowEquationFromString(const std::string &stringValue) bool updateAutoShutin(bool auto_shutin) bool updateGroup(const std::string &group) double alq_value() const static InjectorCMode InjectorCModeFromString(const std::string &stringValue) const WellSegments & getSegments() const static ProducerCMode ProducerCModeFromString(const std::string &stringValue) std::map< int, std::vector< Connection > > getCompletions() const Well()=default const std::string & name() const GasInflowEquation Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:152 bool updateFoamProperties(std::shared_ptr< WellFoamProperties > foam_properties) void filterConnections(const ActiveGridCells &grid) bool updateCrossFlow(bool allow_cross_flow) bool segmented_density_calculation() const Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:557 std::size_t firstTimeStep() const bool updateWSEGVALV(const std::vector< std::pair< int, Valve > > &valve_pairs) bool canOpen() const bool updateEconLimits(std::shared_ptr< WellEconProductionLimits > econ_limits) const WellEconProductionLimits & getEconLimits() const void serializeOp(Serializer &serializer) Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:566 InjectorType injectorType() const int pvt_table_number() const double getDrainageRadius() const static const std::string InjectorCMode2String(InjectorCMode enumValue) double temperature() const bool updateProduction(std::shared_ptr< WellProductionProperties > production) static const std::string GuideRateTarget2String(GuideRateTarget enumValue) bool handleCOMPSEGS(const DeckKeyword &keyword, const EclipseGrid &grid, const ParseContext &parseContext, ErrorGuard &errors) bool updatePrediction(bool prediction_mode) bool updateEfficiencyFactor(double efficiency_factor) bool updateSolventFraction(double solvent_fraction) static bool wellNameInWellNamePattern(const std::string &wellName, const std::string &wellNamePattern) bool isInjector() const size_t seqIndex() const bool updateWSEGSICD(const std::vector< std::pair< int, SpiralICD > > &sicd_pairs) const WellConnections & getConnections() const bool updateStatus(Status status, bool update_connections) InjectionControls injectionControls(const SummaryState &st) const bool handleCOMPLUMP(const DeckRecord &record) static GuideRateTarget GuideRateTargetFromString(const std::string &stringValue) bool handleWELSEGS(const DeckKeyword &keyword) bool updateWellGuideRate(bool available, double guide_rate, GuideRateTarget guide_phase, double scale_factor) InjectorCMode Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:78 @ CMODE_UNDEFINED const WellInjectionProperties & getInjectionProperties() const bool updatePVTTable(int pvt_table) static Status StatusFromString(const std::string &stringValue) double getSolventFraction() const bool getAutomaticShutIn() const const WellPolymerProperties & getPolymerProperties() const bool handleWPIMULT(const DeckRecord &record) double getGuideRate() const const std::string & groupName() const bool updateHead(int I, int J) bool updateInjection(std::shared_ptr< WellInjectionProperties > injection) bool getAllowCrossFlow() const GuideRateTarget getGuideRatePhase() const static const std::string GasInflowEquation2String(GasInflowEquation enumValue) const WellProductionProperties & getProductionProperties() const double getGuideRateScalingFactor() const Definition: WellSegments.hpp:37 Definition: WellTracerProperties.hpp:28 Definition: ScheduleTypes.hpp:38 UDAKeyword keyword(UDAControl control) Definition: A.hpp:4 @ NONE @ OPEN @ SHUT std::ostream & operator<<(std::ostream &os, const UniformTableLinear< T > &t) Definition: UniformTableLinear.hpp:249 int eclipseControlMode(const Well::InjectorCMode imode, const InjectorType itype, const Well::Status wellStatus) @ GAS @ OIL @ RATE Definition: custom-opm-common/opm-common/opm/io/eclipse/rst/well.hpp:39 Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:198 InjectorType injector_type Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:208 double thp_limit Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:205 bool hasControl(InjectorCMode cmode_arg) const Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:216 bool prediction_mode Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:214 InjectorCMode cmode Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:209 double temperature Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:212 InjectionControls(int controls_arg) Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:200 double surface_rate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:210 int vfp_table_number Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:213 double reservoir_rate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:211 double bhp_limit Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:204 Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:302 double bhp_limit Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:317 double alq_value Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:319 bool hasControl(ProducerCMode cmode_arg) const Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:323 double thp_history Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:316 bool prediction_mode Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:321 double thp_limit Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:318 int vfp_table_number Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:320 double resv_rate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:314 double water_rate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:311 double bhp_history Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:315 double liquid_rate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:313 double oil_rate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:310 double gas_rate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:312 ProducerCMode cmode Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:309 ProductionControls(int controls_arg) Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:304 Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:163 GuideRateTarget guide_phase Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:166 void serializeOp(Serializer &serializer) Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:188 double guide_rate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:165 double scale_factor Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:167 bool operator==(const WellGuideRate &data) const Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:180 bool available Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:164 static WellGuideRate serializeObject() Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:169 Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:226 bool hasInjectionControl(InjectorCMode controlModeArg) const Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:256 UDAValue surfaceInjectionRate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:228 double bhp_hist_limit Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:233 void resetBHPLimit() void serializeOp(Serializer &serializer) Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:282 double BHPH Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:237 static WellInjectionProperties serializeObject() bool predictionMode Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:240 WellInjectionProperties() void resetDefaultHistoricalBHPLimit() void addInjectionControl(InjectorCMode controlModeArg) Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:269 bool operator!=(const WellInjectionProperties &other) const WellInjectionProperties(const UnitSystem &units, const std::string &wname) int injectionControls Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:241 double thp_hist_limit Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:234 int VFPTableNumber Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:239 void dropInjectionControl(InjectorCMode controlModeArg) Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:263 UDAValue THPTarget Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:231 bool updateUDQActive(const UDQConfig &udq_config, UDQActive &active) const void setBHPLimit(const double limit) InjectorCMode controlMode Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:243 InjectionControls controls(const UnitSystem &unit_system, const SummaryState &st, double udq_default) const double temperature Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:236 void handleWCONINJH(const DeckRecord &record, bool is_producer, const std::string &well_name) double THPH Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:238 UDAValue reservoirInjectionRate Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:229 UDAValue BHPTarget Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:230 InjectorType injectorType Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:242 void handleWCONINJE(const DeckRecord &record, bool availableForGroupControl, const std::string &well_name) void handleWELTARG(WELTARGCMode cmode, double newValue, double SIFactorP) bool operator==(const WellInjectionProperties &other) const std::string name Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:227 Definition: WellBrineProperties.hpp:29 Definition: WellFoamProperties.hpp:29 Definition: WellPolymerProperties.hpp:28 |