SOCAR Hackathon 2026 · Intelligent Well Performance

Overview

—
Field oil · last day
—
STB/d · sum of wells
Field water · last day
—
STB/d
Field gas · last day
—
MSCF/d
Build-up tests
—
interpreted / found

Data in this analysis

Loading…

Placed VFM model — test error

Loading…

Field production (VFM daily output)

Sum of all wells · calendar-day rates (flowing rate × uptime).

Workflow

1 · Upload raw data→2 · Integrity checks & cleaning→3 · VFM with saved .pkl→4 · Error analysis→5 · Shut-ins → Horner / log-log→6 · k, skin, ΔPskin→7 · Export

The model is trained once (notebook / python -m src.workflow train) and only used here. In blind mode, uploaded well tests only measure error; past-only/historical calibration can be explicitly selected. The ML model is never retrained by an upload.

1 · Choose your files

Any file names. CSV, Excel (.xlsx) or one ZIP. Each table is recognised by its columns.

Blind is recommended for hackathon evaluation. Well tests are only used to score the output. Past-only allows calibration from already completed tests; historical is for retrospective study, not blind accuracy.

What the app needs

●High-frequency sensor data
timestamp, well_name, whp, whp_downstream, dh_pressure, dh_temperature, annulus, gas_lift_rate — required
●Choke events
timestamp, well_name, choke_opening_pct — needed for uptime and shut-in (PTA) detection
○Well tests
optional — the ground truth: without it the prediction error cannot be calculated
○Reservoir PVT
optional — stored values of GL-01…GL-10 are used if missing
○Well completion
optional — stored values are used if missing

2 · Progress

IDLE
No analysis started.

Data integrity checks

Every finding with its count, examples and the action taken. Input files are never modified; cleaning works on a copy.

Corrected or excluded well-test values (ground truth)

A value is corrected only when two independent columns of the same test prove it (e.g. gas in m³/d: gas ÷ (GOR·oil/1000) = 28.317 = m³ per Mscf).

Sensor cleaning (high-frequency file)

Pressures

HOURLY MEANS

Shaded: shut-in (choke = 0 %). Left axis: surface pressures; right axis: downhole gauge.

Gas lift and choke opening

Downhole temperature

Flow rate trends —

DAILY OUTPUT = FLOWING RATE × UPTIME

Pressure vs production rate

Daily mean downhole pressure against the daily VFM rate of the selected well (each point = one day).

Well performance comparison

Average daily VFM rates per well in the selected period.

Well performance table

Model error analysis

Error metrics by set

Model vs the naive “previous test of the same well” baseline on exactly the same tests. Units: MAE, RMSE, bias in the rate unit; MSE in unit²; MAPE, WAPE in %.

Actual vs predicted

Each point is one well test (daily output time-weighted over the test window). Dashed line: y = x (perfect prediction). Red ring: unusually large error (Tukey rule: |error| > Q3 + 1.5·IQR).

Prediction error distribution

Relative error = (predicted − measured) / measured × 100; positive = over-prediction. Dotted lines: empirical 10th and 90th percentiles.

Residual analysis

Residual (predicted − measured) against the predicted rate: a trend or funnel shape would show a systematic error.

Error rate by well

WAPE per well in the selected set (n tests in the tooltip).

Model performance metrics

Best candidates by pooled validation WAPE; white bar = chosen model, grey = naive baseline. The model is chosen here, never on the test set.

Errors in the current dataset

All observations of the selected set

Build-up (shut-in) analysis

Single-phase oil · the whole build-up is matched with the wellbore-storage + skin solution (infinite, closed or constant-pressure reservoir), so the Horner slope is not biased by storage or boundaries · rate = VFM oil rate before the shut-in · field units. Typing a radial window switches to the classic straight-line method. No measured k or skin exists in the data, so their error cannot be calculated; the match error (psi) is shown instead.

—
Choose a shut-in event.
Horner slope m
—
psi / log cycle
Permeability k
—
md
Skin s
—
dimensionless
ΔP skin
—
psi
p* (extrapolated)
—
psia at gauge depth
Flow efficiency
—
fraction · 1 = undamaged
Radius of investigation
—
ft
Productivity index
—
STB/d/psi

Rate and pressure history

Horner plot

Log-log diagnostic

MDH semi-log build-up

Saved plot files (PNG)

The same plots as written to the pta_plots/ folder for this event.

Permeability by build-up

Skin by build-up

Reservoir properties (all build-ups)

Interpretation

Phase 1 · VFM submission (template)

Exact template column order: timestamp · well_name · oil_rate_stbd · water_rate_stbd · gas_rate_mscfd. Both Excel and CSV are ready for submission.

Phase 2 · PTA submission (template)

Exact template column order: well_name · shut_in_time · permeability_md · skin · delta_p_skin_psi · horner_slope. Both Excel and CSV are ready for submission.

Error analysis

Metrics by set and every observation (actual, predicted, error, % error, large-error flag).

Data integrity

All checks, findings, corrections and actions.

Integrity report (CSV)

PTA plots

History, Horner, log-log derivative, MDH and a summary PNG for every shut-in.

Download plots (ZIP)

Engineering report

One HTML file: data, integrity, model errors, rates, plots and interpretation. Print → PDF from the browser.

Integrated workbook

Rates, PTA, validation metrics and per-well errors in one Excel file.

Download workbook

Everything

Excel, CSV, plots, report and run information in one ZIP.

SMX AI · SOCAR Hackathon 2026 · field units · results are engineering estimates and need reservoir-engineer review.