JITCoS : Journal of Information Technology and Computer System
Vol. 1 No. 2 (2025): Volume 1 Number 2, December 2025

Modeling and Simulation of Indoor Temperature Dynamics Using Random Forest and Multi-Layer Perceptron Methods

Risky, T. Tanzil Azhari (Unknown)
Faiza, Nayla (Unknown)
Hasibuan, Mhd Fikry Hasrul (Unknown)
Nasution, Mhd Syahru Ramadhan (Unknown)



Article Info

Publish Date
31 Dec 2025

Abstract

Modeling and simulating indoor temperature changes is crucial for improving the energy efficiency of HVAC systems in smart buildings. This study created and compared two models, Random Forest and Multi-Layer Perceptron (MLP), to study indoor temperature changes and make 24-hour temperature predictions. The dataset used contained 97,606 readings from IoT sensors on Kaggle, which were then processed into 38,334 observations with a 5-minute interval. The feature engineering process included creating lag features, moving statistics, and temperature differences in order to capture the time patterns and thermal properties of the building. The Random Forest model showed better results with MAE of 0.146°C, RMSE of 0.285°C, and R² of 0.986, far better than the MLP which had MAE of 0.470°C, RMSE of 0.731°C, and R² of 0.907. A 24-hour simulation proved the Random Forest's ability to make step-by-step predictions, achieving an MAE of 0.057°C and an R² of 0.993 without any cumulative errors. Random Forest was able to capture dynamic temperature changes (29.5-35°C), while MLP provided more stable results (32.5-35°C). The results of the study show that Random Forest is more efficient in modeling temperature changes, with the potential for HVAC energy savings of 15-25% through more precise settings based on predictions.

Copyrights © 2025






Journal Info

Abbrev

jitcos

Publisher

Subject

Computer Science & IT Control & Systems Engineering

Description

JITCoS: Journal of Information Technology and Computer System is a peer-reviewed scholarly journal that aims to advance the theory and practice of information technology and computer systems. The journal seeks high-quality contributions from researchers, academics, and industry professionals that ...