Skip to content

Time-Dependent Well Events and Schedule Data Generation #13425

@magnesj

Description

@magnesj

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:

  1. Import a grid with grid cell properties.
  2. Import well trajectories.
  3. 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)
  4. The resulting schedule_data structure 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)

  1. Perforation intervals
  2. Well production control
  3. 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'

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions