Dataset Viewer
Auto-converted to Parquet Duplicate
building
string
source
string
building_type
string
location
string
timezone
string
native_step
string
start
string
end
string
n_points
int64
n_observation_points
int64
n_controllable
int64
n_observation_rows
int64
tables
string
exact_duplicate_rows_removed
int64
exact_duplicate_files_removed
int64
caveats
string
status
string
SB1
Google Smart Buildings
office
Mountain View, CA
America/Los_Angeles
5min
2019-01-01 00:00:00+00:00
2024-07-31 23:55:00+00:00
4,470
1,198
772
542,592
actions;observations;reward;reward_info
0
0
rebuilt from raw logs; real missing values + validity mask; whole-day BMS outages (e.g. 93/213 days in 2024)
built
SB2
Google Smart Buildings
office
Mountain View, CA
America/Los_Angeles
5min
2019-01-01 00:00:00+00:00
2024-07-31 23:55:00+00:00
3,136
1,396
4
587,726
actions;observations;reward;reward_info
812
48
values integer-truncated and zero-filled by the source export (not recoverable); mixed degF/K
built
SB3
Google Smart Buildings
office
Mountain View, CA
America/Los_Angeles
5min
2020-01-01 00:00:00+00:00
2020-12-31 23:55:00+00:00
13,610
8,075
6
105,408
actions;observations;reward;reward_info
568
0
2020 only; integer-truncated and zero-filled by source; most channels all-zero
built
SB4
University collaboration
academic / research
Syracuse, NY
America/New_York
5min
2023-12-08 16:25:00+00:00
2026-04-02 04:00:00+00:00
8,600
8,600
0
159,231
observations
300,718
0
whole-building BAS panels; three overlapping source exports merged; provider point notes applied as flags
built
SB5
University collaboration
residential (retrofit study)
Syracuse, NY
America/New_York
1min
2021-08-02 14:21:00+00:00
2023-05-09 23:25:00+00:00
477
477
0
838,222
observations
0
0
8 units + shared site weather; before/after retrofit periods
built
SB6
University collaboration
laboratory
Syracuse, NY
America/New_York
5min
2022-10-02 19:40:00+00:00
2025-01-13 11:55:00+00:00
1,078
1,078
0
192,095
observations
1
0
single-floor lab with a dedicated AHU and 13 VAVs, located on the 4th floor of SB4
built
SB7
Campus BAS
academic
Needham, MA
America/New_York
15min
2019-06-13 00:00:00+00:00
2024-07-12 15:30:00+00:00
1,005
1,005
0
164,429
observations
352,327
0
null
built
SB8
Campus BAS
student center (dining) with central plant
Needham, MA
America/New_York
15min
2018-05-30 08:30:00+00:00
2024-07-12 14:45:00+00:00
758
758
240
168,217
observations
52,022
0
includes the central plant that shares its floor plans; 6 points exported by both trend sets merged
built
SB9
Campus BAS
academic
Needham, MA
America/New_York
15min
2019-06-13 00:00:00+00:00
2024-07-10 22:30:00+00:00
918
918
0
164,112
observations
208,795
0
null
built
SB10
Campus BAS
residence hall
Needham, MA
America/New_York
15min
2019-06-13 00:00:00+00:00
2024-07-13 17:45:00+00:00
1,358
1,358
0
175,826
observations
470,842
0
null
built
SB11
Campus BAS
residence hall
Needham, MA
America/New_York
15min
2020-04-13 20:30:00+00:00
2024-07-12 23:00:00+00:00
500
500
0
127,693
observations
455,780
0
null
built

Smart Buildings Dataset (SB1–SB11)

Operational data from 11 buildings, 3 sources, 2018–2026: building automation system (BAS) sensors, setpoints, commands and status, plus RL-style actions and rewards for the three Google buildings. Every building is stored at its native time resolution with values exactly as recorded, in native units. A single channel table (points.parquet) describes every channel in the same vocabulary across buildings.

Buildings

Building Source Type Location Native step Span (UTC) Channels
SB1 Google Smart Buildings office Mountain View, CA 5 min 2019-01 → 2024-07 4,470
SB2 Google Smart Buildings office Mountain View, CA 5 min 2019-01 → 2024-07 3,136
SB3 Google Smart Buildings office Mountain View, CA 5 min 2020 13,610
SB4 University collaboration academic / research Syracuse, NY 5 min 2023-12 → 2026-04 8,600
SB5 University collaboration residential (retrofit study) Syracuse, NY 1 min 2021-08 → 2023-05 477
SB6 University collaboration laboratory Syracuse, NY 5 min 2022-10 → 2025-01 1,078
SB7 Campus BAS academic Needham, MA 15 min 2019-06 → 2024-07 1,005
SB8 Campus BAS student center (dining) with central plant Needham, MA 15 min 2018-05 → 2024-07 758
SB9 Campus BAS academic Needham, MA 15 min 2019-06 → 2024-07 918
SB10 Campus BAS residence hall Needham, MA 15 min 2019-06 → 2024-07 1,358
SB11 Campus BAS residence hall Needham, MA 15 min 2020-04 → 2024-07 500

Building IDs match Table 1 of the paper. buildings.csv has the authoritative numbers.

Layout

buildings.csv                      one row per building
points.parquet                     channel table for all buildings (also SBx/points.csv)
loader.py                          reference loader
SBx/timeseries/<table>/<year>.parquet              wide table: UTC index "timestamp", one column per channel
SBx/timeseries/<table>/<year>.irregular.parquet    long table (timestamp, point_id, value): samples off the native grid
SBx/timeseries/<table>/<year>.<aux>.parquet        auxiliary tables (see below)
SBx/provenance.json                inputs with sha256, processing steps, removal log
SBx/metadata/                      floor plans, device/zone info where available

Tables: SB1–SB3 have observations, actions, reward_info, reward; all other buildings have observations only (whether a channel is controllable is a channel-table attribute).

Auxiliary tables:

  • observations/<year>.valid (SB1): per-reading validity flag from the source (1 valid, 0 invalid, −1 not reported).
  • observations/<year>.offset (SB1): ns between each reading's own timestamp and the 5-min step.
  • actions/<year>.status (SB1): action response type (1 = accepted; see smart_control_building.proto).
  • <year>.text: free-text values (e.g. SB1 action response messages).
  • <year>.meta: per-row metadata; dup_index > 0 marks a repeated timestamp with different values.
  • <year>.index (SB7–SB11): the BAS record number of each sample (SB8: <point>#plant_export holds the central-plant export's record numbers for the 6 points both exports share).
  • <year>.rowinfo (SB4, SB5, SB6): maps every source line to its stored row (source file, line, original local time).

Principles

  • Nothing removed except exact duplicates. Rows that repeat a timestamp with identical values in every column, and byte-identical copies of files, were removed; counts are in buildings.csv and each provenance.json. Everything else is kept, including all-zero, alarm and label channels, and repeated timestamps with differing values.
  • No resampling. Off-grid samples are kept in .irregular tables, not snapped or interpolated.
  • Missing is NaN. Never 0. The exception is data the source itself zero-filled (SB2/SB3; see caveats), where zeros are kept as recorded and flagged.
  • Native units. points.unit gives the recorded unit, points.to_si the conversion. The loader converts on request (si=True).

Channel table (points.parquet)

point_id (column name in the timeseries), building, table, source_name, description, equipment, equipment_type, kind (sensor / setpoint / command / status / alarm / meter / calc / label / unknown), quantity (temperature, airflow, co2, pressure, power, …), unit, to_si, precision, value_type, value_labels, controllable, n_samples, frac_missing, all_zero, constant, first_valid, last_valid, flags, notes.

Classification (equipment, kind, quantity) is rule-based from source names; when the rules don't match, the value is unknown rather than a guess.

Common flags: zero_filled_source, integer_truncated_source, zero_means_missing, few_distinct_values, unit_unknown, unit_header_conflict, unit_quantity_mismatch, confused_in_source_sheet, exclude_suggested:<reason>.

Loading from Hugging Face

from datasets import load_dataset
points = load_dataset("Jgoldfeder/smart-buildings", "points", split="train").to_pandas()
sb4 = load_dataset("Jgoldfeder/smart-buildings", "SB4_observations", split="train")   # all years

Each SBx_<table> configuration is one building's wide table (all years). Auxiliary tables (validity masks, off-grid samples, row metadata) are not exposed as configurations; get them with the full download and loader.py:

from huggingface_hub import snapshot_download
path = snapshot_download("Jgoldfeder/smart-buildings", repo_type="dataset")            # ~6 GB
# or only one building: snapshot_download(..., allow_patterns=["SB1/*", "*.csv", "*.parquet", "loader.py"])
import sys; sys.path.insert(0, path); import loader as sb
df = sb.load("SB1", start="2023-01-01", end="2023-02-01", si=True)

Usage (local copy)

import loader as sb
sb.buildings()
pts = sb.points("SB1")
zone_temps = pts[(pts.table == "observations") & (pts.quantity == "temperature") & (pts.kind == "sensor")].point_id
df = sb.load("SB1", points=zone_temps, start="2023-01-01", end="2023-02-01", si=True)   # degC

Caveats

  • SB2 and SB3: precision lost at the source. Google's export stored observations, actions and reward info as integers (truncated toward zero) and replaced missing values with 0; the raw logs are not available, so this cannot be undone. Rewards are exact. Applying the same truncation to clean SB1 data shows temperatures in °F lose 0.62 °F on average (≈7.5% of a channel's std, correlation 0.9999 retained); airflow, CO2, occupancy and positions are nearly unaffected; channels with values in (0, 1) collapse (flagged few_distinct_values). See analysis/truncation_damage_sb1_2023.csv.
  • SB2 early years are mostly zero-fill. Fraction of zone-temperature readings that are real (non-zero) by year: 2019 4%, 2020 36%, 2021 78%, 2022 94%, 2023 80%, 2024 75%. Use mask_zero_fills=True (or the zero_means_missing flag) before training on SB2/SB3; without it, zero-filled kelvin temperatures convert to −273 °C.
  • SB1: building-system outages. SB1 is rebuilt from the raw logs with the source's validity flags. Whole days are invalid in places (e.g. 93 of 213 days in 2024). Google's earlier public SB1 tables stored these as 0 (49% of cells in its 2024 partition).
  • SB1–SB3 units differ by device. In SB1, VAV-level devices record °F and CFM, while AHU/plant devices record K, m³/s and Pa; SB2/SB3 mix °F and K. Units are assigned per channel and verified against recorded ranges.
  • Campus (SB7–SB11) units. Taken from the source trend sheet, with conflicts and unknowns flagged (e.g. temperatures logged in volts in SB10). Controllability is marked in the source only for SB8 (student center and its central plant).
  • SB4 and SB6 come from one export of the same campus BAS: SB4 is the whole building (16 controller panels, three overlapping exports merged; the newest contains every row of the other two) and SB6 is the laboratory, a single-floor laboratory on SB4's 4th floor with its own AHU and 13 VAVs. Rows of the panel files sharing a timestamp are combined when every shared channel is identical; genuinely conflicting rows are kept with dup_index. The provider's point-selection notes are applied only as flags.
  • SB5 has 8 residential units (channels UNIT<n>.*) and shared site weather (SITE.*); the retrofit phase (before/after) is in meta.parquet.
  • SB8 combines the student center and the central plant that shares its floor plans (74,631 sq ft in total). Six points appear in both source exports with identical values and are stored once.
  • Timezones. All timestamps are UTC. Campus sources logged local time with EST/EDT; SB4–SB6 sources logged naive local time, converted as documented in provenance.json.

Provenance

Each SBx/provenance.json lists every input file with its sha256, every processing step, and the exact-duplicate removal counts. Conversion and validation code is in code/.

License

Creative Commons Attribution 4.0 International (CC BY 4.0). SB1–SB3 derive from the Google Smart Buildings data; please also credit that source when using them.

Citation

If you use this dataset, please cite:

@article{goldfeder2024smart,
  title={The smart buildings control suite: A diverse open source benchmark to evaluate and scale hvac control policies for sustainability},
  author={Goldfeder, Judah and Dean, Victoria and Jiang, Zixin and Wang, Xuezheng and Lipson, Hod and Sipple, John and others},
  journal={arXiv preprint arXiv:2410.03756},
  year={2024}
}
Downloads last month
230

Paper for Jgoldfeder/smart-buildings