Schedule.hpp
Go to the documentation of this file.
194 std::vector<std::string> wellNames(const std::string& pattern, size_t timeStep, const std::vector<std::string>& matching_wells = {}) const;
214 std::vector<const Group*> getChildGroups2(const std::string& group_name, size_t timeStep) const;
241 void invalidNamePattern (const std::string& namePattern, std::size_t report_step, const ParseContext& parseContext, ErrorGuard& errors, const DeckKeyword& keyword) const;
247 bool hasWellGroupEvent(const std::string& wellGroup, uint64_t event_mask, size_t reportStep) const;
263 void applyAction(size_t reportStep, const Action::ActionX& action, const Action::Result& result);
370 GTNode groupTree(const std::string& root_node, std::size_t report_step, std::size_t level, const std::optional<std::string>& parent_name) const;
374 bool updateWellStatus( const std::string& well, size_t reportStep , Well::Status status, bool update_connections);
375 void addWellToGroup( const std::string& group_name, const std::string& well_name , size_t timeStep);
376 void iterateScheduleSection(std::shared_ptr<const Python> python, const std::string& input_path, const ParseContext& parseContext , ErrorGuard& errors, const SCHEDULESection& , const EclipseGrid& grid,
379 void addGroupToGroup( const std::string& parent_group, const std::string& child_group, size_t timeStep);
380 void addGroupToGroup( const std::string& parent_group, const Group& child_group, size_t timeStep);
382 void addWell(const std::string& wellName, const DeckRecord& record, size_t timeStep, Connection::Order connection_order, const UnitSystem& unit_system);
386 void handleCOMPORD(const ParseContext& parseContext, ErrorGuard& errors, const DeckKeyword& compordKeyword, size_t currentStep);
387 void handleWELSPECS( const SCHEDULESection&, size_t, size_t , const UnitSystem& unit_system, const ParseContext& parseContext, ErrorGuard& errors);
388 void handleWCONHIST( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
389 void handleWCONPROD( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
391 void handleCOMPDAT( const DeckKeyword& keyword, size_t currentStep, const EclipseGrid& grid, const FieldPropsManager& fp, const ParseContext& parseContext, ErrorGuard& errors);
394 void handleCOMPSEGS( const DeckKeyword& keyword, size_t currentStep, const EclipseGrid& grid, const ParseContext& parseContext, ErrorGuard& errors);
399 void handleWCONINJE( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
400 void handleWFOAM( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
401 void handleWPOLYMER( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
402 void handleWSALT( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
403 void handleWSOLVENT( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
404 void handleWTRACER( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
405 void handleWTEMP( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
406 void handleWPMITAB( const DeckKeyword& keyword, const size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
407 void handleWSKPTAB( const DeckKeyword& keyword, const size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
408 void handleWINJTEMP( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
409 void handleWCONINJH(const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
410 void handleWELOPEN( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors, const std::vector<std::string>& matching_wells = {});
411 void handleWELTARG( const SCHEDULESection&, const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
412 void handleGCONINJE( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
413 void handleGCONPROD( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
414 void handleGEFAC( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
415 void handleGCONSALE( const DeckKeyword& keyword, size_t currentStep, const UnitSystem& unit_system);
416 void handleGCONSUMP( const DeckKeyword& keyword, size_t currentStep, const UnitSystem& unit_system);
419 void handleWEFAC( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
422 void handlePYACTION( std::shared_ptr<const Python> python, const std::string& input_path, const DeckKeyword& keyword, size_t currentStep);
424 void handleGRUPTREE( const DeckKeyword& keyword, size_t currentStep, const UnitSystem& unit_system, const ParseContext& parseContext, ErrorGuard& errors);
425 void handleGRUPNET( const DeckKeyword& keyword, size_t currentStep, const UnitSystem& unit_system);
427 void handleWTEST( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
435 void handleWECON( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
436 void handleWHISTCTL(const DeckKeyword& keyword, std::size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
439 void handleVFPPROD(const DeckKeyword& vfpprodKeyword, const UnitSystem& unit_system, size_t currentStep);
440 void handleVFPINJ(const DeckKeyword& vfpprodKeyword, const UnitSystem& unit_system, size_t currentStep);
454 void addWellGroupEvent(const std::string& wellGroup, ScheduleEvents::Events event, size_t reportStep);
Definition: ActionX.hpp:64 Definition: Actions.hpp:39 Definition: ActionResult.hpp:89 Simple class capturing active cells of a grid. Definition: ActiveGridCells.hpp:35 Definition: DeckKeyword.hpp:38 Definition: Deck.hpp:115 Definition: DeckRecord.hpp:32 Definition: DynamicState.hpp:58 Definition: DynamicVector.hpp:38 Definition: EclipseGrid.hpp:54 Definition: EclipseState.hpp:63 Definition: ErrorGuard.hpp:29 Definition: Events.hpp:122 Definition: FieldPropsManager.hpp:33 Definition: GConSale.hpp:32 Definition: GConSump.hpp:32 Definition: GTNode.hpp:31 Definition: parser/eclipse/EclipseState/Schedule/Group/group.hpp:36 Definition: GuideRateConfig.hpp:34 Definition: MessageLimits.hpp:101 void serializeOp(Serializer &serializer) Definition: MessageLimits.hpp:146 Definition: OilVaporizationProperties.hpp:34 Definition: ParseContext.hpp:84 Definition: RFTConfig.hpp:33 Definition: RPTConfig.hpp:29 Definition: RestartConfig.hpp:326 void serializeOp(Serializer &serializer) Definition: RestartConfig.hpp:354 Definition: Runspec.hpp:264 Definition: DeckSection.hpp:115 Definition: Schedule.hpp:113 Schedule(const Deck &deck, const EclipseGrid &grid, const FieldPropsManager &fp, const Runspec &runspec, std::shared_ptr< const Python > python, const RestartIO::RstState *rst=nullptr) const TimeMap & getTimeMap() const std::vector< std::string > changed_wells(size_t reportStep) const void filterConnections(const ActiveGridCells &grid) const GConSale & gConSale(size_t timestep) const const RPTConfig & report_config(std::size_t timeStep) const std::vector< std::string > wellNames(const std::string &pattern, size_t timeStep, const std::vector< std::string > &matching_wells={}) const Schedule()=default std::shared_ptr< const Python > python() const const DynamicState< Tuning > & getTuning() const bool hasWell(const std::string &wellName, std::size_t timeStep) const const VFPProdTable & getVFPProdTable(int table_id, size_t timeStep) const const WellTestConfig & wtestConfig(size_t timestep) const std::map< int, DynamicState< std::shared_ptr< VFPInjTable > > > VFPInjMap Definition: Schedule.hpp:118 std::vector< Well > getWellsatEnd() const void applyAction(size_t reportStep, const Action::ActionX &action, const Action::Result &result) const MessageLimits & getMessageLimits() const bool hasGroup(const std::string &groupName, std::size_t timeStep) const const UDQConfig & getUDQConfig(size_t timeStep) const void updateWell(std::shared_ptr< Well > well, size_t reportStep) void open_well(const std::string &well_name, std::size_t report_step) const Events & getWellGroupEvents(const std::string &wellGroup) const RestartConfig & restart() const VFPInjTable & getVFPInjTable(int table_id, size_t timeStep) const std::map< int, std::shared_ptr< const VFPInjTable > > getVFPInjTables(size_t timeStep) const std::vector< std::string > wellNames() const size_t numWells() const Schedule(const Deck &deck, const EclipseGrid &grid, const FieldPropsManager &fp, const Runspec &runspec, const ParseContext &parseContext, ErrorGuard &errors, std::shared_ptr< const Python > python, const RestartIO::RstState *rst=nullptr) int getNupcol(size_t reportStep) const Schedule(const Deck &deck, const EclipseState &es, std::shared_ptr< const Python > python, const RestartIO::RstState *rst=nullptr) const GuideRateConfig & guideRateConfig(size_t timeStep) const GTNode groupTree(std::size_t report_step) const void invalidNamePattern(const std::string &namePattern, std::size_t report_step, const ParseContext &parseContext, ErrorGuard &errors, const DeckKeyword &keyword) const time_t simTime(size_t timeStep) const const GConSump & gConSump(size_t timestep) const time_t posixEndTime() const bool hasGroup(const std::string &groupName) const bool hasOilVaporizationProperties() const std::vector< std::string > wellNames(size_t timeStep) const const WListManager & getWListManager(size_t timeStep) const Schedule(const Deck &deck, const EclipseState &es, const ParseContext &parseContext, T &&errors, std::shared_ptr< const Python > python, const RestartIO::RstState *rst=nullptr) const RFTConfig & rftConfig() const const Group & getGroup(const std::string &groupName, size_t timeStep) const std::vector< std::string > wellNames(const std::string &pattern) const Schedule(const Deck &deck, const EclipseState &es, const RestartIO::RstState *rst=nullptr) Schedule(const Deck &deck, const EclipseState &es, const ParseContext &parseContext, ErrorGuard &errors, std::shared_ptr< const Python > python, const RestartIO::RstState *rst=nullptr) void evalAction(const SummaryState &summary_state, size_t timeStep) const UDQActive & udqActive(size_t timeStep) const size_t numGroups() const bool operator==(const Schedule &data) const const Well::ProducerCMode & getGlobalWhistctlMmode(size_t timestep) const void shut_well(const std::string &well_name, std::size_t report_step) void stop_well(const std::string &well_name, std::size_t report_step) const Events & getEvents() const size_t size() const GTNode groupTree(const std::string &root_node, std::size_t report_step) const OrderedMap< std::string, DynamicState< std::shared_ptr< Well > > > WellMap Definition: Schedule.hpp:115 const RestartConfig & restart() const static bool cmp(const Schedule &sched1, const Schedule &sched2, std::size_t report_step) std::vector< std::string > groupNames(size_t timeStep) const const Tuning & getTuning(size_t timeStep) const std::map< int, std::shared_ptr< const VFPProdTable > > getVFPProdTables(size_t timeStep) const size_t numGroups(size_t timeStep) const time_t getStartTime() const std::optional< int > exitStatus() const std::vector< Well > getWells(size_t timeStep) const double seconds(size_t timeStep) const double stepLength(size_t timeStep) const const Action::Actions & actions(std::size_t timeStep) const bool hasWell(const std::string &wellName) const size_t numWells(size_t timestep) const const Well & getWellatEnd(const std::string &well_name) const OrderedMap< std::string, DynamicState< std::shared_ptr< Group > > > GroupMap Definition: Schedule.hpp:116 std::vector< Well > getChildWells2(const std::string &group_name, size_t timeStep) const std::vector< const Group * > getChildGroups2(const std::string &group_name, size_t timeStep) const std::map< int, DynamicState< std::shared_ptr< VFPProdTable > > > VFPProdMap Definition: Schedule.hpp:117 std::vector< std::string > groupNames(const std::string &pattern) const Schedule(const Deck &deck, const EclipseGrid &grid, const FieldPropsManager &fp, const Runspec &runspec, const ParseContext &parseContext, T &&errors, std::shared_ptr< const Python > python, const RestartIO::RstState *rst=nullptr) time_t posixStartTime() const std::vector< std::string > groupNames(const std::string &pattern, size_t timeStep) const std::vector< std::string > groupNames() const const Well & getWell(const std::string &wellName, size_t timeStep) const bool hasWellGroupEvent(const std::string &wellGroup, uint64_t event_mask, size_t reportStep) const static Schedule serializeObject() const OilVaporizationProperties & getOilVaporizationProperties(size_t timestep) const const Deck & getModifierDeck(size_t timeStep) const Definition: Serializer.hpp:38 Definition: SummaryState.hpp:65 Definition: TimeMap.hpp:40 Definition: UDQActive.hpp:35 Definition: UDQConfig.hpp:41 Definition: UnitSystem.hpp:32 Definition: VFPInjTable.hpp:33 Definition: VFPProdTable.hpp:36 Definition: WListManager.hpp:28 Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:58 Status Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:61 ProducerCMode Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:101 GasInflowEquation Definition: custom-opm-common/opm-common/opm/parser/eclipse/EclipseState/Schedule/Well/well.hpp:152 Definition: WellTestConfig.hpp:29 UDAKeyword keyword(UDAControl control) std::vector< typename std::result_of< F(typename C::const_iterator::value_type &) >::type > map(F f, const C &src) Definition: Functional.hpp:84 Definition: A.hpp:4 Definition: state.hpp:37 Definition: Tuning.hpp:27 |