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 3 new columns ({'severity_score', 'event_date', 'event_type'}) and 6 missing columns ({'inflow_bpd', 'utilization_pct', 'inventory_bbl', 'outflow_bpd', 'timestamp', 'inventory_id'}).

This happened while the csv dataset builder was generating data using

hf://datasets/xpertsystems/oil033-sample/disruption_events.csv (at revision 4d7460702f2daeadc9bce3f94e609f4cc0814eee), [/tmp/hf-datasets-cache/medium/datasets/71595195921416-config-parquet-and-info-xpertsystems-oil033-sampl-3be5c80f/hub/datasets--xpertsystems--oil033-sample/snapshots/4d7460702f2daeadc9bce3f94e609f4cc0814eee/crude_inventory_levels.csv (origin=hf://datasets/xpertsystems/oil033-sample@4d7460702f2daeadc9bce3f94e609f4cc0814eee/crude_inventory_levels.csv), /tmp/hf-datasets-cache/medium/datasets/71595195921416-config-parquet-and-info-xpertsystems-oil033-sampl-3be5c80f/hub/datasets--xpertsystems--oil033-sample/snapshots/4d7460702f2daeadc9bce3f94e609f4cc0814eee/disruption_events.csv (origin=hf://datasets/xpertsystems/oil033-sample@4d7460702f2daeadc9bce3f94e609f4cc0814eee/disruption_events.csv), /tmp/hf-datasets-cache/medium/datasets/71595195921416-config-parquet-and-info-xpertsystems-oil033-sampl-3be5c80f/hub/datasets--xpertsystems--oil033-sample/snapshots/4d7460702f2daeadc9bce3f94e609f4cc0814eee/inventory_labels.csv (origin=hf://datasets/xpertsystems/oil033-sample@4d7460702f2daeadc9bce3f94e609f4cc0814eee/inventory_labels.csv), /tmp/hf-datasets-cache/medium/datasets/71595195921416-config-parquet-and-info-xpertsystems-oil033-sampl-3be5c80f/hub/datasets--xpertsystems--oil033-sample/snapshots/4d7460702f2daeadc9bce3f94e609f4cc0814eee/inventory_master.csv (origin=hf://datasets/xpertsystems/oil033-sample@4d7460702f2daeadc9bce3f94e609f4cc0814eee/inventory_master.csv), /tmp/hf-datasets-cache/medium/datasets/71595195921416-config-parquet-and-info-xpertsystems-oil033-sampl-3be5c80f/hub/datasets--xpertsystems--oil033-sample/snapshots/4d7460702f2daeadc9bce3f94e609f4cc0814eee/refined_product_inventory.csv (origin=hf://datasets/xpertsystems/oil033-sample@4d7460702f2daeadc9bce3f94e609f4cc0814eee/refined_product_inventory.csv), /tmp/hf-datasets-cache/medium/datasets/71595195921416-config-parquet-and-info-xpertsystems-oil033-sampl-3be5c80f/hub/datasets--xpertsystems--oil033-sample/snapshots/4d7460702f2daeadc9bce3f94e609f4cc0814eee/spr_operations.csv (origin=hf://datasets/xpertsystems/oil033-sample@4d7460702f2daeadc9bce3f94e609f4cc0814eee/spr_operations.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
              event_date: string
              event_type: string
              severity_score: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 629
              to
              {'timestamp': Value('string'), 'inventory_id': Value('string'), 'inventory_bbl': Value('float64'), 'inflow_bpd': Value('float64'), 'outflow_bpd': Value('float64'), 'utilization_pct': 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 3 new columns ({'severity_score', 'event_date', 'event_type'}) and 6 missing columns ({'inflow_bpd', 'utilization_pct', 'inventory_bbl', 'outflow_bpd', 'timestamp', 'inventory_id'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/xpertsystems/oil033-sample/disruption_events.csv (at revision 4d7460702f2daeadc9bce3f94e609f4cc0814eee), [/tmp/hf-datasets-cache/medium/datasets/71595195921416-config-parquet-and-info-xpertsystems-oil033-sampl-3be5c80f/hub/datasets--xpertsystems--oil033-sample/snapshots/4d7460702f2daeadc9bce3f94e609f4cc0814eee/crude_inventory_levels.csv (origin=hf://datasets/xpertsystems/oil033-sample@4d7460702f2daeadc9bce3f94e609f4cc0814eee/crude_inventory_levels.csv), /tmp/hf-datasets-cache/medium/datasets/71595195921416-config-parquet-and-info-xpertsystems-oil033-sampl-3be5c80f/hub/datasets--xpertsystems--oil033-sample/snapshots/4d7460702f2daeadc9bce3f94e609f4cc0814eee/disruption_events.csv (origin=hf://datasets/xpertsystems/oil033-sample@4d7460702f2daeadc9bce3f94e609f4cc0814eee/disruption_events.csv), /tmp/hf-datasets-cache/medium/datasets/71595195921416-config-parquet-and-info-xpertsystems-oil033-sampl-3be5c80f/hub/datasets--xpertsystems--oil033-sample/snapshots/4d7460702f2daeadc9bce3f94e609f4cc0814eee/inventory_labels.csv (origin=hf://datasets/xpertsystems/oil033-sample@4d7460702f2daeadc9bce3f94e609f4cc0814eee/inventory_labels.csv), /tmp/hf-datasets-cache/medium/datasets/71595195921416-config-parquet-and-info-xpertsystems-oil033-sampl-3be5c80f/hub/datasets--xpertsystems--oil033-sample/snapshots/4d7460702f2daeadc9bce3f94e609f4cc0814eee/inventory_master.csv (origin=hf://datasets/xpertsystems/oil033-sample@4d7460702f2daeadc9bce3f94e609f4cc0814eee/inventory_master.csv), /tmp/hf-datasets-cache/medium/datasets/71595195921416-config-parquet-and-info-xpertsystems-oil033-sampl-3be5c80f/hub/datasets--xpertsystems--oil033-sample/snapshots/4d7460702f2daeadc9bce3f94e609f4cc0814eee/refined_product_inventory.csv (origin=hf://datasets/xpertsystems/oil033-sample@4d7460702f2daeadc9bce3f94e609f4cc0814eee/refined_product_inventory.csv), /tmp/hf-datasets-cache/medium/datasets/71595195921416-config-parquet-and-info-xpertsystems-oil033-sampl-3be5c80f/hub/datasets--xpertsystems--oil033-sample/snapshots/4d7460702f2daeadc9bce3f94e609f4cc0814eee/spr_operations.csv (origin=hf://datasets/xpertsystems/oil033-sample@4d7460702f2daeadc9bce3f94e609f4cc0814eee/spr_operations.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.

timestamp
string
inventory_id
string
inventory_bbl
float64
inflow_bpd
float64
outflow_bpd
float64
utilization_pct
float64
2023-01-01
INV-000000
4,860,502.19
237,632.42
177,816.51
68.94
2023-01-02
INV-000000
4,924,861.64
250,956.42
186,596.97
69.85
2023-01-03
INV-000000
4,886,692.35
240,299.61
278,468.89
69.31
2023-01-04
INV-000000
4,816,869.39
201,195.59
271,018.56
68.32
2023-01-05
INV-000000
4,858,751.81
239,605.88
197,723.47
68.91
2023-01-06
INV-000000
4,856,632.97
253,901.81
256,020.64
68.88
2023-01-07
INV-000000
4,863,537.36
255,216.82
248,312.44
68.98
2023-01-08
INV-000000
4,855,659.56
249,287.51
257,165.3
68.87
2023-01-09
INV-000000
4,884,119.86
254,111.01
225,650.71
69.27
2023-01-10
INV-000000
5,083,206.99
327,636.52
128,549.39
72.1
2023-01-11
INV-000000
5,248,348.38
321,121.86
155,980.47
74.44
2023-01-12
INV-000000
5,280,259.93
272,629.39
240,717.84
74.89
2023-01-13
INV-000000
5,248,875
185,603.79
216,988.72
74.45
2023-01-14
INV-000000
5,238,555.31
240,207.88
250,527.57
74.3
2023-01-15
INV-000000
5,232,911.03
308,151.63
313,795.91
74.22
2023-01-16
INV-000000
5,235,565.76
223,538.03
220,883.3
74.26
2023-01-17
INV-000000
5,190,446.46
233,457.22
278,576.52
73.62
2023-01-18
INV-000000
5,188,125.59
243,098.49
245,419.36
73.58
2023-01-19
INV-000000
5,209,672.35
299,308.68
277,761.93
73.89
2023-01-20
INV-000000
5,349,026.53
349,144.7
209,790.51
75.87
2023-01-21
INV-000000
5,400,188.67
294,491.16
243,329.02
76.59
2023-01-22
INV-000000
5,233,531.88
175,745.52
342,402.31
74.23
2023-01-23
INV-000000
5,161,236.79
236,814.26
309,109.36
73.2
2023-01-24
INV-000000
5,319,929.03
334,806.11
176,113.87
75.45
2023-01-25
INV-000000
5,173,306.72
197,616.89
344,239.2
73.37
2023-01-26
INV-000000
5,111,379.73
172,864.17
234,791.16
72.5
2023-01-27
INV-000000
5,068,469.35
237,730.78
280,641.16
71.89
2023-01-28
INV-000000
5,127,276.81
319,352.93
260,545.48
72.72
2023-01-29
INV-000000
5,115,896.26
248,466.36
259,846.9
72.56
2023-01-30
INV-000000
5,204,517.91
384,260.09
295,638.45
73.82
2023-01-31
INV-000000
5,228,005.5
278,270.29
254,782.69
74.15
2023-02-01
INV-000000
5,159,024.76
200,147.77
269,128.5
73.17
2023-02-02
INV-000000
5,222,590.54
280,757.7
217,191.92
74.07
2023-02-03
INV-000000
5,301,625.72
379,304.65
300,269.47
75.19
2023-02-04
INV-000000
5,272,960.31
285,141
313,806.41
74.79
2023-02-05
INV-000000
5,198,871.74
217,219.74
291,308.31
73.74
2023-02-06
INV-000000
5,166,780.65
172,047.41
204,138.5
73.28
2023-02-07
INV-000000
5,143,497.52
253,829.04
277,112.17
72.95
2023-02-08
INV-000000
5,184,741.28
239,897.92
198,654.16
73.54
2023-02-09
INV-000000
5,307,236.47
347,286.65
224,791.47
75.27
2023-02-10
INV-000000
5,130,652.01
222,235.1
398,819.55
72.77
2023-02-11
INV-000000
5,132,531.05
280,050.35
278,171.31
72.8
2023-02-12
INV-000000
5,100,297.33
243,597.98
275,831.69
72.34
2023-02-13
INV-000000
4,963,630.27
182,580.51
319,247.57
70.4
2023-02-14
INV-000000
4,879,175.3
274,296.72
358,751.68
69.2
2023-02-15
INV-000000
4,818,436.44
190,474.05
251,212.91
68.34
2023-02-16
INV-000000
4,810,516.36
312,189.32
320,109.41
68.23
2023-02-17
INV-000000
4,661,035.61
179,711.47
329,192.22
66.11
2023-02-18
INV-000000
4,631,397.46
273,872.78
303,510.94
65.69
2023-02-19
INV-000000
4,690,254.67
337,719.42
278,862.2
66.52
2023-02-20
INV-000000
4,672,803.37
310,072.91
327,524.22
66.27
2023-02-21
INV-000000
4,621,229.89
253,918.47
305,491.95
65.54
2023-02-22
INV-000000
4,640,397.78
303,689.91
284,522.02
65.82
2023-02-23
INV-000000
4,685,095.15
325,894.54
281,197.17
66.45
2023-02-24
INV-000000
4,576,910.15
219,799.99
327,984.99
64.91
2023-02-25
INV-000000
4,650,000.62
344,215.12
271,124.65
65.95
2023-02-26
INV-000000
4,734,504.47
333,932.14
249,428.29
67.15
2023-02-27
INV-000000
4,635,628.46
202,406.17
301,282.18
65.75
2023-02-28
INV-000000
4,678,078.23
294,390.63
251,940.86
66.35
2023-03-01
INV-000000
4,662,132.96
267,471.08
283,416.35
66.12
2023-03-02
INV-000000
4,739,550.52
364,292.43
286,874.88
67.22
2023-03-03
INV-000000
4,779,886.39
331,934.7
291,598.83
67.79
2023-03-04
INV-000000
4,735,904.4
287,812.32
331,794.3
67.17
2023-03-05
INV-000000
4,845,784.06
352,790.69
242,911.03
68.73
2023-03-06
INV-000000
5,000,445.96
414,192.26
259,530.36
70.92
2023-03-07
INV-000000
5,000,498.15
188,481.24
188,429.06
70.92
2023-03-08
INV-000000
4,996,712.65
260,389.67
264,175.18
70.87
2023-03-09
INV-000000
4,998,972.14
227,281.1
225,021.6
70.9
2023-03-10
INV-000000
4,990,686.21
282,807.28
291,093.22
70.78
2023-03-11
INV-000000
4,900,338.69
223,991.9
314,339.41
69.5
2023-03-12
INV-000000
4,973,185.17
341,399.13
268,552.66
70.54
2023-03-13
INV-000000
5,144,873.86
417,326.49
245,637.8
72.97
2023-03-14
INV-000000
5,134,775.39
295,174.52
305,272.99
72.83
2023-03-15
INV-000000
5,046,929.43
196,101.41
283,947.36
71.58
2023-03-16
INV-000000
5,045,601.56
250,393.45
251,721.32
71.56
2023-03-17
INV-000000
5,031,596.15
257,824.47
271,829.87
71.36
2023-03-18
INV-000000
5,148,104.55
367,737.46
251,229.06
73.02
2023-03-19
INV-000000
5,192,947.22
306,220.09
261,377.42
73.65
2023-03-20
INV-000000
5,288,528.09
298,303.67
202,722.81
75.01
2023-03-21
INV-000000
5,237,573.19
238,610.45
289,565.34
74.29
2023-03-22
INV-000000
5,228,170.48
251,753.78
261,156.49
74.15
2023-03-23
INV-000000
5,209,126.35
318,225.24
337,269.36
73.88
2023-03-24
INV-000000
5,245,965.33
276,961.36
240,122.39
74.4
2023-03-25
INV-000000
5,351,641.7
337,992.56
232,316.19
75.9
2023-03-26
INV-000000
5,316,074.87
257,542.97
293,109.8
75.4
2023-03-27
INV-000000
5,166,791.92
87,306.99
236,589.94
73.28
2023-03-28
INV-000000
5,090,390.49
259,266.74
335,668.16
72.2
2023-03-29
INV-000000
4,977,961.27
193,195.28
305,624.5
70.6
2023-03-30
INV-000000
4,960,300.24
321,431.21
339,092.24
70.35
2023-03-31
INV-000000
4,952,371.88
310,813.63
318,741.99
70.24
2023-04-01
INV-000000
4,958,944.62
348,833.37
342,260.63
70.33
2023-04-02
INV-000000
4,902,497.64
250,168.78
306,615.76
69.53
2023-04-03
INV-000000
4,891,046.59
277,874.26
289,325.31
69.37
2023-04-04
INV-000000
4,831,542.77
247,815.21
307,319.03
68.53
2023-04-05
INV-000000
4,772,801.68
289,074.27
347,815.37
67.69
2023-04-06
INV-000000
4,902,591.96
334,375
204,584.71
69.53
2023-04-07
INV-000000
4,791,602.52
209,174.64
320,164.09
67.96
2023-04-08
INV-000000
4,872,196.39
373,141.71
292,547.84
69.1
2023-04-09
INV-000000
4,810,724.07
301,489.72
362,962.03
68.23
2023-04-10
INV-000000
4,960,366.54
356,489.21
206,846.74
70.35
End of preview.

OIL-033 — Synthetic Crude & Product Inventory Dataset (Sample)

SKU: OIL033-SAMPLE · Vertical: Oil & Gas / Storage & Inventory License: CC-BY-NC-4.0 (sample) · Schema version: oil033.v1 Sample version: 1.0.0 · Default seed: 42

A free, schema-identical preview of XpertSystems.ai's enterprise crude oil and refined product inventory dataset for EIA-style weekly inventory forecasting, tank farm utilization optimization, SPR operations modeling, shortage risk classification, seasonal demand pattern ML, disruption event prediction, and PADD-regional inventory analytics. The sample covers 235 storage sites across 5 EIA PADD-aligned regions (USGC, Midwest, East Coast, West Coast, Cushing) and 5 storage types (Tank Farm, SPR, Refinery, Terminal, Floating) over 365 days of daily operations, with 257,936 rows across 6 tables.

OIL-033's distinctive features: (1) mass-balance-coupled daily inventory with EIA-grade dynamics; (2) seasonal inflow/outflow with proper sinusoidal modulation; (3) 4 real DOE SPR sites (Bryan Mound, Big Hill, West Hackberry, Bayou Choctaw); (4) feature-coupled labels with both binary shortage_risk (util < 35%) and V-shape optimization_score around 72% optimal target.


What's in the box

File Rows Cols Description
inventory_master.csv 235 5 Storage site catalog: 5 EIA PADD regions × 5 types × capacity (0.5-10M bbl) + working_capacity_pct
crude_inventory_levels.csv 85,775 6 DAILY MASS-BALANCE-COUPLED inventory with seasonal inflow/outflow + utilization%
refined_product_inventory.csv 85,775 5 Per-site daily gasoline + diesel + jet fuel inventory levels
spr_operations.csv 365 4 4 REAL DOE SPR sites + release events + reserve level (post-2022 ~648M bbl)
disruption_events.csv 11 3 5-class disruption taxonomy: Hurricane / Pipeline Outage / Refinery Fire / Import Disruption / Tank Failure
inventory_labels.csv 85,775 4 FEATURE-COUPLED ML labels: binary shortage_risk (util<35%) + V-shape optimization_score

Total: 257,936 rows across 6 CSVs, ~13.6 MB on disk.


Calibration: industry-anchored, honestly reported

Validation uses a 10-metric scorecard with targets sourced exclusively to named industry standards: EIA Weekly Petroleum Status Report (US crude + product weekly inventory baselines), EIA Petroleum Supply Annual (annual tank farm utilization stats), EIA Storage Capacity Report (regional PADD-level working storage capacity), DOE Strategic Petroleum Reserve operations data (4 actual Gulf Coast sites), API 650 (Welded Tanks for Oil Storage), API 653 (Tank Inspection / Repair), API 575 (Tank Inspection), API 2350 (Overfill Protection), PADD classifications (EIA's PADD I-V regional taxonomy: East Coast, Midwest, USGC, Rocky Mountain, West Coast), OECD Oil Stocks (IEA OECD commercial stocks coverage), JODI (Joint Organisations Data Initiative World Database), EPA AP-42 (vapor emissions from storage), NFPA 30 (Flammable and Combustible Liquids Code).

Sample run (seed 42, n_sites=235, days=365):

# Metric Observed Target Tolerance Status Source
1 avg utilization pct 78.6737 75.0 ±12.0 ✓ PASS EIA Petroleum Supply Annual + EIA Weekly Petroleum Status Report — typical US tank farm utilization (65-90% normal operating range; 50% under-utilized; 95%+ overfill risk per API 2350; sample reflects mid-fill operational target)
2 avg capacity million bbl 4.9001 5.0 ±1.5 ✓ PASS API 650 + EIA Storage Capacity Report (PADD-level) — typical mixed-portfolio tank capacity (0.5-10M bbl range; ~5M mean for mixed Terminal/Refinery/Tank Farm operations; Cushing OK individual tanks ~15-20M)
3 avg working capacity pct 0.7936 0.8 ±0.06 ✓ PASS API 653 + API 575 + EIA Storage Capacity Report — working capacity is the usable fraction of total capacity (65-95% range; ~80% mean accounting for inactive shell heel + vapor space + sludge layer per API 575 inspection methodology)
4 avg inflow bpd 250097.4841 250000.0 ±30000.0 ✓ PASS EIA Weekly Petroleum Status Report receipts data — typical tank receipts ~250K bpd reflecting transmission pipeline + crude-by-rail + waterborne imports; varies by terminal size (50K-500K bpd operational range)
5 avg outflow bpd 244878.2809 245000.0 ±30000.0 ✓ PASS EIA Weekly Petroleum Status Report disposition data — typical tank disposition slightly below receipts in steady-state operations (~245K bpd; difference reflects small net build during sample period)
6 avg spr reserve million bbl 648.2198 650.0 ±80.0 ✓ PASS DOE Strategic Petroleum Reserve historical inventory — ~648M mean reflects post-2022 SPR drawdown era (peaked ~727M in 2009; reduced to ~350M after 2022 exchange; rebuilding 2024+; 4 Gulf Coast salt domes)
7 disruption event rate per day 0.0301 0.03 ±0.02 ✓ PASS EIA + DOE supply disruption tracking — typical daily disruption event rate (~3% of days have meaningful supply-affecting events including hurricanes, pipeline outages, refinery fires per US oil infrastructure incident history). Wider tolerance accommodates binomial sampling variance at 365-day horizon: with p=0.03 and n=365, expected events ~11 with σ ~3.3 (rate σ ~0.009).
8 utilization shortage risk correlation -0.5216 -0.45 ±0.15 ✓ PASS Generator formula: shortage_risk = (utilization < 35) — expected strong inverse correlation between utilization and binary shortage risk. Validates feature-coupled label per EIA tight-inventory tracking methodology.
9 deviation from optimal optimization correlation -1.0000 -1.0 ±0.05 ✓ PASS Generator formula: optimization_score = clip(0, 100, 100 -
10 region diversity entropy 0.9959 0.95 ±0.06 ✓ PASS 5-region taxonomy per EIA PADD classifications (USGC=PADD III, Midwest=PADD II, East Coast=PADD I, West Coast=PADD V, Cushing=pricing hub) — 5-class diversity benchmark, normalized Shannon entropy

Overall: 100.0/100 — Grade A+ (10 PASS · 0 MARGINAL · 0 FAIL of 10 metrics)


Schema highlights

inventory_master.csv — 5-region × 5-type matrix per EIA PADD:

Region EIA PADD Real-World Anchor
USGC PADD III Gulf Coast — largest US refining/export hub
Midwest PADD II Cushing + refinery cluster
East Coast PADD I New England + Mid-Atlantic
West Coast PADD V California + Pacific Northwest
Cushing (sub-PADD II) NYMEX delivery hub, ~90M bbl capacity

5 storage types per industry taxonomy:

Storage Type Use Case API Code
Tank Farm Crude oil storage clusters API 650
SPR DOE Strategic Petroleum Reserve DOE
Refinery Refinery feedstock + product storage API 650/620
Terminal Pipeline/marine terminal API 650
Floating Floating roof crude tanks (vapor min) API 650

crude_inventory_levels.csvmass-balance-coupled daily inventory (the real physics in this SKU):

inventory_t+1 = clip(0, capacity, inventory_t + inflow_t − outflow_t + disruption_t) seasonal(d) = 1 + 0.15 · sin(2π · day_of_year / 365) inflow_t = N(250000, 50000) × seasonal(d) bpd outflow_t = N(245000, 45000) × seasonal(d) bpd disruption_t = U(-400000, 400000) with prob 0.005

The sample's seasonal coupling (day_of_year ↔ inflow r ≈ -0.36, expected seasonal ↔ inflow r ≈ +0.47) validates the sinusoidal modulation.

spr_operations.csv4 real DOE Strategic Petroleum Reserve sites:

Site State Real Capacity Notes
Bryan Mound Texas ~245M bbl Largest SPR site, near Freeport
Big Hill Texas ~160M bbl Beaumont area
West Hackberry Louisiana ~227M bbl Near Lake Charles
Bayou Choctaw Louisiana ~76M bbl Baton Rouge area

Sample reserve level mean ~648M bbl matches post-2022 SPR drawdown era (peaked ~727M in 2009; reduced to ~350M after 2022 sales; rebuilding 2024+).

inventory_labels.csvfeature-coupled ML labels:

shortage_risk = 1 if utilization_pct < 35 else 0 optimization_score = clip(0, 100, 100 - |utilization_pct - 72|)

The sample's deviation from 72% optimal ↔ optimization_score r = -1.000000 (deterministic V-shape coupling per generator formula) — near-perfect feature-coupled label validation. The shortage_risk binary classifier shows r ≈ -0.52 with utilization, validating EIA tight-inventory threshold.


Suggested use cases

  1. Inventory time-series forecasting — predict inventory_bbl from inflow/outflow features per mass balance accumulation. Strong physics signal — within-site dynamics deterministic.
  2. Binary shortage risk classification — predict shortage_risk (util<35%) from inventory + region + storage_type features per EIA tight-inventory tracking methodology. Strong physics coupling.
  3. V-shape optimization regression — predict optimization_score from |utilization - 72| per API 2350 / EIA mid-fill target. Near-deterministic — models can learn exact V-shape.
  4. Seasonal demand pattern ML — predict seasonal inflow/outflow patterns from day_of_year features per EIA Weekly Petroleum.
  5. 5-class disruption event classification — multi-class classifier on event_type (Hurricane / Pipeline Outage / Refinery Fire / Import Disruption / Tank Failure).
  6. SPR operations forecasting — predict SPR release events from reserve_level + global market features (extend with OIL-029 prices).
  7. Regional PADD inventory analytics — aggregate inventory by EIA PADD region per EIA Weekly Petroleum Status methodology.
  8. 5-class storage type classification — predict storage_type from capacity + working_capacity features.
  9. Daily inflow/outflow regression — predict inflow_bpd / outflow_bpd from seasonal + site features.
  10. Multi-table relational ML — entity-resolution across the 6 tables via inventory_id + timestamp for joinable training pipelines.

Loading

from datasets import load_dataset
ds = load_dataset("xpertsystems/oil033-sample", data_files="crude_inventory_levels.csv")
print(ds["train"][0])

Or with pandas:

import pandas as pd
master  = pd.read_csv("hf://datasets/xpertsystems/oil033-sample/inventory_master.csv")
crude   = pd.read_csv("hf://datasets/xpertsystems/oil033-sample/crude_inventory_levels.csv")
refined = pd.read_csv("hf://datasets/xpertsystems/oil033-sample/refined_product_inventory.csv")
spr     = pd.read_csv("hf://datasets/xpertsystems/oil033-sample/spr_operations.csv")
labels  = pd.read_csv("hf://datasets/xpertsystems/oil033-sample/inventory_labels.csv")

# Multi-table feature engineering for ML:
crude_agg = crude.groupby('inventory_id').agg(
    avg_inventory=('inventory_bbl', 'mean'),
    avg_utilization=('utilization_pct', 'mean'),
    net_flow_std=('inflow_bpd', lambda x: x.std() - 0)  # placeholder
).reset_index()

joined = (master
    .merge(crude_agg, on='inventory_id')
    .merge(labels.groupby('inventory_id').agg(
        avg_shortage=('shortage_risk', 'mean'),
        avg_opt=('optimization_score', 'mean')
    ).reset_index(), on='inventory_id'))

Reproducibility

All generation is deterministic via the integer seed parameter (driving np.random.seed). A seed sweep across [42, 7, 123, 2024, 99, 1] confirms Grade A+ on every seed in this sample.


Honest disclosure of sample-scale limitations

This is a sample product calibrated for inventory ML research, not for live tank farm operations or EIA forecasting. Several notes:

  1. No region/storage-type conditioning on capacity. All sites use randint(500K, 10M) bbl regardless of being SPR (real ~150M bbl), Cushing terminal (real ~15-20M), or floating tank (typically 500K-2M). For type-conditioned ML, normalize by storage type scale:

    type_scales = {'SPR': 150e6, 'Cushing': 18e6, 'Refinery': 8e6,
                    'Terminal': 5e6, 'Floating': 1e6, 'Tank Farm': 6e6}
    
  2. No region/storage-type conditioning on inflow/outflow. All sites use ~250K bpd inflow/outflow regardless of being SPR (typically very low daily flux) or refinery (250K-500K bpd realistic). For flux- conditioned ML, filter to single storage_type before training.

  3. Inflow ≈ outflow nearly balanced (250K vs 245K mean). Net flow std 67K bpd dominates the 5K mean drift, so inventory exhibits slow random walk with capacity bounds. For mass-balance ML, focus on near-term dynamics rather than expecting trend-following behavior.

  4. Refined products are NOT joined to crude utilization. Gasoline, diesel, jet fuel are independently sampled from N(120K, 25K), N(95K, 20K), N(60K, 15K) per site/day without coupling to crude inflow or refinery throughput. Real refined product inventory tracks refinery utilization with ~1-2 week lag. For product-yield ML, derive your own coupling or use the full product.

  5. SPR site distribution is per-day random rather than per-event. The generator samples spr_site independently each day, so the 4 SPR sites appear roughly uniform (24-27% each) over the 365-day period even though release events are rare. For SPR-site-specific ML, filter to release events only (release_rate_bpd > 0).

  6. SPR reserve level changes very little (647-650M range across 365 days) because only ~1% of days trigger releases. Real SPR inventory changes more dramatically (120M bbl reduction in 2022). For SPR drawdown ML, use the full product or augment with historical 2022 release events.

  7. Disruption magnitude includes positive values U(-400K, +400K), which is physically odd (disruptions should typically reduce supply). The sample treats positive values as "anti-disruptions" (e.g., emergency receipts). For supply-shock ML, filter to negative disruption values or use abs(disruption) as severity.

  8. Capacity ↔ utilization is uncoupled (r ≈ 0.04). Real markets show smaller tanks have more variable utilization (higher turnover cycles relative to capacity). For capacity-conditioned ML, use normalized utilization (e.g., daily change / capacity).

  9. Working capacity % is uniform U(0.65, 0.95) without conditioning on storage type. Real SPR working capacity is ~95%+ (low heel), while floating roof tanks are ~80% (shell heel + sludge). For type-specific ML, derive type-conditioned working capacity.

  10. Inventory mean 78.67% is elevated vs EIA optimal 72% target. The generator's random walk drifts upward over 365 days due to inflow - outflow = 5K bpd net positive. For optimal-target ML, filter to days near 72% or augment with historical EIA reference levels.


Where physics IS strong (use these for ML)

Six coupling signals in this sample are physically valid and ML-useful:

Signal Result Source
Deviation from 72% ↔ optimization score r = -1.000 Generator V-shape formula (deterministic)
Utilization ↔ shortage risk r = -0.522 Generator binary threshold
Expected seasonal ↔ inflow r = +0.466 sin(2π·day/365) modulation
Mass-balance inventory accumulation Deterministic per site Tank conservation law
Day of year ↔ inflow r = -0.363 Seasonal phasing
SPR reserve mean ~648M bbl DOE post-2022 drawdown

Cross-references to other XpertSystems OIL SKUs

This SKU is the second storage/inventory SKU in the catalog — complementing OIL-028 (tank operations) with multi-site portfolio + SPR + seasonal dynamics:

Storage layer SKU Focus
Tank operations OIL-028 API 650 mass-balance inventory + 6 product types × 3 tank types (single-site granularity)
Portfolio inventory OIL-033 EIA PADD regions + 4 DOE SPR sites + seasonal dynamics + feature-coupled labels (this SKU)

OIL-033 vs OIL-028: OIL-028 simulates individual tank operations (per-tank hourly mass balance, product types, integrity). OIL-033 simulates portfolio-level inventory across multiple PADD regions + SPR sites with daily granularity + seasonal patterns. Use OIL-028 for single-tank ML, OIL-033 for regional/national inventory analytics.

Natural integrations:

  • OIL-033 + OIL-029 → EIA inventory levels ↔ WTI prices for fundamentals- driven trading
  • OIL-033 + OIL-030 → portfolio inventory ↔ global supply/demand
  • OIL-033 + OIL-028 → portfolio rollup ↔ individual tank operations
  • OIL-033 + OIL-031 → inventory levels ↔ tanker arrivals at terminals

Full product

The full OIL-033 dataset ships at 5,000 storage sites × 730 days (prod mode) producing tens of millions of rows with EIA PADD-tier-weighted capacity (SPR sites ~150M bbl, Cushing ~18M, refineries ~8M), type- conditioned inflow/outflow rates (SPR ~50K bpd vs refinery ~400K bpd), realistic SPR drawdown events (2008/2011/2022 historical scenarios), crude-refined product coupling via refinery throughput ML linkages, signed disruption events (negative for outages only), multi-year seasonal cycles with weather-driven anomalies, and PADD-aggregated EIA weekly inventory reports matching real EIA Friday release schedule — licensed commercially. Contact XpertSystems.ai for licensing terms.

📧 pradeep@xpertsystems.ai 🌐 https://xpertsystems.ai


Citation

@dataset{xpertsystems_oil033_sample_2026,
  title  = {OIL-033: Synthetic Crude & Product Inventory Dataset (Sample)},
  author = {XpertSystems.ai},
  year   = {2026},
  url    = {https://huggingface.co/datasets/xpertsystems/oil033-sample}
}

Generation details

  • Sample version : 1.0.0
  • Random seed : 42
  • Generated : 2026-05-23 13:46:01 UTC
  • Storage sites : 235
  • Simulation days : 365 (1 year)
  • Regions : 5 (USGC, Midwest, East Coast, West Coast, Cushing per EIA PADD)
  • Storage types : 5 (Tank Farm, SPR, Refinery, Terminal, Floating)
  • SPR sites : 4 (Bryan Mound, Big Hill, West Hackberry, Bayou Choctaw — real DOE Gulf Coast salt domes)
  • Disruption types : 5 (Hurricane, Pipeline Outage, Refinery Fire, Import Disruption, Tank Failure)
  • Capacity range : 500K - 10M bbl (API 650 mixed portfolio)
  • Calibration basis : EIA Weekly Petroleum Status, EIA Petroleum Supply Annual, EIA Storage Capacity Report, DOE SPR, API 650, API 653, API 575, API 2350, PADD classifications, OECD Oil Stocks, JODI, EPA AP-42, NFPA 30
  • Overall validation: 100.0/100 — Grade A+
Downloads last month
32