Next Article in Journal
A CFD-Based Comparison of Different Positive Displacement Pumps for Application in Future Automatic Transmission Systems
Next Article in Special Issue
Resource Efficiency and Thermal Comfort of 3D Printable Concrete Building Envelopes Optimized by Performance Enhancing Insulation: A Numerical Study
Previous Article in Journal
Simulation and Economic Research of Circulating Cooling Water Waste Heat and Water Resource Recovery System
Previous Article in Special Issue
Optimal Fuzzy Energy Trading System in a Fog-Enabled Smart Grid
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Automated Residential Energy Audits Using a Smart WiFi Thermostat-Enabled Data Mining Approach

Department of Mechanical and Aerospace Engineering/Renewable and Clean Energy, University of Dayton, Dayton, OH 45469, USA
*
Author to whom correspondence should be addressed.
Energies 2021, 14(9), 2500; https://doi.org/10.3390/en14092500
Submission received: 16 March 2021 / Revised: 17 April 2021 / Accepted: 20 April 2021 / Published: 27 April 2021
(This article belongs to the Special Issue Advances in Energy-Efficient Buildings)

Abstract

:
Smart WiFi thermostats, when they first reached the market, were touted as a means for achieving substantial heating and cooling energy cost savings. These savings did not materialize until additional features, such as geofencing, were added. Today, average savings from these thermostats of 10–12% in heating and 15% in cooling for a single-family residence have been reported. This research aims to demonstrate additional potential benefit of these thermostats, namely as a potential instrument for conducting virtual energy audits on residences. In this study, archived smart WiFi thermostat measured temperature data in the form of a power spectrum, corresponding historical weather and energy consumption data, building geometry characteristics, and occupancy data were integrated in order to train a machine learning model to predict attic and wall R-Values, furnace efficiency, and air conditioning seasonal energy efficiency ratio (SEER), all of which were known for all residences in this study. The developed model was validated on residences not used for model development. Validation R-squared values of 0.9408, 0.9421, 0.9536, and 0.9053 for predicting attic and wall R-values, furnace efficiency, and AC SEER, respectively, were realized. This research demonstrates promise for low-cost data-based energy auditing of residences reliant upon smart WiFi thermostats.

1. Introduction

In 2018, according to the U.S. Energy Information Administration (EIA), residential buildings accounted for approximately 21% of total electricity consumption as well as 16% of total natural gas consumption in the U.S. [1,2]. The residential sector has been deemed to offer the most cost-effective potential for energy savings among all U.S. buildings [3]. The most common approach for garnering savings has been through utility rebate programs, whereby utilities offer financial incentives for residential investment in energy reduction measures. The rebated measures are generally those with the statistically best savings relative to investment among the entire residential population. In practice, what this has meant is that all rate payers have effectively subsidized the investments of wealthier residents. Researchers have found that upgrading the housing of low-income residences to the median household efficiency would reduce excess energy by 68%. In other words, while residential energy reduction offers the most cost-effective potential among all U.S. buildings, the vast majority of this savings potential comes from low-income residences [4,5,6].
Many factors impact the energy consumption of individual residential buildings, including weather conditions; building geometry; building thermal envelope materials; heating, ventilation, and air conditioning (HVAC) characteristics; and energy-use behavior of the residents [7,8]. However, identifying the energy efficiency priorities for individual residences is not automatic and can be both laborious and expensive. For example, traditional energy audits require a physical visit to a residence, whereby a technician performs air leakage tests; conducts infrared imaging; documents insulation in the walls, basement/crawlspace/sub-flooring, and attic; and assesses the efficiency of the heating/cooling/water heating systems. These audits can be costly [9]. The U.S. Department of Energy estimates costs for detailed energy audits ranging from $0.12 up to $0.503 per square foot, depending on the size and complexity of the residential buildings [10]. In another study, the average cost to audit single-family residences in the US starts at $400 and increases dramatically with the size of the home [11]. The audit cost can outweigh the potential energy cost savings, and the recommendations made have been observed to be dependent on the auditor [9,12]. For example, a study compared recommendations from three different contractors hired to audit the energy effectiveness of three different types of buildings: namely a large multi-family residence with a common heating plant, a primary school, and a terraced or row home. The final recommendations from the three different contractors were quite dependent on the auditors, with installation cost and savings estimations respectively differing by as much as 300% and 250% relative to the lowest estimates [13]. Likewise, another study compared three energy audit reports conducted on the same building [12]. The three studies reported widely divergent results. First, the three reports employed different audit data. Second, the list of energy conservation measures (ECMs), short of three common measures, were different. Third, the initial cost and energy and cost savings for the shared ECMs varied widely between the analyses. Additionally, the energy audits cost from three different companies ranged from $252 to $1123. This trend has certainly contributed to a lack of faith about the value of residential energy audits [9,14]. Importantly, low- to low–middle-income residents frankly will never opt to have their residence audited. The expense just cannot be tolerated.
There is a strong need for automatically auditing the energy effectiveness of residences at a substantially lower cost. Such audit-derived information could help to change the paradigm for utility rebate programs were every residence within a utility district to be audited. A ‘worst-to-first’ priority for utility investment in energy reduction could be established in such a way as to ensure that the investments made yield the biggest energy and energy cost savings [15,16].
Recently, smart WiFi thermostat adoption in the U.S. market has seen rapid growth. An ACEEE study estimated that by 2020, over 40% of residences would have this technology in it [17]. The data from these thermostats is especially valuable in documenting heating, cooling, and ventilation energy consumption. For example, Hossain et al. [18] utilized smart thermostat data to develop dynamic thermal models of residences. Additionally, Huang et al. [19] utilized smart WiFi thermostat data to predict room temperature and cooling/heating demand, as well as potential savings from changes in thermostat settings. Another study by Stopps et al. [20] used data from 54 smart thermostats to analyze programming and occupant interaction behaviors. Likewise, Lou et al. [21] employed a smart WiFi thermostat to calculate temperature and humidity setpoints that would meet the minimum thermal comfort at all times. This latter study showed cooling energy savings in excess of 70% from thermal comfort control.

2. Background

In this section, relevant research pertaining to the standard calculation approaches is presented for: building energy models with sufficient granularity to permit estimates of savings from residential energy upgrades, inverse modeling approaches with sufficient granularity to identify residences in need of upgrades and quantity the resulting savings based on energy data pre- and post-upgrade, and the state-of-the art associated with virtual energy audits.

2.1. Building Information Modeling and Simulation for Energy Audits

Energy modeling software (e.g., eQuest, EnergyPlus, IES, and Energy-10) has been used extensively to simulate and predict building energy consumption. Generally, these have required extensive detail about the geometric and energy characteristics of a building, as well as occupancy and control schedules. Examples of their use are extensive and, unfortunately, despite the detail required of data inputs, the energy savings recommendations that result have been very inconsistent [22]. For example, one study evaluated the accuracy of the United States Department of Energy (DOE)-developed eQuest software for predicting energy consumption and estimating savings from upgrades in hotels. Good correspondence was seen between predicted and actual savings based on the building energy efficiency retrofit (BEER) scheme [23]. However, other studies have demonstrated just the opposite [24]. These tools are strongly dependent on the user and require significant engineering time [25]. Much of the time, these tools overpredict energy consumption [16]. For example, the Energy Trust of Oregon performed a study to evaluate building energy simulation programs. Three programs were compared: SIMPLE, REM/Rate, and Home Energy Saver (HES). Detailed audits were conducted, and utility bills were collected for 190 homes. The homes were simulated with the three energy modeling tools, including two levels of detail for HES. The models overpredicted gas use for space heating by an average of 41% in older homes built before 1960 and by 13% for newer homes built after 1989 [26,27]. Likewise, the validity of the Manufactured Home Energy Audit tool was assessed in a two-part study by Oak Ridge National Laboratory (ORNL). Obtained audit and utility data were used to analyze the energy effectiveness of manufactured homes across five counties in the U.S. North and Midwest. The predicted space heating energy consumption was compared to the actual space heating energy consumption. Pre- and post-retrofit comparisons of modeled and actual energy use were made. Results from the pre-retrofit simulations were observed to overpredict space heating energy use from 163% to 109% [28]. Lastly, a recent study by Pacific Northwest National Laboratory on seven homes with deep retrofits showed a range of predicted savings obtained by different auditors from 75% overestimation to 16% underestimation relative to the savings realized for all the homes evaluated [29].

2.2. Inverse Energy Modeling for Identifying Residences in Need of Upgrade and Estimating Savings from Upgrades

In 1994, ASHRAE published an Inverse Modeling Toolkit (IMT), which has been used since to estimate savings from various system upgrades [30]. This toolkit is based on a four-step process. The first step is to create statistical three-parameter models of electricity and natural gas consumption as a function of the outdoor air temperature over the energy consumption period. This regression renders estimates of the sensitivity of the consumption to temperature (termed heating and cooling slopes), the building balance-point temperature, and average weather-dependent energy consumption for a meter period. The second step is to apply these to site-relevant typical meteorological year (TMY3) weather data to determine the normalized annual consumption (NAC) for each type of energy. The third step is to derive an NAC for each set of 12 sequential months of utility data. The fourth step is to compare the NACs of multiple buildings to identify average, best, and worst energy performers and to evaluate how the consumption of a building has changed over time. It is this last step that permits measurement of savings post-retrofit of energy efficiency upgrades [31].
A case study of 14 Midwest hospital results showed that the NAC analysis is more stable and informative than the regression coefficients determined from the first step. Additionally, a change in NAC indicates a real change in the energy performance of the building, provided that the savings are greater than 10% (note that ASHRAE suggests that this approach is not, in general, able to measure savings less than 10% [16]). In another study, electric and natural gas historical consumption data were merged with residential building geometry, and historical weather data to determine the energy consumption intensity for each home in a Village of Yellow Springs, Ohio by using a five-parameter fit for the electricity data and a three-parameter fit for the natural gas data. These researchers normalized the NAC calculations with the residential floor area. Using this normalized data, they were able to identify the most promising homes for energy reduction [32].

2.3. State-Of-The-Art in Virtual Energy Audits

Building geometric and energy characteristics (insulation type and amount in envelope components, heating/cooling/water heating efficiencies, etc.) have a prominent influence on energy consumption [33]. Knowledge of these characteristics is essential for estimating potential energy savings from specific energy upgrades. Ordinarily, such data is collected from on-site audits. However, there have been some recent strides toward inferring energy characteristics from data alone. Table 1 summarizes research to predict the energy characteristics of buildings or to disaggregate the energy consumption into specific categories, such as lighting and appliances.
The private company Retroficiency (acquired by ENGIE Insight) claimed in the mid-2010s to have the ability to automatically audit the energy performance of commercial buildings. Their approach employed interval energy data from smart meters, occupant schedules, weather, and systems control details. Their virtual energy assessment (VEA) provided recommendations for retrofits based upon the virtual audit. Included in their recommendation were estimates of upgrade costs and return on investment [34].
In 2016, Case Western Reserve University and Johnson Controls Inc. worked collaboratively to develop another version of a virtual energy audit for small- to medium-sized commercial or retail buildings. Their approach employed 15-min-interval utility data, insulation characteristics, and weather data [35]. Lastly, the approaches by FirstFuel, Agilis Energy, and C3 Commercial likewise employ interval meter data from smart meters and real-time weather data to estimate various forms of electric consumption (lighting, cooling, etc.).
Table 1. Summary of prior research in predicting energy characteristics in buildings.
Table 1. Summary of prior research in predicting energy characteristics in buildings.
Ref.Software/Company NameLearning Algorithm (Type)Types of FeatureBuilding TypeTarget
[34,36]Retroficiency, Retroficiency, USAProprietary algorithm
(Not for public use)
Smart meters, occupant behavior, weather, and systems control detailscommercialHeating, cooling, ventilation, lighting, plug loads, pumps, domestic hot water systems
[35,37]Case Western Reserve University, Great Lakes Energy Institute (GLEI)Energy Diagnostics Investigator for Efficiency Savings (EDIFES)
(Not for public use)
Smart utility meter, insulation information, operation schedules, weather datacommercialExterior lighting (e.g., 24-h lighting and security/monitoring systems), HVAC (e.g., heating, ventilation, and air conditioning electricity consumption), and occupancy-based plug loads (e.g., computers, refrigerators, copiers, televisions, interior lighting, etc.)
[34,36]FirstFuel, Tendril, USAStatistical model
(Not for public use)
Hourly electricity consumption data, hourly local weather data, high level building data from geographic information systemscommercialElectric lighting, building envelope, equipment, HVAC, service hot water, operating schedule
[34,36]Agilis Energy, Agilis, USAStatistical model
(Not for public use)
Smart meter interval data and climate datacommercialOperational energy performance, interval energy demand, occupancy, energy system operations
[34,36]C3 Commercial, C3 Energy, USAStatistical model, Database for Energy Efficiency Resources (DEER)
(Not for public use)
Smart meters data drives inverse modeling and uses national, state, and regional utility building stock data for benchmarks to compare energy benchmark with other buildings that are functionally equivalent (same type and floor area)commercialElectric lighting, building envelope, equipment, HVAC, service hot water, and operating schedule based on data driven inverse energy modeling, coupled with statistical analysis utilizing an existing energy conservation measures (ECM) list from the database for energy efficiency resources (DEER)

3. Objectives of Research

While smart meters have gained an increasing market share [38], nationally, there is still no consistent standard relative to the frequency of data collection and input [39]. Their use in this study is not assumed. For many residences, only monthly interval energy consumption data is available. Moreover, smart meters are only generally capable of providing information about electricity consumption. The cost for smart gas meters is prohibitive for wide-scale use without some type of enabling subsidy.
There are three starting points for this research. First, a smart thermostat offers greater promise for characterizing heating-, cooling-, and ventilation-related energy characteristics than smart meters, which are more prevalent in both the U.S. and Europe because smart WiFi thermostats provide for measurement of the internal residence temperature and humidity and account for residence-specific controls on this temperature. Second, the monthly metered energy consumption reflects the overall heating and cooling energy effectiveness of a residence. However, this information alone is incapable of resolving specific contributions to the heating and cooling energy effectiveness. Third, it acknowledges that if the residential energy characteristics for a sub-set of residences are known, data-based machine learning based models can be tuned to predict the individual energy characteristics. If these models are derived from data collected from numerous diverse residences, theoretically, they could then be used to predict the energy characteristics in residences where these are unknown.
The research question driving this study is the following: “How can the individual contributions to the heating and cooling energy effectiveness (namely the envelope R-values and heating/cooling system efficiencies) be resolved from only remotely collected data? To date, this question has not been answered.
Fundamentally, the goal of this research is to estimate residential energy characteristics from monthly energy consumption (potentially gas and electric), coupled with other data that could be collected remotely for residences. This data includes historical weather data, residential building geometry data, and potentially occupancy data, and uniquely and most importantly, smart WiFi thermostat data. This latter data, because of the relative high frequency associated with its measurement, could potentially help to resolve the energy characteristics, which control the thermal dynamics of a residence to heat gain/loss to changes in outdoor weather and to internal heating and cooling. If it was possible for these instruments to make possible remote energy auditing of residences, their prevalence in the world would guarantee wide-scale impact. In 2017, more than 82 million smart thermostats were in use in North America according to a study by Berg Insight. The same study projected that more than half (51%) of North America homes would be smart homes by 2022 [40].
To achieve the broad goal of predicting residential envelope R-values and heating/cooling system efficiencies from the varied data types (static residence geometrical, occupancy, and energy characteristics; monthly metered energy consumption; higher frequency weather data; and high-frequency ‘delta’ smart WiFi thermostat data), it is necessary to extract useable features from the higher frequency signals in order to combine with the monthly metered consumption. This first requires the creation of derived features characterizing the weather variation within the energy consumption meter periods. Average outdoor temperature during a meter period is not sufficient to characterize the exterior weather. Secondly, it requires the development of dynamic characteristics based upon smart WiFi thermostat data unique to a residence in which a smart WiFi thermostat is present. With static representations of the dynamics of the outdoor weather for each meter period and a residence’s response to dynamic changes established, the data could be combined and then used to train machine learning models on a sub-set of residences for which the energy characteristics are known. Last, the developed model must be tested on residences not used in the training to demonstrate the potential for this approach to estimate energy characteristics in residences where the energy characteristics are unknown.
This paper is organized as follows. First, as the approach posed hinges on the data used, the data employed in this study are described. Next, the methodology and results, both aligned with the objectives posed, are presented. Lastly, we conclude by discussing the wide-scale implications of the approach developed to remote regional energy auditing and the work that is required to realize this potential.

4. Data

There were four main raw data used in this study. A description and more details for each individual dataset are contained in the following subsections.

4.1. Residence Geometrical, Occupancy, Monthly Energy Consumption, Energy Characteristics, and Smart WiFi Thermostat Data

This study considered 101 houses owned by a university in the Midwest region of the U.S. The majority of these houses are detached single-family houses constructed of wooden materials (with low thermal mass). Geometrical data were accessed for all residences through the local county property database. Such data is publicly available nationally.
Second, historical monthly energy consumption and occupancy data (electric and gas meter data) from January 2016 to the present were obtained for each residence from the university owner of the residences.
Third, energy characteristics for these residences were acquired in 2015 through detailed energy audits made by one of the lead authors. As noted in a prior study, this audited subset of houses offered significant diversity in size, insulation, and energy effectiveness as shown in [16], which helps in developing a generalizable model capable of predicting energy characteristics in any residence.
Table 2 shows the minimum and maximum values for the building geometric data, energy characteristics, and residential occupancy characteristics for the 101 residences considered. Some input features included in the table might in general be a challenge to acquire (e.g., refrigerator-related data) but are retained here in order to evaluate their importance.
Smart WiFi thermostats data were accessible for each of the audited residences. Raw thermostat data, referred to as “delta data”, were collected for each of the residences. Delta data are logged only when there is a change in one of the thermostat features. In practice, this means that if the set point temperature, measured temperature and humidity at the thermostat, heating/cooling mode, or heating/cooling/fan status changes, data are recorded. For this research, smart WiFi thermostat data for these houses were continuously collected and archived from 6/1/2018 to the present. Typically, thousands of points were collected for each residence each month.
There is only a single smart WiFi thermostat (one point) in each house. The houses were intermittently heated/cooled throughout the day based on the thermostat setpoint temperature. Additionally, all house thermostats were monitored by the university housing management to ensure they were within the reasonable setpoint temperature range. Moreover, the residents were strongly advised to keep the windows closed when their residence was employing air conditioning.

4.2. Weather Data

Corresponding hourly weather data (only the outdoor dry bulb temperature was used here) were obtained from the U.S. NOAA National Climatic Data Center site [41] but could have likewise been obtained using the Weather Underground [42] resource.

5. Methodology

The methodology is organized as follows. In the first two sub-sections, the process for extracting features characterizing respectively the variation of the weather data in each meter period and the thermal dynamics of each residence to changes in outdoor temperature and internal heating and cooling as evidenced from the smart WiFi thermostat data is described. Then, the data-based machine learning and testing approaches are described.

5.1. Development of New Weather Features Characterizing Outdoor Temperature Variation during Each Meter Period

Inverse energy models have employed mean outdoor average temperature for an entire meter period as an input (often singular) to predict energy consumption [31]. However, including increased granularity to better reflect variation that occurs over a large time period may be beneficial.
The approach used here is to ‘bin’ the outdoor temperature data within a meter period into discrete temperature bands, determining the probability density of the outdoor temperature in each of the discrete bands over one energy consumption meter period. The idea is that it is not just the mean temperature in a meter period that is important. Rather, the record of temperature variation in a meter period is even more important, especially if the thermostat set point temperature is changing within the meter period.

5.2. Development of Dynamic Representations of Smart WiFi Thermostat Data for Each Residence

The measured smart WiFi thermostat temperature provides a record of heat gain/loss from the residence from/to the outdoor environment and a record of heating and cooling. When the heating system and cooling system are on, the interior temperature is observed to warm/cool over a certain amount of time. So, in effect, it accounts for the time constants associated with the heating and cooling systems, which likewise depend upon the heating and cooling system efficiencies. After heating and cooling is interrupted, heat loss/gain to/from the outdoor environment is registered as a decrease/increase in internal temperature. The rate at which the internal temperature cools/warms after interruption of heating/cools depends upon the envelope heat losses/gain, and thus on the thermal capacitances (time constants) associated with the envelope components and infiltration.
Since the aim of this research is to develop single models to predict residential energy characteristics based upon data from numerous diverse residences, we looked to develop a representation of the measured smart WiFi thermostat that could potentially account for the different time constants associated with the envelope barriers and the heating/cooling systems. A power spectrum reduction of this measured temperature seemed a reasonable approach; as such, a representation characterizes the strength of a signal relative to the driving frequencies.
In order to develop a power spectrum on a signal, however, the signal frequency must be constant. This was not the case for the smart WiFi thermostat data measured here [43]. “Delta” thermostat data is non-uniformly spaced in time. So, step 1 in establishing power spectrum representations of the measured smart WiFi thermostat temperature was to create a uniformly spaced signal. Linear interpolation was employed to estimate the temperature at fixed intervals based upon the measured thermostat temperatures, using Equation (1):
x i = x a x b a b ( i b ) + x b ,
where a, b, and i in this case are times associated with the collected data; x a and x b are collected neighbor data points at x a and x b ( x i > x a ,   x i < x b ); and x i is interpolated data.
The characteristic frequency of each residence to changes in outdoor weather conditions is an indicator of the dynamic thermal characteristics of a residence’s envelope elements (walls, windows, and ceiling). The power spectrum defines the ‘strength’ of the response (measured thermostat temperature) with frequency. The power spectral density h(ω) is equal to the correlation value γ(k) (where k is lag and t is time) divided by the frequency span over which that peak is observed e-iωt (Equations (2) and (3)) [44]:
h ( ω ) = 1 2 π k = γ ( k ) e i ω t π ω π ,
γ ( k ) = 1 2 π π π h ( ω ) e i ω t   d ω k = 0 , ± 1 , ± 2 ,
A locally high amplitude in the power spectrum at a specific frequency means that the measured signal (thermostat temperature) owes much of its energy to a dynamic phenomenon at this frequency. For example, higher efficiency houses have more energy in the signal at lower frequencies, so if something changes outside or the set point temperature changes inside, the response to change as measured by the thermostat temperature is slow. In the power spectrum, the peak is in the low-frequency band. On the other hand, lower efficiency houses have more energy at higher frequencies.
In this study, a histogram of the power spectra for each house was created for fixed period bands. A total of 500 uniformly spaced bins were set. The average signal strength in each bin was calculated. Thus, the available power spectrum binned data was available for each residence. Of these, only the first 50 bins were retained, corresponding to 48-h periods. Table A1 shows the range of values for each bin in the first 50 bins retained. Almost all of the signal energy for each residence resided in these bands. In effect, this binned power spectra data is a characteristic of a residence. It should be noted that the thermostat data period used was in the middle of the summer/winter season. In the summer, most of these residences were non-occupied (yet still air conditioned) to prevent mold formation. Thus, windows were almost always closed. In the winter, few if any windows were opened by residents.

5.3. Development of Data-Based Machine Learning Models for Each Envelope Thermal Resistances and Heating/Cooling System Efficiency

5.3.1. Data Merging and Preparation

In order to develop machine learning models for predicting the individual energy characteristics from the data described in Section 4 and developed in Section 5.1 and Section 5.2, the data was merged. The binned outdoor temperature for each meter period and the binned smart WiFi thermostat temperature power spectra, along with the static residential geometry, occupancy, and energy characteristics, were synched and merged with the monthly energy consumption data by common address.
Additionally, in order to mitigate observation bias, very similar houses were removed by measure distances between the houses. A K-means Euclidean distance [45] was computed from the standardized static residential data only. The analysis found 14 similar houses (including 3 very similar newer houses). As a result, 9 houses were eliminated from inclusion in the model training datasets. As a result, the total number of residences included in the training dataset was reduced to be 86 houses. Then, all observations with any missing data were eliminated [46].

5.3.2. Model Development and Testing

Choosing the right machine learning algorithm is complicated; it depends on the data type, number of observations, number of input features, etc. Additionally, the second major challenge is to tune the model hyperparameters. Different machine learning algorithms have different hyperparameters, which need to be optimized in order to yield the best models. For example, the most critical hyperparameters in artificial neural network (ANN) models are the number of hidden layers, dropout rate, network weight initialization, activation function, learning rate, momentum, number of epochs, batch size, etc. [47,48]. In this research, the AutoMLH2O package [49] was used to select and tune the model and hyperparameters. Functional forms considered in this approach included deep neural networks, random forests, extremely randomized trees, gradient boosting machines (GBMs), extreme gradient boosting (XGBoost), and stacked ensembles. Table 3 shows the input features employed to predict the attic R-value, wall R-value, furnace efficiency, and AC SEER targets. Note the R-value targets use as input features knowledge of the furnace efficiency and AC SEER, but the latter two do not leverage the attic and wall R-Values as features. Thus, the general predictive process would be to first predict the R-values and then use these predictions as predictors for the furnace efficiency and AC SEER.
A training dataset was used to develop a predictive model, while a validation dataset provided an evaluation of the model for model hyperparameter tuning. Next, the model was applied to an independent testing dataset. We used 10-fold cross-validation during hyperparameter tuning to avoid subset biases. We reported and used the mean cross-validation performance metrics [50,51,52].
The effectiveness of the models for both the validation and testing datasets was evaluated using the following parameters: R-squared metric, mean square error (MSE), root mean squared error (RMSE), mean absolute error (MAE), and root mean squared logarithmic error (RMSLE):
MSE = 1 N i = 1 N ( y i y ^ i ) 2 ,
RMSE = 1 N i = 1 N ( y i y ^ i ) 2 = MSE ,
MAE = 1 N i = 1 N | y i y ^ i | ,
RMSLE = 1 N i = 1 N ( log ( y i + 1 ) log ( y ^ i + 1 ) ) 2 ,
R 2 = 1 MSE ( m o d e l ) MSE ( b a s e l i n e ) = 1 N i = 1 N ( y i y ^ i ) 2 1 N i = 1 N ( y i y ¯ i ) 2 ,
A model is only as good as its ability to make accurate predictions on data not used in its training. Here, the true quality of the models developed was assessed through testing. A testing dataset was developed by extracting the observations from 6 houses from among the 92 houses included in the study. The six testing houses were randomly selected but were also checked to ensure that the testing set included high, medium, and low values of the responses (Table 4).

6. Results

6.1. Development of New Weather Features Characterizing Outdoor Temperature Variation during Each Meter Period

Figure 1 shows a representative probability density distribution for the outdoor temperature developed for a single meter period within discrete two degree °C bins. This figure shows how this binning took place for one meter period (1 January 2018 to 9 February 2018).

6.2. Development of Dynamic Representations of Smart WiFi Thermostat Data for Each Residence

Figure 2a shows the power spectrum for an energy-effective residence with respective wall and ceiling R-values of 2.46 and 3.16 (m2 × K × W−1), whereas Figure 2b shows the power spectrum for a low-energy-effective residence with respective wall and ceiling R-values of 0.70 and 2.28 (m2 × K × W−1). Note that in the former case (a), most of the energy in the signal is at small periods, the opposite of that for the low-energy-effectiveness case, owing to the more rapid response of high-efficiency homes to heating and cooling, relative to a slower, more damped response (due to greater heat loss/gain to the external ambient) for the low-efficiency residence. Most visible is that at the diurnal period (24 h), there is little energy in the high-efficiency house case, but, in comparison, the signal energy peaks at this period for the low-efficiency house case. Thus, the low-efficiency house ‘feels’ the diurnal transients far more than the high-efficiency house, which damps out most of the energy associated with this cycle.
The higher energy at lower periods (higher frequencies) for the high-efficiency residence in comparison to a low-efficiency residence is primarily affected by the response to thermostat set point changes. The high-efficiency house is able to respond quickly to indoor temperature set point changes. The low-efficiency house responds more slowly. So, even the period associated with set point changes increases relative to the high-efficiency house case.

6.3. Training and Testing of Data-Based Machine Learning Models for Each Envelope Thermal Resistances and Heating/Cooling System Efficiency

6.3.1. Identifying the Best Machine Learning Algorithm

This subsection aims to document how the best model was developed in predicting each of the envelope thermal characteristics. It was unknown what model algorithm should be used and which features should be included in the model development.
First, different machine learning algorithms were applied and validated on the complete training dataset. This complete dataset included all static residential features, monthly energy consumption, binned outdoor temperature data for each meter period, and all binned smart WiFi thermostat temperature power spectrum data.
Table 5 documents the validation metrics obtained for this complete dataset for the various algorithms employed. It is clear from this table that the GBM machine learning methodology yielded the best validation performance. Hereafter, only this algorithm was considered. The general formula for gradient boosting machine (GBM) is shown in Equation (9), which can be applied to all four targets [53]:
f ( x ) = ( m = 1 M β m b τ m ( x ) ) l i n ( β ) ,
where bτm(x) ∈ β is a weak learner and βm is its corresponding additive coefficient.

6.3.2. Identifying the Best Thermostat-Derived Feature Set for Model Development

Figure 3 shows variable importance plots obtained from the best GBM models produced in predicting the (a) attic R-value, (b) wall R-value, (c) furnace efficiency, and (d) AC SEER. In this figure, the features labeled PSD.Freq.X refer to the average power spectrum powers in frequency bin X. It is clear from this figure that the power spectrum features are very important for predicting each of the energy characteristics. As a result, one would expect that the spectral information present in the thermostat signals improves the prediction of the targeted energy characteristics.
We then investigated developing models using subsets of the PSD.Freq.X data. GBM models were thus developed to predict the targeted energy characteristics for the following PSD binned power subsets: (a) for the first 40 frequency bins (approximately needed to capture the diurnal cycle), (b) for the first 20 frequency bins, (c) for the first 10 frequency bins, (d) for the top 10 most important frequency bins for each target obtained from a variable importance analysis using the best GBM model, (e) for the top 2 frequency bins for each target obtained from a variable importance analysis, (f) for the top frequency bin for each target for each target obtained from a variable importance analysis, (g) for the top two frequency bins for each target obtained from an optimization to minimize error, and (h) for the top frequency bin for each target obtained from an optimization to minimize error.
Table 6 shows the testing statistics for predicting the attic and wall R-values, furnace efficiency, and AC SEER, respectively, for inclusion of the binned spectral powers using the same testing dataset considered in Section 5.3.2. There are three main points to make. First, while some of these cases yield accurate validation metrics for individual targets, the best overall cases are those using only one or two of the optimally selected frequency bins to minimize the validation error. It is clear that the use of all of the frequency bins introduces many features that have little influence on the target. Elimination of these features in general improves the model. Second, the prediction statistics for the testing dataset are improved markedly for the last three cases, cases e–h. Case e, where the two top power spectrum bins were based upon the GBM variable importance, yielded the best model for predicting the attic R-value. Case g, which included as predictors the two most important power spectrum frequency bins for minimizing error, yielded the best model for the AC SEER. Lastly, case h, reliant upon a single power spectrum frequency bin based upon minimizing the predictive error, yielded the best model for predicting the wall R-value and furnace efficiency. The best MAE error in predicting the attic R-value, wall R-value, furnace efficiency, and AC SEER was reduced from 0.5249 to 0.2752, 0.2768 to 0.1044, 0.0362 to 0.0116, and 0.7450 to 0.4245, respectively. All of these errors could be well-tolerated in virtual energy audits.
It is interesting in this table to see how the use of multiple power spectrum frequencies especially harms the models in predicting the AC SEER and furnace efficiencies (cases a–d). The fact is that the ac and furnace systems for the set of residences are respectively two- and single-stage systems, meaning that the cooling and heating powers respectively have two and one levels. Having multiple power spectrum frequency bins to predict the cooling/heating system efficiencies is seen to actually hurt the performance of the regression. Additionally, it is interesting to see the progressive improvement in model accuracy for predicting all of the features as a result of using a reduced number of power spectrum frequencies obtained either from the variable importance characterization from the GBM model or through error minimization. This in effect says that the different features are associated with specific frequencies. For example, the best model in predicting the furnace efficiency is associated with a single binned power spectrum efficiency of 46. Given that only the single-stage furnaces are considered in this study, all with constant heating power, the time response associated with furnace on-time dictates that a single frequency should best characterize this system. In comparison, a majority of the AC systems considered in this study had two stages associated with different cooling powers. Thus, it is not surprising that two power spectrum bins capture the dynamics of these systems best. Similarly, the attic and wall R-values control the dynamics associated with cooling of the internal environment. Again, a single frequency should best characterize the dynamics of these components.
Table 7 summarizes the best model testing performance for each of the targeted energy characteristics obtained from Table 6. Table 8 shows the actual values and predicted values of these characteristics using these best models for all of the testing houses. Model performance appears strong across evaluation metrics. The errors associated with the prediction of each energy are quite small for all of the residences. These errors could well be tolerated in any energy audit.
Figure 4 helps to illustrate the most important power spectrum density (PSD) frequency for each target, and how each frequency is different from a high- and low-efficiency house. First, the following dominant PSD frequencies: 6, 16, 23, and 46, show high power in high-efficiency houses and low power in low-efficiency houses. Second, the dominant PSD frequencies, 13 and 24, show low power in high-efficiency houses and high power in low-efficiency houses.

6.3.3. Summary of the Best Model Validation Statistics and Hyperparameters

The model validation statistics for the best testing models for each target seen in Table 7 are shown in Table 9. The validation metrics are exceptional at or very close to 1 for all targeted variables. Table 10 shows the tuned hyperparameters for each of the best models.

6.3.4. Identifying the Value of the Thermostat-Derived Features for Predicting Energy Characteristics

Table 11 summarizes the validation metrics for predicting the targeted attic R-value, wall R-value, natural gas furnace efficiency, and air conditioner SEER value for the various models considered using the complete training data features, e.g., considering the case where thermostat-derived power spectrum binned data is not included. From this table, it is clear that it yielded strikingly good model results, with respective R-squared values of 1, 1, 1, and 0.99 and RMSE errors of 0.0022, 0.0013, 0.0002, and 0.1513 for predicting the attic R-value, wall R-value, furnace efficiency, and AC SEER. The tuned hyperparameters (number of trees, number of internal trees, depth, and minimum number of observations in the smallest leaf) for the best GBM models are shown in Table 12.
The hyperparameters of the best model without using thermostat-derived information shown in Table 12 are compared to the hyperparameters of the best model obtained using thermostat-derived information shown in Table 10. It should be noted that the number of trees and the minimum number of observations in the minimum leaf are within the recommended values, which are 2/3 the number of observations and 12 observations per leaf, respectively. Furthermore, there is similarity in all of the hyperparameters, providing an indication of the confidence that the models developed to predict the energy characteristics using thermostat-derived data is not simply overfitted relative to the case where thermostat data were excluded.
The developed models were then applied to the testing set of houses described previously. Table 13 shows the actual values and predicted values of the targeted energy characteristics. The models were generally accurate in predicting the energy characteristics; however, the AC SEER values in the training data set did not have as much variation as desired, thus the predictions of these had the greatest associated error. The testing results were as follows (see Table 14). The R-squared and MAE values for predicting the attic R-value, wall R-value, furnace efficiency, and AC SEER were respectively 0.6778, 0.6474, 0.6280, and 0.5928 (R-squared), and 0.5249, 0.2768, 0.0362, and 0.7450 (MAE). These results are significantly poorer than the predictions reliant upon the thermostat-derived information.

7. Conclusions and Discussion

This study has demonstrated the feasibility of utilizing available residential building data, historical energy consumption, and archived smart WiFi thermostat data to develop machine learning models to predict with accuracy the primary heating and cooling characteristics of a residence provided there is a set of residences for which the energy characteristics have been measured for. Residences with known energy characteristics, if they reflect the whole pool of residences in a particular area, can be used to effectively calibrate a data-based model, which can then be used to predict energy characteristics in other residences. Uniquely, this research has shown the value of thermostat-derived data characterizing the dynamic response of residential inside temperature to weather and thermostat set point changes in improving the accuracy of these predictions.
The potential implication of this research is substantial. The data needed to render this information is potentially accessible. Generally, smart WiFi thermostat data is accessed via the cloud by the thermostat manufacturer. This research is premised on the idea that such companies could directly manage or indirectly participate in a regional electric and/or gas utility sponsored program to audit residences leveraging smart WiFi thermostats. Through such an arrangement, the smart WiFi thermostat manager would also have access to metered energy consumption for all participating residences. If data for all types of possible residences could be collected, at least within the boundaries of a utility service territory, a single model could be trained to predict the most important energy characteristics that would be applicable to every residence in a region. Potential savings from upgrades of every energy characteristic in each residence could be estimated. A strategic energy (and carbon) reduction investment protocol could be established to realize the greatest savings per investment, and in a way that did not exclude low- to low–middle-income residences.
Admittedly, there is more work to do. One, the dataset used for training must be expanded. All of the houses considered in this study were two-story wood-frame houses. Data from brick, stone, single-story, duplex, etc. residences must be added to the growing database of residences to expand the relevance of this research to the whole of the U.S. and the rest of the developed world, where buildings generally have much higher thermal mass. It is certain that the approach posed here could be likewise used in such buildings; however, new predictive features characterizing the construction type (brick, stone, etc.) would be needed to generalize the model developed. Additionally, other features characterizing the placement of a residence relative to adjacent residences, such as single-family detached, condo, apartment, etc., could be added as predictors.
Further, there is an opportunity to combine data derived from smart WiFi thermostats and smart interval meters to expand the information derived. In the U.S., nearly 70% of residences are equipped with smart meters [54]. In Europe, the adoption of this technology is even more pervasive [55]. If both datasets were to be leveraged, the source power for cooling, heating (if heat pump), and ventilation could be determined. Energy savings estimations from upgrades of the HVAC energy savings retrofits could as a result be more accurately calculated.
In addition, this study only used one thermostat-derived piece of information. The thermostat temperature set point history could and should also be considered. Finally, solar fenestration has a clear impact on the dynamics of residences, especially those with large window areas. Future research should include solar irradiation dynamic inputs.

Author Contributions

Conceptualization, A.A. and K.P.H.; methodology, A.A. and K.P.H.; software, A.A.; validation, A.A. and K.P.H.; formal analysis, A.A.; investigation, A.A.; resources, A.A. and K.P.H.; data curation, A.A. and K.P.H.; writing—original draft preparation, A.A.; writing—review and editing, K.P.H. and K.H.; visualization, A.A. and K.H.; supervision, K.P.H.; project administration, K.P.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data are not publicly available due to privacy.

Acknowledgments

Alanezi, A. would like to acknowledge financial support from the Colleges and Institutes Sector at the Royal Commission for Jubail, Saudi Arabia.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Table A1. Ranges of the first 50 h of the power spectrum period.
Table A1. Ranges of the first 50 h of the power spectrum period.
Period Bin (h)Minimum ValueMaximum ValuePeriod Bin (h)Minimum ValueMaximum Value
Period 10.0079535.78Period 260.00967.02
Period 20.0211302.25Period 270.006410.38
Period 30.1754177.83Period 280.002711.26
Period 40.1842163.19Period 290.03238.00
Period 50.0265170.60Period 300.005211.65
Period 60.126355.03Period 310.00226.85
Period 70.082062.02Period 320.00438.11
Period 80.4016165.33Period 330.02047.91
Period 90.059053.93Period 340.01274.65
Period 100.125156.29Period 350.00265.73
Period 110.020949.24Period 360.00795.92
Period 120.016118.75Period 370.01203.57
Period 130.044923.33Period 380.001512.31
Period 140.104631.88Period 390.00499.56
Period 150.113721.85Period 400.01519.28
Period 160.023924.81Period 410.003028.92
Period 170.013220.87Period 420.013053.46
Period 180.026315.42Period 430.01899.27
Period 190.017814.37Period 440.00776.59
Period 200.06437516.02585Period 450.01539.19
Period 210.0046328.932784Period 460.020413.02
Period 220.04944113.36089Period 470.01175.32
Period 230.00418113.83434Period 480.00267.72
Period 240.04888517.52227Period 490.01057.86
Period 250.0049239.891493Period 500.0079535.78

References

  1. Consumption & Efficiency, U.S. Energy Information Administration. Available online: https://www.eia.gov/consumption/ (accessed on 15 August 2020).
  2. Natural Gas Explained Use of Natral Gas, U.S. Energy Information Administration (EIA). Available online: https://www.eia.gov/energyexplained/index.php?page=natural_gas_use (accessed on 11 November 2018).
  3. Higgins, A.; Foliente, G.; McNamara, C. Modelling intervention options to reduce GHG emissions in housing stock—A diffusion approach. Technol. Forecast. Soc. Chang. 2011, 78, 621–634. [Google Scholar] [CrossRef]
  4. Lin, J. Energy Affordability and Access in Focus: Metrics and Tools of Relative Energy Vulnerability. Electr. J. 2018, 31, 23–32. [Google Scholar] [CrossRef]
  5. Robertson, A.G.; Hallinan, K.; Hoody, J. Achieving Energy Justice in Low Income Communities: Creating a Community-Driven Program for Residential Energy Savings. In Proceedings of the Social Practice of Human Rights Conference, Dayton, OH, USA, 1–4 October 2019. [Google Scholar]
  6. Drehobl, A.; Ross, L. Lifting the High Energy Burden in America’s Largest Cities: How Energy Efficiency Can Improve Low Income and Underserved Communities; American Council for an Energy-Efficient Economy: Washington, DC, USA, 2016. [Google Scholar]
  7. Do, H.; Cetin, K.S. Data-Driven Evaluation of Residential HVAC System Efficiency Using Energy and Environmental Data. Energies 2019, 12, 188. [Google Scholar] [CrossRef] [Green Version]
  8. Kwok, S.S.; Lee, E.W. A study of the importance of occupancy to building cooling load in prediction by intelligent approach. Energy Convers. Manag. 2011, 52, 2555–2564. [Google Scholar] [CrossRef]
  9. Shen, B.; Price, L.; Lu, H. Energy audit practices in China: National and local experiences and issues. Energy Policy 2012, 46, 346–358. [Google Scholar] [CrossRef] [Green Version]
  10. A Guide to Energy Audits; U.S. Department of Energy, Pacific Northwest National Laboratory Richland: Washington, DC, USA, 2011.
  11. Olsen, J. Work Plan for Potential GHG Reduction Measure; Department of Environmental Protection 22 October 2008. Available online: https://files.dep.state.pa.us/Energy/Office%20of%20Energy%20and%20Technology/lib/energy/docs/climatechangeadvcom/residential/appliance_standards_work_plan_100808.doc (accessed on 4 February 2020).
  12. Gerlach, D.; Taylor, R.; Oggianu, S.; Trcka, M. A Case Study of Multiple Energy Audits of the Same Building: Conclusions and Recommendations. ASHRAE Trans. 2014, 120, 1. [Google Scholar]
  13. Helcke, G.A.; Conti, F.; Daniotti, B.R.; Peckham, J. A Detailed Comparison of Energy Audits Carried Out by Four Separate Companies on the Same Set of Buildings. Energy Build. 1990, 14, 153–164. [Google Scholar] [CrossRef]
  14. Harris, J.; Anderson, J.; Shafron, W. Investment in energy efficiency: A survey of Australian firms. Energy Policy 2000, 28, 867–876. [Google Scholar] [CrossRef]
  15. Brecha, R.; Mitchell, A.; Hallinan, K.; Kissock, K. Prioritizing investment in residential energy efficiency and renewable energy—A case study for the U.S. Midwest. Energy Policy 2011, 39, 2982–2992. [Google Scholar] [CrossRef]
  16. Al Tarhuni, B.; Naji, A.; Brodrick, P.G.; Hallinan, K.P.; Brecha, R.J.; Yao, Z. Large scale residential energy efficiency prioritization enabled by machine learning. Energy Effic. 2019, 12, 2055–2078. [Google Scholar] [CrossRef]
  17. King, J. Energy Impacts of Smart Home Technologies; American Council for an Energy-Efficient Economy (ACEEE): Washington, DC, USA, 2018. [Google Scholar]
  18. Hossain, M.M.; Zhang, T.; Ardakanian, O. Identifying grey-box thermal models with Bayesian neural networks. Energy Build. 2021, 238, 110836. [Google Scholar] [CrossRef]
  19. Huang, K.; Hallinan, K.P.; Lou, R.; Alanezi, A. Self-Learning Algorithm to Predict Indoor Temperature and Cooling Demand from Smart WiFi Thermostat in a Residential Building. Sustainability 2020, 12, 7110. [Google Scholar] [CrossRef]
  20. Stopps, H.; Touchie, M.F. Residential smart thermostat use: An exploration of thermostat programming, environmental attitudes, and the influence of smart controls on energy savings. Energy Build. 2021, 238, 110834. [Google Scholar] [CrossRef]
  21. Lou, R.; Hallinan, K.P.; Huang, K.; Reissman, T. Smart Wifi Thermostat-Enabled Thermal Comfort Control in Residences. Sustainability 2020, 12, 1919. [Google Scholar] [CrossRef] [Green Version]
  22. Boyano, A.; Hernandez, P.; Wolf, O. Energy demands and potential savings in European office buildings: Case studies based on Energy Plus simulations. Energy Build. 2013, 65, 19–28. [Google Scholar] [CrossRef]
  23. Xing, J.; Ren, P.; Ling, J. Analysis of energy efficiency retrofit scheme for hotel buildings using eQuest software: A case study from Tianjin, China. Energy Build. 2015, 87, 14–24. [Google Scholar] [CrossRef]
  24. Polly, B.; Kruis, N.; Roberts, D. Assessing and Improving the Accuracy of Energy Analysis for Residential Buildings; U.S. Department of Energy: Springfield, IL, USA, 2011. [Google Scholar]
  25. Roth, A. The Shockingly Short Payback of Energy Modeling; The United States Department of Energy (DOE). Available online: https://www.energy.gov/eere/buildings/articles/shockingly-short-payback-energy-modeling (accessed on 22 September 2019).
  26. Earth Advantage Institute; Conservation Services Group. Energy Performance Score (eps) 2008 Pilot; Energy Trust of Oregon EAI/CSG: Portland, OR, USA, 2009. [Google Scholar]
  27. Pigg, S.; Nevius, M. Energy and Housing in Wisconsin: A Study of Single-Family Owner-Occupied Homes; Energy Center of Wisconsin: Madison, WI, USA, 2000. [Google Scholar]
  28. Ternes, M.P.; Gettings, M.B. Analyses to Verify and Improve the Accuracy of the Manufactured Home Energy Audit (MHEA); Oak Ridge National Laboratory: Oak Ridge, TN, USA, 2008. [Google Scholar]
  29. Duncan, J.P.; Ballinger, M.Y.; Fritz, B.G.; Tilden, H.T.; Stoetzel, G.A.; Barnett, J.M.; Su-Coker, J.J.; Stegen, A.; Moon, T.W.; Becker, J.M.; et al. Pacific Northwest National Laboratory Annual Site Environmental Report for Calendar Year 2012; Pacific Northwest National Laboratory: Richland, WA, USA, 2013. [Google Scholar]
  30. Kissock, J.K.; Haberl, J.S.; Claridge, D.E. Inverse Modeling Toolkit: Numerical Algorithms. ASHRAE Trans. 2003, 109, 425–434. [Google Scholar]
  31. Kissock, J.K.; Mulqueen, S. Targeting Energy Efficiency in Commercial Buildings Using Advanced Billing Analysis. In Proceeding of the 2008 ACEEE Summer Study on Energy Efficiency in Buildings, Pacific Grove, CA, USA, 17–22 August 2008. [Google Scholar]
  32. Hallinan, K.P.; Brecha, R.L.; Mitchell, A.; Kissock, J.K. Targeting Residential Energy Reduction for City Utilities Using Historical Electrical Utility Data and Readily Available Building Data. ASHRAE Trans. 2011, 117, 577. [Google Scholar]
  33. Santin, O.G.; Itard, L.; Visscher, H. The effect of occupancy and building characteristics on energy use for space and water heating in Dutch residential stock. Energy Build. 2009, 41, 1223–1232. [Google Scholar] [CrossRef]
  34. Lee, S.H.; Hong, T.; Piette, M.A.; Taylor-Lange, S.C. Energy retrofit analysis toolkits for commercial buildings: A review. Energy 2015, 89, 1087–1100. [Google Scholar] [CrossRef] [Green Version]
  35. Researchers at Great Lakes Energy Institute Partner with Johnson Controls to Begin Marketing Lower-Cost Technology to Small Businesses. Case Western Reserve University. Available online: https://energy.case.edu/virtualenergyaudits. (accessed on 11 August 2019).
  36. Lee, S.H.; Hong, T.; Piette, M.A. Review of Existing Energy Retrofit Tools; Lawrence Berkeley National Laboratory: Berkeley, CA, USA, 2014. [Google Scholar]
  37. Pickering, E.M. EDIFES 0.4: Scalable Data Analytics for Commercial Building Virtual Energy Audits; Case Western Reserve University: Cleveland, OH, USA, 2016. [Google Scholar]
  38. Global Smart Meters Industry (2020 to 2025)–Cellular is Expected to Dominate the Smart Meters Market. M2PressWIRE. Available online: http://search.ebscohost.com/login.aspx?direct=true&db=nfh&AN=16PU238291088&site=eds-live (accessed on 19 June 2020).
  39. Strbac, G. Demand side management: Benefits and challenges. Energy Policy 2008, 36, 4419–4426. [Google Scholar] [CrossRef]
  40. Fagerberg, J.; Frick, A. Smart Homes and Home Automation; Berg Insight AB: Gothenburg, Sweden, 2017. [Google Scholar]
  41. National Oceanic and Atmospheric Administration (NOAA); U.S. Department of Commerce. Available online: https://gis.ncdc.noaa.gov/maps/ncei/ (accessed on 16 August 2018).
  42. Weather Underground. Available online: https://www.wunderground.com/ (accessed on 19 June 2020).
  43. Semmlow, J. The Fourier Transform and Power Spectrum. Implications and Applications. In Signals and Systems for Bioengineers, 2nd ed.; Academic Press: Cambridge, MA, USA, 2012; pp. 131–165. [Google Scholar]
  44. Power Spectral Density. Available online: https://www.mathstat.dal.ca/~stat5390/Section_4_PSD1.pdf (accessed on 15 June 2019).
  45. Singh, A.; Yadav, A.; Rana, A. K-means with Three different Distance Metrics. Int. J. Comput. Appl. 2013, 67, 13–17. [Google Scholar] [CrossRef]
  46. Kang, H. The prevention and handling of the missing data. Korean J. Anesthesiol. 2013, 64, 402–406. [Google Scholar] [CrossRef]
  47. Drori, I.; Liu, L.; Nian, Y.; Koorathota, S.C.; Li, J.S.; Moretti, A.K.; Freire, J.; Udell, M. AutoML using Metadata Language Embeddings. In Proceedings of the 33rd Conference on Neural Information Processing Systems, Vancouver, BC, Canada, 10–12 December 2019. [Google Scholar]
  48. Osman, H.; Ghafari, M.; Nierstrasz, O. Hyperparameter Optimization to Improve Bug Prediction Accuracy. In Proceedings of the 2017 IEEE Workshop on Machine Learning Techniques for Software Quality Evaluation, Klagenfurt, Austria, 21 February 2017; pp. 33–38. [Google Scholar]
  49. AutoML: Automatic Machine Learning. H2O.ai. Available online: https://docs.h2o.ai/h2o/latest-stable/h2o-docs/automl.html. (accessed on 19 June 2020).
  50. Kohavi, R. A Study of Cross-Validation and Bootstrap for Accuracy Estimation and Model Selection. In Proceedings of the 14th International Joint Conference on Artificial Intelligence (IJCAI), Montreal, QC, Canada, 20–25 August 1995. [Google Scholar]
  51. Ménard, R.; Deshaies-Jacques, M. Evaluation of Analysis by Cross-Validation. Part I: Using Verification Metrics. Atmosphere 2018, 9, 86. [Google Scholar] [CrossRef] [Green Version]
  52. Khandelwal, R. K Fold and Other Cross-Validation Techniques. Data Driven Investor. Available online: https://medium.com/datadriveninvestor/k-fold-and-other-cross-validation-techniques-6c03a2563f1e (accessed on 22 September 2019).
  53. Lu, H.; Karimireddy, S.P.; Ponomareva, N.; Mirrokni, V. Accelerating Gradient Boosting Machines. In Proceedings of the 23rd International Conference on Artificial Intelligence and Statistics (AISTATS), Palermo, Italy, 3–5 June 2020. [Google Scholar]
  54. Cooper, A.; Shusterand, M. Electric Company Smart Meter Deployments: Foundation for a Smart Grid (2019 Update); The Edison Foundation: Washington, DC, USA, 2019. [Google Scholar]
  55. Tounquet, F.; Alaton, C. Benchmarking Smart Metering Deployment in the EU-28; European Commission: Brussel, Belgium, 2019. [Google Scholar]
Figure 1. Outdoor air temperature histogram of one electric meter period.
Figure 1. Outdoor air temperature histogram of one electric meter period.
Energies 14 02500 g001
Figure 2. Power spectrum for the indoor temperature measured at the thermostat for (a) high- and (b) low-efficiency houses.
Figure 2. Power spectrum for the indoor temperature measured at the thermostat for (a) high- and (b) low-efficiency houses.
Energies 14 02500 g002
Figure 3. Variable importance plots including thermostat-derived information for the (a) attic R-value model, (b) wall R-value model, (c) furnace efficiency model using the natural gas dataset, and (d) AC SEER model using the electric dataset.
Figure 3. Variable importance plots including thermostat-derived information for the (a) attic R-value model, (b) wall R-value model, (c) furnace efficiency model using the natural gas dataset, and (d) AC SEER model using the electric dataset.
Energies 14 02500 g003
Figure 4. Power spectrum for the indoor temperature measured at the thermostat for (a) high- and (b) low-efficiency houses for the most important frequencies identified.
Figure 4. Power spectrum for the indoor temperature measured at the thermostat for (a) high- and (b) low-efficiency houses for the most important frequencies identified.
Energies 14 02500 g004
Table 2. Ranges of residential building geometrical data, energy characteristics, and residence occupancy collected during a summer 2015 audit of 101 houses.
Table 2. Ranges of residential building geometrical data, energy characteristics, and residence occupancy collected during a summer 2015 audit of 101 houses.
CategoryPropertiesMinimum ValueMaximum Value
GeometryFloor area (m2)66257
Basement area (m2)None131
Attic area (m2)42245
Window area (m2)627
Wall area (m2)54301
Energy CharacteristicAttic thermal insulation (m2 × K × W−1)1.147.06
Walls thermal insulation (m2 × K × W−1)0.682.43
Furnace efficiency (−)0.600.95
AC SEER (Btu/W-hr)1016
Water heater efficiency (−)0.550.95
Refrigerator efficiency (EF)924
Refrigerator size (L)467747
OccupancyNumber of occupants212
ConsumptionMonthly Electric usage (kWh × month−1)4592640
Monthly Gas usage (MJ × month−1)761031,746
Table 3. Input features used to develop each target model (X means selected feature).
Table 3. Input features used to develop each target model (X means selected feature).
Input FeaturesTargets
Attic R-ValueWall R-ValueFurnace EfficiencyAC SEER
Floor area (m2)XXXX
Basement area (m2)XXXX
Attic area (m2)XXXX
Window area (m2)XXXX
Wall area (m2)XXXX
Attic thermal insulation (m2 × K × W−1) XXX
Walls thermal insulation (m2 × K × W−1) XX
Furnace efficiency (−)
A\C SEER (Btu/W-hr)
Water heater efficiency (−)XXX
Refrigerator efficiency (EF)XXXX
Refrigerator size (L)XXXX
Is there a wash and dryer machine (yer/no)XXXX
Is there a dishwasher machine (yer/no)XXXX
Number of occupantsXXXX
PDD bins for outdoor temperature (34 bins)XXXX
PSD frequenciesXXXX
Monthly electric usage (kWh month−1) X
Monthly gas usage (MJ month−1)XXX
Table 4. Randomly selected test observations.
Table 4. Randomly selected test observations.
House Num.Targeted Feature
Attic R-Value
(m2 × K × W−1)
Wall R-Value
(m2 × K × W−1)
Furnace Efficiency
(−)
AC SEER
(BTU × W−1 × hr−1)
House 13.130.690.7814.00
House 26.222.440.9513.00
House 32.230.860.7814.00
House 43.130.860.8010.00
House 51.710.860.9013.00
House 63.130.690.7811.30
Table 5. Validation metrics for model development using the complete feature dataset with different machine learning algorithms.
Table 5. Validation metrics for model development using the complete feature dataset with different machine learning algorithms.
TargetModel OrderModel AlgorithmRMSEMSEMAERMSLE
Attic R-Value1Gradient Boosting Machine (GBM)3.39 × 10−51.15 × 10−91.47 × 10−59.87 × 10−6
2Distributed Random Forest (DRF)0.00214.39 × 10−60.00020.0004
3Extremely Randomized Trees (XRT)0.00266.97 × 10−60.00060.0008
4Generalized Linear Model (GLM)0.65870.43380.50810.1872
Walls R-Value1Gradient Boosting Machine (GBM)1.10 × 10−61.21 × 10−126.17 × 10−73.49 × 10−7
2Extremely Randomized Trees (XRT)0.00042.33 × 10−74.56 × 10−50.0002
3Distributed Random Forest (DRF)0.00142.16 × 10−66.16 × 10−50.0007
4Generalized Linear Model (GLM)0.35370.12510.26920.1553
Furnace Efficiency1Gradient Boosting Machine (GBM)3.94 × 10−71.55 × 10−133.24 × 10−72.13 × 10−7
2Distributed Random Forest (DRF)1.60 × 10−52.57 × 10−101.37 × 10−68.30 × 10−6
3Extremely Randomized Trees (XRT)0.00012.49 × 10−81.22 × 10−58.78 × 10−5
4Generalized Linear Model (GLM)0.04850.00230.03890.0261
AC SEER1Gradient Boosting Machine (GBM)0.03280.00110.00460.0025
2Distributed Random Forest (DRF)0.17710.03130.03920.0134
3Extremely Randomized Trees (XRT)0.18280.03340.03930.0137
4Generalized Linear Model (GLM)1.00901.01820.76150.0753
Table 6. Power spectrum density (PSD) frequency cases with model prediction evaluation parameters for the testing dataset.
Table 6. Power spectrum density (PSD) frequency cases with model prediction evaluation parameters for the testing dataset.
CasePSD Frequency NumberTargetR2RMSEMSEMAERMSLE
(a). 1st 40 frequenciesFrom 1 to 40Attic R-Value0.66290.83160.69150.60530.1674
Walls R-Value0.77210.29520.08710.26110.1374
Furnace Efficiency0.10970.06440.00410.05330.0352
AC SEER−0.28221.64582.70851.12390.1278
(b). 1st 20 frequenciesFrom 1 to 20Attic R-Value0.48871.02411.04880.82330.2259
Walls R-Value0.75410.30660.09400.26590.1339
Furnace Efficiency−0.40190.08080.00650.07020.0437
AC SEER−0.64781.86583.48111.51560.1422
(c). 1st 10 frequenciesFrom 1 to 10Attic R-Value0.82850.59310.35170.47120.1554
Walls R-Value0.59290.39450.15570.25980.1775
Furnace Efficiency−0.02140.06890.00480.05940.0376
AC SEER−0.34311.68442.83721.49000.1285
(d). top 10 frequencies based on GBM variable importance16, 24, 38, 36, 22, 15, 25, 47, 41, and 45Attic R-Value0.80280.63610.40460.45690.1318
17, 20, 18, 46, 31, 32, 35, 7, 8, and 48Walls R-Value0.84000.24730.06120.16270.1154
33, 41, 18, 35, 43, 17, 28, 4, 38, and 16Furnace Efficiency−0.87200.09330.00870.07030.0503
35, 42, 38, 7, 20, 14, 16, 10, 32, and 4AC SEER0.10871.37221.88290.94890.1082
(e). top 2 frequencies based on GBM variable importance16 and 24Attic R-Value0.94080.34860.12150.27520.0688
17 and 20Walls R-Value0.66080.36010.12970.28850.1588
33 and 41Furnace Efficiency−0.70840.08920.00800.07740.0482
35 and 42AC SEER0.39921.12661.26920.90780.0858
(f). top single frequency based on GBM variable importance16Attic R-Value0.87340.50950.25960.36130.1186
17Walls R-Value0.81660.26480.07010.19490.1282
33Furnace Efficiency0.06090.06610.00440.05700.0357
35AC SEER0.37051.15311.32970.86210.0857
(g). best 2 frequencies based minimizing error21 and 5Attic R-Value0.66180.83290.69380.58820.1753
13 and 20Walls R-Value0.74370.31300.09800.22070.1440
46 and 31Furnace Efficiency0.71170.03660.00130.03360.0200
6 and 23AC SEER0.90530.44720.20000.42450.0332
(h). best single frequency minimizing error21Attic R-Value0.90790.43480.18900.37790.1093
13Walls R-Value0.94210.14880.02220.10440.0780
46Furnace Efficiency0.95360.01470.00020.01160.0079
6AC SEER0.75900.71350.50900.62790.0520
Table 7. Testing prediction evaluation statistics for the best model case from Table 6.
Table 7. Testing prediction evaluation statistics for the best model case from Table 6.
TargetBest ML AlgorithmR2RMSEMSEMAERMSLE
Attic R-ValueGBM0.94080.34860.12150.27520.0688
Walls R-ValueGBM0.94210.14880.02220.10440.0780
Furnace EfficiencyGBM0.95360.01470.00020.01160.0079
AC SEERGBM0.90530.44720.20000.42450.0332
Table 8. Actual and predicted data for the testing houses with using thermostat-derived information.
Table 8. Actual and predicted data for the testing houses with using thermostat-derived information.
House Num.Attic R-ValueWall R-ValueFurnace EfficiencyAC SEER
ActualPredictedActualPredictedActualPredictedActualPredicted
House 13.133.050.690.680.780.8014.0013.72
House 26.225.512.442.470.950.9513.0012.70
House 32.232.470.861.130.780.7914.0014.57
House 43.132.820.860.780.800.8110.0010.33
House 51.711.910.860.860.900.9313.0013.41
House 63.133.040.690.910.780.7811.3011.95
Table 9. Models’ prediction evaluation parameters for validation using thermostat-derived information.
Table 9. Models’ prediction evaluation parameters for validation using thermostat-derived information.
TargetBest ML AlgorithmR2RMSEMSEMAERMSLE
Attic R-ValueGBM10.00075.36 × 10−76.38 × 10−50.0001
Walls R-ValueGBM10.00041.60 × 10−77.51 × 10−50.0002
Furnace EfficiencyGBM11.03 × 10−51.06 × 10−101.72 × 10−65.36 × 10−6
AC SEERGBM0.99780.08210.00670.02100.0062
Table 10. Model hyperparameters for all targets using thermostat-derived information.
Table 10. Model hyperparameters for all targets using thermostat-derived information.
TargetBest ML AlgorithmNum. of TreesMin. DepthMax DepthMean DepthMin. LeavesMax. LeavesMean Leaves
Attic R-ValueGBM212666155734.87
Walls R-ValueGBM231666106443.44
Furnace EfficiencyGBM225666155634.12
AC SEERGBM133666166235.86
Table 11. Models’ prediction evaluation parameters for validation without using thermostat-derived information.
Table 11. Models’ prediction evaluation parameters for validation without using thermostat-derived information.
TargetBest ML AlgorithmR2RMSEMSEMAERMSLE
Attic R-ValueGBM10.00224.87 × 10−60.00020.0003
Walls R-ValueGBM10.00131.65 × 10−60.00040.0006
Furnace EfficiencyGBM10.00023.59 × 10−88.11 × 10−50.0001
AC SEERGBM0.99270.15130.02290.04270.0119
Table 12. Model hyperparameters for all targets without using thermostat-derived information.
Table 12. Model hyperparameters for all targets without using thermostat-derived information.
TargetBest ML AlgorithmNum. of TreesMin. DepthMax DepthMean DepthMin. LeavesMax. LeavesMean Leaves
Attic R-ValueGBM215666136134.94
Walls R-ValueGBM186101010268853.89
Furnace EfficiencyGBM143101010158861.75
AC SEERGBM120666125435.96
Table 13. Actual and predicted data for the testing houses without using thermostat-derived information.
Table 13. Actual and predicted data for the testing houses without using thermostat-derived information.
House Num.Attic R-ValueWall R-ValueFurnace EfficiencyAC SEER
ActualPredictedActualPredictedActualPredictedActualPredicted
House 13.133.090.690.800.780.8014.0013.58
House 26.224.382.442.140.950.9113.0013.48
House 32.232.830.861.630.780.8614.0013.19
House 43.132.950.860.750.800.8310.0011.89
House 51.711.610.860.810.900.9313.0013.70
House 63.132.750.691.010.780.8011.3011.46
Table 14. Models’ prediction evaluation parameters for testing without using thermostat-derived information.
Table 14. Models’ prediction evaluation parameters for testing without using thermostat-derived information.
TargetBest ML AlgorithmR2RMSEMSEMAERMSLE
Attic R-ValueGBM0.67780.81300.66100.52490.1468
Walls R-ValueGBM0.64740.36720.13480.27680.1668
Furnace EfficiencyGBM0.62800.04160.00170.03620.0227
AC SEERGBM0.59280.92750.86020.74500.0739
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Alanezi, A.; Hallinan, K.P.; Huang, K. Automated Residential Energy Audits Using a Smart WiFi Thermostat-Enabled Data Mining Approach. Energies 2021, 14, 2500. https://doi.org/10.3390/en14092500

AMA Style

Alanezi A, Hallinan KP, Huang K. Automated Residential Energy Audits Using a Smart WiFi Thermostat-Enabled Data Mining Approach. Energies. 2021; 14(9):2500. https://doi.org/10.3390/en14092500

Chicago/Turabian Style

Alanezi, Abdulrahman, Kevin P. Hallinan, and Kefan Huang. 2021. "Automated Residential Energy Audits Using a Smart WiFi Thermostat-Enabled Data Mining Approach" Energies 14, no. 9: 2500. https://doi.org/10.3390/en14092500

APA Style

Alanezi, A., Hallinan, K. P., & Huang, K. (2021). Automated Residential Energy Audits Using a Smart WiFi Thermostat-Enabled Data Mining Approach. Energies, 14(9), 2500. https://doi.org/10.3390/en14092500

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop