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 6 new columns ({'reactor_temp_f', 'unit_id', 'catalyst_activity_pct', 'coke_deposition_pct', 'timestamp', 'conversion_pct'}) and 5 missing columns ({'product_grade', 'blend_volume_bbl', 'blend_id', 'sulfur_content_ppm', 'octane_rating'}).

This happened while the csv dataset builder was generating data using

hf://datasets/xpertsystems/oil019-sample/cracking_operations.csv (at revision a57667616d96ded1ea754097b08ae5c0871013b8), [/tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/blending_operations.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/blending_operations.csv), /tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/cracking_operations.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/cracking_operations.csv), /tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/distillation_columns.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/distillation_columns.csv), /tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/heat_exchanger_network.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/heat_exchanger_network.csv), /tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/process_control_loops.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/process_control_loops.csv), /tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/refinery_alarm_events.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/refinery_alarm_events.csv), /tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/refinery_labels.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/refinery_labels.csv), /tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/refinery_units.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/refinery_units.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
              unit_id: string
              reactor_temp_f: double
              catalyst_activity_pct: double
              conversion_pct: double
              coke_deposition_pct: double
              timestamp: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1035
              to
              {'blend_id': Value('string'), 'product_grade': Value('string'), 'octane_rating': Value('float64'), 'sulfur_content_ppm': Value('float64'), 'blend_volume_bbl': 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 6 new columns ({'reactor_temp_f', 'unit_id', 'catalyst_activity_pct', 'coke_deposition_pct', 'timestamp', 'conversion_pct'}) and 5 missing columns ({'product_grade', 'blend_volume_bbl', 'blend_id', 'sulfur_content_ppm', 'octane_rating'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/xpertsystems/oil019-sample/cracking_operations.csv (at revision a57667616d96ded1ea754097b08ae5c0871013b8), [/tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/blending_operations.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/blending_operations.csv), /tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/cracking_operations.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/cracking_operations.csv), /tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/distillation_columns.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/distillation_columns.csv), /tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/heat_exchanger_network.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/heat_exchanger_network.csv), /tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/process_control_loops.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/process_control_loops.csv), /tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/refinery_alarm_events.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/refinery_alarm_events.csv), /tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/refinery_labels.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/refinery_labels.csv), /tmp/hf-datasets-cache/medium/datasets/83267534475230-config-parquet-and-info-xpertsystems-oil019-sampl-37041a3d/hub/datasets--xpertsystems--oil019-sample/snapshots/a57667616d96ded1ea754097b08ae5c0871013b8/refinery_units.csv (origin=hf://datasets/xpertsystems/oil019-sample@a57667616d96ded1ea754097b08ae5c0871013b8/refinery_units.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.

blend_id
string
product_grade
string
octane_rating
float64
sulfur_content_ppm
float64
blend_volume_bbl
float64
BLEND_0000000
Naphtha
90.93
58.66
6,321.06
BLEND_0000001
Diesel
94.92
360.29
11,991.59
BLEND_0000002
Naphtha
90.18
41.04
2,709.7
BLEND_0000003
Naphtha
83.05
451.57
37,097.15
BLEND_0000004
Gasoline
97.54
221.51
23,426.1
BLEND_0000005
Gasoline
93.69
29.42
45,084.96
BLEND_0000006
Naphtha
94.81
124.69
3,446.06
BLEND_0000007
LPG
95.93
258.89
29,118.97
BLEND_0000008
Diesel
93.97
306.1
8,646.37
BLEND_0000009
Jet Fuel
95.82
237.46
44,670.97
BLEND_0000010
Fuel Oil
86.82
180.29
13,071.2
BLEND_0000011
Diesel
83.66
124.61
4,078.84
BLEND_0000012
Naphtha
89.23
445.04
19,809.71
BLEND_0000013
Gasoline
92.21
336.29
42,306.66
BLEND_0000014
Fuel Oil
83.19
324.09
26,901.77
BLEND_0000015
Gasoline
84.88
183.64
24,877.48
BLEND_0000016
Gasoline
93.41
54.39
19,479.89
BLEND_0000017
Fuel Oil
85.58
6.12
30,618.81
BLEND_0000018
Naphtha
87.91
19.4
46,615.8
BLEND_0000019
Gasoline
89.37
38.52
33,306.4
BLEND_0000020
Fuel Oil
86.76
202.81
17,463.05
BLEND_0000021
Fuel Oil
97.77
203.09
24,137.38
BLEND_0000022
Fuel Oil
86.93
224.56
43,759.97
BLEND_0000023
Diesel
93.85
453.89
40,129.13
BLEND_0000024
Fuel Oil
95.35
339.72
38,440.92
BLEND_0000025
Naphtha
89.56
99.87
37,493.14
BLEND_0000026
Fuel Oil
82.29
7.99
12,723.85
BLEND_0000027
LPG
94.34
258.31
18,436.68
BLEND_0000028
Jet Fuel
93.1
220.82
33,502.21
BLEND_0000029
Gasoline
89.24
445.52
10,068.83
BLEND_0000030
Diesel
87.9
404.97
30,038.66
BLEND_0000031
Gasoline
90.71
171.01
42,770.27
BLEND_0000032
LPG
96.39
83.18
44,592.19
BLEND_0000033
Fuel Oil
97.19
265.83
30,180.83
BLEND_0000034
LPG
90.97
277.04
15,822.52
BLEND_0000035
LPG
84.63
353.38
4,127.42
BLEND_0000036
Fuel Oil
91.39
136.15
25,675.71
BLEND_0000037
Jet Fuel
83.68
327.03
38,207.87
BLEND_0000038
Fuel Oil
89.16
38.84
4,197.14
BLEND_0000039
Jet Fuel
82.74
128
49,470.37
BLEND_0000040
LPG
97.87
379.57
28,072.64
BLEND_0000041
Jet Fuel
95.57
83.01
48,332.41
BLEND_0000042
Gasoline
90.34
251.16
25,945.43
BLEND_0000043
Naphtha
90.99
58.42
49,727.72
BLEND_0000044
Jet Fuel
83.98
452.12
25,812.75
BLEND_0000045
Fuel Oil
88.5
109.75
14,863.17
BLEND_0000046
Diesel
82.1
410.88
24,282.04
BLEND_0000047
Diesel
87.72
76.37
23,940.22
BLEND_0000048
Naphtha
82.54
284.61
35,894.97
BLEND_0000049
Fuel Oil
84.85
332.37
17,492.68
BLEND_0000050
Gasoline
84.96
40.39
32,419.44
BLEND_0000051
Jet Fuel
89.75
301.96
27,513.45
BLEND_0000052
Naphtha
87.68
118.93
41,650.3
BLEND_0000053
Gasoline
88.75
385.12
19,952.85
BLEND_0000054
Gasoline
96.7
423.11
26,970.44
BLEND_0000055
LPG
86.04
64.17
32,437.75
BLEND_0000056
LPG
87.67
267.52
16,547.04
BLEND_0000057
LPG
92.63
151.73
13,068.04
BLEND_0000058
Diesel
97.99
337.74
45,040.74
BLEND_0000059
Fuel Oil
96
184.94
16,952.5
BLEND_0000060
Diesel
87
253.69
17,348.26
BLEND_0000061
Diesel
97.38
150.61
25,197.83
BLEND_0000062
Jet Fuel
87.46
13.15
13,771.49
BLEND_0000063
Naphtha
85.08
68.61
8,732.52
BLEND_0000064
Gasoline
94.7
13.55
15,426.62
BLEND_0000065
LPG
95.08
30.52
13,531.18
BLEND_0000066
Gasoline
88.2
234.56
7,752.69
BLEND_0000067
Diesel
91.98
481.23
21,586.64
BLEND_0000068
Diesel
92.48
60.41
4,422.76
BLEND_0000069
Diesel
90.98
290.19
36,065.47
BLEND_0000070
LPG
83.68
423.54
4,822.4
BLEND_0000071
Fuel Oil
95.26
361.55
49,553.38
BLEND_0000072
LPG
97.05
17.32
2,772.62
BLEND_0000073
Naphtha
92.79
82.86
34,244.44
BLEND_0000074
Fuel Oil
84.06
396.81
40,246.11
BLEND_0000075
Naphtha
92.12
205.48
42,540.09
BLEND_0000076
Jet Fuel
95.68
299.54
24,786.66
BLEND_0000077
Jet Fuel
93.84
329.62
38,125.71
BLEND_0000078
Gasoline
90.81
70.25
30,173.23
BLEND_0000079
Jet Fuel
91.68
469.79
37,234.31
BLEND_0000080
Jet Fuel
85.66
397.29
37,723.53
BLEND_0000081
Fuel Oil
84.63
391.5
45,728.09
BLEND_0000082
Naphtha
87.72
492.48
33,727.52
BLEND_0000083
Jet Fuel
83.39
375.05
37,355.32
BLEND_0000084
Diesel
87.05
207.7
13,590.82
BLEND_0000085
Fuel Oil
90.42
467.61
20,455.52
BLEND_0000086
Diesel
87.94
172.92
21,892.89
BLEND_0000087
Diesel
85.49
186.64
16,591.25
BLEND_0000088
Jet Fuel
86.44
455.2
42,529.6
BLEND_0000089
Fuel Oil
88.34
47.95
21,691.95
BLEND_0000090
Fuel Oil
88.37
56.92
5,645.89
BLEND_0000091
Naphtha
95.87
143.85
3,650.93
BLEND_0000092
Naphtha
82.88
483.57
6,133.48
BLEND_0000093
Fuel Oil
94.04
494.69
18,682.43
BLEND_0000094
LPG
96.87
9.04
47,157.55
BLEND_0000095
LPG
91.36
86.87
2,319.4
BLEND_0000096
Naphtha
91.56
425.06
1,935.64
BLEND_0000097
Fuel Oil
88.85
247.86
15,609.49
BLEND_0000098
Jet Fuel
88.91
126.04
3,932.28
BLEND_0000099
Diesel
93.78
117.62
26,035.33
End of preview.

OIL-019 — Synthetic Refinery Process Dataset (Sample)

SKU: OIL019-SAMPLE · Vertical: Oil & Gas / Downstream Refining License: CC-BY-NC-4.0 (sample) · Schema version: oil019.v1 Sample version: 1.0.0 · Default seed: 42

A free, schema-identical preview of XpertSystems.ai's enterprise refinery process dataset for distillation column ML, FCC conversion modeling, PID control loop analytics, heat exchanger fouling prediction, blending optimization, and alarm management ML. The sample covers 30 refineries with 360 process units across 7 unit types, with 210,820 rows linked across 8 tables.

This is the first downstream (refining) SKU in the XpertSystems Oil & Gas catalog — complementing the upstream (drilling/production/EOR) and midstream (pipeline) SKUs already in the catalog.


What's in the box

File Rows Cols Description
refinery_units.csv 360 5 Process unit catalog: refinery_id, unit_id, unit_type (CDU/VDU/FCC/Hydrocracker/Coker/Reformer/Hydrotreater), throughput, ONLINE/MAINTENANCE status
distillation_columns.csv 25,500 6 CDU+VDU tray-level snapshots: tray number, temperature, pressure, reflux ratio, timestamp
cracking_operations.csv 18,400 6 FCC+Hydrocracker reactor metrics: reactor temperature, catalyst activity, conversion percentage, coke deposition
process_control_loops.csv 108,000 6 Per-unit PID control snapshots: PV/SP tracking, controller output, AUTO/MANUAL mode
heat_exchanger_network.csv 43,200 5 Per-unit shell-and-tube exchanger network: inlet/outlet temperature, fouling factor, heat duty
refinery_alarm_events.csv 5,000 6 6-class ISA-18.2 alarm events (High P/T, Low Flow, Pump Failure, Compressor Surge, Sensor Fault) + priority + duration
blending_operations.csv 10,000 5 6-class product blends (Gasoline/Diesel/Jet/LPG/Naphtha/Fuel Oil) + ASTM D2699 octane + sulfur ppm + volume
refinery_labels.csv 360 4 Per-unit ML labels: optimization score + anomaly flag + shutdown risk

Total: 210,820 rows across 8 CSVs, ~14.1 MB on disk.


Calibration: industry-anchored, honestly reported

Validation uses a 10-metric scorecard with targets sourced exclusively to named industry standards: UOP / Mobil FCC handbook (FCC operating benchmarks), API 660 (Shell-and-Tube Heat Exchangers), TEMA Standards (heat exchanger design), ASTM D2699 (Research Octane Number Standard Test Method), ASTM D2622 (sulfur in gasoline), API 521 (Pressure- relieving and Depressuring Systems), ISA-18.2 (Management of Alarm Systems for the Process Industries), ANSI/ISA-95 (Manufacturing Operations Management), EEMUA 191 (alarm management performance), EIA Refinery Capacity Report, AFPM (American Fuel & Petrochemical Manufacturers) annual statistics, NPRA Q&A and Technology Forum.

Sample run (seed 42, n_refineries=30, units_per_refinery=12):

# Metric Observed Target Tolerance Status Source
1 avg throughput bpd 225041.3370 225000.0 ±30000.0 ✓ PASS EIA Refinery Capacity Report + AFPM annual statistics — mean throughput for large US refineries (100K-500K BPD range; 225K is the median US refinery capacity per EIA-820 data)
2 avg distillation temp f 649.9976 650.0 ±80.0 ✓ PASS UOP / Honeywell refining process handbook + AFPM operations data — mean column temperature for atmospheric distillation (CDU bottoms ~750°F, mid-column ~600°F, vacuum distillation ~550°F; portfolio mean ~650°F)
3 avg distillation pressure psi 34.9751 35.0 ±15.0 ✓ PASS UOP refining process handbook + API 560 fired heaters — mean operating pressure for atmospheric CDU (20-50 psi typical) and VDU (vacuum, 1-2 psi). Portfolio mean ~35 psi for mixed CDU/VDU operation
4 avg cracking reactor temp f 980.1136 980.0 ±50.0 ✓ PASS UOP / Mobil FCC handbook + ExxonMobil RT process design — mean FCC reactor riser temperature for gasoline-mode operation (950-1010°F typical; 980°F is the optimal octane-conversion trade-off per Mobil/UOP)
5 avg fcc conversion pct 74.0454 74.0 ±10.0 ✓ PASS UOP / Mobil FCC handbook — mean conversion percentage for FCC operation (65-85% typical; 74% reflects moderate-severity gasoline-mode operation with balanced LCO/HCO production)
6 control tracking error std 1.9998 2.0 ±0.5 ✓ PASS ISA-95 Manufacturing Operations Management + ISA-18.2 alarm management — typical PID control loop PV-SP tracking error standard deviation for well-tuned process control (1.5-3.0 typical for production-grade loops)
7 hx inlet outlet physical consistency 1.0000 1.0 ±0.005 ✓ PASS API 660 (Shell-and-Tube Heat Exchangers) + TEMA Standards — inlet temperature must exceed outlet temperature for cooling/condensing exchangers (process stream being cooled). Validates generator's HX physical realism.
8 avg hx delta t f 72.5364 72.5 ±20.0 ✓ PASS API 660 + TEMA Standards for shell-and-tube heat exchangers — typical operating ΔT for refinery HX service (25-120°F typical; 72.5°F median for mixed preheat/cooler/condenser service)
9 avg blend octane rating 90.0209 90.0 ±5.0 ✓ PASS ASTM D2699 (Research Octane Number Standard Test Method) — mean octane rating for gasoline blend portfolio (82-98 RON range covering regular 87, midgrade 89, premium 91-93, and aviation 100LL)
10 anomaly flag rate 0.0417 0.04 ±0.02 ✓ PASS ISA-18.2 Management of Alarm Systems for the Process Industries — typical anomaly/upset rate for production-grade refinery units (2-6% of operating periods exhibit detectable upsets per EEMUA 191 / NAMUR NA-102 operational statistics)

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


Schema highlights

refinery_units.csv — process unit catalog with 7 unit types per UOP/AFPM refining nomenclature:

Unit type Function Detail table
CDU Crude Distillation Unit (atmospheric) distillation_columns.csv
VDU Vacuum Distillation Unit distillation_columns.csv
FCC Fluid Catalytic Cracker cracking_operations.csv
Hydrocracker High-pressure hydrogen cracker cracking_operations.csv
Coker Delayed coker (units_master only — see Honest Disclosure §1)
Reformer Catalytic reformer (units_master only)
Hydrotreater Hydrodesulfurization unit (units_master only)

distillation_columns.csv — tray-level snapshots for atmospheric and vacuum distillation:

tray_number = randint(1, 65) # 1-64 trays (typical column) temperature_f = N(650, 40) # ~650°F mean per UOP CDU benchmarks pressure_psi = N(35, 5) # ~35 psi atmospheric CDU reflux_ratio = U(1.1, 4.8) # typical industry range

cracking_operations.csv — FCC and hydrocracker reactor operations per UOP / Mobil FCC handbook:

reactor_temp_f = N(980, 25) # FCC riser temp per Mobil FCC catalyst_activity = N(82, 4) % # MAT activity per ASTM D5757 conversion = N(74, 6) % # gasoline-mode conversion coke_deposition = U(0.1, 6.5) % # catalyst coke per UOP

process_control_loops.csv — PID PV/SP tracking per ISA-95 with 2.0 standard deviation tracking error:

PV = SP + N(0, 2.0) tracking_std observed ≈ 2.0 in sample (bullseye for declared cfg)

heat_exchanger_network.csv — shell-and-tube HX per API 660:

inlet_temp_f = N(550, 35) outlet_temp_f = inlet − U(25, 120) # heat removed (cooling)

inlet > outlet enforced for 100% of rows

blending_operations.csv — product blending per ASTM D2699 RON:

octane_rating = U(82, 98) # full gasoline grade range sulfur_ppm = U(5, 500) # pre-Tier 3 to ULSD range


Suggested use cases

  1. FCC conversion regression — predict conversion_pct from reactor_temp + catalyst_activity + coke_deposition features. Strong physics signal: independent Gaussian distributions allow clean regression learning.
  2. Distillation column anomaly detection — multi-variate anomaly detection on tray-level T/P/reflux features for column instability ML.
  3. PID control loop tuning — regression on tracking error (pv_value − sp_value) from controller_output + mode features for adaptive control ML.
  4. Heat exchanger fouling prediction — regression on fouling_factor from inlet/outlet temp + heat duty features. Useful as cleaning-schedule optimization label.
  5. Heat exchanger heat duty estimation — regression on heat_duty_mmbtu_hr from temp differential features. Anchored to API 660 / TEMA design conventions.
  6. 6-class alarm priority classification — multi-class classifier on priority × alarm_type features per ISA-18.2 alarm management.
  7. 6-class product grade classification — multi-class classifier on product_grade from octane + sulfur + volume features per ASTM D2699.
  8. 2-class unit operating status classification — binary classifier on operating_status (ONLINE/MAINTENANCE) from unit characteristics; see Honest Disclosure §5 for the 24% maintenance rate caveat.
  9. Anomaly flag binary classification — binary classifier on anomaly_flag per ISA-18.2 — useful as label-only reference; see Honest Disclosure §3 for the feature-coupling caveat.
  10. Multi-table relational ML — entity-resolution across the 7 joinable tables via refinery_id + unit_id.

Loading

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

Or with pandas:

import pandas as pd
units = pd.read_csv("hf://datasets/xpertsystems/oil019-sample/refinery_units.csv")
dist  = pd.read_csv("hf://datasets/xpertsystems/oil019-sample/distillation_columns.csv")
crack = pd.read_csv("hf://datasets/xpertsystems/oil019-sample/cracking_operations.csv")
ctrl  = pd.read_csv("hf://datasets/xpertsystems/oil019-sample/process_control_loops.csv")

# Join distillation rows to unit metadata
dist_joined = dist.merge(units, left_on="column_id", right_on="unit_id")
# Now you have refinery_id + unit_type + throughput alongside column operating data

Reproducibility

All generation is deterministic via the integer seed parameter (driving both random.seed and 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 refinery process ML research, not for live operational decisions. The OIL-019 generator uses predominantly marginal Gaussian/uniform sampling without feature-coupled physics — this gives clean training signal for marginal-property ML but limits cross-feature coupling. Several important notes:

  1. 3 of 7 unit types have no detail tables. Coker, Reformer, and Hydrotreater units appear in refinery_units.csv but do not generate any detail-table rows (only CDU+VDU → distillation_columns and FCC+Hydrocracker → cracking_operations are populated). The generator's docstring lists catalyst_performance.csv, hydrotreating_operations.csv, furnace_operations.csv, and compressor_pump_telemetry.csv as outputs but these are not produced by the current generator. For ML on Coker/Reformer/ Hydrotreater units, use only the unit-level features (throughput, status); full product v1.1 will add the missing detail tables.

  2. blending_operations.csv is NOT joinable to refinery_units.csv. The blending table has no unit_id or refinery_id column — blends are decoupled from any specific refinery or unit. Treat the blending table as a standalone product-property ML reference rather than as a refinery-output supply chain table. For refinery-to-blend traceability, the full product v1.1 will add refinery + unit linkages.

  3. refinery_labels.csv has NO feature coupling. All three label columns (optimization_score, anomaly_flag, shutdown_risk) are sampled from independent uniform/Bernoulli distributions without any relationship to upstream features in distillation, cracking, controls, heat exchanger, alarm, or blending tables. Models trained to predict any label from upstream features will not learn meaningful patterns because the label is not a function of the features. The labels table is best used as a reference distribution for production label calibration, not as a supervised ML target. To build feature-coupled labels, derive them yourself from weighted combinations of upstream features (e.g., optimization_score = f(catalyst_activity, conversion, fouling)).

  4. Distillation column has no tray-to-tray temperature gradient. Real CDU columns have a steep temperature gradient (~700°F at the bottom tray vs ~250°F at the top tray; ~450°F differential). The generator samples temperature_f = N(650, 40) independently of tray_number, so top-tray and bottom-tray temperatures are identical on average. Tray-by-tray distillation profile ML on this sample will learn marginals, not physics. For proper tray-profile ML, post-process the data with a McCabe-Thiele or Fenske-Underwood-Gilliland tray-gradient calculation, or wait for v1.1 which will introduce gradient-conditioned tray temperatures.

  5. Maintenance fraction is ~24% at sample scale. The generator samples random.choice(["ONLINE","ONLINE","ONLINE","MAINTENANCE"]) = 25% MAINTENANCE. Real US refinery utilization is 90%+ per EIA-820 Refinery Capacity Report, so MAINTENANCE should be ~5-10% of unit- periods. The sample's high maintenance rate is a generator quirk; for utilization-realistic ML, downsample MAINTENANCE rows to ~10% or filter them out.

  6. Process control loops are per-unit panels, not multi-loop networks. Each unit has 300 rows in process_control_loops.csv indexed LOOP_000 through LOOP_299, but these are timesteps of a single loop, not distinct control loops. The loop_id naming is misleading. Treat the column as a timestep index rather than as a loop identifier; for true multi-loop ML, sample loop_id per-unit and group by loop.

  7. Heat exchanger fouling is uniform-sampled, not time-varying. The fouling_factor is U(0.001, 0.04) independent of operating hours, inlet temperature, or process service. Real HX fouling grows monotonically over runtime per TEMA RGP-T-2.4. For fouling-progression ML, this sample is not suitable; v1.1 will add runtime-conditioned fouling growth.

  8. Anomaly types are uniformly sampled (~17% each across 6 classes). Real refinery alarm distributions are heavily skewed per ISA-18.2 / EEMUA 191 statistics (sensor faults dominate ~40-60%, high-T/P trips less common). Treat alarm_type as label-only for classifier training; full product v1.1 will add feature-conditioned alarm priors.


Cross-references to other XpertSystems OIL SKUs

This SKU is the first downstream (refining) SKU in the XpertSystems catalog. It complements the upstream and midstream SKUs already published:

SKU Layer Focus
OIL-001 to OIL-014, OIL-016 to OIL-018 Upstream Drilling, production, lift, decline, multiphase flow
OIL-015 Midstream Pipeline flow assurance
OIL-017 Upstream EOR Waterflood / water injection
OIL-019 Downstream Refinery process operations (this SKU — new sub-vertical)

This SKU opens a new buyer persona for the XpertSystems catalog: process engineers, refinery operations specialists, and process control engineers at refining operators (Marathon, Valero, Phillips 66, ExxonMobil Refining, Shell Downstream, BP Refining, Chinese/Indian state refiners) and refining EPC contractors (UOP/Honeywell, Axens, Shaw E&C, Wood Group) who need synthetic data for digital twin training, advanced process control ML, and operations optimization.


Full product

The full OIL-019 dataset (in development) will ship at significantly larger scale with all 4 missing detail tables (catalyst_performance, hydrotreating_operations, furnace_operations, compressor_pump_telemetry), feature-coupled labels derived from upstream operations features, tray-gradient distillation profiles with McCabe-Thiele consistency, runtime-conditioned heat exchanger fouling, utilization-realistic maintenance rates, and blending-to-refinery supply chain linkage — licensed commercially. Contact XpertSystems.ai for licensing terms.

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


Citation

@dataset{xpertsystems_oil019_sample_2026,
  title  = {OIL-019: Synthetic Refinery Process Dataset (Sample)},
  author = {XpertSystems.ai},
  year   = {2026},
  url    = {https://huggingface.co/datasets/xpertsystems/oil019-sample}
}

Generation details

  • Sample version : 1.0.0
  • Random seed : 42
  • Generated : 2026-05-22 14:00:14 UTC
  • Refineries : 30
  • Units per refinery: 12 (360 total units)
  • Unit types : 7 (CDU, VDU, FCC, Hydrocracker, Coker, Reformer, Hydrotreater)
  • Product grades : 6 (Gasoline, Diesel, Jet Fuel, LPG, Naphtha, Fuel Oil)
  • Alarm types : 6 (High P, High T, Low Flow, Pump Failure, Compressor Surge, Sensor Fault)
  • Calibration basis : UOP / Mobil FCC handbook, API 660, TEMA Standards, ASTM D2699, ASTM D2622, API 521, ISA-18.2, ANSI/ISA-95, EEMUA 191, EIA-820 Refinery Capacity, AFPM annual statistics, NPRA Q&A
  • Overall validation: 100.0/100 — Grade A+
Downloads last month
19