2013-10-25 17:28:56 +02:00
|
|
|
/*
|
|
|
|
|
Copyright 2013 Statoil ASA.
|
|
|
|
|
|
|
|
|
|
This file is part of the Open Porous Media project (OPM).
|
|
|
|
|
|
|
|
|
|
OPM is free software: you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
|
|
OPM is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
#ifndef SCHEDULE_HPP
|
|
|
|
|
#define SCHEDULE_HPP
|
|
|
|
|
|
2016-01-15 08:42:57 +01:00
|
|
|
#include <map>
|
2013-12-02 13:07:01 +01:00
|
|
|
#include <memory>
|
2013-10-25 17:28:56 +02:00
|
|
|
|
2016-01-15 08:42:57 +01:00
|
|
|
#include <boost/date_time/posix_time/posix_time_types.hpp>
|
|
|
|
|
|
2019-03-08 07:12:07 +01:00
|
|
|
#include <opm/parser/eclipse/Parser/ParseContext.hpp>
|
2016-10-05 10:04:22 +02:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/DynamicState.hpp>
|
2016-10-05 10:12:46 +02:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/DynamicVector.hpp>
|
2016-10-05 10:09:45 +02:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/Events.hpp>
|
2019-07-24 08:38:39 +02:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/Group/Group2.hpp>
|
2019-07-25 11:46:15 +02:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/Group/GTNode.hpp>
|
2016-10-05 12:43:36 +02:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/OilVaporizationProperties.hpp>
|
2016-01-15 08:42:57 +01:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/ScheduleEnums.hpp>
|
2016-10-05 10:04:22 +02:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/Tuning.hpp>
|
2016-01-15 08:42:57 +01:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Util/OrderedMap.hpp>
|
2016-10-17 10:41:17 +08:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/MessageLimits.hpp>
|
2016-11-02 13:29:00 +01:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Runspec.hpp>
|
2019-04-03 18:47:02 +02:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/RFTConfig.hpp>
|
2018-04-06 12:12:30 +02:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/VFPInjTable.hpp>
|
|
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/VFPProdTable.hpp>
|
2019-03-23 16:11:37 +01:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/Well/Well2.hpp>
|
2019-03-08 07:12:07 +01:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/Well/WellTestConfig.hpp>
|
2019-01-17 11:22:49 +01:00
|
|
|
#include <opm/parser/eclipse/EclipseState/Schedule/Action/Actions.hpp>
|
2013-10-25 17:28:56 +02:00
|
|
|
|
2019-07-30 17:47:19 +02:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
The DynamicState<std::shared_ptr<T>> pattern: The quantities in the Schedule
|
|
|
|
|
section like e.g. wellrates and completion properties are typically
|
|
|
|
|
characterized by the following behaviour:
|
|
|
|
|
|
|
|
|
|
1. They can be updated repeatedly at arbitrary points in the Schedule
|
|
|
|
|
section.
|
|
|
|
|
|
|
|
|
|
2. The value set at one timestep will apply until is explicitly set again at
|
|
|
|
|
a later timestep.
|
|
|
|
|
|
|
|
|
|
These properties are typically stored in a DynamicState<T> container; the
|
|
|
|
|
DynamicState<T> class is a container which implements this semantics:
|
|
|
|
|
|
|
|
|
|
1. It is legitimate to ask for an out-of-range value, you will then get the
|
|
|
|
|
last value which has been set.
|
|
|
|
|
|
|
|
|
|
2. When assigning an out-of-bounds value the container will append the
|
|
|
|
|
currently set value until correct length has been reached, and then the
|
|
|
|
|
new value will be assigned.
|
|
|
|
|
|
|
|
|
|
3. The DynamicState<T> has an awareness of the total length of the time
|
|
|
|
|
axis, trying to access values beyound that is illegal.
|
|
|
|
|
|
|
|
|
|
For many of the non-trival objects like eg Well2 and Group2 the DynamicState<>
|
|
|
|
|
contains a shared pointer to an underlying object, that way the fill operation
|
|
|
|
|
when the vector is resized is quite fast. The following pattern is quite
|
|
|
|
|
common for the Schedule implementation:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Create a new well object.
|
|
|
|
|
std::shared_ptr<Well> new_well = this->getWell2( well_name, time_step );
|
|
|
|
|
|
|
|
|
|
// Update the new well object with new settings from the deck, the
|
|
|
|
|
// updateXXXX() method will return true if the well object was actually
|
|
|
|
|
// updated:
|
|
|
|
|
if (new_well->updateRate( new_rate ))
|
|
|
|
|
this->dynamic_state.update( time_step, new_well);
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2014-12-08 16:34:28 +01:00
|
|
|
namespace Opm
|
2013-10-25 17:28:56 +02:00
|
|
|
{
|
2014-12-08 16:34:28 +01:00
|
|
|
|
2018-11-19 09:43:50 +01:00
|
|
|
class Actions;
|
2016-01-24 21:49:39 +01:00
|
|
|
class Deck;
|
|
|
|
|
class DeckKeyword;
|
|
|
|
|
class DeckRecord;
|
2016-01-15 08:42:57 +01:00
|
|
|
class EclipseGrid;
|
2017-02-15 11:13:29 +01:00
|
|
|
class Eclipse3DProperties;
|
2018-11-19 09:43:50 +01:00
|
|
|
class EclipseState;
|
|
|
|
|
class Runspec;
|
2016-01-15 08:42:57 +01:00
|
|
|
class SCHEDULESection;
|
2018-11-19 09:43:50 +01:00
|
|
|
class SummaryState;
|
2016-01-15 08:42:57 +01:00
|
|
|
class TimeMap;
|
2016-01-24 21:49:39 +01:00
|
|
|
class UnitSystem;
|
2019-01-03 11:53:32 +01:00
|
|
|
class ErrorGuard;
|
2019-01-14 12:09:07 +01:00
|
|
|
class WListManager;
|
2019-02-21 11:49:33 +01:00
|
|
|
class UDQInput;
|
2016-01-15 08:42:57 +01:00
|
|
|
|
2013-10-25 17:28:56 +02:00
|
|
|
class Schedule {
|
|
|
|
|
public:
|
2017-09-27 16:34:38 +02:00
|
|
|
Schedule(const Deck& deck,
|
|
|
|
|
const EclipseGrid& grid,
|
|
|
|
|
const Eclipse3DProperties& eclipseProperties,
|
2018-10-17 13:35:25 +02:00
|
|
|
const Runspec &runspec,
|
2019-01-03 11:53:32 +01:00
|
|
|
const ParseContext& parseContext,
|
|
|
|
|
ErrorGuard& errors);
|
2016-09-08 19:42:45 +02:00
|
|
|
|
2019-01-03 18:05:19 +01:00
|
|
|
template<typename T>
|
|
|
|
|
Schedule(const Deck& deck,
|
|
|
|
|
const EclipseGrid& grid,
|
|
|
|
|
const Eclipse3DProperties& eclipseProperties,
|
|
|
|
|
const Runspec &runspec,
|
|
|
|
|
const ParseContext& parseContext,
|
|
|
|
|
T&& errors);
|
|
|
|
|
|
|
|
|
|
Schedule(const Deck& deck,
|
|
|
|
|
const EclipseGrid& grid,
|
|
|
|
|
const Eclipse3DProperties& eclipseProperties,
|
|
|
|
|
const Runspec &runspec);
|
|
|
|
|
|
2017-12-03 09:00:56 +01:00
|
|
|
Schedule(const Deck& deck,
|
|
|
|
|
const EclipseState& es,
|
2019-01-03 11:53:32 +01:00
|
|
|
const ParseContext& parseContext,
|
|
|
|
|
ErrorGuard& errors);
|
2018-05-14 04:18:07 +02:00
|
|
|
|
2019-01-03 18:05:19 +01:00
|
|
|
template <typename T>
|
|
|
|
|
Schedule(const Deck& deck,
|
|
|
|
|
const EclipseState& es,
|
|
|
|
|
const ParseContext& parseContext,
|
|
|
|
|
T&& errors);
|
|
|
|
|
|
|
|
|
|
Schedule(const Deck& deck,
|
|
|
|
|
const EclipseState& es);
|
|
|
|
|
|
2016-05-19 12:39:22 +02:00
|
|
|
/*
|
|
|
|
|
* If the input deck does not specify a start time, Eclipse's 1. Jan
|
|
|
|
|
* 1983 is defaulted
|
|
|
|
|
*/
|
2017-06-19 09:45:43 +02:00
|
|
|
time_t getStartTime() const;
|
2016-05-19 12:10:40 +02:00
|
|
|
time_t posixStartTime() const;
|
2016-09-12 14:28:19 +02:00
|
|
|
time_t posixEndTime() const;
|
2019-01-22 17:04:54 +01:00
|
|
|
time_t simTime(size_t timeStep) const;
|
2018-10-17 12:08:54 +02:00
|
|
|
double seconds(size_t timeStep) const;
|
2018-10-09 17:42:37 +02:00
|
|
|
double stepLength(size_t timeStep) const;
|
2016-05-19 12:10:40 +02:00
|
|
|
|
2016-10-12 12:26:14 +02:00
|
|
|
const TimeMap& getTimeMap() const;
|
2013-11-05 15:25:47 +01:00
|
|
|
|
|
|
|
|
size_t numWells() const;
|
2015-02-12 12:54:57 +01:00
|
|
|
size_t numWells(size_t timestep) const;
|
2013-11-05 15:25:47 +01:00
|
|
|
bool hasWell(const std::string& wellName) const;
|
2019-05-04 12:00:32 +02:00
|
|
|
bool hasWell(const std::string& wellName, std::size_t timeStep) const;
|
2019-03-24 07:53:30 +01:00
|
|
|
|
2019-03-14 09:23:03 +01:00
|
|
|
std::vector<std::string> wellNames(const std::string& pattern, size_t timeStep, const std::vector<std::string>& matching_wells = {}) const;
|
2019-03-24 07:53:30 +01:00
|
|
|
std::vector<std::string> wellNames(const std::string& pattern) const;
|
|
|
|
|
std::vector<std::string> wellNames(size_t timeStep) const;
|
|
|
|
|
std::vector<std::string> wellNames() const;
|
|
|
|
|
|
2019-07-07 08:46:17 +02:00
|
|
|
std::vector<std::string> groupNames(const std::string& pattern, size_t timeStep) const;
|
|
|
|
|
std::vector<std::string> groupNames(size_t timeStep) const;
|
|
|
|
|
std::vector<std::string> groupNames(const std::string& pattern) const;
|
|
|
|
|
std::vector<std::string> groupNames() const;
|
|
|
|
|
|
2019-03-23 16:11:37 +01:00
|
|
|
void updateWell(std::shared_ptr<Well2> well, size_t reportStep);
|
|
|
|
|
const Well2& getWell2(const std::string& wellName, size_t timeStep) const;
|
2019-05-04 12:00:32 +02:00
|
|
|
const Well2& getWell2atEnd(const std::string& well_name) const;
|
|
|
|
|
std::vector<Well2> getWells2(size_t timeStep) const;
|
|
|
|
|
std::vector<Well2> getWells2atEnd() const;
|
|
|
|
|
|
2019-08-06 22:40:14 +02:00
|
|
|
std::vector<const Group2*> getChildGroups2(const std::string& group_name, size_t timeStep) const;
|
2019-05-04 12:00:32 +02:00
|
|
|
std::vector<Well2> getChildWells2(const std::string& group_name, size_t timeStep, GroupWellQueryMode query_mode) const;
|
2016-12-22 15:11:02 +01:00
|
|
|
const OilVaporizationProperties& getOilVaporizationProperties(size_t timestep) const;
|
2016-01-15 08:42:57 +01:00
|
|
|
|
2018-05-14 04:18:07 +02:00
|
|
|
const WellTestConfig& wtestConfig(size_t timestep) const;
|
2019-01-14 12:09:07 +01:00
|
|
|
const WListManager& getWListManager(size_t timeStep) const;
|
2019-02-21 11:49:33 +01:00
|
|
|
const UDQInput& getUDQConfig(size_t timeStep) const;
|
2019-01-22 16:33:17 +01:00
|
|
|
const Actions& actions() const;
|
2018-11-19 09:43:50 +01:00
|
|
|
void evalAction(const SummaryState& summary_state, size_t timeStep);
|
2018-05-14 04:18:07 +02:00
|
|
|
|
2019-07-25 11:46:15 +02:00
|
|
|
GTNode groupTree(std::size_t report_step) const;
|
2019-08-06 22:40:14 +02:00
|
|
|
GTNode groupTree(const std::string& root_node, std::size_t report_step) const;
|
2013-11-18 13:11:49 +01:00
|
|
|
size_t numGroups() const;
|
2018-10-26 23:40:39 +02:00
|
|
|
size_t numGroups(size_t timeStep) const;
|
2013-11-18 13:11:49 +01:00
|
|
|
bool hasGroup(const std::string& groupName) const;
|
2019-07-24 08:38:39 +02:00
|
|
|
const Group2& getGroup2(const std::string& groupName, size_t timeStep) const;
|
|
|
|
|
|
2016-10-05 10:04:22 +02:00
|
|
|
const Tuning& getTuning() const;
|
2016-10-17 10:41:17 +08:00
|
|
|
const MessageLimits& getMessageLimits() const;
|
2019-01-03 11:53:32 +01:00
|
|
|
void invalidNamePattern (const std::string& namePattern, const ParseContext& parseContext, ErrorGuard& errors, const DeckKeyword& keyword) const;
|
2015-04-17 18:51:42 +02:00
|
|
|
|
2019-04-03 18:47:02 +02:00
|
|
|
const RFTConfig& rftConfig() const;
|
2015-06-23 14:20:31 +02:00
|
|
|
const Events& getEvents() const;
|
2019-03-21 08:49:27 +01:00
|
|
|
const Events& getWellEvents(const std::string& well) const;
|
|
|
|
|
bool hasWellEvent(const std::string& well, uint64_t event_mask, size_t reportStep) const;
|
2016-11-09 09:07:57 +01:00
|
|
|
const Deck& getModifierDeck(size_t timeStep) const;
|
2016-11-30 12:49:19 +01:00
|
|
|
bool hasOilVaporizationProperties() const;
|
2018-04-12 19:02:15 +02:00
|
|
|
const VFPProdTable& getVFPProdTable(int table_id, size_t timeStep) const;
|
|
|
|
|
const VFPInjTable& getVFPInjTable(int table_id, size_t timeStep) const;
|
2018-04-20 11:27:26 +02:00
|
|
|
std::map<int, std::shared_ptr<const VFPProdTable> > getVFPProdTables(size_t timeStep) const;
|
|
|
|
|
std::map<int, std::shared_ptr<const VFPInjTable> > getVFPInjTables(size_t timeStep) const;
|
2018-02-06 19:13:42 +01:00
|
|
|
/*
|
|
|
|
|
Will remove all completions which are connected to cell which is not
|
|
|
|
|
active. Will scan through all wells and all timesteps.
|
|
|
|
|
*/
|
2018-06-10 20:54:34 +02:00
|
|
|
void filterConnections(const EclipseGrid& grid);
|
2018-10-12 08:25:40 +02:00
|
|
|
size_t size() const;
|
2019-01-28 10:00:08 +01:00
|
|
|
|
|
|
|
|
void applyAction(size_t reportStep, const ActionX& action, const std::vector<std::string>& matching_wells);
|
2013-10-25 17:28:56 +02:00
|
|
|
private:
|
2016-11-08 18:29:52 +01:00
|
|
|
TimeMap m_timeMap;
|
2019-03-23 16:11:37 +01:00
|
|
|
OrderedMap< std::string, DynamicState<std::shared_ptr<Well2>>> wells_static;
|
2019-07-24 08:38:39 +02:00
|
|
|
OrderedMap< std::string, DynamicState<std::shared_ptr<Group2>>> groups;
|
2016-10-05 12:43:36 +02:00
|
|
|
DynamicState< OilVaporizationProperties > m_oilvaporizationproperties;
|
2016-10-05 10:09:45 +02:00
|
|
|
Events m_events;
|
2016-11-09 09:07:57 +01:00
|
|
|
DynamicVector< Deck > m_modifierDeck;
|
2016-10-05 10:04:22 +02:00
|
|
|
Tuning m_tuning;
|
2016-10-17 10:41:17 +08:00
|
|
|
MessageLimits m_messageLimits;
|
2018-10-17 13:35:25 +02:00
|
|
|
Runspec m_runspec;
|
2018-04-12 19:02:15 +02:00
|
|
|
std::map<int, DynamicState<std::shared_ptr<VFPProdTable>>> vfpprod_tables;
|
|
|
|
|
std::map<int, DynamicState<std::shared_ptr<VFPInjTable>>> vfpinj_tables;
|
2018-05-14 04:18:07 +02:00
|
|
|
DynamicState<std::shared_ptr<WellTestConfig>> wtest_config;
|
2019-01-14 12:09:07 +01:00
|
|
|
DynamicState<std::shared_ptr<WListManager>> wlist_manager;
|
2019-02-21 11:49:33 +01:00
|
|
|
DynamicState<std::shared_ptr<UDQInput>> udq_config;
|
2019-05-02 15:08:44 +02:00
|
|
|
DynamicState<WellProducer::ControlModeEnum> global_whistctl_mode;
|
2019-04-03 18:47:02 +02:00
|
|
|
RFTConfig rft_config;
|
2016-10-31 16:47:59 +01:00
|
|
|
|
2019-01-22 16:33:17 +01:00
|
|
|
Actions m_actions;
|
2015-10-02 10:49:23 +02:00
|
|
|
|
2019-03-21 08:49:27 +01:00
|
|
|
std::map<std::string,Events> well_events;
|
2018-05-03 13:20:04 +02:00
|
|
|
|
2019-07-25 11:46:15 +02:00
|
|
|
GTNode groupTree(const std::string& root_node, std::size_t report_step, const GTNode * parent) const;
|
2019-07-24 08:38:39 +02:00
|
|
|
void updateGroup(std::shared_ptr<Group2> group, size_t reportStep);
|
2019-03-23 16:11:37 +01:00
|
|
|
bool updateWellStatus( const std::string& well, size_t reportStep , WellCommon::StatusEnum status);
|
2019-07-25 11:46:15 +02:00
|
|
|
void addWellToGroup( const std::string& group_name, const std::string& well_name , size_t timeStep);
|
2019-01-03 11:53:32 +01:00
|
|
|
void iterateScheduleSection(const ParseContext& parseContext , ErrorGuard& errors, const SCHEDULESection& , const EclipseGrid& grid,
|
2017-02-15 11:13:29 +01:00
|
|
|
const Eclipse3DProperties& eclipseProperties);
|
2019-07-25 11:46:15 +02:00
|
|
|
void addGroupToGroup( const std::string& parent_group, const std::string& child_group, size_t timeStep);
|
|
|
|
|
void addGroupToGroup( const std::string& parent_group, const Group2& child_group, size_t timeStep);
|
2019-08-05 18:37:01 +02:00
|
|
|
void addGroup(const std::string& groupName , size_t timeStep, const UnitSystem& unit_system);
|
2019-06-08 12:25:29 +02:00
|
|
|
void addWell(const std::string& wellName, const DeckRecord& record, size_t timeStep, WellCompletion::CompletionOrderEnum wellCompletionOrder, const UnitSystem& unit_system);
|
2019-01-28 16:52:28 +01:00
|
|
|
void handleUDQ(const DeckKeyword& keyword, size_t currentStep);
|
2019-01-14 12:09:07 +01:00
|
|
|
void handleWLIST(const DeckKeyword& keyword, size_t currentStep);
|
2019-01-03 11:53:32 +01:00
|
|
|
void handleCOMPORD(const ParseContext& parseContext, ErrorGuard& errors, const DeckKeyword& compordKeyword, size_t currentStep);
|
2019-08-09 12:12:30 +02:00
|
|
|
void handleWELSPECS( const SCHEDULESection&, size_t, size_t , const UnitSystem& unit_system, const ParseContext& parseContext, ErrorGuard& errors);
|
2019-01-03 11:53:32 +01:00
|
|
|
void handleWCONHIST( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
|
|
|
|
void handleWCONPROD( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
2016-02-09 12:09:40 +01:00
|
|
|
void handleWGRUPCON( const DeckKeyword& keyword, size_t currentStep);
|
2019-01-03 11:53:32 +01:00
|
|
|
void handleCOMPDAT( const DeckKeyword& keyword, size_t currentStep, const EclipseGrid& grid, const Eclipse3DProperties& eclipseProperties, const ParseContext& parseContext, ErrorGuard& errors);
|
2016-11-29 15:46:55 +01:00
|
|
|
void handleCOMPLUMP( const DeckKeyword& keyword, size_t currentStep );
|
2016-02-09 12:09:40 +01:00
|
|
|
void handleWELSEGS( const DeckKeyword& keyword, size_t currentStep);
|
2019-05-23 13:13:36 +02:00
|
|
|
void handleCOMPSEGS( const DeckKeyword& keyword, size_t currentStep, const EclipseGrid& grid, const ParseContext& parseContext, ErrorGuard& errors);
|
2019-06-26 07:46:40 +02:00
|
|
|
void handleWCONINJE( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
2019-07-03 10:04:20 +02:00
|
|
|
void handleWFOAM( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
2019-01-03 11:53:32 +01:00
|
|
|
void handleWPOLYMER( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
|
|
|
|
void handleWSOLVENT( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
|
|
|
|
void handleWTRACER( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
|
|
|
|
void handleWTEMP( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
|
|
|
|
void handleWPMITAB( const DeckKeyword& keyword, const size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
|
|
|
|
void handleWSKPTAB( const DeckKeyword& keyword, const size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
|
|
|
|
void handleWINJTEMP( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
2019-06-26 07:46:40 +02:00
|
|
|
void handleWCONINJH(const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
2019-01-28 10:00:08 +01:00
|
|
|
void handleWELOPEN( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors, const std::vector<std::string>& matching_wells = {});
|
2019-01-03 11:53:32 +01:00
|
|
|
void handleWELTARG( const SCHEDULESection&, const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
2019-08-05 17:44:21 +02:00
|
|
|
void handleGCONINJE( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
2019-01-03 11:53:32 +01:00
|
|
|
void handleGCONPROD( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
|
|
|
|
void handleGEFAC( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
|
|
|
|
void handleWEFAC( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
2016-02-09 12:09:40 +01:00
|
|
|
void handleTUNING( const DeckKeyword& keyword, size_t currentStep);
|
2019-08-09 12:12:30 +02:00
|
|
|
void handleGRUPTREE( const DeckKeyword& keyword, size_t currentStep, const UnitSystem& unit_system, const ParseContext& parseContext, ErrorGuard& errors);
|
2019-08-05 18:37:01 +02:00
|
|
|
void handleGRUPNET( const DeckKeyword& keyword, size_t currentStep, const UnitSystem& unit_system);
|
2016-02-09 12:09:40 +01:00
|
|
|
void handleWRFT( const DeckKeyword& keyword, size_t currentStep);
|
2019-01-03 11:53:32 +01:00
|
|
|
void handleWTEST( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
2016-02-09 12:09:40 +01:00
|
|
|
void handleWRFTPLT( const DeckKeyword& keyword, size_t currentStep);
|
|
|
|
|
void handleWPIMULT( const DeckKeyword& keyword, size_t currentStep);
|
|
|
|
|
void handleDRSDT( const DeckKeyword& keyword, size_t currentStep);
|
|
|
|
|
void handleDRVDT( const DeckKeyword& keyword, size_t currentStep);
|
2018-10-17 13:35:25 +02:00
|
|
|
void handleDRSDTR( const DeckKeyword& keyword, size_t currentStep);
|
|
|
|
|
void handleDRVDTR( const DeckKeyword& keyword, size_t currentStep);
|
2016-02-09 12:09:40 +01:00
|
|
|
void handleVAPPARS( const DeckKeyword& keyword, size_t currentStep);
|
2019-01-03 11:53:32 +01:00
|
|
|
void handleWECON( const DeckKeyword& keyword, size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
2019-04-08 09:18:32 +02:00
|
|
|
void handleWHISTCTL(const DeckKeyword& keyword, std::size_t currentStep, const ParseContext& parseContext, ErrorGuard& errors);
|
2016-10-14 10:06:35 +08:00
|
|
|
void handleMESSAGES(const DeckKeyword& keyword, size_t currentStep);
|
2018-04-12 19:02:15 +02:00
|
|
|
void handleVFPPROD(const DeckKeyword& vfpprodKeyword, const UnitSystem& unit_system, size_t currentStep);
|
|
|
|
|
void handleVFPINJ(const DeckKeyword& vfpprodKeyword, const UnitSystem& unit_system, size_t currentStep);
|
2016-02-09 12:09:40 +01:00
|
|
|
void checkUnhandledKeywords( const SCHEDULESection& ) const;
|
2017-09-26 09:32:29 +02:00
|
|
|
void checkIfAllConnectionsIsShut(size_t currentStep);
|
2018-07-11 13:54:49 +02:00
|
|
|
void handleKeyword(size_t& currentStep,
|
|
|
|
|
const SCHEDULESection& section,
|
|
|
|
|
size_t keywordIdx,
|
|
|
|
|
const DeckKeyword& keyword,
|
2019-01-03 11:53:32 +01:00
|
|
|
const ParseContext& parseContext, ErrorGuard& errors,
|
2018-07-11 13:54:49 +02:00
|
|
|
const EclipseGrid& grid,
|
|
|
|
|
const Eclipse3DProperties& eclipseProperties,
|
|
|
|
|
const UnitSystem& unit_system,
|
|
|
|
|
std::vector<std::pair<const DeckKeyword*, size_t > >& rftProperties);
|
2019-03-21 08:49:27 +01:00
|
|
|
void addWellEvent(const std::string& well, ScheduleEvents::Events event, size_t reportStep);
|
2013-10-25 17:28:56 +02:00
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|