Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 11 new columns ({'x_index', 'porosity', 'cell_id', 'y_index', 'permeability_md_x', 'transmissibility_index', 'permeability_md_y', 'facies', 'permeability_md_z', 'z_index', 'net_to_gross'}) and 6 missing columns ({'scenario_id', 'eor_type', 'incremental_recovery_factor', 'injection_pattern', 'sweep_efficiency', 'estimated_recovery_factor'}).

This happened while the csv dataset builder was generating data using

hf://datasets/xpertsystems/oil003-sample/grid_cells.csv (at revision 9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf), [/tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/eor_scenarios.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/eor_scenarios.csv), /tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/grid_cells.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/grid_cells.csv), /tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/pressure_timesteps.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/pressure_timesteps.csv), /tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/production_forecasts.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/production_forecasts.csv), /tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/reservoir_labels.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/reservoir_labels.csv), /tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/reservoir_master.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/reservoir_master.csv), /tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/saturation_timesteps.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/saturation_timesteps.csv), /tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/well_controls.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/well_controls.csv)]

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1800, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              cell_id: string
              reservoir_id: string
              x_index: int64
              y_index: int64
              z_index: int64
              porosity: double
              permeability_md_x: double
              permeability_md_y: double
              permeability_md_z: double
              net_to_gross: double
              facies: string
              transmissibility_index: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1737
              to
              {'scenario_id': Value('string'), 'reservoir_id': Value('string'), 'eor_type': Value('string'), 'injection_pattern': Value('string'), 'sweep_efficiency': Value('float64'), 'incremental_recovery_factor': Value('float64'), 'estimated_recovery_factor': Value('float64')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1802, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 11 new columns ({'x_index', 'porosity', 'cell_id', 'y_index', 'permeability_md_x', 'transmissibility_index', 'permeability_md_y', 'facies', 'permeability_md_z', 'z_index', 'net_to_gross'}) and 6 missing columns ({'scenario_id', 'eor_type', 'incremental_recovery_factor', 'injection_pattern', 'sweep_efficiency', 'estimated_recovery_factor'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/xpertsystems/oil003-sample/grid_cells.csv (at revision 9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf), [/tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/eor_scenarios.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/eor_scenarios.csv), /tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/grid_cells.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/grid_cells.csv), /tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/pressure_timesteps.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/pressure_timesteps.csv), /tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/production_forecasts.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/production_forecasts.csv), /tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/reservoir_labels.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/reservoir_labels.csv), /tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/reservoir_master.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/reservoir_master.csv), /tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/saturation_timesteps.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/saturation_timesteps.csv), /tmp/hf-datasets-cache/medium/datasets/12460962092156-config-parquet-and-info-xpertsystems-oil003-sampl-1c01bd0b/hub/datasets--xpertsystems--oil003-sample/snapshots/9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/well_controls.csv (origin=hf://datasets/xpertsystems/oil003-sample@9b4f7e9529d1701030dd7a724e0c1a6cd7bbfdcf/well_controls.csv)]
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

scenario_id
string
reservoir_id
string
eor_type
string
injection_pattern
string
sweep_efficiency
float64
incremental_recovery_factor
float64
estimated_recovery_factor
float64
EOR-000001-01
RES-000001
none
peripheral
0.6077
0
0.3689
EOR-000001-02
RES-000001
waterflood
huff_and_puff
0.6816
0.0482
0.4263
EOR-000001-03
RES-000001
gas_injection
line_drive
0.6576
0.0722
0.4472
EOR-000001-04
RES-000001
polymer_flood
line_drive
0.6895
0.098
0.4852
EOR-000001-05
RES-000001
co2_injection
five_spot
0.8505
0.1015
0.4868
EOR-000002-01
RES-000002
none
line_drive
0.6711
0.0128
0.3729
EOR-000002-02
RES-000002
waterflood
five_spot
0.7621
0.042
0.4005
EOR-000002-03
RES-000002
gas_injection
line_drive
0.7686
0.0797
0.4773
EOR-000002-04
RES-000002
polymer_flood
peripheral
0.6607
0.1025
0.4342
EOR-000002-05
RES-000002
co2_injection
peripheral
0.7889
0.1045
0.4665
EOR-000003-01
RES-000003
none
huff_and_puff
0.6446
0.009
0.3771
EOR-000003-02
RES-000003
waterflood
peripheral
0.792
0.0321
0.414
EOR-000003-03
RES-000003
gas_injection
line_drive
0.789
0.0679
0.447
EOR-000003-04
RES-000003
polymer_flood
peripheral
0.735
0.0993
0.4494
EOR-000003-05
RES-000003
co2_injection
five_spot
0.86
0.1269
0.5106
EOR-000004-01
RES-000004
none
peripheral
0.6461
0.0026
0.4011
EOR-000004-02
RES-000004
waterflood
line_drive
0.7369
0.0539
0.3953
EOR-000004-03
RES-000004
gas_injection
huff_and_puff
0.7697
0.0807
0.4158
EOR-000004-04
RES-000004
polymer_flood
huff_and_puff
0.6818
0.0876
0.4702
EOR-000004-05
RES-000004
co2_injection
huff_and_puff
0.7837
0.1085
0.4926
EOR-000005-01
RES-000005
none
peripheral
0.6408
0.006
0.393
EOR-000005-02
RES-000005
waterflood
five_spot
0.7025
0.0395
0.4688
EOR-000005-03
RES-000005
gas_injection
peripheral
0.7929
0.0763
0.4228
EOR-000005-04
RES-000005
polymer_flood
huff_and_puff
0.7958
0.0958
0.4444
EOR-000005-05
RES-000005
co2_injection
line_drive
0.7937
0.1183
0.5186
EOR-000006-01
RES-000006
none
five_spot
0.6882
0
0.3954
EOR-000006-02
RES-000006
waterflood
five_spot
0.7347
0.0466
0.4776
EOR-000006-03
RES-000006
gas_injection
huff_and_puff
0.791
0.0645
0.3995
EOR-000006-04
RES-000006
polymer_flood
huff_and_puff
0.8029
0.1057
0.4611
EOR-000006-05
RES-000006
co2_injection
peripheral
0.7925
0.1008
0.517
EOR-000007-01
RES-000007
none
huff_and_puff
0.6496
0
0.366
EOR-000007-02
RES-000007
waterflood
peripheral
0.7407
0.0415
0.4947
EOR-000007-03
RES-000007
gas_injection
line_drive
0.7523
0.0602
0.4422
EOR-000007-04
RES-000007
polymer_flood
huff_and_puff
0.7437
0.0873
0.4576
EOR-000007-05
RES-000007
co2_injection
huff_and_puff
0.7402
0.1241
0.4684
EOR-000008-01
RES-000008
none
huff_and_puff
0.6683
0
0.3664
EOR-000008-02
RES-000008
waterflood
peripheral
0.7839
0.0562
0.4011
EOR-000008-03
RES-000008
gas_injection
peripheral
0.7086
0.0648
0.4755
EOR-000008-04
RES-000008
polymer_flood
peripheral
0.7965
0.0991
0.4518
EOR-000008-05
RES-000008
co2_injection
five_spot
0.7806
0.1206
0.5302
EOR-000009-01
RES-000009
none
five_spot
0.6298
0.0242
0.3449
EOR-000009-02
RES-000009
waterflood
five_spot
0.6601
0.0665
0.4212
EOR-000009-03
RES-000009
gas_injection
huff_and_puff
0.7277
0.0619
0.4586
EOR-000009-04
RES-000009
polymer_flood
five_spot
0.706
0.0995
0.4937
EOR-000009-05
RES-000009
co2_injection
line_drive
0.7781
0.1108
0.488
EOR-000010-01
RES-000010
none
huff_and_puff
0.6706
0.0096
0.3376
EOR-000010-02
RES-000010
waterflood
line_drive
0.7824
0.0734
0.4385
EOR-000010-03
RES-000010
gas_injection
huff_and_puff
0.7365
0.0772
0.421
EOR-000010-04
RES-000010
polymer_flood
huff_and_puff
0.7168
0.0916
0.498
EOR-000010-05
RES-000010
co2_injection
five_spot
0.7748
0.1254
0.4253
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
null
RES-000001
null
null
null
null
null
End of preview.

OIL-003 — Synthetic Reservoir Simulation Dataset (Sample Preview)

A free, schema-identical ~49K-row preview of the full OIL-003 commercial product from XpertSystems.ai.

Benchmark-calibrated synthetic reservoir simulation data spanning pressure decline, saturation evolution, well controls with Arps decline-curve production forecasts, and 5-scenario EOR sweep efficiency modeling — across 8 reservoir types and 5 drive mechanisms.

Designed for ML model development in production forecasting, depletion-stage classification, water-breakthrough prediction, EOR screening, and reservoir-health scoring.


What's in this sample

File Rows Columns Description
reservoir_master.csv 10 15 Per-reservoir headers — basin, reservoir type, drive mechanism, fluid system, depth, pressure, temperature, area, thickness, initial saturations
grid_cells.csv 1,470 11 3D grid (7×7×3) per reservoir — porosity, perm tensor (kx, ky, kz), NTG, facies, transmissibility index
pressure_timesteps.csv 23,521 5 Cell-level pressure at each simulation timestep (16 timesteps × 1,470 cells)
saturation_timesteps.csv 23,521 6 Cell-level oil/water/gas saturation at each timestep (material-balance enforced)
well_controls.csv 161 9 Per-well BHP, oil/gas/water rates, injector rates, producer/injector roles
production_forecasts.csv 161 8 Cumulative oil/gas/water + EUR estimates per well per timestep
eor_scenarios.csv 51 7 5 EOR scenarios per reservoir — sweep efficiency, recovery factor uplift
reservoir_labels.csv 161 7 Depletion stage (early/mid/late life), water breakthrough flag, reservoir health score, recovery factor

Total: ~49,000 rows across 8 CSVs, ~3.2 MB.


Coverage

8 reservoir types — conventional sandstone, carbonate, tight oil, shale, offshore turbidite, naturally fractured, heavy oil, gas condensate

5 drive mechanisms — solution gas, water drive, gas cap, waterflood, combination drive

4 fluid systems — black oil, volatile oil, gas condensate, heavy oil

6 facies classes — clean sand, shaly sand, carbonate, tight sand, fractured zone, barrier shale

5 EOR scenarios per reservoir — none, waterflood, gas injection, polymer flood, CO2 injection

4 injection patterns — five-spot, line drive, peripheral, huff-and-puff

3 depletion stages — early life (P/Pi > 0.88), mid life (0.70–0.88), late life (< 0.70)


Calibration source story

The full OIL-003 generator is calibrated to reservoir engineering anchors drawn from:

  • SPE Petroleum Engineering Handbook Vol. V (Reservoir Engineering) — porosity distributions, permeability ranges, recovery factor envelopes, net-to-gross conventions
  • Craft, Hawkins & Terry — Applied Petroleum Reservoir Engineering (3rd ed.) — material balance, pressure decline physics, drive mechanism classifications
  • Arps (1945) — hyperbolic decline curve analysis for well production forecasts
  • SPE/WPC/AAPG/SPEE Petroleum Resources Management System (PRMS) — EUR estimation and reserves classification
  • Lake — Enhanced Oil Recovery (1989) — EOR sweep efficiency baselines by recovery mechanism

The generator is benchmark-first by design — default parameters are centered on validation targets (porosity 0.18, horizontal permeability 185 mD, initial pressure 4800 psi, recovery factor 0.38, sweep efficiency 0.67), so primary calibration anchors are stable even at sample scale.

Sample-scale validation scorecard

Metric Observed Target Tolerance Status Source
Avg reservoir porosity 0.192 0.18 ±0.04 ✅ PASS SPE Hbk Vol. V
Avg horizontal permeability (mD) 208.2 185.0 ±60.0 ✅ PASS SPE Hbk Vol. V
Avg initial pressure (psi) 4,918 4,800 ±400 ✅ PASS Craft & Hawkins
Saturation balance error 2e-6 0.0 ≤0.001 ✅ PASS Material balance (So+Sw+Sg=1)
Pressure decline consistency 1.000 ≥1.000 ±0.05 ✅ PASS Drive mechanism physics
Avg recovery factor 0.394 0.38 ±0.08 ✅ PASS SPE/PRMS
Sweep efficiency mean 0.733 0.70 ±0.10 ✅ PASS Lake, EOR (1989)
EOR scenario diversity 5 5 ✅ PASS OIL-003 schema
Reservoir type diversity 8 8 ✅ PASS OIL-003 schema
Production decline monotonicity 1.000 ≥0.95 ±0.05 ✅ PASS Arps (1945)

Grade: A+ (100/100) — verified across 6 random seeds (42, 7, 123, 2024, 99, 1).


Loading examples

Pandas — explore the reservoir master

import pandas as pd

res = pd.read_csv("reservoir_master.csv")
print(res[["reservoir_id", "basin", "reservoir_type", "drive_mechanism",
           "depth_ft", "pressure_initial_psi"]])

Pandas — pressure decline curve for one reservoir

import pandas as pd
import matplotlib.pyplot as plt

p = pd.read_csv("pressure_timesteps.csv")
p_avg = (p[p["reservoir_id"] == "RES-000001"]
         .groupby("simulation_day")["pressure_psi"].mean())
p_avg.plot(title="Average reservoir pressure vs simulation day")
plt.xlabel("Days"); plt.ylabel("Pressure (psi)")
plt.show()

Hugging Face Datasets

from datasets import load_dataset

ds = load_dataset("xpertsystems/oil003-sample", data_files={
    "reservoirs":  "reservoir_master.csv",
    "grid":        "grid_cells.csv",
    "pressure":    "pressure_timesteps.csv",
    "saturation":  "saturation_timesteps.csv",
    "wells":       "well_controls.csv",
    "forecasts":   "production_forecasts.csv",
    "eor":         "eor_scenarios.csv",
    "labels":      "reservoir_labels.csv",
})
print(ds)

Depletion-stage classifier baseline

import pandas as pd
from sklearn.ensemble import GradientBoostingClassifier
from sklearn.model_selection import train_test_split

labels = pd.read_csv("reservoir_labels.csv")
sat = pd.read_csv("saturation_timesteps.csv")
p = pd.read_csv("pressure_timesteps.csv")

sat_agg = sat.groupby(["reservoir_id", "simulation_day"])[
    ["oil_saturation", "water_saturation", "gas_saturation"]].mean().reset_index()
p_agg = p.groupby(["reservoir_id", "simulation_day"])["pressure_psi"].mean().reset_index()

feats = labels.merge(sat_agg, left_on=["reservoir_id", "timestep"],
                     right_on=["reservoir_id", "simulation_day"]) \
              .merge(p_agg, on=["reservoir_id", "simulation_day"])

X = feats[["oil_saturation", "water_saturation", "gas_saturation", "pressure_psi"]]
y = feats["depletion_stage"]
Xtr, Xte, ytr, yte = train_test_split(X, y, test_size=0.25,
                                       stratify=y, random_state=42)
clf = GradientBoostingClassifier(random_state=42).fit(Xtr, ytr)
print(f"Depletion-stage classifier accuracy: {clf.score(Xte, yte):.3f}")

Suggested use cases

  • Production forecasting — Arps-decline regression on well_controls + production_forecasts (oil/gas/water rates)
  • Depletion-stage classification — 3-class (early/mid/late life) supervised learning on pressure + saturation features
  • Water-breakthrough prediction — binary flag prediction from cell-level saturation evolution
  • EOR scenario screening — which EOR method maximizes sweep efficiency given reservoir properties
  • Recovery-factor regression — predict final RF from reservoir master + grid heterogeneity
  • Reservoir-health scoring — regression target combining pressure ratio, oil saturation, and water cut
  • 3D grid heterogeneity modeling — geostatistics, conditional simulation, upscaling experiments
  • Decline-curve fitting — practice exponential/hyperbolic/harmonic fits against ground-truth Arps parameters
  • Time-series modeling — depth-ordered LSTM/Transformer on per-reservoir simulation trajectories

Sample vs. full product

Aspect This sample Full OIL-003 product
Reservoirs 10 12,000+ (configurable)
Grid resolution 7×7×3 = 147 cells/res 120×120×40 = 576,000 cells/res
Time step 120 days 30 days
Simulation horizon 1,800 days (~5 yr) 3,650 days (10 yr)
Total cells ~1,470 Up to 5M (sampled from billions)
Total timesteps ~23K Up to hundreds of millions
Schema identical identical
Calibration identical identical
License CC-BY-NC-4.0 Commercial license

The full product includes higher grid resolution (120×120×40 vs 7×7×3), finer time steps (30 days vs 120), longer simulation horizons (10 yr vs 5 yr), and far more reservoirs (12K+ vs 10) covering all 8 basins and reservoir types at production scale. Contact us for the full product.


Limitations & honest disclosures

  • Sample is preview-only. 10 reservoirs is enough to demonstrate schema, calibration anchors, and physical relationships, but is not statistically sufficient for production-grade model training. Use the full product for serious work.
  • Grid resolution is much coarser than industry standard. This sample uses 7×7×3 cells per reservoir; commercial reservoir simulators (Eclipse, CMG, INTERSECT) use 100×100×40+ grids. The full product matches industry resolution.
  • Time step is coarser than the generator's prod mode. This sample uses 120-day steps; the prod mode default is 30-day steps. As a result, water-breakthrough detection lands at ~1,250 days vs the generator's 920-day target — the underlying breakthrough physics are unchanged, but the temporal resolution at which we detect Sw crossing 0.42 is wider. We validated this with a structural saturation-balance metric (error < 1e-5) instead of an absolute breakthrough-day metric.
  • Decline curves are Arps-only. The generator uses hyperbolic Arps decline (Arps, 1945) for production forecasts. Real wells often follow modified hyperbolic + exponential tail (Robertson 1988, Duong 2010), particularly for unconventionals. Use synthetic data for ML pretraining; tune final models against real production data.
  • EOR sweep efficiency is parametric, not from compositional simulation. Sweep values come from EOR-type baselines (Lake 1989); they do not capture compositional/PVT effects of CO2 miscibility, polymer rheology, or surfactant-polymer interactions. Use for scenario screening and ranking, not absolute prediction.
  • Faulting and fracture geometry are flag-only. faulted_flag and fractured_flag indicate presence; detailed fault/fracture network geometries are not in this dataset.
  • No PVT tables. Fluid properties are categorical (fluid_system); explicit Bo/Bg/μo/Rs curves are not in this sample. The full product includes PVT tables.

Citation

If you use this dataset, please cite:

@dataset{xpertsystems_oil003_sample_2026,
  author       = {XpertSystems.ai},
  title        = {OIL-003 Synthetic Reservoir Simulation Dataset (Sample Preview)},
  year         = 2026,
  publisher    = {Hugging Face},
  url          = {https://huggingface.co/datasets/xpertsystems/oil003-sample}
}

Contact

Sample License: CC-BY-NC-4.0 (Creative Commons Attribution-NonCommercial 4.0) Full product License: Commercial — please contact for pricing.

Downloads last month
5