journal article·2024-07-16Open access

A Method for Predicting Indoor CO2 Concentration in University Classrooms: An RF-TPE-LSTM Approach

Zhicheng Dai, Ying Yuan, Xiaoliang Zhu, Liang Zhao

Applied Sciences· Volume 14· Issue 14

Abstract

Classrooms play a pivotal role in students’ learning, and maintaining optimal indoor air quality is crucial for their well-being and academic performance. Elevated CO2 levels can impair cognitive abilities, underscoring the importance of accurate predictions of CO2 concentrations. To address the issue of inadequate analysis of factors affecting classroom CO2 levels in existing models, leading to suboptimal feature selection and limited prediction accuracy, we introduce the RF-TPE-LSTM model in this study. Our model integrates factors that affect classroom CO2 levels to enhance predictions, including occupancy, temperature, humidity, and other relevant factors. It combines three key components: random forest (RF), tree-structured Parzen estimator (TPE), and long short-term memory (LSTM). By leveraging these techniques, our model enhances the predictive capabilities and refines itself through Bayesian optimization using TPE. Experiments conducted on a self-collected dataset of classroom CO2 concentrations and influencing factors demonstrated significant improvements in the MAE, RMSE, MAPE, and R2. Specifically, the MAE, RMSE, and MAPE were reduced to 2.96, 5.54, and 0.60%, respectively, with the R2 exceeding 98%, highlighting the model’s effectiveness in assessing indoor air quality.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Air Quality Monitoring and Forecasting · Building Energy and Comfort Optimization · Indoor Air Quality and Microbial Exposure

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

National Engineering Research Center for E-Learning, Central China Normal University, Wuhan 430079, China

Faculty of Artificial Intelligence in Education, Central China Normal University, Wuhan 430079, China

National Engineering Research Center of Educational Big Data, Central China Normal University, Wuhan 430079, China

Funding

National Natural Science Foundation of China · Humanities and Social Sciences Fund of the Ministry of Education of China

References (47)

Show source-provided references
1. The National Human Activity Pattern Survey (NHAPS): A resource for assessing exposure to environmental pollutants10.1038/sj.jea.7500165 ↗
2. Tang, X.M., Wu, N., and Pan, Y. (2023). Prediction of particulate matter 2.5 concentration using a deep learning model with time-frequency domain information. Appl. Sci., 13.10.3390/app132312794 ↗
3. An evaluation of measured indoor conditions and student performance using d2 Test of Attention10.1016/j.buildenv.2022.108940 ↗
4. Dynamic forecasting model for indoor pollutant concentration using recurrent neural network10.1177/1420326X20974738 ↗
5. In-depth investigation of air quality and CO2 lock-up phenomenon in pilots’ local environment10.1007/s42757-023-0183-9 ↗
6. Seasonal variation in schools’ indoor air environments and health symptoms among students in an eastern mediterranean climate10.1080/10807039.2014.894444 ↗
7. The association of voice problems with exposure to indoor air contaminants in health care centres–The effect of remediation on symptom prevalence: A follow-up study10.1177/1420326X231197184 ↗
8. Association of carbon dioxide with indoor air pollutants and exceedance of health guideline values10.1016/j.buildenv.2015.03.018 ↗
9. Air quality in passenger cars of the ground railway transit system in Beijing, China10.1016/j.scitotenv.2006.01.007 ↗
10. Associations of cognitive function scores with carbon dioxide, ventilation, and volatile organic compound exposures in office workers: A controlled exposure study of green and conventional office environments10.1289/ehp.1510037 ↗
11. Physiological responses during exposure to carbon dioxide and bioeffluents at levels typically occurring indoors10.1111/ina.12286 ↗
12. The relationships between classroom air quality and children’s performance in school10.1016/j.buildenv.2020.106749 ↗
13. Indoor air quality in naturally ventilated Italian classrooms10.3390/atmos6111652 ↗
14. Han, J., Lin, H., and Qin, Z.K. (2023). Prediction and comparison of in-vehicle CO2 concentration based on ARIMA and LSTM models. Appl. Sci., 13.10.3390/app131910858 ↗
15. Impact of impinging jet ventilation on thermal comfort and aerosol transmission: A numerical investigation in a densely-occupied classroom with solar effect10.1016/j.jobe.2024.109872 ↗
16. Investigating CO2 concentration and occupancy in school classrooms at different stages in their life cycle10.1080/00038628.2017.1416576 ↗
17. The concentration of carbon dioxide in conference rooms: A simplified model and experimental verification10.1007/s13762-019-02412-5 ↗
18. A modeling and simulation study about CO2 amount with web-based indoor air quality monitoring
19. Forecast of CO2 emissions from the U.S. transportation sector: Estimation from a double exponential smoothing model
20. Xiang, X.W., Ma, X., Ma, Z.L., and Ma, M.D. (2022). Operational carbon change in commercial buildings under the carbon neutral goal: A LASSO-WOA approach. Buildings, 12.10.3390/buildings12010054 ↗
21. A multi-stage method to predict carbon dioxide emissions using dimensionality reduction, clustering, and machine learning techniques10.1016/j.jclepro.2020.122942 ↗
22. Influencing factors of carbon emissions and their trends in China and India: A machine learning method10.1007/s11356-022-18711-3 ↗
23. Forecasting and anomaly detection approaches using LSTM and LSTM autoencoder techniques with the applications in supply chain management10.1016/j.ijinfomgt.2020.102282 ↗
24. Forecasting carbon emissions due to electricity power generation in Bahrain10.1007/s11356-021-16960-2 ↗
25. Time-serial analysis of deep neural network models for prediction of climatic conditions inside a greenhouse10.1016/j.compag.2020.105402 ↗
26. IndoAirSense: A framework for indoor air quality estimation and forecasting10.1016/j.apr.2020.07.027 ↗
27. Relationships between indoor environmental quality and environmental factors in university classrooms10.1016/j.buildenv.2020.107331 ↗
28. Estimating occupancy in heterogeneous sensor environment10.1016/j.enbuild.2016.07.026 ↗
29. Variable selection using random forests10.1016/j.patrec.2010.03.014 ↗
30. Text emotion detection in social networks using a novel ensemble classifier based on Parzen Tree Estimator (TPE)10.1007/s00521-019-04230-9 ↗
31. Land surface temperature retrieval from Landsat 8 OLI/TIRS images based on back-propagation neural network10.1177/1420326X19882079 ↗
32. Compressive strength prediction of ternary-blended concrete using deep neural network with tuned hyperparameters10.1016/j.jobe.2023.107004 ↗
33. Airtightness evaluation of Canadian dwellings and influencing factors based on measured data and predictive models10.1177/1420326X221121519 ↗
34. Exploring nature and predicting strength of hydrogen bonds: A correlation analysis between atoms-in-molecules descriptors, binding energies, and energy components of symmetry-adapted perturbation theory10.1002/jcc.26068 ↗
35. Facilitating data preprocessing by a generic framework: A proposal for clustering10.1007/s10462-015-9446-6 ↗
36. Quantitative methods of standardization in cluster analysis: Finding groups in data10.1007/s10967-020-07186-6 ↗
37. Quantifying feature importance for detecting depression using random forest
38. Letter to the Editor: On the stability and ranking of predictors from random forest variable importance measures10.1093/bib/bbr016 ↗
39. Fundamentals of recurrent neural network (RNN) and long short-term memory (LSTM) network10.1016/j.physd.2019.132306 ↗
40. Prediction of daily diffuse solar radiation using artificial neural networks10.1016/j.ijhydene.2017.09.150 ↗
41. Klaar, A.C.R., Stefenon, S.F., Seman, L.O., Mariani, V.C., and Coelho, L.D. (2023). Optimized EWT-Seq2Seq-LSTM with attention mechanism to insulators fault prediction. Sensors, 23.10.3390/s23063202 ↗
42. Wang, B.B., Lu, X.J., Ren, Y.Z., Tao, S., and Gao, W.L. (2022). Prediction model and influencing factors of CO2 micro/nanobubble release based on ARIMA-BPNN. Agriculture, 12.10.3390/agriculture12040445 ↗
43. Predicting the long-term CO2 concentration in classrooms based on the BO–EMD–LSTM model10.1016/j.buildenv.2022.109568 ↗
44. Hyperspectral image classification based on modified DenseNet and spatial spectrum attention mechanism
45. Stock price prediction with optimized deep LSTM network with artificial rabbits optimization algorithm10.1016/j.eswa.2023.120346 ↗
46. Learning-based CO2 concentration prediction: Application to indoor air quality control using demand-controlled ventilation10.1016/j.buildenv.2021.108164 ↗
47. Vignolo, A., Gómez, A.P., Draper, M., and Mendina, M. (2022). Quantitative assessment of natural ventilation in an elementary school classroom in the context of COVID-19 and its impact in airborne transmission. Appl. Sci., 12.10.3390/app12189261 ↗