•   O. E. Taylor

  •   P. S. Ezekiel

  •   V. T. Emma


Building area is a vital consumer of all globally produced energy. Structures of buildings absorb about 40 % of the total energy created which transcription about 30 % of the integral worldwide CO2 radiations. As such, reducing the measure of energy absorbed by the building area would incredibly help the much-crucial depletions in world energy utilization and the related ecological concerns. This paper presents a smart system for thermal comfort prediction on residential buildings using data driven model with Random Forest Classifier. The system starts by acquiring a global thermal comfort data, pre-processed the acquired data, by removing missing values and duplicated values, and also reduced the numbers of features in the dataset by selecting just twelve columns out of 70 columns in total. This process is called feature extraction. After the pre-processing and feature extraction, the dataset was split into a training and testing set. The training set was 70% while the testing set was 30% of the original dataset. The training data was used in training our thermal comfort model with Random Forest Classifier. After training, Random Forest Classifier had an accuracy of 99.99% which is about 100% approximately. We then save our model and deployed to web through python flask, so that users can use it in predicting real time thermal comfort in their various residential buildings.

Keywords: Data-Driven Model, Residential Buildings, Random Forest Classifier, Thermal Comfort


P.H. Shaikh, N.B.M. Nor, P. Nallagownden, I. Elamvazuthi, T. Ibrahim, A review on optimized control systems for building energy and comfort management of smart sustainable buildings, Renew. Sustain. Energy Rev. vol. 34, pp. 409–429, 2014. doi:10.1016/j.rser.2014.03.027.

A.J. Marszal, P. Heiselberg, J.S. Bourrelle, E. Musall, K. Voss, I. Sartori, A. Napolitano, zero energy building – a review of definitions and calculation methodologies, Energy Build, vol. 43, pp. 971–979, 2011. doi:10.1016/j.enbuild.2010. 12.022

D. Mitchell, C. Heaviside, S. Vardoulakis, C. Huntingford, G. Masato, B.P Guillod, P. Frumhoff, A. Bowery, D. Wallom, M. Allen, Attributing human mortality during extreme heat waves to anthropogenic climate change, Environ. Res. Lett., vol. 11, 074006, 2016. doi:10.1088/1748-9326/11/7/074006.

Y. Geng, W. Ji, B. Lin, Y. Zhu, The impact of thermal environment on occupant IEQ perception and productivity, Build. Environ., vol. 121, pp. 158–167, 2017. doi:10. 1016/j.buildenv.2017.05.022.

D. Ormandy, V. Ezratty, Health and thermal comfort: From WHO guidance to housing strategies, Energy Policy, vol. 49, pp. 116–121, 2012. doi:10.1016/j.enpol.2011. 09.003.

Nan G., Wei S., Mohammad S. R., Flora D. S., “Predicting in-class Emotional, Behavioural and Cognitive Engagement in the Wild”. arXiv preprint arXiv:2007.04831 (2020).

A.K. Melikov, “Advanced air distribution: Improving Health and Comfort While Reducing Energy Use”, Indoor Air, vol. 26, pp. 112-124, 2016.

A. C. Cosma, R. Simha, “Machine learning method for real-time non-invasive prediction of individual thermal preference in transient conditions”, Building and Environment, vol. 148, pp. 372-383, 2019.

B. Brik, M. Esseghir, L. Merghem-Boulahia and H. Snoussi, "ThermCont: A machine Learning enabled Thermal Comfort Control Tool in a real time," 2019 15th International Wireless Communications & Mobile Computing Conference (IWCMC), pp. 294-300, 2019. doi: 10.1109/IWCMC.2019.8766697.

Q. Chai, H. Wang, Y. Zhai, L. Yang, “Using machine learning algorithms to predict occupants’ thermal comfort in naturally ventilated residential buildings”, Energy & Buildings, vol. 217, pp. 2-13, 2020.

T. Chaudhuri, Y. C. Soh, H. Li and L. Xie, "Machine learning based prediction of thermal comfort in buildings of equatorial Singapore," 2017 IEEE International Conference on Smart Grid and Smart Cities (ICSGSC), pp. 72-77, 2017. doi: 10.1109/ICSGSC.2017.8038552.

D. Li, C.C. Menassa, V., Kamat, “Feasibility of Low-Cost Infrared Thermal Imaging to Assess Occupants’ Thermal Comfort”, Computing in Civil Engineering: Smart Cities, Sustainability and Resilience, pp. 58-65, 2019.

J. Ngarambea, G. Young, M. Santamouris, “The use of artificial intelligence (AI) methods in the prediction of thermal comfort in buildings: energy implications of AI-based thermal comfort controls”, Energy & Buildings, vol. 211, pp. 2-15, 2020.

F. Salamone, L. Belussi, C. Currò, L. Danza, M. Ghellere, G. Guazzi, I. Meroni, I., “Integrated Method for Personal Thermal Comfort Assessment and Optimization through Users’ Feedback, IoT and Machine Learning: A Case Study”, Sensors, 18(5), 1602, 2018. doi:10.3390/s18051602.

R. Lou, K. P. Hallinan, K. Huang, T. Reissman, “Smart Wifi Thermostat-Enabled Thermal Comfort Control in Residences”, Sustainability 12(5), pp. 1-15, 2020.

Z. Wang, J. Wang, Y. He, Y. Liu, B. Lin, T. Hong, “Dimension analysis of subjective thermal comfort metrics based on ASHRAE Global Thermal Comfort Database using machine learning”, Journal of Building Engineering, vol. 29, pp. 2-10, 2020.


Download data is not yet available.


How to Cite
Taylor, O.E., Ezekiel, P.S. and Emma, V.T. 2021. Smart System for Thermal Comfort Prediction on Residential Buildings Using Data-Driven Model with Random Forest Classifier. European Journal of Electrical Engineering and Computer Science. 5, 4 (Jul. 2021), 40-45. DOI:https://doi.org/10.24018/ejece.2021.5.4.346.