Article
Founder Note
17
min read
James Dice

Machine learning for buildings 101

June 10, 2020
I can see a day where the PID loops and basic control is done at the controller level, and the optimizations or the basic algorithms or the advanced algorithms are running at the edge on a bit of a, you know, better, PC, and then heavy machine learning, model building, advanced fault detection is done in the cloud. We think that's probably the progression.

—Terry Herr on the Nexus Podcast, Episode #009

Good morning!

Welcome to Nexus, a newsletter, podcast, and membership community for smart people applying smart building technology—written by James Dice. If you’re new to Nexus, you might want to start here.

Here’s an outline of this week’s newsletter:

  1. 🤔 ON MY MIND
  2. 🤖 MACHINE LEARNING FOR BUILDINGS 101
  3. 💡 NEW FROM NEXUS
  4. 📚 WHAT I’M READING

Enjoy!

Oh, and by the way: if you missed last week’s edition, you can find it here.

Disclaimer: James is a researcher at the National Renewable Energy Laboratory (NREL). All opinions expressed via Nexus emails, podcasts, or on the website belong solely to James. No resources from NREL are used to support Nexus. NREL does not endorse or support any aspect of Nexus.

1. 🤔 ON MY MIND

A reader asked me last week whether I think AI (for buildings) is hype or not. That’s a very difficult question to answer!

First, our industry has a lot of hype. That’s part of the reason Nexus exists. So my answer to these types of questions is usually a resounding “YES”.

Second, is anyone on the same page with the term “AI”? “Machine learning”? I don’t think so. My favorite is when someone says they have “AI and ML”. My second favorite is when someone talks about it like a chef adding salt.

The 2019 AIGA Design Conference: Recap & Reflection

As always, cutting through hype means defining the use case. So that’s where we’re going to start.

I’d love your feedback on where we can take this and what misconceptions need to be cleared up.

2. 🤖 MACHINE LEARNING FOR BUILDINGS 101

In our industry, as in the broader media, we see terms like machine learning, artificial intelligence, deep learning, etc used interchangeably. Are they all the same thing? We also see them used as discrete, parallel advancements to create hype around new products and companies. Are they all different?

No and no. It’s better to think of them as concentric circles. Or, in the case of this graphic from NVIDIA, concentric rectangles:

Deep learning is a type of machine learning which is a type of artificial intelligence. Some general definitions:

  • AI is a broader term for human intelligence exhibited by machines
  • ML is an approach to achieve AI by teaching a computer to recognize patterns in data by example and make predictions
  • DL is a type of machine learning that uses neural networks with many layers

The breakthrough created by machine learning is in the scalability and portability of algorithms. Rather than hand-coding software routines with a specific set of instructions to accomplish a particular task, the machine is “trained” using large amounts of data and algorithms that give it the ability to learn how to perform the task on its own.

For example, consider Google Photos. If I open the app and search “cat”, it will return all of my pictures of my cat Grace. Before machine learning, the programmers at Google would have needed to write special code for recognizing cats. But if I wanted to search “dog” or “Mom” or “camping” or “rock climbing”, that special code would not have been useful. Thanks to machine learning, one system can learn to recognize anything if we show it enough examples of that thing.

In general, most applications for AI in buildings are actually machine learning and most ML advancements in recent years are in DL. The exception to this generalization, as my friend Alex Grace told me on Episode 4 of the Nexus podcast, is hierarchical, rule-based fault detection and diagnostics (FDD). This is a type of AI called an expert system. It is AI because it can mimic human intelligence, but is not a type of ML because it doesn’t learn to do so by itself.

USE CASES FOR MACHINE LEARNING IN BUILDINGS

That brings us to use cases. While I’ve seen a lot of great resources, I haven’t yet seen a concise, introductory list of the use cases for machine learning in buildings. I took a crack at starting that list below.

To move the industry forward, machine learning needs to either enable us to perform new tasks or perform old tasks better. Understanding the three different types of machine learning (supervised, unsupervised, and reinforcement) helps us understand how it actually works and compare it to old ways of doing things.

Difference between Machine Learning Algorithms and Traditional ...

Let’s walk through each type and use cases for each:

  • Supervised learning is when the system is taught using training data that is labeled. The system is presented with example inputs and their desired outputs and the goal is to learn a model that maps inputs to outputs. Use cases:
  • Forecasting peak demand (or other variables) based on weather forecasts and the predicted building system response
  • Normalizing for energy savings measurement & verification to account for changes in independent variables (weather, occupancy, etc)
  • Disaggregation/itemization of whole-building energy meter data into end uses
  • Automated tagging and semantic modeling of data points (typically combined with rule-based expert systems and unsupervised learning)
  • Predictive maintenance (see Augury; also could use unsupervised learning if no failure data is available)
  • Counting people with sensors or cameras (See Density)
  • Interpreting camera feeds (e.g. to check for PPE or social distancing compliance)
  • Speech recognition (think Amazon Alexa for buildings)
  • Unsupervised learning is when the system is taught using unlabeled data. It is on its own to find structure in its input. The goal may be to discover hidden patterns in data or to create groups according to similar features. Use cases:
  • Setting (or recommending) dynamic equipment and building schedules based on historical occupancy patterns
  • Automatically detecting anomalies in any time series data point (another way to do FDD; see LeanFM)
  • Detecting correlation and inferring relationships between equipment (see Nexus #2)
  • Learning the energy flows of each zone in the building and then predicting their future state (see Nexus #18)
  • Reinforcement learning is when the system automatically performs a certain task (such as driving a vehicle or playing a game against an opponent) and is provided feedback in terms of rewards and punishments. Use cases:
  • Controlling a building while optimizing across many variables and constraints, such as when to charge a battery or when to precool to minimize demand (see this deep dive).

Obviously this is just a start, but I plan to keep the list updated as I come across new use cases. What would you add to the list?

3. 💡 NEW FROM NEXUS

  • PODCAST—Episode #009 of the Nexus Podcast is a conversation with Terry Herr, President of Intellimation, on the past, present, and future of analytics for buildings.
  • Show notes | Apple Podcasts | Spotify | YouTube | Add to other podcast apps
  • DEEP DIVE—After the interview with Terry, I did a deep dive on my reaction, my top highlights of the episode, and a full transcript (Pro members only)
  • EVENT—June’s member gathering is on the calendar! Pro members already received a calendar invite. Here’s the plan:
  • We’ll do two breakout rooms so you can meet likeminded industry leaders
  • Dennis Krieger, Director of Engineering at Willow, will present on “Demystifying the Digital Twin: Connecting BIM with IoT”
  • If you’d like to attend the event, sign up for Nexus Pro.
  • BOOK CLUB—This Thursday, the Nexus book club starts a new book: AIQ. Hit reply if you want to join the group.

4. 📚 WHAT I’M READING

  1. Sins of Our Forefathers (PropModo)
  2. …once I had started thinking about the legacy the real estate industry had on racial injustice, I couldn’t stop researching it. I kept finding more and more shocking examples of institutional racism, ones that seemed to have slipped out of the positive narrative that the real estate industry likes to focus on.
  3. A New Normal: Touchless Offices in the Post-Pandemic World (Work Design)
  4. The biggest change will be the separation of technologies in buildings. There is an expectation that building automation systems and the equipment that people use in a facility are separate. Typically, in a boardroom, an access system controls entrance into the space if access is automated. It is booked for use through proprietary software at a PC. Temperature is controlled by a wall thermostat.
  1. Users adjust lighting by common switches and dimmers. Automatic blinds are controlled by remotes or touchpads. AV equipment is manually switched on by another remote control. All of these are potential infection points when used by multiple people every day. As long as these systems remain separate, they will remain infection points. All of these systems will need to become more commonly integrated to have a meaningful effect on the safety of office spaces.
  2. Will we ever be safe inside? (The Atlantic)
  3. Before we review the relevant studies and draw out lessons for the future of the great indoors, a brief word of humility. Our understanding of this disease is dynamic. Today’s conventional wisdom could be tomorrow’s busted myth. Think of these studies not as gospels, but as clues in a gradually unraveling mystery.
  4. Occupancy Sensors Can Serve as the Brains of an Office's COVID-19 Response (Propmodo)
  5. one of the newest features of the technology comes in the form of installing digital screens outside cafeterias, meeting rooms and other spaces, allowing occupiers to see for themselves how close to an unsafe density a given room is.
  6. Actually, I was underwhelmed by this one, despite being in agreement on the utility of occupancy sensors. I still decided to share it because I want to call out this trend (or perhaps pet peeve): this author and others mention “occupancy sensors” as some sort of stand-alone solution when in fact it is not. Not even close. Do you agree?
  7. Tech firms deploy Bluetooth chips for coronavirus contact tracing in office (Reuters)
  8. businesses that are typically reluctant to spend on replacing older technology have indicated that significant funding is available for contact tracing in the workplace.
  9. If you’re an engineer and you read this newsletter and you’re looking for a new job… Slipstream is hiring:
  10. Energy Systems Integration Engineer II
  11. Senior Energy Systems Integration Engineer

OK, that’s all for this week—thanks for reading Nexus!

—James

P.S. Nexus is a 100 percent reader-funded publication and podcast. It only exists because people like you support it. If you liked today’s edition, please consider joining Nexus Pro! Members get exclusive access to the Nexus Vendor Landscape, monthly events, weekly deep dives, and all past deep dives like these:
How new technology is replacing old supervisory controls
Build it from scratch: How next-generation building automation could change the industry
The carrot or the stick? Digital transformation for building service providers
How a platform + app architecture enables a single pane of glass
Deep vs. shallow integrations and the misaligned incentives in commercial real estate
How BrainBox AI uses reinforcement learning to improve the BAS
State of the art: an open, independent data layer

Join now

Sign Up for Access or Log In to Continue Viewing

Sign Up for Access or Log In to Continue Viewing

I can see a day where the PID loops and basic control is done at the controller level, and the optimizations or the basic algorithms or the advanced algorithms are running at the edge on a bit of a, you know, better, PC, and then heavy machine learning, model building, advanced fault detection is done in the cloud. We think that's probably the progression.

—Terry Herr on the Nexus Podcast, Episode #009

Good morning!

Welcome to Nexus, a newsletter, podcast, and membership community for smart people applying smart building technology—written by James Dice. If you’re new to Nexus, you might want to start here.

Here’s an outline of this week’s newsletter:

  1. 🤔 ON MY MIND
  2. 🤖 MACHINE LEARNING FOR BUILDINGS 101
  3. 💡 NEW FROM NEXUS
  4. 📚 WHAT I’M READING

Enjoy!

Oh, and by the way: if you missed last week’s edition, you can find it here.

Disclaimer: James is a researcher at the National Renewable Energy Laboratory (NREL). All opinions expressed via Nexus emails, podcasts, or on the website belong solely to James. No resources from NREL are used to support Nexus. NREL does not endorse or support any aspect of Nexus.

1. 🤔 ON MY MIND

A reader asked me last week whether I think AI (for buildings) is hype or not. That’s a very difficult question to answer!

First, our industry has a lot of hype. That’s part of the reason Nexus exists. So my answer to these types of questions is usually a resounding “YES”.

Second, is anyone on the same page with the term “AI”? “Machine learning”? I don’t think so. My favorite is when someone says they have “AI and ML”. My second favorite is when someone talks about it like a chef adding salt.

The 2019 AIGA Design Conference: Recap & Reflection

As always, cutting through hype means defining the use case. So that’s where we’re going to start.

I’d love your feedback on where we can take this and what misconceptions need to be cleared up.

2. 🤖 MACHINE LEARNING FOR BUILDINGS 101

In our industry, as in the broader media, we see terms like machine learning, artificial intelligence, deep learning, etc used interchangeably. Are they all the same thing? We also see them used as discrete, parallel advancements to create hype around new products and companies. Are they all different?

No and no. It’s better to think of them as concentric circles. Or, in the case of this graphic from NVIDIA, concentric rectangles:

Deep learning is a type of machine learning which is a type of artificial intelligence. Some general definitions:

  • AI is a broader term for human intelligence exhibited by machines
  • ML is an approach to achieve AI by teaching a computer to recognize patterns in data by example and make predictions
  • DL is a type of machine learning that uses neural networks with many layers

The breakthrough created by machine learning is in the scalability and portability of algorithms. Rather than hand-coding software routines with a specific set of instructions to accomplish a particular task, the machine is “trained” using large amounts of data and algorithms that give it the ability to learn how to perform the task on its own.

For example, consider Google Photos. If I open the app and search “cat”, it will return all of my pictures of my cat Grace. Before machine learning, the programmers at Google would have needed to write special code for recognizing cats. But if I wanted to search “dog” or “Mom” or “camping” or “rock climbing”, that special code would not have been useful. Thanks to machine learning, one system can learn to recognize anything if we show it enough examples of that thing.

In general, most applications for AI in buildings are actually machine learning and most ML advancements in recent years are in DL. The exception to this generalization, as my friend Alex Grace told me on Episode 4 of the Nexus podcast, is hierarchical, rule-based fault detection and diagnostics (FDD). This is a type of AI called an expert system. It is AI because it can mimic human intelligence, but is not a type of ML because it doesn’t learn to do so by itself.

USE CASES FOR MACHINE LEARNING IN BUILDINGS

That brings us to use cases. While I’ve seen a lot of great resources, I haven’t yet seen a concise, introductory list of the use cases for machine learning in buildings. I took a crack at starting that list below.

To move the industry forward, machine learning needs to either enable us to perform new tasks or perform old tasks better. Understanding the three different types of machine learning (supervised, unsupervised, and reinforcement) helps us understand how it actually works and compare it to old ways of doing things.

Difference between Machine Learning Algorithms and Traditional ...

Let’s walk through each type and use cases for each:

  • Supervised learning is when the system is taught using training data that is labeled. The system is presented with example inputs and their desired outputs and the goal is to learn a model that maps inputs to outputs. Use cases:
  • Forecasting peak demand (or other variables) based on weather forecasts and the predicted building system response
  • Normalizing for energy savings measurement & verification to account for changes in independent variables (weather, occupancy, etc)
  • Disaggregation/itemization of whole-building energy meter data into end uses
  • Automated tagging and semantic modeling of data points (typically combined with rule-based expert systems and unsupervised learning)
  • Predictive maintenance (see Augury; also could use unsupervised learning if no failure data is available)
  • Counting people with sensors or cameras (See Density)
  • Interpreting camera feeds (e.g. to check for PPE or social distancing compliance)
  • Speech recognition (think Amazon Alexa for buildings)
  • Unsupervised learning is when the system is taught using unlabeled data. It is on its own to find structure in its input. The goal may be to discover hidden patterns in data or to create groups according to similar features. Use cases:
  • Setting (or recommending) dynamic equipment and building schedules based on historical occupancy patterns
  • Automatically detecting anomalies in any time series data point (another way to do FDD; see LeanFM)
  • Detecting correlation and inferring relationships between equipment (see Nexus #2)
  • Learning the energy flows of each zone in the building and then predicting their future state (see Nexus #18)
  • Reinforcement learning is when the system automatically performs a certain task (such as driving a vehicle or playing a game against an opponent) and is provided feedback in terms of rewards and punishments. Use cases:
  • Controlling a building while optimizing across many variables and constraints, such as when to charge a battery or when to precool to minimize demand (see this deep dive).

Obviously this is just a start, but I plan to keep the list updated as I come across new use cases. What would you add to the list?

3. 💡 NEW FROM NEXUS

  • PODCAST—Episode #009 of the Nexus Podcast is a conversation with Terry Herr, President of Intellimation, on the past, present, and future of analytics for buildings.
  • Show notes | Apple Podcasts | Spotify | YouTube | Add to other podcast apps
  • DEEP DIVE—After the interview with Terry, I did a deep dive on my reaction, my top highlights of the episode, and a full transcript (Pro members only)
  • EVENT—June’s member gathering is on the calendar! Pro members already received a calendar invite. Here’s the plan:
  • We’ll do two breakout rooms so you can meet likeminded industry leaders
  • Dennis Krieger, Director of Engineering at Willow, will present on “Demystifying the Digital Twin: Connecting BIM with IoT”
  • If you’d like to attend the event, sign up for Nexus Pro.
  • BOOK CLUB—This Thursday, the Nexus book club starts a new book: AIQ. Hit reply if you want to join the group.

4. 📚 WHAT I’M READING

  1. Sins of Our Forefathers (PropModo)
  2. …once I had started thinking about the legacy the real estate industry had on racial injustice, I couldn’t stop researching it. I kept finding more and more shocking examples of institutional racism, ones that seemed to have slipped out of the positive narrative that the real estate industry likes to focus on.
  3. A New Normal: Touchless Offices in the Post-Pandemic World (Work Design)
  4. The biggest change will be the separation of technologies in buildings. There is an expectation that building automation systems and the equipment that people use in a facility are separate. Typically, in a boardroom, an access system controls entrance into the space if access is automated. It is booked for use through proprietary software at a PC. Temperature is controlled by a wall thermostat.
  1. Users adjust lighting by common switches and dimmers. Automatic blinds are controlled by remotes or touchpads. AV equipment is manually switched on by another remote control. All of these are potential infection points when used by multiple people every day. As long as these systems remain separate, they will remain infection points. All of these systems will need to become more commonly integrated to have a meaningful effect on the safety of office spaces.
  2. Will we ever be safe inside? (The Atlantic)
  3. Before we review the relevant studies and draw out lessons for the future of the great indoors, a brief word of humility. Our understanding of this disease is dynamic. Today’s conventional wisdom could be tomorrow’s busted myth. Think of these studies not as gospels, but as clues in a gradually unraveling mystery.
  4. Occupancy Sensors Can Serve as the Brains of an Office's COVID-19 Response (Propmodo)
  5. one of the newest features of the technology comes in the form of installing digital screens outside cafeterias, meeting rooms and other spaces, allowing occupiers to see for themselves how close to an unsafe density a given room is.
  6. Actually, I was underwhelmed by this one, despite being in agreement on the utility of occupancy sensors. I still decided to share it because I want to call out this trend (or perhaps pet peeve): this author and others mention “occupancy sensors” as some sort of stand-alone solution when in fact it is not. Not even close. Do you agree?
  7. Tech firms deploy Bluetooth chips for coronavirus contact tracing in office (Reuters)
  8. businesses that are typically reluctant to spend on replacing older technology have indicated that significant funding is available for contact tracing in the workplace.
  9. If you’re an engineer and you read this newsletter and you’re looking for a new job… Slipstream is hiring:
  10. Energy Systems Integration Engineer II
  11. Senior Energy Systems Integration Engineer

OK, that’s all for this week—thanks for reading Nexus!

—James

P.S. Nexus is a 100 percent reader-funded publication and podcast. It only exists because people like you support it. If you liked today’s edition, please consider joining Nexus Pro! Members get exclusive access to the Nexus Vendor Landscape, monthly events, weekly deep dives, and all past deep dives like these:
How new technology is replacing old supervisory controls
Build it from scratch: How next-generation building automation could change the industry
The carrot or the stick? Digital transformation for building service providers
How a platform + app architecture enables a single pane of glass
Deep vs. shallow integrations and the misaligned incentives in commercial real estate
How BrainBox AI uses reinforcement learning to improve the BAS
State of the art: an open, independent data layer

Join now

⭐️ Pro Article

Sign Up for Access or Log In to View

⭐️ Pro Article

Sign Up for Access or Log In to View

Are you interested in joining us at NexusCon 2025? Register now so you don’t miss out!

Join Today

Are you a Nexus Pro member yet? Join now to get access to our community of 600+ members.

Join Today

Have you taken our Smart Building Strategist Course yet? Sign up to get access to our courses platform.

Enroll Now

Get the renowned Nexus Newsletter

Access the Nexus Community

Head over to Nexus Connect and see what’s new in the community. Don’t forget to check out the latest member-only events.

Go to Nexus Connect

Upgrade to Nexus Pro

Join Nexus Pro and get full access including invite-only member gatherings, access to the community chatroom Nexus Connect, networking opportunities, and deep dive essays.

Sign Up