This work presents the implementation section of the journal article Data mining cubes for buildings, a generic framework for multidimensional analytics of building performance data. The mentioned article puts forward a multidimensional method leveraging the well-established structures of data cubes to tackle the complexities endowed from high-dimensional building data.
In short, the work compels building analysts to a common data mining approach from the four following contributions:
- Establishing a generic building-analysis data mining framework for unified, systematic and more interpretable analytics.
- Framing a multidimensional approach to big building data from conclusively adopted data cube structures, while linking dimensional frames to application- and insight-driven approaches.
- Assembling and/or employing open building data test sets to serve as benchmarks for studies, and delivering more comparable & empirically validated analytics. In this case, the Building Data Genome Project 2 was used, serving as an open test-case illustration comprising 3,053 energy meters from 1,636 buildings.
- Finally, developing replicable and open-source implementations of typical building energy management applications, thus enhancing knowledge transfer within the field; which we endorsed by providing open access implementations of our applied method, here presented.
We believe ensuing these steps will cultivate more generalizable findings and insights while vastly contributing to the practical adoption of a common language for data analytics within the building sector.
This repository comprises the automated pattern filtering application, dayfilter, from the work of Miller et. al (2015) extended to a 3-dimensional building-cube, revealing three typical building-analytical approaches, i.e., top-down, bottom-up and temporal drill-in.
Discovered knowledge is illustrated through impactful and effective visualizations to allow human inspection while paving the way towards a wider adoption of more interpretable mining processes. Our findings highlight the importance of a priori defining dimensional spaces to explore through mining, driven by explicit questions the analyst is seeking to answer, e.g., โHow does my building perform compared to its peers?โ.
The directory is divided in sub-folders;
Just clone this repository on your computer or Fork it on GitHub. After installing dependencies from requirements.txt
files, the code should run properly.
This research uses the open building-data-genome-project-2 data set, available on github. Only the raw data from the BDG2 set are extracted.
The sets are cleaned following the steps described in the Data Cleaning notebook and stored under data/cleaned/
.
The source code used for the analysis can be found under the code folder, in form of Jupyter notebooks.
This work follows the Automated daily pattern filtering of measured building performance data method proposed by Miller et. al, using time series Symbolic Aggregate approXimation (SAX). Daily profiles are segmented, piece-wise approximated and transformed to alphabet sequences representing daily motifs and discords.
The analysis then performs pattern identification as an OnLine Analytical Mining (OLAM) process over each cuboid of the 2D lattice of the three dimensional cube. Each cuboids appeals to a specific insight windown, namely, building benchmarking (Cuboid A), in-site view (Cuboid B) and temporal drill-in analysis (Cuboid C).
Prof. Clayton Miller
Prof. Wim Zeiler
This project is licensed under the MIT License - see the LICENSE.md file for details