Regression and Artificial Neural Network Models with Data Classifications for Building Energy Predictions.
INTRODUCTIONAs energy concerns continue to grow, the need to create more efficient building systems has increased. This requires accurate modeling techniques that can be used for many energy-saving applications. Most modern buildings are equipped with electric power meters that record electric power energy data at any specified time interval. Unfortunately, those data may not be used as effectively as intended. Therefore, there is a significant need to investigate how modern computational techniques can be used to gain the full benefit of the data available and achieve energy savings targets. These techniques can lead to many potential intelligent applications such as modeling, optimization, energy efficiency and energy assessment, and fault detection and diagnosis (ASHRAE 2015; Nassif 2014; Seem 2007; Wang et. al 2010). The single or multivariate regression models are widely used as a means of identifying energy efficiency measures, monitoring energy consumption, and completing measurement and verification projects (ASHRAE 2013; Nassif 2013). In addition, these regression models have been used extensively to capture the performance of equipment such as fans, chillers, and pumps (Stein and Hydeman 2004; Hydeman et al. 2002). The single or multiple regression models are easy to develop and use compared to other modeling techniques such as simplified HVAC system models (Katipamula and Claridge 1993), which are calibrated simulations that depend on either detailed building energy simulation programs (ASHRAE 2013; Manke et al. 1996), artificial neural networks (Nassif et al. 2016), and/or Fourier series functions (Dhar et al. 1998). Most regression models use outdoor dry-bulb temperature and sometimes the dew-point temperature as the most important regressors. Those models may perform very poorly when the data have different trends resulting from the system operating schedule and other important factors. Thus, this paper investigates the different aspects of modeling hourly or subhourly energy consumption and proposes improvements using data classifications. Six different data-based models are presented and discussed: three typical single to multiple regression models, two proposed regression models, and one artificial neural network (ANN) model with recommended classifications. Whole-building electric energy consumption data collected from existing buildings at 15 min intervals are used to build and test the models. Additional hourly electric energy data obtained from the well-known energy simulation program eQUEST (DOE 2016) are also used for detailed analysis.
DATA COLLECTION
The whole-building electric energy consumption data are collected from four simulated buildings (Building 1, Building 2, Building 3, and Building 4) and two actual buildings located in Greensboro, North Carolina (Building 5 and Building 6). The simulated hourly electric energy consumptions are collected for four different locations (Greensboro, North Carolina; New York City, New York; Seattle, Washington; and Miami, Florida). Figure 1 shows the whole-building electric energy consumption of these six buildings as a function of outdoor air dry-bulb temperature. For clarity, the data for Building 3 shown in Figure 1 are from Miami, Florida, whereas data from other buildings are from Greensboro, North Carolina. (Data from buildings in New York and Seattle are not shown in this figure.) The simulations are done using the building energy simulation program eQUEST (DOE 2016) for existing buildings selected from a school campus. All buildings are conditioned with chilled-water variable-air-volume (VAV) systems, and all are in the range of 40,000 to 60,000 [ft.sup.2] (3716 to 5574 [m.sup.2]). Buildings 1 and 2 are office buildings with an occupancy schedule from 8:00 a.m. to 5:00 p.m. The mechanical systems start at 7:00 a.m. and stop at 6:00 p.m. (in case any occupants stay late). The heating and cooling night setback temperatures are 82[degrees]F and 62[degrees]F (27.8[degrees]C and 16.7[degrees]C). The systems are off during the weekend. Building3 is made up of a combination of classrooms and offices, and no occupancy schedule exists even though the building is unoccupied from 10:00 p.m. to 7:00 a.m. Building 4 is similar to Building 3 but with an occupancy schedule applied: 100% occupancy from 7:00 a.m. to 10:00 p.m. for weekdays and 50% occupancy from 8:00 a.m. to 8:00 p.m. for weekends. Buildings 5 and 6 are made up of a combination of offices and classrooms, and no occupancy schedules exist during the time of data collection. Hourly electric energy consumption data are collected from the simulations and subhourly data (15 min) are collected from the two actual buildings. Due to different schedules and other factors, different trends can be noted. For instance, for Buildings 1 and 2, three major trends are noted: an occupied periodbetween8:00 a.m. and 5:00 p.m., an unoccupied period between 5:00 p.m. and 7:00 a.m. and during the holidays, and the HVAC systems' start and stop periods.
BUILDING ENERGY ESTIMATION MODELS
Generally, there are two widely used approaches to modeling the energy use in a building: forward and inverse. The forward model predicts the energy use based on detailed physical information of the system. The inverse, or data-driven, model is developed based on actual data from existing systems. Several types of data-driven models are used for estimating the energy use either in whole buildings or at equipment levels. These models vary from the single regression model with two, three, five, or even more parameters with/without change-points to multivariate regression models. There is no single model that can be appropriate for all buildings and applications. This paper investigates new techniques to estimate the hourly or subhourly electric energy consumption by regression models and ANNs using data classifications based on factors such system schedule, days' hours, and types of day. The six different models listed in Table 1 are discussed in this paper. The first three are typical modeling techniques used in many applications, particularly in energy measurement and verification (M&V). The last three models are the models proposed in this paper.
The single-variant, two-parameter model (Model 1) is the simplest weather-dependent model. It uses the ambient dry-bulb temperature [t.sub.a] as the only regressor variable. The regression parameters a and b are determined by the best-fit method. The single-variant change-point model (Model 2) uses the ambient dry-bulb temperature [t.sub.a] as the only regressor variable but with a change-point at certain temperature [t.sub.1] (e.g., 55[degrees]F [12.8[degrees]C]). The + sign in an equation means the term inside the parentheses will become zero if the outdoor temperature regressor [t.sub.a] is less than [t.sub.1]. The multivariate model (Model 3) is similar to Model 1 but considers the outdoor air dew-point temperature [t.sub.dp] a second regressor. Model 1, Model 2, and Model 3 are widely used in both residential and commercial buildings. The advantage of those models is they can be easily applied where monthly energy consumption (usually utility bill data) and average monthly temperatures are available. However, hourly or subhourly energy consumption may produce inaccurate results if building schedules and other important factors such as occupied and unoccupied periods are not considered. To improve those regression models, Model 4, Model 5, and Model 6 are proposed. Before the regression is performed, the data are classified based on occupied and unoccupied periods, weekend or weekday periods, and other known factors, depending on building schedule operation (e.g., seasons for schools). The single-variant model with classifications (Model 4) uses a typical single-variant change-point model applied at each data class. The multivariate model with classifications (Model 5) is similar to Model 4 but considers the outdoor air dew-point temperature a second regressor.
Figure 2 shows the electric energy consumption data for Building 1 and Building 5. By examining both building operation schedules, the following are noted:
* For Building 1, three different trends are noted. First, Class-1 is a cluster of data for the unoccupied period between 5:00 p.m. and 7:00 a.m. and holidays. Second, Class-2 is a cluster of data for the unoccupied period when the HVAC system starts early and stops late (starts at 7:00 a.m. and stops at 6:00 p.m.). Finally, Class-3 is a cluster of data for the occupied period between 8:00 a.m. and 5:00 p.m.
* Similar scenarios can be found for the other buildings. When the data were collected for Building 5, there was unfortunately no schedule implemented, so the HVAC systems were never turned off. Two classes are noted: 1) Class-1 is a cluster of data for the unoccupied period between 10:00 p.m. and 7:00 a.m. and the whole weekend period (even though HVAC systems operate during this periods as if no schedule was implemented), and (2) Class-2 is a cluster of data for an occupied period between 8:00 a.m. and 10:00 p.m.
In addition to the linear model, an ANN model was also investigated. The ANN model inputs are outdoor air temperature, dew-point outdoor air temperature, and a class number such as 1, 2, or 3. An infinite variety of network architectures can be used for this purpose, but in the interest of conserving computer time, the simplest structure needs to be considered. The model has only one hidden layer, 50 neurons, and a hyperbolic activation function (tanh function). The model has an output layer with one neuron and an activation function based on the sum of the weighted hidden layer neurons. The ANN model is trained and tested using the actual and simulated data shown in Figure 1. The MATLAB[R] Artificial Neural Network software (MathWorks 2016) was used.
RESULTS
The one-year data collected are divided into a training data set covering nine months and a testing data set covering three months. All models are developed using the training data set and tested against the testing data set. As an example, Figure 3 shows the fitting results for Model 1 and Model 3 for Building 3.
The six models described in Table 1 are developed and tested on the six investigated buildings. The regression results in terms of R-squared values are calculated and presented in Table 2 for both training and testing data sets.
To discuss these results, the performances of each investigated model are illustrated in Figures 4 through 6 for Building 1, Building 3, and Building 5, respectively. Similar results were obtained for Buildings 2 and 6 but are not shown here. As those buildings have different data trends, the simple models with weather conditions as only the regressors, such as in Model 1, Model 2, and Model 3, cannot represent those data trends well (see Figures 4 through 6). This is why the single or multivariate models with or without change-points (Models 1, 2, and 3) produce very poor results with the very low R-squared values shown in Table 2, specifically for Buildings 1, 2, and 3 that have more different data clusters. For instance, the R-squared values for Model 1 on the testing data set are 0.266, 0.146, 0.596, 0.176, 0.497, and 0.227 for Building 1 to Building 6, respectively.
Some improvement can be obtained using the change-point temperature, but this is not significant and does not necessary guarantee better results on the testing data set. For instance, the R-squared values for Model 3 and for the testing data set become 0.322, 0.023, 0.581, 0.039, 0.367, and 0.1990 for Buildings 1 to 6, respectively. Furthermore, adding dew-point temperature makes the model (Model 3) slightly better than with just one regressor (Model 1). As shown in the right-hand panels of Figures 4 through 6), Model 3's output data become more scattered but the model still fails to capture the actual data trend. For this model (Model 3), the R-squared values become 0.382, 0.223, 0.628, 0.287, 0.517, and 0.290. Significant improvements can be obtained by classifications addressing the data trends. The single-variant change-point model with classification techniques (Model 4) can follow the data trend much better than Model 2. The regression is applied to each cluster of data (e.g., occupied, non-occupied, etc.). The R-squared values for Model 4 on the testing data set become 0.963, 0.968, 0.931, 0.859, 0.837, and 0.642. Adding dew-point temperature makes the model (Model 5) slightly better in some buildings. As shown in the right-hand panels of Figures 4 through 6), Model 5's output data become more scattered somewhat following the actual scattered data. The R-squared values for Model 5 on the testing data set are 0.963, 0.967, 0.932, 0.862, 0.846, and 0.662--significant improvements compared to Model 3.
The ANN model with proposed classifications (Model 6) uses three inputs: dry-bulb temperature, dew-point temperature, and class number (for instance, 1, 2, or 3 for Building 1 and 1 or 2 for Building 5). Figure 7 shows the model performance for all buildings. The model can adequately follow the data trend. The R-squared values on the testing data set are 0.970, 0.969, 0.934, 0.867, 0.840, and 0.680.
The optimal number of neurons is used. This is obtained by running the ANN model several times with different numbers of neurons (varying from 5 to 100). The one that gives the best results on the testing data set is retained (in this case, 50 neurons). The optimal ANN model (Model 6) is slightly better than Model 5 in terms of R-squared value, but Model 5 is simpler and easier to apply in many applications. In addition, an arbitrary number of neurons in Model 6 may lead to very poor performance on the testing data set. For instance, increasing the number of neurons leads to better results on the training data set (over fitting), but this may produce poor results on the testing data set. Extra caution should be taken with the selection of the optimal number of neurons as it will have a great effect on the results.
Figure 8 shows the performance for all models and for six days for Building 1. The HVAC system is off at nighttime and during the weekend. Without considering the system schedule, the models (Models 1, 2, and 3) cannot predict hourly or subhourly energy consumptions, although those models may predict in a certain degree of accuracy the daily average (or monthly) energy consumption. The proposed models (Models 4, 5, and 6) consider the system operating schedule and accurately predict the hourly or subhourly energy consumption.
CONCLUSION
Six different data-based models for estimating subhourly and hourly energy consumption were tested on six buildings. The models include three typical single to multiple regression models, two proposed regression models, and an artificial neural network model with recommended classifications. The data were collected from actual buildings and simulations at hourly and subhourly time intervals. The models with recommended classification techniques use regression techniques for each cluster of data. The classifications were made based on occupied, unoccupied, and other known operation schedule schemes. Using the simulations and actual data, the models were tested and evaluated. The testing results indicate that the regression models with proposed classifications can significantly improve the models' accuracy for hourly and subhourly electric energy consumption predictions, particularly for buildings yielding various occupancy and operation hourly patterns. For Building 1, which has three different operating schemes, the R-squared value for the proposed Model 4 is 0.985 as compared to the R-squared value of 0.075 for Model 1, and the R-squared value for the proposed Model 5 is 0.988 as compared to the R-squared value of 0.115 for Model 3. However, for Building 5, which has two different operating schemes, the R-squared value for the proposed Model 4 is 0.837 as compared to R-squared value of 0.497 for Model 1, and the R-squared value for the proposed Model 5 is 0.846 as compared to the R-squared value of 0.517 for Model 3. A slight improvement is obtained by considering the outdoor dew-point temperature as an additional regressor. In addition, the ANN model was also used with the recommended classifications. The ANN model with an optimal number of neurons produces accurate predictions. The simple linear regression model with classifications (Model 4) produces quite a similar performance to that of the ANN model for all buildings tested. As a result, using classifications, the regression models (Model 4 and Model 5) and the ANN model (Model 6) can be used for many energy-efficiency applications required to estimate building energy consumptions, particularly for hourly or subhourly time interval predictions. Such applications could be energy measurement and savings verification, optimization, building energy assessment, and fault detection and diagnosis.
ACKNOWLEDGMENT
This work was performed under the financial assistance award 70NANB14D1319 from the U.S. Department of Commerce, National Institute of Standards and Technology.
REFERENCES
ASHRAE. 2013. Chapter 19, Energy estimating and modeling methods. In ASHRAE handbook--Fundamentals. Atlanta: ASHRAE.
ASHRAE. 2015. Chapter 41, Building energy monitoring. In ASHRAE handbook--HVAC applications. Atlanta: ASHRAE.
Dhar, A., T.A. Reddy, and D.E. Claridge. 1998. Modeling hourly energy use in commercial buildings with Fourier series functional forms. Journal of Solar Energy Engineering 120:217-23.
DOE. 2016. eQuest: the Quick Energy Simulation Tool, Version 3.65. http://www.doe2.com/equest/. Washington DC: U.S. Department of Energy.
Hydeman, M., N. Webb, P. Sreedharan, and S. Blanc. 2002. Development and testing of a reformulated regression-based electric chiller model. ASHRAE Transactions 105(2):1118-27.
Katipamula, S., and D.E. Claridge. 1993. Use of simplified systems models to measure retrofit savings. Journal of Solar Energy Engineering 115:57-68.
Manke, J.M., D.C. Hittle, and C.E. Hancock. 1996. Calibrating building energy analysis models using short-term data. Proceedings of the ASME International Solar Energy Conference, pp.369.
Nassif, N. 2013. Single and multivariate regression models for estimating monthly energy consumptions in schools in hot and humid climates. Energy Engineering 110(5):33-54.
Nassif, N. 2014. Modeling and optimization of HVAC systems using artificial neural network and genetic algorithm. International Journal of Building Simulation 7(3):237-45.
MathWorks. 2016. MATLAB[R] R2016b: Artificial Neural Network Toolbox. Natick, MA: MathWorks.
Nassif, N., M. Arida, and R. Talib. 2016. Development and testing of building energy model using non-linear auto regression neural networks. Presented at the 2016 ASHRAE Annual Conference, St Louis, MO, June 23-29.
Seem, J.E. 2007. Using intelligent data analysis to detect abnormal energy consumption in buildings. Energy and Buildings 39:52-58.
Stein, S., and M. Hydeman. 2004. Development and testing of the characteristic curve fan model. ASHRAE Transactions 110(1):347-56.
Wang, S.W., Q. Zhou, and F. Xiao. 2010. A system-level fault detection and diagnosis strategy for HVAC systems involving sensor faults. Energy and Buildings 42:477-90.
Nabil Nassif, PhD, PE
Member ASHRAE
Nabil Nassif is an associate professor in the Department of Civil and Architectural Engineering at the University of Cincinnati, Cincinnati, OH, USA.
Table 1. Summary of Investigated Models
Model Note Regressor,
[t.sub.a], [t.sub.da]
Single variant Model 1 1
Single-variant change-point [t.sub.1] Model 2 1
Multivariate change-point [t.sub.1] Model 3 1
Single-variant change-point [t.sub.1] + Model 4 1
classifications
Multivariate + change-point [t.sub.1] + Model 5 2
classifications
Artificial neural network Model 6 3
Model Parameter,
a, b, c
Single variant 2
Single-variant change-point [t.sub.1] 2
Multivariate change-point [t.sub.1] 3
Single-variant change-point [t.sub.1] + 2 each
classifications
Multivariate + change-point [t.sub.1] + 3 each
classifications
Artificial neural network --
Model Equations
Single variant Y = a + b x [t.sub.a]
Single-variant change-point [t.sub.1] Y = a + b x([t.sub.a]
-[t.sub.1] ) [.sup.+]
Multivariate change-point [t.sub.1] Y = a + b x [t.sub.a] +
c.[t.sub.dp]
Single-variant change-point [t.sub.1] + Y = a + b x([t.sub.a]
classifications -[t.sub.1] )[.sup.+]
Multivariate + change-point [t.sub.1] + Y = a + bx([t.sub.a] -
classifications [t.sub.1])[.sup.+] +
cx([t.sub.dp] -
[t.sub.1])[.sup.+]
Artificial neural network --
Table 2. Summary of the Regression Results in Terms of R-squared Values
Linear Model
Model 1 Model 2 Model 3
1 Regressor 1 Regressor + 2 Regressors
change-point
Training 0.075 0.354 0.115
Building 1
Testing 0.266 0.322 0.382
Training 0.049 0.299 0.075
Building 2
Testing 0.146 0.023 0.223
Training 0.449 0.553 0.465
Building 3
Testing 0.596 0.581 0.628
Training 0.116 0.385 0.171
Building 4 Testing 0.176 0.039 0.287
Training 0.219 0.531 0.301
Building 5
Testing 0.497 0.367 0.517
Training 0.396 0.414 0.426
Building 6
Testing 0.227 0.1990 0.290
Proposed Models
Model 4 Model 5 Model 6
Classifications Classifications Classifications
+ 1 Regressor + 2 Regressors + ANN
Training 0.985 0.988 0.990
Building 1
Testing 0.963 0.963 0.970
Training 0.989 0.988 0.990
Building 2
Testing 0.968 0.967 0.969
Training 0.934 0.939 0.942
Building 3
Testing 0.931 0.932 0.934
Training 0.872 0.889 0.917
Building 4 Testing 0.859 0.862 0.867
Training 0.886 0.890 0.894
Building 5
Testing 0.837 0.846 0.840
Training 0.683 0.695 0.740
Building 6
Testing 0.642 0.662 0.680
Printer friendly
Cite/link
Email
Feedback
| |
| Author: | Nassif, Nabil |
|---|---|
| Publication: | ASHRAE Transactions |
| Article Type: | Report |
| Date: | Jul 1, 2018 |
| Words: | 3577 |
| Previous Article: | An Evaluation of Two Cooling Control Strategies with Variable-Airflow Series Fan-Powered Terminal Units. |
| Next Article: | Airflow and Energy Simulations to Assess Energy Savings from Vestibules and Air Curtains. |
| Topics: | |

Printer friendly
Cite/link
Email
Feedback