Journal of sustainable Energy Systems

Journal of sustainable Energy Systems

Development of Cyclic Seasonal Encoding to Predict the Effect of Dynamic Occupancy on Building Energy Consumption Using Neural-Network Surrogate

Document Type : Original Article

Authors
1 M.Sc. Student, Department of Mechanical Engineering, College of Engineering, University of Tehran, Tehran, Tehran, Iran
2 Associate Professor, Department of Mechanical Engineering, College of Engineering, University of Tehran, Tehran, Tehran, Iran
10.22059/ses.2026.414083.1239
Abstract
Accurate prediction of building energy consumption for improving efficiency and reducing simulation costs requires an appropriate representation of occupant presence. In this study, occupant presence patterns at an hourly scale were encoded as continuous variables, and the months of the year were encoded cyclically (using sine and cosine functions) and used as inputs to EnergyPlus simulations and machine learning models. This approach, in contrast to discrete definitions or fixed occupancy rates, enables the analysis of the differing effects of presence across hours and seasons and improves the model’s ability to generalize to new conditions. After designing an artificial neural network capable of accurately predicting the monthly average total HVAC electricity demand rate, SHAP analysis and partial dependence plots showed that midday and afternoon hours have the greatest impact on energy loads and further revealed that changing the level of occupancy at different hours of the day, across winter and summer, has distinct and markedly nonlinear effects on energy use. Finally, it was shown that shifting the start time of occupancy, without any physical changes to the building, can optimize energy consumption and provides an occupant-centric framework for intelligent building energy management. Finally, the results indicated that optimizing the timing of occupied windows throughout the year for a simple schedule can lead to reduction in the monthly average demand rate up to approximately 15%.
Keywords
Subjects

[1]        Akram MW, Mohd Zublie MF, Hasanuzzaman M, Rahim NA. Global prospects, advance technologies and policies of energy-saving and sustainable building systems: A review. Sustainability. 2022; 14(3):1316.
[2]        De la Cruz-Lovera C, Perea-Moreno AJ, De la Cruz-Fernández JL, Alvarez-Bermejo J, Manzano-Agugliaro F. Worldwide research on energy efficiency and sustainability in public buildings. Sustainability. 2017; 9(8):1294.
[3]        Beucker S, Bergesen JD, Gibon T. Building energy management systems: global potentials and environmental implications of deployment. J Ind Ecol. 2016; 20(2):223-233.
[4]        Torabi M, Mahdavinejad M. Past and future trends on the effects of occupant behaviour on building energy consumption. J Sustain Archit Civ. 2021; 29(2):83-101.
[5]        He Y, Chen Y, Chen Z, Deng Z, Yuan Y. Impacts of occupant behavior on building energy consumption and energy savings analysis of upgrading ASHRAE 90.1 energy efficiency standards. Buildings. 2022; 12(8):1108.
[6]        Yousefi F, Gholipour Y, Yan W. A study of the impact of occupant behaviors on energy performance of building envelopes using occupants’ data. Energy Build. 2017; 148:182-198.
[7]        Ahmad A, Prakash O, Brar LS, et al. Effect of wall, roof, and window‐to‐wall ratio on the cooling and heating load of a building in India. Energy Sci Eng. 2025; 13(3):1255-1279.
[8]        Gupta V, Deb C. Envelope design for low-energy buildings in the tropics: A review. Renew Sustain Energy Rev. 2023; 186:113650.
[9]        Pang Z, Guo M, Smith-Cortez B, et al. Quantification of HVAC energy savings through occupancy presence sensors in an apartment setting: Field testing and inverse modeling approach. Energy Build. 2024; 302:113752.
[10]      Kong M, Dong B, Zhang R, O’Neill Z. HVAC energy savings, thermal comfort and air quality for occupant-centric control through a side-by-side experimental study. Appl Energy. 2022; 306:117987.
[11]      Norouziasl S, Jafari A, Wang C. An agent-based simulation of occupancy schedule in office buildings. Build Environ. 2020; 186:107352.
[12]      Álvarez-Sanz M, Satriya FA, Terés-Zubiaga J, Campos-Celador Á, Bermejo U. Ranking building design and operation parameters for residential heating demand forecasting with machine learning. J Build Eng. 2024; 86:108817.
[13]      Kim DD, Suh HS. Heating and cooling energy consumption prediction model for high-rise apartment buildings considering design parameters. Energy Sustain Dev. 2021; 61:1-14.
[14]      Liu C, Xu Z, Yuan M, Xie J, Yuan Y, Ma K. Building electrical load forecasting with occupancy data based on wireless sensing. Appl Energy. 2025; 380:124960.
[15]      Lian H, Wei H, Wang X, Chen F, Ji Y, Xie J. Research on real-time energy consumption prediction method and characteristics of office buildings integrating occupancy and meteorological data. Buildings. 2025; 15(3):404.
[16]      U.S. Department of Energy. EnergyPlus 9.6.0 documentation: Engineering reference. 2021. Accessed August 29, 2025. https://energyplus.net/assets/nrel_custom/pdfs/pdfs_v23.2.0/EngineeringReference.pdf.
[17]      Muruganantham K, Phelan P, Lee T, Reddy A. Application of Phase Change Material in Buildings: Field Data vs. EnergyPlus Simulation. Tempe: Arizona State University: 2010.
[18]      Magni M, Ochs F, de Vries S, Maccarini A, Sigg F. Detailed cross comparison of building energy simulation tools results using a reference office building as a case study. Energy Build. 2021; 250:111260.
[19]      American Society of Heating Refrigeration and Air-conditioning. ASHRAE 55: Thermal environmental conditions for human occupancy. Atlanta: ASHRAE: 2023.
[20]      American Society of Heating Refrigeration and Air-conditioning. ASHRAE 90.1: Energy standard for sites and buildings except low-rise residential buildings. Atlanta: ASHRAE: 2025.
 [21]     American Society of Heating Refrigeration and Air-conditioning. ANSI/ASHRAE 62.1: Ventilation for acceptable indoor air quality. Atlanta: ASHRAE: 2025.
[22]      Ministry of Roads and Urban Development. Iranian national building code, part 19: Energy conservation [in Persian]. 4th ed. National Building Regulations Office: Tehran: 2020.
[23]      Andrich van Wyk. Encoding cyclical features for deep learning. Accessed August 29, 2025. https://www.kaggle.com/code/avanwyk/encoding-cyclical-features-for-deep-learning