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 4 new columns ({'effectiveness_pct', 'inhibitor_type', 'dosage_ppm', 'chem_id'}) and 4 missing columns ({'precipitation_rate', 'asp_id', 'deposition_index', 'aop_psi'}).

This happened while the csv dataset builder was generating data using

hf://datasets/xpertsystems/oil015-sample/chemical_injection.csv (at revision 75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5), [/tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/asphaltene_precipitation.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/asphaltene_precipitation.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/chemical_injection.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/chemical_injection.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/hydrate_events.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/hydrate_events.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/integrity_risk_labels.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/integrity_risk_labels.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/multiphase_flow.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/multiphase_flow.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/operating_conditions.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/operating_conditions.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/pipelines_master.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/pipelines_master.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/thermal_profiles.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/thermal_profiles.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/wax_deposition.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/wax_deposition.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
              chem_id: string
              pipeline_id: string
              inhibitor_type: string
              dosage_ppm: double
              effectiveness_pct: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 883
              to
              {'asp_id': Value('string'), 'pipeline_id': Value('string'), 'aop_psi': Value('float64'), 'precipitation_rate': Value('float64'), 'deposition_index': 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 4 new columns ({'effectiveness_pct', 'inhibitor_type', 'dosage_ppm', 'chem_id'}) and 4 missing columns ({'precipitation_rate', 'asp_id', 'deposition_index', 'aop_psi'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/xpertsystems/oil015-sample/chemical_injection.csv (at revision 75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5), [/tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/asphaltene_precipitation.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/asphaltene_precipitation.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/chemical_injection.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/chemical_injection.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/hydrate_events.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/hydrate_events.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/integrity_risk_labels.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/integrity_risk_labels.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/multiphase_flow.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/multiphase_flow.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/operating_conditions.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/operating_conditions.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/pipelines_master.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/pipelines_master.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/thermal_profiles.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/thermal_profiles.csv), /tmp/hf-datasets-cache/medium/datasets/42213530969678-config-parquet-and-info-xpertsystems-oil015-sampl-0642d266/hub/datasets--xpertsystems--oil015-sample/snapshots/75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/wax_deposition.csv (origin=hf://datasets/xpertsystems/oil015-sample@75c545e2cd98c4d16c6fa6d8e8099ead7c9684b5/wax_deposition.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.

asp_id
string
pipeline_id
string
aop_psi
float64
precipitation_rate
float64
deposition_index
float64
ASP-COND-PL-000000-0
PL-000000
3,401.78
0
0
ASP-COND-PL-000000-1
PL-000000
2,621.76
0
0
ASP-COND-PL-000000-2
PL-000000
4,259.54
1.23472
4.883
ASP-COND-PL-000000-3
PL-000000
3,913.9
0
0
ASP-COND-PL-000000-4
PL-000000
3,614.36
0.04336
0.2554
ASP-COND-PL-000000-5
PL-000000
3,932.12
0
0
ASP-COND-PL-000000-6
PL-000000
2,573.54
0
0
ASP-COND-PL-000000-7
PL-000000
3,599
0
0
ASP-COND-PL-000000-8
PL-000000
3,041.9
0
0
ASP-COND-PL-000000-9
PL-000000
4,217.55
1.8119
17.9515
ASP-COND-PL-000000-10
PL-000000
4,645.48
2.08449
11.4215
ASP-COND-PL-000000-11
PL-000000
3,032.68
0
0
ASP-COND-PL-000000-12
PL-000000
3,182.17
0
0
ASP-COND-PL-000000-13
PL-000000
3,589.75
0
0
ASP-COND-PL-000000-14
PL-000000
3,882.89
0.34076
2.6117
ASP-COND-PL-000000-15
PL-000000
2,638.34
0
0
ASP-COND-PL-000000-16
PL-000000
3,308.85
0
0
ASP-COND-PL-000000-17
PL-000000
4,051.96
0
0
ASP-COND-PL-000000-18
PL-000000
3,565.35
0
0
ASP-COND-PL-000000-19
PL-000000
2,314.96
0
0
ASP-COND-PL-000000-20
PL-000000
3,859.35
0
0
ASP-COND-PL-000000-21
PL-000000
2,863.33
0
0
ASP-COND-PL-000000-22
PL-000000
3,791.47
0
0
ASP-COND-PL-000000-23
PL-000000
3,037.65
0
0
ASP-COND-PL-000000-24
PL-000000
3,878.54
0
0
ASP-COND-PL-000000-25
PL-000000
3,328.16
0
0
ASP-COND-PL-000000-26
PL-000000
2,947.05
0
0
ASP-COND-PL-000000-27
PL-000000
3,498.59
0
0
ASP-COND-PL-000000-28
PL-000000
2,660.14
0
0
ASP-COND-PL-000000-29
PL-000000
4,065.19
0.25088
0.7261
ASP-COND-PL-000000-30
PL-000000
3,800.3
0.41947
1.6163
ASP-COND-PL-000000-31
PL-000000
3,901.5
0
0
ASP-COND-PL-000000-32
PL-000000
2,182.04
0
0
ASP-COND-PL-000000-33
PL-000000
2,253.25
0
0
ASP-COND-PL-000000-34
PL-000000
3,141.72
0
0
ASP-COND-PL-000000-35
PL-000000
4,385
0.40482
3.3727
ASP-COND-PL-000000-36
PL-000000
2,357.95
0
0
ASP-COND-PL-000000-37
PL-000000
3,933.81
3.56052
19.8905
ASP-COND-PL-000000-38
PL-000000
4,474.36
0
0
ASP-COND-PL-000000-39
PL-000000
4,129.05
0.15471
0.6569
ASP-COND-PL-000000-40
PL-000000
3,191.01
0
0
ASP-COND-PL-000000-41
PL-000000
4,104.47
0
0
ASP-COND-PL-000000-42
PL-000000
3,575.4
0
0
ASP-COND-PL-000000-43
PL-000000
3,187.63
0
0
ASP-COND-PL-000000-44
PL-000000
3,936.21
0
0
ASP-COND-PL-000000-45
PL-000000
4,492.07
0.22694
0.9606
ASP-COND-PL-000000-46
PL-000000
4,051.79
0
0
ASP-COND-PL-000000-47
PL-000000
3,743.73
0
0
ASP-COND-PL-000000-48
PL-000000
4,072.29
0
0
ASP-COND-PL-000000-49
PL-000000
4,028.29
1.41966
10.0904
ASP-COND-PL-000000-50
PL-000000
3,404.75
0
0
ASP-COND-PL-000000-51
PL-000000
3,080.11
0
0
ASP-COND-PL-000000-52
PL-000000
2,430.42
0
0
ASP-COND-PL-000000-53
PL-000000
3,642.43
0
0
ASP-COND-PL-000000-54
PL-000000
4,123.24
1.45873
7.1051
ASP-COND-PL-000000-55
PL-000000
2,021.55
0
0
ASP-COND-PL-000000-56
PL-000000
3,334.19
0
0
ASP-COND-PL-000000-57
PL-000000
3,634.88
0
0
ASP-COND-PL-000000-58
PL-000000
3,545.55
0.48341
4.4104
ASP-COND-PL-000000-59
PL-000000
3,540.21
0
0
ASP-COND-PL-000000-60
PL-000000
3,903.88
0
0
ASP-COND-PL-000000-61
PL-000000
4,036.65
0.16138
1.0015
ASP-COND-PL-000000-62
PL-000000
4,152.86
0.13153
0.6414
ASP-COND-PL-000000-63
PL-000000
3,000.41
0
0
ASP-COND-PL-000000-64
PL-000000
2,420.85
0
0
ASP-COND-PL-000000-65
PL-000000
2,842.42
0
0
ASP-COND-PL-000000-66
PL-000000
2,950.24
0
0
ASP-COND-PL-000000-67
PL-000000
2,943.56
0
0
ASP-COND-PL-000000-68
PL-000000
3,201.58
0
0
ASP-COND-PL-000000-69
PL-000000
3,432.49
0
0
ASP-COND-PL-000000-70
PL-000000
3,257.41
0.12427
0.638
ASP-COND-PL-000000-71
PL-000000
3,511.35
0
0
ASP-COND-PL-000000-72
PL-000000
3,710.21
0
0
ASP-COND-PL-000000-73
PL-000000
4,501.46
0.2585
1.9386
ASP-COND-PL-000000-74
PL-000000
3,244.7
0
0
ASP-COND-PL-000000-75
PL-000000
2,513.49
0
0
ASP-COND-PL-000000-76
PL-000000
2,598.48
0
0
ASP-COND-PL-000000-77
PL-000000
2,734.83
0
0
ASP-COND-PL-000000-78
PL-000000
4,608.58
3.1828
25.0303
ASP-COND-PL-000000-79
PL-000000
3,401.28
0.29312
1.053
ASP-COND-PL-000000-80
PL-000000
2,661.15
0
0
ASP-COND-PL-000000-81
PL-000000
3,774.35
0
0
ASP-COND-PL-000000-82
PL-000000
4,515.77
0.11393
0.7595
ASP-COND-PL-000000-83
PL-000000
4,035.58
0
0
ASP-COND-PL-000000-84
PL-000000
4,178.14
0
0
ASP-COND-PL-000000-85
PL-000000
3,470.81
0
0
ASP-COND-PL-000000-86
PL-000000
4,059.08
0
0
ASP-COND-PL-000000-87
PL-000000
3,359.88
0
0
ASP-COND-PL-000000-88
PL-000000
3,727.91
0
0
ASP-COND-PL-000000-89
PL-000000
3,578.92
0
0
ASP-COND-PL-000000-90
PL-000000
3,391.58
0
0
ASP-COND-PL-000000-91
PL-000000
3,456.42
0
0
ASP-COND-PL-000000-92
PL-000000
4,525.55
0.12598
0.9861
ASP-COND-PL-000000-93
PL-000000
3,958.92
0.28537
0.386
ASP-COND-PL-000000-94
PL-000000
3,240.59
0
0
ASP-COND-PL-000000-95
PL-000000
2,744.73
0
0
ASP-COND-PL-000000-96
PL-000000
3,575.93
0
0
ASP-COND-PL-000000-97
PL-000000
3,186.81
0
0
ASP-COND-PL-000000-98
PL-000000
4,294.77
0
0
ASP-COND-PL-000000-99
PL-000000
3,411.29
0
0
End of preview.

OIL-015 — Synthetic Flow Assurance Dataset (Sample)

SKU: OIL015-SAMPLE · Vertical: Oil & Gas / Midstream Flow Assurance License: CC-BY-NC-4.0 (sample) · Schema version: oil015.v1 Sample version: 1.0.0 · Default seed: 42

A free, schema-identical preview of XpertSystems.ai's enterprise flow assurance dataset for wax/hydrate/asphaltene deposition ML, multiphase flow regime classification, chemical injection optimization, and pipeline integrity risk modeling. The sample covers 300 pipelines across 6 pipeline types, with 240,300 rows including 30,000 hourly operating-condition records linked across 9 tables.


What's in the box

File Rows Cols Description
pipelines_master.csv 300 7 Pipeline spine: type, length, diameter, insulation, water depth, design pressure
operating_conditions.csv 30,000 8 Per-pipeline hourly conditions: pressure, temperature, flow rate, water cut, GOR
wax_deposition.csv 30,000 5 Wax Appearance Temperature (WAT) + threshold-gated deposition rate + cumulative thickness
hydrate_events.csv 30,000 5 Hydrate risk score + volume fraction + 3-class inhibition state (active/partial/failed)
asphaltene_precipitation.csv 30,000 5 Asphaltene Onset Pressure (AOP) + threshold-gated precipitation rate + deposition index
multiphase_flow.csv 30,000 6 5-class flow regime (slug/annular/bubble/stratified/churn) + gas/liquid fractions + slug frequency
chemical_injection.csv 30,000 5 4-class inhibitor (MEG/methanol/wax inhibitor/asphaltene dispersant) + dosage + effectiveness
thermal_profiles.csv 30,000 5 Fluid temperature → seabed temperature with delta-T-gated heat loss
integrity_risk_labels.csv 30,000 5 Blockage probability + shutdown risk + 3-class integrity grade (LOW/MEDIUM/HIGH)

Total: 240,300 rows across 9 CSVs, ~13.0 MB on disk.


Calibration: industry-anchored, honestly reported

Validation uses a 10-metric scorecard with targets sourced exclusively to named industry standards: NACE TM0274 (Wax Appearance Temperature Measurement), NACE SP0775 (paraffin/wax control), Sloan & Koh (2008) "Clathrate Hydrates of Natural Gases" (canonical hydrate reference), SPE 28994 (Hammami & Raines, 1997) asphaltene precipitation thermodynamics, Mandhane et al. (1974) / Beggs & Brill (1973) multiphase flow regime maps, API RP-14E (pipeline erosional velocity), ISO 13703 (offshore pipeline design), DNV-RP-F101 (corroded pipeline integrity), Pedersen et al. (1991) crude oil WAT studies, Rystad Energy + IHS Markit pipeline tracker.

Sample run (seed 42, n_pipelines=300, rows_per_pipeline=100):

# Metric Observed Target Tolerance Status Source
1 avg operating pressure psi 4200.0231 4200.0 ±800.0 ✓ PASS API RP-14E + ISO 13703 — typical pipeline operating pressure for mixed deepwater/offshore export/onshore gathering portfolio (typical 2000-6000 psi envelope)
2 avg operating temperature f 145.1683 145.0 ±30.0 ✓ PASS ISO 13703 + API RP-14E — typical pipeline operating temperature for mixed deepwater/onshore portfolio (120-180°F typical, with HPHT to 250°F+)
3 avg wax appearance temp f 117.9561 118.0 ±20.0 ✓ PASS NACE TM0274 (Wax Appearance Temperature Measurement) + Pedersen et al. (1991) crude oil WAT studies — typical WAT for paraffinic crude portfolio (90-150°F envelope)
4 avg asphaltene onset pressure psi 3501.5829 3500.0 ±1000.0 ✓ PASS SPE 28994 (Hammami & Raines, 1997) asphaltene precipitation thermodynamics — typical AOP for asphaltic crude oil portfolio (2000-5000 psi envelope)
5 wax threshold gating fidelity 1.0000 0.99 ±0.02 ✓ PASS NACE TM0274 wax physics — fraction of rows where deposition_rate_mm_day is correctly zero when T_fluid >= WAT (physics: no wax deposition above WAT). Validates the generator's threshold-gating logic.
6 asphaltene threshold gating fidelity 1.0000 0.99 ±0.02 ✓ PASS SPE 28994 (Hammami & Raines) asphaltene precipitation thermodynamics — fraction of rows where precipitation_rate is correctly zero when P_fluid >= AOP (physics: asphaltenes stay in solution above AOP). Validates the generator's threshold gating.
7 wax deposition pearson correlation 0.7894 0.7 ±0.2 ✓ PASS Pedersen et al. (1991) + Hammami & Raines (1997) — expected positive correlation between (WAT − T_fluid) and deposition rate when delta-T > 0 (physics: greater subcooling drives faster crystallization). Validates wax deposition rate scales with thermodynamic driving force.
8 asphaltene precipitation pearson correlation 0.7534 0.65 ±0.2 ✓ PASS SPE 28994 (Hammami & Raines, 1997) — expected positive correlation between (AOP − P_fluid) and precipitation rate when delta-P > 0 (physics: greater pressure deficit drives faster asphaltene flocculation). Validates precipitation rate scales with thermodynamic driving force.
9 flow regime diversity entropy 0.9999 0.99 ±0.03 ✓ PASS Mandhane et al. (1974) + Beggs & Brill (1973) multiphase flow regime classification — 5-class flow regime diversity benchmark (slug, annular, bubble, stratified, churn), normalized Shannon entropy. ML training portfolios typically use uniform sampling across regimes.
10 pipeline type diversity entropy 0.9959 0.97 ±0.04 ✓ PASS Rystad Energy + IHS Markit global pipeline tracker — 6-class pipeline-type diversity benchmark (deepwater subsea, heavy oil gathering, gas condensate, LNG feed, offshore export, shale multiphase), normalized Shannon entropy.

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


Schema highlights

wax_deposition.csv — implements NACE TM0274 wax-thermodynamic threshold gating:

wat = N(118, 8) °F deposition_rate = max(0, WAT − T_fluid) × U(0.01, 0.15) mm/day

This means wax deposition is exactly zero when T_fluid ≥ WAT (per Pedersen et al. 1991 thermodynamics — wax stays in solution above WAT) and scales positively with subcooling below WAT. The sample observes ~10% of rows in the deposition zone, matching the realistic fraction of pipeline operations that drop below WAT.

asphaltene_precipitation.csv — implements SPE 28994 (Hammami & Raines) asphaltene-thermodynamic threshold gating:

aop = N(3500, 600) psi precipitation_rate = max(0, AOP − P_fluid) × U(0.0001, 0.005)

Asphaltenes precipitate only when P_fluid < AOP (per asphaltene solubility thermodynamics — asphaltenes stay in solution above onset pressure). The sample observes ~18% of rows in the precipitation zone, matching the realistic fraction of pipeline operations that drop below AOP.

thermal_profiles.csv — heat loss conditioned on delta-T per ISO 13703 subsea pipeline thermal design:

seabed_temp = N(40, 10) °F heat_loss = max(0, T_fluid − T_seabed) × U(1, 10) BTU

Heat loss only occurs when fluid is warmer than seabed (always true in this sample given fluid temp ~145°F vs seabed ~40°F).

multiphase_flow.csv — 5-class flow regime classification per Mandhane et al. (1974) / Beggs & Brill (1973) flow-regime maps: slug / annular / bubble / stratified / churn. Sample distribution is near-uniform (~20% each) for ML-balanced classification training.

integrity_risk_labels.csv — 3-class integrity grade derived from blockage probability:

Grade Trigger
LOW risk ≤ 0.45
MEDIUM 0.45 < risk ≤ 0.75
HIGH risk > 0.75

Suggested use cases

  1. Wax deposition rate regression — predict deposition_rate_mm_day from operating conditions (temperature/pressure/flow_rate) and WAT. Strong physics signal: threshold gating + delta-T correlation r ≈ 0.79.
  2. Asphaltene precipitation regression — predict precipitation_rate from pressure conditions and AOP. Strong physics signal: threshold gating + delta-P correlation r ≈ 0.75.
  3. Flow regime classification — multi-class (5-way) classifier on flow_regime from gas/liquid fractions + slug frequency features.
  4. Hydrate inhibition state classification — 3-class (active/ partial/failed) classifier for inhibition effectiveness ML.
  5. Pipeline integrity grading — 3-class ordinal classifier on integrity_grade (LOW/MEDIUM/HIGH) — useful as label-only reference; see Honest Disclosure §3 for feature-engineering caveats.
  6. Chemical injection optimization — regression on effectiveness_pct from inhibitor type + dosage features for chemical program tuning.
  7. Heat loss prediction — regression on heat_loss_btu from fluid/seabed temperature + pipeline characteristics. Anchors to ISO 13703 thermal design.
  8. Multi-table relational ML — entity-resolution and graph neural-network learning across the 9 joinable tables via pipeline_id + condition_id.

Loading

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

Or with pandas:

import pandas as pd
pipelines  = pd.read_csv("hf://datasets/xpertsystems/oil015-sample/pipelines_master.csv")
conditions = pd.read_csv("hf://datasets/xpertsystems/oil015-sample/operating_conditions.csv")
wax        = pd.read_csv("hf://datasets/xpertsystems/oil015-sample/wax_deposition.csv")
asp        = pd.read_csv("hf://datasets/xpertsystems/oil015-sample/asphaltene_precipitation.csv")

# Wax deposition is keyed by condition_id (embedded in wax_id):
wax["condition_id"] = wax["wax_id"].str.replace("WAX-", "", regex=False)
wax_joined = wax.merge(conditions, on="condition_id")
# Now you have WAT + T_fluid + P_fluid features ready for ML

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 for flow assurance ML research, not for live pipeline operations decisions. Several important notes:

  1. Operating conditions are independent of pipeline characteristics. The generator samples pressure/temperature/flow_rate from fixed Gaussians, not conditioned on pipeline diameter, water depth, design pressure, or insulation type. This is a deliberate simplification for ML-balanced training but is not realistic — real deepwater pipelines run colder than onshore (better heat transfer to seabed), and design pressure limits operating pressure. For physics-realistic conditioning ML, treat operating conditions as features and pipeline characteristics as separate features rather than expecting cross-table coupling.

  2. Hydrate events have no thermodynamic gating. Real hydrate formation occurs inside the hydrate envelope (low T, high P region per Sloan & Koh 2008). The generator samples hydrate_risk_score from N(0.35, 0.15) independent of T/P, so hydrate risk is not physically coupled to operating conditions. This is a significant simplification. For hydrate ML that requires T-P-conditioned risk, use a Sloan & Koh CSMHYD-style envelope calculation on top of operating conditions, or wait for the full product v1.1 which will introduce envelope-aware hydrate gating.

  3. integrity_risk_labels.csv is feature-decoupled. The blockage probability is sampled from N(0.25, 0.15) independent of wax deposition rate, asphaltene precipitation, hydrate risk, or other upstream features. Models trained to predict integrity_grade from upstream features will not learn meaningful patterns because the label is not a function of the features. This is a generator design choice (likely placeholder for future coupling). For integrity-grade ML, build a derived label from weighted combinations of wax_thickness_mm, hydrate_risk_score, precipitation_rate, and heat_loss_btu rather than using the sampled label directly. The integrity_risk_labels table is best used as a reference distribution for production label calibration, not as a supervised ML target.

  4. Chemical injection effectiveness is uniform-sampled. The effectiveness_pct column from U(40, 99) is not tied to inhibitor type, dosage, or operating conditions — so an "MEG @ 100 ppm in a wax-deposition scenario" might show 95% effectiveness in the sample, which is physically wrong (MEG is a hydrate inhibitor, not a wax inhibitor). Inhibitor-effectiveness ML on this sample will learn marginals, not couplings. For physically-correct inhibitor-effectiveness ML, post-process the data to align inhibitor type with deposition type, or wait for the full product v1.1.

  5. Wax/asphaltene rates are dimensionless multipliers, not physically calibrated. The wax U(0.01, 0.15) multiplier and asphaltene U(0.0001, 0.005) multiplier produce rates in the correct order of magnitude (mm/day for wax, dimensionless flux for asphaltene) but are not calibrated to specific crude compositions. For absolute-rate prediction, the labels need recalibration against the user's crude assay; for relative ranking ML (e.g., "which pipeline is most at risk"), the relative ordering is preserved.

  6. No time-series autocorrelation across hourly steps. Each row in operating_conditions.csv is sampled independently — there's no Markov / AR / drift modeling across consecutive hours. Time- series ML that relies on temporal smoothness will not get realistic signal from this data. Treat the sample as a panel of independent observations, not as time-series.

  7. Pipeline length / diameter are uniformly distributed, not conditioned on pipeline type. Real LNG feed lines run 36"+ for high-volume gas transport; real heavy-oil gathering lines are typically 6-12". The sample uses U(4, 36) inches across all types. For type-conditional ML, post-process the data with industry-standard pipeline-sizing priors.


Full product

The full OIL-015 dataset (in development) will ship at 5,000+ pipelines × 8,760 hourly records (1 full year) with physics-conditioned hydrate envelope gating (Sloan & Koh CSMHYD-style), type-conditional pipeline sizing, coupled integrity-risk labels derived from upstream deposition features, and inhibitor-specific effectiveness coupling — licensed commercially. Contact XpertSystems.ai for licensing terms.

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


Citation

@dataset{xpertsystems_oil015_sample_2026,
  title  = {OIL-015: Synthetic Flow Assurance Dataset (Sample)},
  author = {XpertSystems.ai},
  year   = {2026},
  url    = {https://huggingface.co/datasets/xpertsystems/oil015-sample}
}

Generation details

  • Sample version : 1.0.0
  • Random seed : 42
  • Generated : 2026-05-22 13:17:09 UTC
  • Pipelines : 300
  • Rows per pipeline : 100 (~hourly for ~4 days)
  • Pipeline types : 6 (deepwater subsea, heavy oil gathering, gas condensate, LNG feed, offshore export, shale multiphase)
  • Insulation types : 5 (wet insulation, pipe-in-pipe, foam, none, vacuum insulated)
  • Flow regimes : 5 (slug, annular, bubble, stratified, churn)
  • Inhibitor types : 4 (MEG, methanol, wax inhibitor, asphaltene dispersant)
  • Calibration basis : NACE TM0274, NACE SP0775, Sloan & Koh (2008), SPE 28994 (Hammami & Raines), Mandhane (1974), Beggs & Brill (1973), API RP-14E, ISO 13703, DNV-RP-F101, Pedersen (1991), Rystad, IHS
  • Overall validation: 100.0/100 — Grade A+
Downloads last month
36