Revealing the Driving Factors of Household Energy Consumption in High-Density Residential Areas of Beijing Based on Explainable Machine Learning
Abstract
:1. Introduction
2. Literature Review
2.1. Objective Influencing Factors of Household Energy Consumption
2.2. Subjective Influencing Factors of Household Energy Consumption
2.3. Analysis Methods for Influencing Factors of Household Energy Consumption
2.4. Research Objectives and Significance
3. Methodology
3.1. Study Area
3.2. Data Collection
3.2.1. Questionnaire Design
3.2.2. Sampling Method
- (1)
- Determination of Stratification Variables: variables such as age, occupation, household population, and travel demand were excluded as stratification criteria due to their high randomness and pre-survey uncertainty; variables proven in previous studies to influence building energy consumption and exhibit heterogeneity—including construction year, floor level, and building orientation—were selected as stratification variables.
- (2)
- Simple Random Sampling within Strata: after stratification, simple random sampling was applied to each stratum to ensure sample independence.
- (3)
- Sample Size Calculation: The total sample size for the region was first determined. Sample proportions for each building group were allocated based on their building scale. A stratified proportional allocation method was used to calculate the number of samples per stratum. For example, if Group A has N households, with n south-facing households, the proportion of south-facing households is n/N. Given a total sample size N1 allocated to Group A, the number of south-facing samples n1 is calculated as n1 = n* N1/N.
3.2.3. Collection Process
3.3. Data Processing
3.3.1. Definition of Indicators for the Calculation of Energy Consumption
3.3.2. Variable Selection
3.4. Data Analysis Methods
- (1)
- Data Preprocessing:
- (2)
- Model Selection and Pre-training:
- (3)
- Model Hyperparameter Optimization:
3.4.1. XGBoost Model
3.4.2. Model Hyperparameters and Optimization Algorithms
- (1)
- GA:
- (2)
- BO:
3.4.3. Model Performance Evaluation
3.4.4. SHAP Model
4. Results
4.1. Energy Consumption Calculation Result
4.1.1. Population Information
4.1.2. Characteristics of Household Energy Consumption Structure
- Building Energy Consumption:
- Transportation Energy Consumption:
4.2. Model Selection Result
4.2.1. Model Selection and Pre-Training
4.2.2. Model Hyperparameter Optimization
4.3. Interpretation of Model Results
4.3.1. Driving Factors of Average Daily Summer Energy Consumption
4.3.2. Driving Factors of Average Daily Winter Energy Consumption
4.3.3. Driving Factors of Average Daily Annual Energy Consumption
5. Conclusions
- (1)
- First application of a GA for optimizing machine learning hyperparameters, overcoming the limitations of traditional GridSearch and Random Search, and significantly improving prediction accuracy in high-dimensional parameter spaces;
- (2)
- Construction of a dual-dimensional analytical framework integrating subjective and objective factors to systematically reveal the mechanisms influencing household energy consumption;
- (3)
- Integration of field surveys and machine learning models to precisely identify key drivers of energy consumption in high-density residential areas, providing a scientific decision-making basis for urban low-carbon management.
- (1)
- Due to the time and labor constraints inherent in door-to-door surveys, the study was unable to cover all urban areas, thereby overlooking cross-regional differences;
- (2)
- Lack of cost–benefit analysis: The evaluation of energy-saving measures lacked a comprehensive cost–benefit analysis of retrofit measures.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
tce | Tons of standard coal equivalent |
HP | Household population |
AAH | Average age of household |
CY | Construction year |
BA | Building area |
BO | Building orientation |
FL | Floor level |
BT | Building type |
NW | Number of windows |
FAR | Floor area ratio |
GR | Greening rate |
WBS | Water body status |
SM | Surface material |
NPS | Number of parking spaces |
NCS | Number of charging stations |
TD | Travel distance |
ET | Energy type |
SEC | Average Daily Summer Energy Consumption |
WEC | Average Daily Winter Energy Consumption |
AEC | Average Daily Annual Energy Consumption |
XGBoost | eXtreme Gradient Boosting |
GBDT | Gradient Boosting Decision Tree |
RF | Random Forest |
GS | GridSearchCV |
RS | Random Search |
GA | Genetic algorithm |
BO | Bayesian Optimization |
RMSE | Root-Mean-Square Error |
MAE | Mean absolute error |
R2 | Squared Correlation Coefficient |
SHAP | SHapley Additive exPlanations |
References
- COP 25 Presidency, UN Climate Change Conference—December 2019. Available online: https://unfccc.int/cop25 (accessed on 20 March 2025).
- Zhang, S.C.; Yang, X.Y.; Xu, W.; Fu, Y.J. Contribution of nearly-zero energy buildings standards enforcement to achieve carbon neutral in urban area by 2060. Adv. Clim. Change Res. 2021, 12, 734–743. [Google Scholar] [CrossRef]
- Min, J.; Yan, G.X.; Abed, A.M.; Elattar, S.; Khadimallah, M.A.; Jan, A.M.; Ali, H.E. The effect of carbon dioxide emissions on the building energy efficiency. Fuel 2022, 326, 10. [Google Scholar] [CrossRef]
- World Energy Outlook. 2017. Available online: https://www.iea.org/reports/world-energy-outlook-2017 (accessed on 20 March 2025).
- Kuang, B.; Schelly, C.; Ou, G.; Sahraei-Ardakani, M.; Tiwari, S.; Chen, J.L. Data-driven analysis of influential factors on residential energy end-use in the US. J. Build. Eng. 2023, 75, 22. [Google Scholar] [CrossRef]
- Building Energy Conservation Research, Tsinghua University. 2021 Annual Report on China Building Energy Efficiency; China Architecture & Building Press: Beijing, China, 2021. (In Chinese) [Google Scholar]
- Miao, L. Examining the impact factors of urban residential energy consumption and CO2 emissions in China—Evidence from city-level data. Ecol. Indic. 2017, 73, 29–37. [Google Scholar] [CrossRef]
- Du, J.; Yu, C.; Pan, W. Multiple influencing factors analysis of household energy consumption in high-rise residential buildings: Evidence from Hong Kong. Build. Simul. 2020, 13, 753–769. [Google Scholar] [CrossRef]
- Sun, W.H.; Sun, Y.N.; Xu, L.; Chen, X.; Zai, D.B. Research on Energy Consumption Constitution and Energy Efficiency Strategies of Residential Buildings in China Based on Carbon Neutral Demand. Sustainability 2022, 14, 16. [Google Scholar] [CrossRef]
- Day, J.K.; McIlvennie, C.; Brackley, C.; Tarantini, M.; Piselli, C.; Hahn, J.; O’Brien, W.; Rajus, V.S.; De Simone, M.; Kjærgaard, M.B.; et al. A review of select human-building interfaces and their relationship to human behavior, energy use and occupant comfort. Build. Environ. 2020, 178, 14. [Google Scholar] [CrossRef]
- Xu, X.X.; Yu, H.; Sun, Q.W.; Tam, V.W.Y. A critical review of occupant energy consumption behavior in buildings: How we got here, where we are, and where we are headed. Renew. Sustain. Energy Rev. 2023, 182, 25. [Google Scholar] [CrossRef]
- Lin, M.; Afshari, A.; Azar, E. A data-driven analysis of building energy use with emphasis on operation and maintenance: A case study from the UAE. J. Clean. Prod. 2018, 192, 169–178. [Google Scholar] [CrossRef]
- von Grabe, J. A preliminary cognitive model for the prediction of energy-relevant human interaction with buildings. Cogn. Syst. Res. 2018, 49, 65–82. [Google Scholar] [CrossRef]
- Yin, H.W.; Kong, F.H.; Zhang, X. Changes of residential land density and spatial pattern from 1989 to 2004 in Jinan City, China. Chin. Geogr. Sci. 2011, 21, 619–628. [Google Scholar] [CrossRef]
- Yu, Y.W.; Yang, J.; Chai, S.; Tang, L. Estimating the energy saving potential of residential consumption in China based on decent living standards. Front. Environ. Sci. 2022, 10, 13. [Google Scholar] [CrossRef]
- Chen, X.Y.; Gou, Z.H. Bridging the knowledge gap between energy-saving intentions and behaviours of young people in residential buildings. J. Build. Eng. 2022, 57, 15. [Google Scholar] [CrossRef]
- Qalati, S.A.; Qureshi, N.A.; Ostic, D.; Sulaiman, M. An extension of the theory of planned behavior to understand factors influencing Pakistani households’ energy-saving intentions and behavior: A mediated-moderated model. Energy Effic. 2022, 15, 21. [Google Scholar] [CrossRef] [PubMed]
- Wang, Y.A.; Zhang, W.K. A study about the impact of energy saving climate on college students’ energy saving behavior: Based on analysis using the hierarchical linear model. J. Environ. Plan. Manag. 2023, 66, 2943–2961. [Google Scholar] [CrossRef]
- Bansal, P.; Quan, S.J. Relationships between building characteristics, urban form and building energy use in different local climate zone contexts: An empirical study in Seoul. Energy Build. 2022, 272, 21. [Google Scholar] [CrossRef]
- Abanda, F.H.; Byers, L. An investigation of the impact of building orientation on energy consumption in a domestic building using emerging BIM (Building Information Modelling). Energy 2016, 97, 517–527. [Google Scholar] [CrossRef]
- Jurshari, M.Z.; Tazakor, M.Y.; Yeganeh, M. Optimizing the dimensional ratio and orientation of residential buildings in the humid temperate climate to reduce energy consumption (Case: Rasht Iran). Case Stud. Therm. Eng. 2024, 59, 12. [Google Scholar] [CrossRef]
- Xu, S.; Wang, S.Y.; Li, G.M.; Zhou, H.Z.; Meng, C.; Qin, Y.C.; He, B.J. Performance-based design of residential blocks for the co-benefits of building energy efficiency and outdoor thermal comfort improvement. Build. Environ. 2024, 264, 19. [Google Scholar] [CrossRef]
- Feng, W.J.; Chen, J.T.; Yang, Y.; Gao, W.J.; Xing, H.W.; Yu, S. Multi-objective optimization of morphology for high-rise residential cluster with the regards to energy use and microclimate. Energy Build. 2024, 319, 16. [Google Scholar] [CrossRef]
- Wang, J.; Zhu, Z.Z.; Zhao, J.C.; Li, X.Q.; Liu, J.Y.; Yang, Y.J. Research on the Energy Consumption Influence Mechanism and Prediction for the Early Design Stage of University Public Teaching Buildings in Beijing. Buildings 2024, 14, 22. [Google Scholar] [CrossRef]
- Taleb, S.; Yeretzian, A.; Jabr, R.A.; Hajj, H. Optimization of building form to reduce incident solar radiation. J. Build. Eng. 2020, 28, 13. [Google Scholar] [CrossRef]
- He, H.Y.; Zhao, Z.Q.; Yan, H.; Zhang, G.Q.; Jing, R.; Zhou, M.R.; Wu, X.; Lin, T.; Ye, H. Urban functional area building carbon emission reduction driven by three-dimensional compact urban forms’ optimization. Ecol. Indic. 2024, 167, 10. [Google Scholar] [CrossRef]
- de Meester, T.; Marique, A.F.; De Herde, A.; Reiter, S. Impacts of occupant behaviours on residential heating consumption for detached houses in a temperate climate in the northern part of Europe. Energy Build. 2013, 57, 313–323. [Google Scholar] [CrossRef]
- Wemyss, D.; Cellina, F.; Lobsiger-Kägi, E.; de Luca, V.; Castri, R. Does it last? Long-term impacts of an app-based behavior change intervention on household electricity savings in Switzerland. Energy Res. Soc. Sci. 2019, 47, 16–27. [Google Scholar] [CrossRef]
- Konis, K.; Orosz, M.; Sintov, N. A window into occupant-driven energy outcomes: Leveraging sub-metering infrastructure to examine psychosocial factors driving long-term outcomes of short-term competition-based energy interventions. Energy Build. 2016, 116, 206–217. [Google Scholar] [CrossRef]
- Ingle, A.; Moezzi, M.; Lutzenhiser, L.; Diamond, R. Better home energy audit modelling: Incorporating inhabitant behaviours. Build. Res. Inf. 2014, 42, 409–421. [Google Scholar] [CrossRef]
- Rausser, G.; Strielkowski, W.; Mentel, G. Consumer Attitudes Toward Energy Reduction and Changing Energy Consumption Behaviors. Energies 2023, 16, 5. [Google Scholar] [CrossRef]
- Maréchal, K. Not irrational but habitual: The importance of “behavioural lock-in” in energy consumption. Ecol. Econ. 2010, 69, 1104–1114. [Google Scholar] [CrossRef]
- Wu, L.; Zhou, Y. Social norms and energy conservation in China. Resour. Energy Econ. 2025, 82, 101491. [Google Scholar] [CrossRef]
- Podgornik, A.; Sucic, B.; Blazic, B. Effects of customized consumption feedback on energy efficient behaviour in low-income households. J. Clean. Prod. 2016, 130, 25–34. [Google Scholar] [CrossRef]
- Stephenson, J.; Barton, B.; Carrington, G.; Gnoth, D.; Lawson, R.; Thorsnes, P. Energy cultures: A framework for understanding energy behaviours. Energy Policy 2010, 38, 6120–6129. [Google Scholar] [CrossRef]
- Han, M.S.; Cudjoe, D. Determinants of energy-saving behavior of urban residents: Evidence from Myanmar. Energy Policy 2020, 140, 7. [Google Scholar] [CrossRef]
- Yan, W.; Yuan, Y.D.; Yang, M.H.; Zhang, P.; Peng, K.P. Detecting the risk of bullying victimization among adolescents: A large-scale machine learning approach. Comput. Hum. Behav. 2023, 147, 18. [Google Scholar] [CrossRef]
- Dwyer, D.B.; Falkai, P.; Koutsouleris, N. Machine Learning Approaches for Clinical Psychology and Psychiatry. In Annual Review of Clinical Psychology; Widiger, T., Cannon, T.D., Eds.; Annual Review of Clinical Psychology; Annual Reviews: Palo Alto, CA, USA, 2018; Volume 14, pp. 91–118. [Google Scholar]
- Liu, H.; Chen, X.; Liu, X.X. Factors influencing secondary school students’ reading literacy: An analysis based on XGBoost and SHAP methods. Front. Psychol. 2022, 13, 18. [Google Scholar] [CrossRef]
- Alvarez-Sanz, M.; Satriya, F.A.; Terés-Zubiaga, J.; Campos-Celador, A.; Bermejo, U. Ranking building design and operation parameters for residential heating demand forecasting with machine learning. J. Build. Eng. 2024, 86, 22. [Google Scholar] [CrossRef]
- Attanasio, A.; Piscitelli, M.S.; Chiusano, S.; Capozzoli, A.; Cerquitelli, T. Towards an Automated, Fast and Interpretable Estimation Model of Heating Energy Demand: A Data-Driven Approach Exploiting Building Energy Certificates. Energies 2019, 12, 25. [Google Scholar] [CrossRef]
- Li, X.Y.; Yao, R.M. Modelling heating and cooling energy demand for building stock using a hybrid approach. Energy Build. 2021, 235, 15. [Google Scholar] [CrossRef]
- Westermann, P.; Welzel, M.; Evins, R. Using a deep temporal convolutional network as a building energy surrogate model that spans multiple climate zones. Appl. Energy 2020, 278, 16. [Google Scholar] [CrossRef]
- Runge, J.; Saloux, E. A comparison of prediction and forecasting artificial intelligence models to estimate the future energy demand in a district heating system. Energy 2023, 269, 14. [Google Scholar] [CrossRef]
- Lu, C.J.; Li, S.H.; Gu, J.H.; Lu, W.Z.; Olofsson, T.; Ma, J.G. A hybrid ensemble learning framework for zero-energy potential prediction of photovoltaic direct-driven air conditioners. J. Build. Eng. 2023, 64, 16. [Google Scholar] [CrossRef]
- Sauer, J.; Mariani, V.C.; Coelho, L.D.; Ribeiro, M.H.D.; Rampazzo, M. Extreme gradient boosting model based on improved Jaya optimizer applied to forecasting energy consumption in residential buildings. Evol. Syst. 2022, 13, 577–588. [Google Scholar] [CrossRef]
- Barbaresi, A.; Ceccarelli, M.; Menichetti, G.; Torreggiani, D.; Tassinari, P.; Bovo, M. Application of Machine Learning Models for Fast and Accurate Predictions of Building Energy Need. Energies 2022, 15, 16. [Google Scholar] [CrossRef]
- Shen, Y.X.; Pan, Y. BIM-supported automatic energy performance analysis for green building design using explainable machine learning and multi-objective optimization. Appl. Energy 2023, 333, 19. [Google Scholar] [CrossRef]
- Wang, B.H.; Li, J.W. Global sensitivity analysis based on multi-objective optimization of rural tourism building performance. J. Clean. Prod. 2023, 417, 14. [Google Scholar] [CrossRef]
- Guo, J.X.; Yun, S.N.; Meng, Y.; He, N.; Ye, D.F.; Zhao, Z.N.; Jia, L.Y.; Yang, L. Prediction of heating and cooling loads based on light gradient boosting machine algorithms. Build. Environ. 2023, 236, 15. [Google Scholar] [CrossRef]
- Ardabili, S.; Abdolalizadeh, L.; Mako, C.; Torok, B.; Mosavi, A. Systematic Review of Deep Learning and Machine Learning for Building Energy. Front. Energy Res. 2022, 10, 19. [Google Scholar] [CrossRef]
- Olu-Ajayi, R.; Alaka, H.; Sulaimon, I.; Sunmola, F.; Ajayi, S. Machine learning for energy performance prediction at the design stage of buildings. Energy Sustain. Dev. 2022, 66, 12–25. [Google Scholar] [CrossRef]
- Song, Q.Q.; Xia, S.L.; Wu, Z. Automatic Optimization of Hyperparameters for Deep Convolutional Neural Networks: Grid Search Enhanced with Coordinate Ascent. In Proceedings of the International Conference on Machine Intelligence and Digital Applications (MIDA), Ningbo, China, 30–31 May 2024; The Association for Computing Machinery: New York, NY, USA, 2024; pp. 300–306. [Google Scholar]
- Wainer, J.; Fonseca, P. How to tune the RBF SVM hyperparameters? An empirical evaluation of 18 search algorithms. Artif. Intell. Rev. 2021, 54, 4771–4797. [Google Scholar] [CrossRef]
- Açikkar, M. Fast grid search: A grid search-inspired algorithm for optimizing hyperparameters of support vector regression. Turk. J. Electr. Eng. Comput. Sci. 2024, 32, 26. [Google Scholar] [CrossRef]
- Vulpe-Grigorasi, A.; Grigore, O. Convolutional Neural Network Hyperparameters Optimization for Facial Emotion Recognition. In Proceedings of the 12th International Symposium on Advanced Topics in Electrical Engineering (ATEE), Bucharest, Romania, 25–27 March 2021; IEEE: Piscataway, NJ, USA, 2021. [Google Scholar]
- Wen, L.; Ye, X.C.; Gao, L. A new automatic machine learning based hyperparameter optimization for workpiece quality prediction. Meas. Control 2020, 53, 1088–1098. [Google Scholar] [CrossRef]
- Yokoyama, A.M.; Ferro, M.; Schulze, B. Multi-objective hyperparameter optimization approach with genetic algorithms towards efficient and environmentally friendly machine learning. AI Commun. 2024, 37, 429–442. [Google Scholar] [CrossRef]
- Ali, Y.A.; Awwad, E.M.; Al-Razgan, M.; Maarouf, A. Hyperparameter Search for Machine Learning Algorithms for Optimizing the Computational Complexity. Processes 2023, 11, 21. [Google Scholar] [CrossRef]
- Huang, C.Y.; Zhang, G.J.; Yao, J.W.; Wang, X.X.; Calautit, J.K.; Zhao, C.R.; An, N.; Peng, X. Accelerated environmental performance-driven urban design with generative adversarial network. Build. Environ. 2022, 224, 22. [Google Scholar] [CrossRef]
- Canbolat, A.S.; Albak, E.I. Multi-Objective Optimization of Building Design Parameters for Cost Reduction and CO2 Emission Control Using Four Different Algorithms. Appl. Sci. 2024, 14, 24. [Google Scholar] [CrossRef]
- Gong, P.; Chen, B.; Li, X.C.; Liu, H.; Wang, J.; Bai, Y.Q.; Chen, J.M.; Chen, X.; Fang, L.; Feng, S.L.; et al. Mapping essential urban land use categories in China (EULUC-China): Preliminary results for 2018. Sci. Bull. 2020, 65, 182–187. [Google Scholar] [CrossRef]
- Che, Y.Z.; Li, X.C.; Liu, X.P.; Wang, Y.H.; Liao, W.L.; Zheng, X.W.; Zhang, X.C.; Xu, X.C.; Shi, Q.; Zhu, J.J.; et al. 3D-GloBFP: The first global three-dimensional building footprint dataset. Earth Syst. Sci. Data 2024, 16, 5357–5374. [Google Scholar] [CrossRef]
- Elith, J.; Leathwick, J.R.; Hastie, T. A working guide to boosted regression trees. J. Anim. Ecol. 2008, 77, 802–813. [Google Scholar] [CrossRef]
- Chen, T.Q.; Guestrin, C. XGBoost: A Scalable Tree Boosting System. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), San Francisco, CA, USA, 13–17 August 2016; The Association for Computing Machinery: New York, NY, USA, 2016; pp. 785–794. [Google Scholar]
- Stopps, H.; Lozinsky, C.H.; Touchie, M.F. Data-driven modelling of pressurized corridor ventilation system performance in a multi-unit residential building. J. Build. Phys. 2025, 18, 1–18. [Google Scholar] [CrossRef]
- Ma, R.; Xing, Q.; Zhang, J.Y.; Wang, J.; Wang, Y.J. Logging interpretation method based on Bayesian Optimization XGBoost. In Proceedings of the 16th IEEE International Conference on Signal Processing (ICSP), Beijing, China, 21–24 October 2022; IEEE: Piscataway, NJ, USA, 2022; pp. 395–400. [Google Scholar]
- Lundberg, S.M.; Erion, G.G.; Lee, S.-I. Consistent Individualized Feature Attribution for Tree Ensembles. arXiv 2018, arXiv:1802.03888. [Google Scholar]
- Sharma, P.; Sahoo, B.B. An ANFIS-RSM based modeling and multi-objective optimization of syngas powered dual-fuel engine. Int. J. Hydrogen Energy 2022, 47, 19298–19318. [Google Scholar] [CrossRef]
- Lundberg, S.M.; Lee, S.I. A Unified Approach to Interpreting Model Predictions. In Proceedings of the 31st Annual Conference on Neural Information Processing Systems (NIPS), Long Beach, CA, USA, 4–9 December 2017. [Google Scholar]
- Yan, H.A.; Yan, K.; Ji, G.H. Optimization and prediction in the early design stage of office buildings using genetic and XGBoost algorithms. Build. Environ. 2022, 218, 12. [Google Scholar] [CrossRef]
Group | Land Area (m2) | Building Area (m2) | FAR | Base Area (m2) | Building Density | Average Building Height (m) |
---|---|---|---|---|---|---|
Group A | 296,050.83 | 722,364.025 | 2.44 | 103,173.71 | 34.85% | 32.15 |
Group B | 135,164.1 | 319,643 | 2.36 | 43,658 | 32.3% | 33.15 |
Group C | 327,926.61 | 823,095.79 | 2.51 | 116,249.98 | 35.45% | 43.5 |
Parameter | Number | Variable | Assignment | n/(%) | Minimum Value | Maximum Value | Average Value | Standard Deviation |
---|---|---|---|---|---|---|---|---|
Household Information | X1 | HP | - | 275 | 1 | 7 | 2.80 | 0.941 |
X2 | AAH | - | 275 | 13 | 70 | 33.48 | 13.076 | |
Building Information | X3 | CY | - | 275 | 1996 | 2010 | 2001.67 | 5.070 |
X4 | BA | - | 275 | 28.00 | 120.00 | 74.5165 | 20.25741 | |
X5 | BO | 0: E-W | 98 | 1 | 1 | 0.6420 | 0.48241 | |
1: S-N | 177 | |||||||
X6 | FL | - | 275 | 1 | 21 | 4.78 | 5.211 | |
X7 | BT | 0: Slab | 129 | 0 | 2 | 0.6543 | 0.69211 | |
1: Point | 110 | |||||||
2: Enclosed | 36 | |||||||
X8 | NW | - | 275 | 3 | 7 | 4.30 | 0.872 | |
Site Environmental Information | X9 | FAR | - | 275 | 1.54 | 4.56 | 3.2890 | 1.16111 |
X10 | GR | - | 275 | 10.4852 | 23.6328 | 15.01 | 4.50 | |
X11 | WBS | 0: Yes | 152 | 0 | 1 | 0.4444 | 0.500 | |
1: No | 123 | |||||||
X12 | SM | 0: Brick | 123 | 0 | 2 | 0.6543 | 0.6549 | |
1: Gravel | 127 | |||||||
2: Asphalt | 25 | |||||||
X13 | NPS | - | 275 | 45 | 112 | 85.63 | 27.135 | |
X14 | NCS | - | 275 | 12 | 45 | 27.36 | 11.711 | |
Travel Condition Information | X15 | TD | - | 275 | 1 | 120 | 46.019 | 33.0080 |
X16 | ET | 0: Gasoline | 129 | 0 | 1 | 0.5309 | 0.50216 | |
1: Electric | 146 |
Hyperparameter Name | Value Range | Search Step Size |
---|---|---|
n-estimators | (10, 1000) | 10/20 |
max-depth | (3, 15) | 1/2 |
min-child-weight | (1, 10) | 0.1/0.5 |
learning-rate | (0.01, 0.3) | 0.01/0.05 |
subsample | (0, 1) | 0.05/0.1 |
colsample-bytree | (0, 1) | 0.05/0.1 |
alpha | (0, 100) | 0.1/1 |
lambda | (0, 100) | 0.1/1 |
gamma | (0, 10) | 0.1/0.5 |
Project | Statistical Item | Scope | Average Value | Standard Deviation |
---|---|---|---|---|
Household energy consumption | Average Daily Annual Energy Consumption | 0.00286–0.01876 | 0.00937 | 0.00412 |
Component | Building energy consumption | 0.00157–0.01586 | 0.00587 | 0.00214 |
Traffic energy consumption | 0.00032–0.01319 | 0.00349 | 0.00273 |
Hyperparameter Name | Value |
---|---|
n-estimators | 300 |
max-depth | 10 |
min-child-weight | 5 |
learning-rate | 0.1 |
Subsample | 0.5 |
colsample-bytree | 0.5 |
Alpha | 0.1 |
Lambda | 0.1 |
Gamma | 5 |
Dependent Variable | Model | R2 | MAE | RMSE |
---|---|---|---|---|
Y1 | RF | 0.6311 | 71.6216 | 91.7765 |
GBDT | 0.6377 | 82.7016 | 105.8520 | |
XGB | 0.7262 | 70.8900 | 93.4421 | |
Y2 | RF | 0.6180 | 60.6285 | 101.7170 |
GBDT | 0.6958 | 68.6215 | 114.8887 | |
XGB | 0.7625 | 70.0068 | 112.4848 | |
Y3 | RF | 0.5970 | 94.7043 | 122.4148 |
GBDT | 0.6520 | 100.5457 | 130.1018 | |
XGB | 0.7442 | 102.1999 | 129.7254 |
Algorithm | Hyperparameter | ||
---|---|---|---|
Max-Depth | Learning-Rate | n-Estimators | |
RS | (1, 20, 1) | (0.001, 0.1, 0.001) | (100, 500, 1) |
GA and BO | (10, 18, 1) | (0.02, 0.09, 0.001) | (100, 400, 1) |
Dependent Variable | Model | R2 | MAE | RMSE |
---|---|---|---|---|
Y1 | RS-XGB | 0.7538 | 78.3521 | 93.4250 |
GA-XGB | 0.9325 | 50.1536 | 95.6352 | |
BO-XGB | 0.8402 | 60.3320 | 87.2340 | |
Y2 | RS-XGB | 0.7263 | 70.2568 | 100.3252 |
GA-XGB | 0.9211 | 51.3325 | 91.2367 | |
BO-XGB | 0.8677 | 58.6874 | 102.3654 | |
Y3 | RS-XGB | 0.6944 | 100.3654 | 120.3547 |
GA-XGB | 0.9432 | 85.3699 | 115.3263 | |
BO-XGB | 0.8424 | 95.6352 | 120.3698 |
Dependent Variable | Algorithm | Hyperparameter | ||
---|---|---|---|---|
Max-Depth | Learning-Rate | n-Estimators | ||
Y1 | RS-XGB | 17 | 0.08 | 386 |
GA-XGB | 13 | 0.075 | 307 | |
BO-XGB | 15 | 0.088 | 371 | |
Y2 | RS-XGB | 18 | 0.07 | 360 |
GA-XGB | 12 | 0.067 | 277 | |
BO-XGB | 16 | 0.077 | 340 | |
Y3 | RS-XGB | 17 | 0.08 | 378 |
GA-XGB | 14 | 0.086 | 275 | |
BO-XGB | 14 | 0.0077 | 352 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Qi, Z.; Zhang, L.; Yang, X.; Zhao, Y. Revealing the Driving Factors of Household Energy Consumption in High-Density Residential Areas of Beijing Based on Explainable Machine Learning. Buildings 2025, 15, 1205. https://doi.org/10.3390/buildings15071205
Qi Z, Zhang L, Yang X, Zhao Y. Revealing the Driving Factors of Household Energy Consumption in High-Density Residential Areas of Beijing Based on Explainable Machine Learning. Buildings. 2025; 15(7):1205. https://doi.org/10.3390/buildings15071205
Chicago/Turabian StyleQi, Zizhuo, Lu Zhang, Xin Yang, and Yanxia Zhao. 2025. "Revealing the Driving Factors of Household Energy Consumption in High-Density Residential Areas of Beijing Based on Explainable Machine Learning" Buildings 15, no. 7: 1205. https://doi.org/10.3390/buildings15071205
APA StyleQi, Z., Zhang, L., Yang, X., & Zhao, Y. (2025). Revealing the Driving Factors of Household Energy Consumption in High-Density Residential Areas of Beijing Based on Explainable Machine Learning. Buildings, 15(7), 1205. https://doi.org/10.3390/buildings15071205