oil023_sample / README.md
wangdx25's picture
Add TsFile (converted from xpertsystems/oil023-sample)
22a9258 verified
|
Raw History Blame Contribute Delete
11.3 kB
metadata
license: cc-by-nc-4.0
task_categories:
  - tabular-classification
  - tabular-regression
  - time-series-forecasting
language:
  - en
tags:
  - tsfile
  - timeseries
  - time-series
  - synthetic
  - oil-and-gas
  - downstream
  - catalyst
  - deactivation
  - arrhenius
  - fcc
  - hydrocracker
  - predictive-maintenance
  - xpertsystems
  - format:tsfile
pretty_name: OIL-023 — Synthetic Catalyst Degradation Dataset (Sample) (TsFile)
size_categories:
  - 100K<n<1M
configs:
  - config_name: default
    data_files:
      - split: catalyst_activity
        path: catalyst_activity.tsfile
      - split: catalyst_economics
        path: catalyst_economics.tsfile
      - split: catalyst_failures
        path: catalyst_failures.tsfile
      - split: catalyst_labels
        path: catalyst_labels.tsfile
      - split: catalyst_master
        path: catalyst_master.tsfile
      - split: coke_deposition
        path: coke_deposition.tsfile
      - split: conversion_efficiency
        path: conversion_efficiency.tsfile
      - split: emissions_impact
        path: emissions_impact.tsfile
      - split: poisoning_events
        path: poisoning_events.tsfile
      - split: pressure_drop_profiles
        path: pressure_drop_profiles.tsfile
      - split: reactor_operations
        path: reactor_operations.tsfile
      - split: reactors_master
        path: reactors_master.tsfile
      - split: regeneration_cycles
        path: regeneration_cycles.tsfile

OIL-023 — Synthetic Catalyst Degradation Dataset (Sample) (TsFile)

Apache TsFile version of xpertsystems/oil023-sample.

Overview

A free, schema-identical preview of XpertSystems.ai's enterprise catalyst degradation dataset for catalyst deactivation modeling, activity decay prediction, coke deposition forecasting, regeneration cycle optimization, catalyst RUL prediction, and replacement economics ML. The sample covers 50 reactors across 11 process units and 10 global regions, with 164,608 rows linked across 13 tables spanning 365 days of daily simulation.

  • Tables: 13 TsFile table(s), 164,608 rows in total.
    • catalyst_activity: 18,250 rows, 2020-01-01 00:00:00 → 2020-12-30 00:00:00.049000 (UTC)
    • catalyst_economics: 18,250 rows, 2020-01-01 00:00:00 → 2020-12-30 00:00:00.049000 (UTC)
    • catalyst_failures: 2 rows, 2020-08-14 00:00:00 → 2020-11-16 00:00:00 (UTC)
    • catalyst_labels: 18,250 rows, 2020-01-01 00:00:00 → 2020-12-30 00:00:00.049000 (UTC)
    • catalyst_master: 200 rows, 2020-01-01 00:00:00 → 2020-06-26 00:00:00 (UTC)
    • coke_deposition: 18,250 rows, 2020-01-01 00:00:00 → 2020-12-30 00:00:00.049000 (UTC)
    • conversion_efficiency: 18,250 rows, 2020-01-01 00:00:00 → 2020-12-30 00:00:00.049000 (UTC)
    • emissions_impact: 18,250 rows, 2020-01-01 00:00:00 → 2020-12-30 00:00:00.049000 (UTC)
    • poisoning_events: 18,250 rows, 2020-01-01 00:00:00 → 2020-12-30 00:00:00.049000 (UTC)
    • pressure_drop_profiles: 18,250 rows, 2020-01-01 00:00:00 → 2020-12-30 00:00:00.049000 (UTC)
    • reactor_operations: 18,250 rows, 2020-01-01 00:00:00 → 2020-12-30 00:00:00.049000 (UTC)
    • reactors_master: 50 rows, 1970-01-01 00:00:00 → 1970-01-01 00:00:00.049000 (UTC)
    • regeneration_cycles: 106 rows, 2020-02-17 00:00:00 → 2020-12-30 00:00:00.001000 (UTC)

Schema (TsFile structure)

catalyst_activity.tsfile

  • Time (INT64, milliseconds) — the source timestamp column.
  • TAG: none — the table is stored as a single device.
  • FIELD (8): activity_id (string), reactor_id (string), catalyst_id (string), relative_activity_pct (double), activity_loss_pct (double), cycle_number (int64), days_since_last_regen (double), estimated_remaining_life_days (double)

catalyst_economics.tsfile

  • Time (INT64, milliseconds) — the source timestamp column.
  • TAG: none — the table is stored as a single device.
  • FIELD (8): econ_id (string), reactor_id (string), catalyst_id (string), catalyst_cost_usd (double), estimated_lost_margin_usd_day (double), regeneration_cost_usd (double), replacement_cost_usd (double), replacement_roi_score (double)

catalyst_failures.tsfile

  • Time (INT64, milliseconds) — the source timestamp column.
  • TAG: none — the table is stored as a single device.
  • FIELD (8): failure_id (string), reactor_id (string), catalyst_id (string), root_cause (string), shutdown_flag (int64), downtime_hr (double), economic_impact_usd (double), severity (string)

catalyst_labels.tsfile

  • Time (INT64, milliseconds) — the source timestamp column.
  • TAG: none — the table is stored as a single device.
  • FIELD (8): label_id (string), reactor_id (string), catalyst_id (string), catalyst_health_score (double), replacement_priority (string), regeneration_recommended_flag (int64), replacement_recommended_flag (int64), shutdown_risk_score (double)

catalyst_master.tsfile

  • Time (INT64, milliseconds) — the source install_date column.
  • TAG: none — the table is stored as a single device.
  • FIELD (13): catalyst_id (string), reactor_id (string), process_unit (string), catalyst_type (string), vendor_name (string), lot_number (string), surface_area_m2_g (double), pore_volume_cc_g (double), fresh_activity_pct (double), fresh_selectivity_pct (double), bulk_density_g_cc (double), catalyst_cost_usd_per_lb (double), inventory_lb (double)

coke_deposition.tsfile

  • Time (INT64, milliseconds) — the source timestamp column.
  • TAG: none — the table is stored as a single device.
  • FIELD (6): coke_id (string), reactor_id (string), catalyst_id (string), coke_loading_wt_pct (double), carbon_laydown_rate_wt_pct_day (double), pore_blockage_index (double)

conversion_efficiency.tsfile

  • Time (INT64, milliseconds) — the source timestamp column.
  • TAG: none — the table is stored as a single device.
  • FIELD (7): conversion_id (string), reactor_id (string), catalyst_id (string), feed_conversion_pct (double), selectivity_pct (double), yield_pct (double), hydrogen_utilization_efficiency (double)

emissions_impact.tsfile

  • Time (INT64, milliseconds) — the source timestamp column.
  • TAG: none — the table is stored as a single device.
  • FIELD (5): emission_id (string), reactor_id (string), co2_tpd (double), nox_ppm (double), sox_ppm (double)

poisoning_events.tsfile

  • Time (INT64, milliseconds) — the source timestamp column.
  • TAG: none — the table is stored as a single device.
  • FIELD (7): poison_id (string), reactor_id (string), catalyst_id (string), sulfur_ppm (double), nitrogen_ppm (double), metals_ppm (double), poisoning_index (double)

pressure_drop_profiles.tsfile

  • Time (INT64, milliseconds) — the source timestamp column.
  • TAG: none — the table is stored as a single device.
  • FIELD (5): dp_id (string), reactor_id (string), pressure_drop_psi (double), bed_channeling_score (double), hotspot_risk_score (double)

reactor_operations.tsfile

  • Time (INT64, milliseconds) — the source timestamp column.
  • TAG: none — the table is stored as a single device.
  • FIELD (10): op_id (string), reactor_id (string), process_unit (string), feed_type (string), reactor_temp_f (double), reactor_pressure_psi (double), throughput_bpd (double), hydrogen_partial_pressure_psi (double), severity_index (double), anomaly_flag (int64)

reactors_master.tsfile

  • Time (INT64, milliseconds) — synthetic row index over the stable source order; this table has no clock column.
  • TAG: none — the table is stored as a single device.
  • FIELD (11): reactor_id (string), process_unit (string), refinery_region (string), feed_type (string), design_temp_f (double), design_pressure_psi (double), design_throughput_bpd (int64), design_pressure_drop_psi (double), target_conversion_pct (double), target_hydrogen_utilization (double), nominal_catalyst_life_days (int64)

regeneration_cycles.tsfile

  • Time (INT64, milliseconds) — the source timestamp column.
  • TAG: none — the table is stored as a single device.
  • FIELD (10): regen_id (string), reactor_id (string), catalyst_id (string), cycle_number (int64), regen_temp_f (double), oxygen_pct (double), regen_duration_hr (double), coke_burnoff_efficiency (double), regeneration_efficiency (double), thermal_damage_factor (double)

Conversion notes

  • One TsFile per source CSV (13 tables); each table is stored as a single device, so the rig / well / tank / equipment / sensor identifiers stay ordinary FIELDs.
  • Time = the table's own clock column as INT64 milliseconds (event timestamps, sample or inspection dates, and daily record dates). The clock columns used here are install_date, timestamp.
  • Tables with no clock column (reactors_master) use a synthetic row index over their stable source order as Time.
  • No column is dropped. Rows that share a timestamp are ordered by a 1 ms step in stable source order, so daily tables keep their exact calendar day.

Usage

Read this dataset with the Java SDK. It is written with the zstd compressor. The Apache TsFile Java SDK reads every compressor, but the Python SDK (pip install tsfile) implements only UNCOMPRESSED, SNAPPY, GZIP and LZ4; opening this file with it yields no rows.

Read a converted file with the Apache TsFile Java SDK (org.apache.tsfile:tsfile):

import org.apache.tsfile.file.metadata.IDeviceID;
import org.apache.tsfile.read.TsFileReader;
import org.apache.tsfile.read.TsFileSequenceReader;
import org.apache.tsfile.read.common.Path;
import org.apache.tsfile.read.expression.QueryExpression;
import org.apache.tsfile.read.query.dataset.QueryDataSet;
import org.apache.tsfile.write.schema.MeasurementSchema;

import java.util.ArrayList;
import java.util.List;

String path = "catalyst_activity.tsfile";
try (TsFileSequenceReader sequenceReader = new TsFileSequenceReader(path);
     TsFileReader reader = new TsFileReader(sequenceReader)) {
    // Devices are enumerated as IDeviceID objects. Tables with TAG columns
    // have multi-segment device ids that cannot be rebuilt from their string
    // form, so always use getAllDevices() rather than getAllDeviceIds().
    for (IDeviceID device : sequenceReader.getAllDevices()) {
        List<Path> paths = new ArrayList<>();
        for (MeasurementSchema schema : reader.getMeasurement(device)) {
            String name = schema.getMeasurementName();
            if (name != null && !name.isEmpty() && !name.equalsIgnoreCase("Time")) {
                paths.add(new Path(device, name, true));
            }
        }
        QueryDataSet dataSet = reader.query(QueryExpression.create(paths, null));
        while (dataSet.hasNext()) {
            System.out.println(dataSet.next());
        }
    }
}

Source & license

  • Original dataset: xpertsystems/oil023-sample
  • Source card title: OIL-023 — Synthetic Catalyst Degradation Dataset (Sample)
  • License: cc-by-nc-4.0 (as declared by the original dataset).