writing portable building analytics [email protected] ... · - survey 90 apps from building...
TRANSCRIPT
![Page 1: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/1.jpg)
Writing Portable Building Analytics with the Brick Metadata Schema
Gabe Fierro, UC BerkeleyACM E-Energy
![Page 2: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/2.jpg)
Outline1. Lecture on Brick Schema
2. Overview of Mortar platform
3. Guided exploration of Mortar with online tutorial
Resources
Brick Websitehttps://brickschema.org/
Mortar Websitehttps://mortardata.org/
Tutorial Pagehttps://tutorial.mortardata.org/
Brick Explore Toolhttps://querybuilder.mortardata.org/
![Page 3: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/3.jpg)
Applications
Occupant Interaction
Demand Response
Occupancy Models Predictive Control
NILM
Fault Detection
Management Services
Data StorageAPIs
Monitoring Search
Access Control
Privacy
BuildingsLarge CommercialResidential
Research Lab Small Commercial
Factory
Hospital
SensorsEquipment
AppliancesHVAC
Fire Safety Conditioning
Lighting
Metering
![Page 4: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/4.jpg)
BuildingsLarge CommercialResidential
Research Lab Small Commercial
Factory
Hospital
SensorsEquipment
AppliancesHVAC
Fire Safety Conditioning
Lighting
Metering
- Different BMS, equipment vendors- Custom-designed controls, systems, architecture- All of this changes over time
Heterogeneity
![Page 5: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/5.jpg)
Existing Metadata Schemata
- Survey 90 apps from building science literature
- Decompose apps into “things” and “relationships”
- Can existing schemas describe what’s needed?
- NO!
Bhattacharya, Arka, Joern Ploennigs, and David Culler. "Short Paper: Analyzing Metadata Schemas for Buildings: The Good, the Bad, and the Ugly." BuildSys, 2015.
IFC SSN Haystack
Tag Coverage 29% 11% 54%
Relationships n/a Only spatial n/a
![Page 6: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/6.jpg)
Applications
Occupant Interaction
Demand Response
Occupancy Models Predictive Control
NILM
Fault Detection
Management Services
Data StorageAPIs
Monitoring Search
Access Control
Privacy
BRICK Metadata Schema
- Write applications against BRICK
- Apps become agnostic to the underlying hardware
- No more hard-coding points in applications
- “Write once, run anywhere”
![Page 8: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/8.jpg)
Equipment
Fire Safety System
HVAC
AHU
Terminal Unit
VAV
Fan Coil Unit
Point
Command
Sensor
Temperature Sensor
Room Temperature Sensor
Water Temperature Sensor
Location
Floor
Room
Server Room
Laboratory
Resource
Water
![Page 9: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/9.jpg)
Equipment
Point
Location
hasPoint
isPartOf
controls
hasLocation
isPartOf,feedshasLocation,
feeds
![Page 10: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/10.jpg)
Relationship Definition
contains/isLocatedIn Spatial location of the subject: room, building, campus, city chain
controls/isControlledBy Identifies the affected subject of some control block (probably a functional block)
hasPart/isPartOf Mechanical composition
hasPoint/isPointOf Associates measurement points/timeseries with the entity it measures for
feeds/isFedBy The passage of some medium: light, air, power, water, etc
type/isTypeOf Instantiates “things”
![Page 11: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/11.jpg)
- Nodes = “things”- Building assets- Equipment- Subsystems- Class structure
- Edges = “relationships”- Location- Control- Connectivity- Composition- etc
![Page 12: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/12.jpg)
![Page 13: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/13.jpg)
![Page 14: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/14.jpg)
![Page 15: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/15.jpg)
A Brick model represents the assets and relationships and data in a building
represents
Brick model
![Page 16: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/16.jpg)
An application queries a Brick model to retrieve the data + configuration it needs
queries
Application
Query
Brick model
![Page 17: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/17.jpg)
Queries allow apps to account for building heterogeneity and customize their operation to each building.
This is called application portability
Query
executes
![Page 18: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/18.jpg)
Outline1. Lecture on Brick Schema
2. Overview of Mortar platform
3. Guided exploration of Mortar with online tutorial
Resources
Brick Websitehttps://brickschema.org/
Mortar Websitehttps://mortardata.org/
Tutorial Pagehttps://tutorial.mortardata.org/
Brick Explore Toolhttps://querybuilder.mortardata.org/
![Page 19: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/19.jpg)
![Page 20: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/20.jpg)
WS86004.RELAYXX
![Page 21: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/21.jpg)
● Open data set of buildings with timeseries data and Brick models
● Modular, extensible architecture for portable analytics applications
● Data platform for the development, execution and evaluation of portable analytics
![Page 22: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/22.jpg)
![Page 23: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/23.jpg)
![Page 24: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/24.jpg)
![Page 25: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/25.jpg)
Facilitating reproducibility means reducing the effort of implementation/evaluation across contexts:
1. Expressive description of data + context (Brick)2. Large, diverse dataset3. Application-specific normalization of data
![Page 26: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/26.jpg)
- pymortar
![Page 28: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/28.jpg)
- UC Davis campus data- ~ 90 buildings (not all with data)- 3-6 years of data- ~15min collection interval- HVAC system, building meter
- XBOS-DR/V data- 15 RTU-based buildings- 1-9 months of data- ~10-30sec collection interval- HVAC, Lighting, building meter,
occupancy, PV, EVSE
![Page 29: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/29.jpg)
![Page 30: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/30.jpg)
![Page 31: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/31.jpg)
Met
adat
a (C
onte
xt)
Tim
eser
ies
Dat
a
![Page 32: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/32.jpg)
Met
adat
a (C
onte
xt)
Tim
eser
ies
Dat
a
![Page 33: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/33.jpg)
Met
adat
a (C
onte
xt)
Tim
eser
ies
Dat
a
![Page 34: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/34.jpg)
Met
adat
a (C
onte
xt)
Tim
eser
ies
Dat
a
![Page 35: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/35.jpg)
Met
adat
a (C
onte
xt)
Tim
eser
ies
Dat
a
Declarative Mortar API allows applications to project heterogeneous data into a tractable form
![Page 36: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/36.jpg)
![Page 37: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/37.jpg)
![Page 38: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/38.jpg)
Outline1. Lecture on Brick Schema
2. Overview of Mortar platform
3. Guided exploration of Mortar with online tutorial
Resources
Brick Websitehttps://brickschema.org/
Mortar Websitehttps://mortardata.org/
Tutorial Pagehttps://tutorial.mortardata.org/
Brick Explore Toolhttps://querybuilder.mortardata.org/
![Page 39: Writing Portable Building Analytics gtfierro@eecs.berkeley ... · - Survey 90 apps from building science literature ... Modular, extensible architecture for portable analytics applications](https://reader034.vdocuments.net/reader034/viewer/2022050719/5f1703c739df7b3cb11005c2/html5/thumbnails/39.jpg)
Interactive Portion1. Go to mortardata.org and click “Sign Up” to
make an account
2. Go to tutorial.mortardata.org
3. Complete the first 2 cells