-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
Description
Currently, ResInsight lacks support for modeling changes in perforation intervals, valves, or well production control during the setup phase. This feature request proposes a mechanism to define a timeline of events via a text configuration file. These events will drive the generation of schedule data (e.g., WELSEGS, COMPDAT, WCONPROD) for simulations.
Proposed Workflow
The suggested workflow for generating schedule data from an event file is as follows:
- Import a grid with grid cell properties.
- Import well trajectories.
- Use Python scripting to parse events and generate the schedule:
# Example API usage event_data_as_text = read_event_file("well_events.txt") schedule_data = resinsight.create_schedule_data(event_data_as_text)
- The resulting
schedule_datastructure will contain completion data and production controls indexed by date, ready to be exported to a simulation schedule file.
Event File Format Specification
The input text file defines events occurring at specific time steps. Events are grouped by well sections.
Event Types (Prioritized)
- Perforation intervals
- Well production control
- Valves
Syntax
<WellName>
<Date> <Keyword> <Param1>=Value <Param2>=Value ...
Example Configuration
'OP5_Y1'
01.07.2020 PERFORATION MDSTART=3800 MDEND=5000 RADIUS=0.10795 SKIN=5
01.07.2020 VALVE MDSTART=3605 MDEND=3605 OPEN=False TYPE='xxx' NAME='yyy' AREA=0.004 FLOW_COEFF=0.6
'OP5_Y1'
01.07.2020 WELL_STATE STATE='Open'
01.07.2020 WELL_TYPE TYPE='Producer' PHASE='Oil'