Files
ResInsight/GrpcInterface/Python/rips/example_input_files/well_events.orion
T
Kristian Bendiksen b3d0256941 #14514 Add option to include list of dates into schedule file
GenerateSchedule gains an AdditionalDates parameter (ISO date strings). The dates are merged, deduplicated and sorted with the event dates and each becomes a DATES keyword even when no events fall on it, ensuring a summary report at that date in Eclipse/Flow. They are deliberately not filtered by the last applied timestamp.

The ORIONEVENTS 2.0 format gains a top-level REPORT <date-expr> directive (date variables and day arithmetic supported). Parsed dates are collected on OrionDocument.report_dates and surfaced by the applier as sorted ISO strings on ApplyReport.report_dates, ready to pass to generate_schedule_text(additional_dates=...).
2026-08-19 10:28:35 +02:00

39 lines
1.7 KiB
Plaintext

# Example ORIONEVENTS well-event-timeline file (version 2.0).
# Parsed by rips.orion_events; see that module's docstring for the grammar.
# Validate with: python3 -m rips.orion_events well_events.orion
ORIONEVENTS 2.0
UNIT METRIC
# Typed declarations: dates, whole-day durations, well-name aliases, and
# cell filter expressions.
DATE A1_STARTUP = 2018-01-01
DATE A2_STARTUP = 2018-03-01 + 9
DURATION RAMP = 5 DAYS
# A filter becomes a case-level combined data filter attached to the
# perforations that reference it. An unqualified result name is searched in
# STATIC_NATIVE, then DYNAMIC_NATIVE, then GENERATED results; bounds are
# inclusive, so > behaves as >=.
FILTER POROPERM = "PORO > 0.1 AND PERMX > 100.0"
WELL A1 = "55_33-A-1"
# Report dates: each becomes a bare DATES keyword in the generated schedule
# (in Eclipse/Flow a DATES entry ensures a summary report at that date).
REPORT 2018-07-01
REPORT A2_STARTUP + 90
WELL A1
@A1_STARTUP PERFORATION MDSTART=1644.49 MDEND=1664.28 RADIUS=0.12065 SKIN=5 COMPLETION_NUMBER=1 FILTER=POROPERM
@A1_STARTUP PERFORATION MDSTART=1664.28 MDEND=1674.18 RADIUS=0.12065 SKIN=5 COMPLETION_NUMBER=2 FILTER=POROPERM
@A1_STARTUP PERFORATION MDSTART=1674.18 MDEND=1689.82 RADIUS=0.12065 SKIN=5 COMPLETION_NUMBER=3
@A1_STARTUP + RAMP WCONHIST STATUS=OPEN CMODE=ORAT VFP=1
@A1_STARTUP + RAMP WELTARG CMODE=BHP VALUE=50
WELL "55_33-A-2"
# An inline quoted expression declares an anonymous filter for one event.
@A2_STARTUP - 1 PERFORATION MDSTART=1692.79 MDEND=1706 RADIUS=0.12065 SKIN=5 COMPLETION_NUMBER=1 FILTER="PORO > 0.2"
@A2_STARTUP WCONHIST STATUS=OPEN CMODE=ORAT VFP=2
@A2_STARTUP WELTARG CMODE=BHP VALUE=50