File size: 10,401 Bytes
62051b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
---
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
- equipment-performance
- predictive-maintenance
- condition-monitoring
- rul-prediction
- vibration-analysis
- iso-10816
- api-617
- xpertsystems
- format:tsfile
pretty_name: OIL-021 — Synthetic Equipment Performance Dataset (Sample) (TsFile)
size_categories:
- 100K<n<1M
configs:
- config_name: default
  data_files:
  - split: alarm_trip_logs
    path: alarm_trip_logs.tsfile
  - split: compressor_performance
    path: compressor_performance.tsfile
  - split: efficiency_tracking
    path: efficiency_tracking.tsfile
  - split: equipment_failures
    path: equipment_failures.tsfile
  - split: equipment_labels
    path: equipment_labels.tsfile
  - split: equipment_master
    path: equipment_master.tsfile
  - split: heat_exchanger_performance
    path: heat_exchanger_performance.tsfile
  - split: lubrication_analysis
    path: lubrication_analysis.tsfile
  - split: maintenance_events
    path: maintenance_events.tsfile
  - split: pump_operations
    path: pump_operations.tsfile
  - split: thermal_monitoring
    path: thermal_monitoring.tsfile
  - split: vibration_signals
    path: vibration_signals.tsfile
---

# OIL-021 — Synthetic Equipment Performance Dataset (Sample) (TsFile)

Apache TsFile version of [`xpertsystems/oil021-sample`](https://huggingface.co/datasets/xpertsystems/oil021-sample).

## Overview

A free, schema-identical preview of XpertSystems.ai's enterprise equipment performance dataset for **predictive maintenance ML, vibration analysis, condition monitoring, RUL (remaining useful life) prediction, and equipment health scoring** across rotating and static equipment. The sample covers **350 pieces of equipment** across **8 equipment types**, **6 plants**, and **7 OEMs**, with **179,149 rows** linked across **12 tables** via `equipment_id`.

- **Tables:** 12 TsFile table(s), 179,149 rows in total.
  - `alarm_trip_logs`: 2,347 rows, 2025-01-01 00:00:00 → 2025-01-05 23:00:00.020000 (UTC)
  - `compressor_performance`: 6,240 rows, 2025-01-01 00:00:00 → 2025-01-05 23:00:00.051000 (UTC)
  - `efficiency_tracking`: 42,000 rows, 2025-01-01 00:00:00 → 2025-04-30 00:00:00.349000 (UTC)
  - `equipment_failures`: 47 rows, 2025-01-31 00:00:00 → 2025-12-12 00:00:00 (UTC)
  - `equipment_labels`: 350 rows, 1970-01-01 00:00:00 → 1970-01-01 00:00:00.349000 (UTC)
  - `equipment_master`: 350 rows, 2005-01-27 00:00:00 → 2024-12-02 00:00:00 (UTC)
  - `heat_exchanger_performance`: 7,320 rows, 2025-01-01 00:00:00 → 2025-01-05 23:00:00.060000 (UTC)
  - `lubrication_analysis`: 5,600 rows, 2025-01-01 00:00:00 → 2025-07-30 00:00:00.349000 (UTC)
  - `maintenance_events`: 1,015 rows, 2025-01-02 00:00:00 → 2025-12-31 00:00:00 (UTC)
  - `pump_operations`: 8,880 rows, 2025-01-01 00:00:00 → 2025-01-05 23:00:00.073000 (UTC)
  - `thermal_monitoring`: 21,000 rows, 2025-01-01 00:00:00 → 2025-01-03 11:00:00.349000 (UTC)
  - `vibration_signals`: 84,000 rows, 2025-01-01 00:00:00 → 2025-01-02 15:50:00.349000 (UTC)

## Schema (TsFile structure)

### `alarm_trip_logs.tsfile`

- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (5): `alarm_id` (string), `equipment_id` (string), `alarm_code` (string), `trip_flag` (int64), `priority` (string)

### `compressor_performance.tsfile`

- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (10): `compressor_id` (string), `equipment_id` (string), `suction_pressure_psi` (double), `discharge_pressure_psi` (double), `pressure_ratio` (double), `flow_rate_mmscfd` (double), `surge_margin_pct` (double), `compressor_efficiency_pct` (double), `power_kw` (double), `anti_surge_valve_pct` (double)

### `efficiency_tracking.tsfile`

- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (5): `record_id` (string), `equipment_id` (string), `efficiency_pct` (double), `degradation_rate` (double), `runtime_hours` (int64)

### `equipment_failures.tsfile`

- **Time** (INT64, milliseconds) — the source `failure_date` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (6): `failure_id` (string), `equipment_id` (string), `failure_mode` (string), `root_cause` (string), `severity` (string), `repair_cost_usd` (double)

### `equipment_labels.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** (6): `label_id` (string), `equipment_id` (string), `health_score` (double), `failure_risk_class` (string), `rul_days` (int64), `maintenance_priority_score` (double)

### `equipment_master.tsfile`

- **Time** (INT64, milliseconds) — the source `commissioning_date` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (8): `equipment_id` (string), `equipment_type` (string), `plant_id` (string), `manufacturer` (string), `age_years` (double), `design_efficiency_pct` (double), `rated_power_kw` (double), `criticality` (string)

### `heat_exchanger_performance.tsfile`

- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (10): `hx_id` (string), `equipment_id` (string), `inlet_temp_f` (double), `outlet_temp_f` (double), `cooling_water_temp_f` (double), `flow_rate_gpm` (double), `duty_mmbtu_hr` (double), `pressure_drop_psi` (double), `fouling_factor` (double), `efficiency_pct` (double)

### `lubrication_analysis.tsfile`

- **Time** (INT64, milliseconds) — the source `sample_date` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (8): `sample_id` (string), `equipment_id` (string), `viscosity_cst` (double), `water_ppm` (double), `iron_ppm` (double), `copper_ppm` (double), `oxidation_abs_cm` (double), `contamination_score` (double)

### `maintenance_events.tsfile`

- **Time** (INT64, milliseconds) — the source `event_date` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (6): `event_id` (string), `equipment_id` (string), `event_type` (string), `maintenance_class` (string), `downtime_hours` (double), `parts_replaced` (string)

### `pump_operations.tsfile`

- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (8): `pump_id` (string), `equipment_id` (string), `flow_rate_bpd` (double), `head_ft` (double), `efficiency_pct` (double), `npsh_margin_ft` (double), `cavitation_index` (double), `motor_load_pct` (double)

### `thermal_monitoring.tsfile`

- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (6): `thermal_id` (string), `equipment_id` (string), `bearing_temp_f` (double), `winding_temp_f` (double), `casing_temp_f` (double), `cooling_efficiency_pct` (double)

### `vibration_signals.tsfile`

- **Time** (INT64, milliseconds) — the source `timestamp` column.
- **TAG**: none — the table is stored as a single device.
- **FIELD** (7): `sensor_id` (string), `equipment_id` (string), `vibration_rms_mmsec` (double), `vibration_peak_mmsec` (double), `bearing_temp_f` (double), `axial_vibration_mmsec` (double), `radial_vibration_mmsec` (double)

## Conversion notes

- One TsFile per source CSV (12 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 `commissioning_date`, `event_date`, `failure_date`, `sample_date`, `timestamp`.
- Tables with no clock column (`equipment_labels`) 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`):

```java
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 = "alarm_trip_logs.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/oil021-sample`](https://huggingface.co/datasets/xpertsystems/oil021-sample)
- Source card title: OIL-021 — Synthetic Equipment Performance Dataset (Sample)
- License: cc-by-nc-4.0 (as declared by the original dataset).