Short-term forecasting of indoor CO2 concentration in commercial pig barns using time-series models: A walk-forward validation and out-of-sample testing framework
Journal of Animal Science and Technology · 13.11.2026
DOI: 10.5187/jast.2600275 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of Animal Science and Technology, online erschienen am 13.11.2026. Verfasst von Mohammad Ismail und 10 weiteren Autor:innen.
Abstract (Originalsprache)
Short-term forecasting of CO2 concentration in commercial pig barns (CPBs) is essential for effective indoor air quality management. However, previous studies have often used simple train–test splitting for CO2 forecasting, which may not adequately capture real-world temporal variability in CPBs. Therefore, this study integrated walk-forward (WF) validation with continuous model updating and out-of-sample (OOS) testing to assess forecasting performance on unseen observations. Hourly-resampled data were used to generate one-step-ahead forecasts for the subsequent hour. Four time-series models, ARIMA, SARIMA, SARIMAX, and Prophet, were evaluated using indoor environmental data from Barn A (piglets) and Barn B (sows), while Barn C (control) was included for comparison of indoor environmental conditions across the three barn types. Model performance was assessed using root mean squared error (RMSE), mean absolute error (MAE), mean absolute percentage error (MAPE), residual diagnostics, and the entropy-weighted residual quality index (EW-RQI). Significant differences in indoor air quality parameters were observed among the barns (p < 0.001). During WF validation, SARIMAX achieved the best overall forecasting performance in Barn A, reducing RMSE, MAE, and MAPE by 4.58–55.37%, 3.50–61.73%, and 2.54–63.83%, respectively, compared with the other models, whereas performance differences in Barn B were relatively small. During OOS testing, SARIMAX remained the best-performing model in Barn B, reducing RMSE, MAE, and MAPE by 15.67–42.04%, 7.10–41.31%, and 6.67–40.71%, respectively. In Barn A, SARIMAX achieved lower MAE and MAPE, although ARIMA produced the lowest RMSE. Moreover, SARIMA and SARIMAX exhibited the better overall residual quality, achieving the highest EW-RQI values across both WF validation and OOS testing. These findings may provide valuable insights for monitoring CO2 concentrations and support improved indoor atmospheric management in CPBs.
Zitieren
APA
Ismail, M., Kang, D. Y., Ogundele, O. M., Kim, S. H., Azuatalam, R. G., Dasanayaka, D. L. V. S., Hanif, U., Maratovich, P. D., Kang, M. Y., Basak, J. K., & Kim, H. T. (2026). Short-term forecasting of indoor CO2 concentration in commercial pig barns using time-series models: A walk-forward validation and out-of-sample testing framework. Journal of Animal Science and Technology. https://doi.org/10.5187/jast.2600275
Vancouver
Ismail M, Kang DY, Ogundele OM, Kim SH, Azuatalam RG, Dasanayaka DLVS, et al. Short-term forecasting of indoor CO2 concentration in commercial pig barns using time-series models: A walk-forward validation and out-of-sample testing framework. Journal of Animal Science and Technology. 2026. doi:10.5187/jast.2600275
BibTeX
@article{Ismail2026,
author = {Ismail, Mohammad and Kang, Dae Yeong and Ogundele, Oluwasegun Moses and Kim, Seong Hun and Azuatalam, Reginald Gbenga and Dasanayaka, D. L. Vindya Sathsarani and Hanif, Usama and Maratovich, Pirlepesov Daniyar and Kang, Myeong Yong and Basak, Jayanta Kumar and Kim, Hyeon Tae},
title = {Short-term forecasting of indoor CO2 concentration in commercial pig barns using time-series models: A walk-forward validation and out-of-sample testing framework},
journal = {Journal of Animal Science and Technology},
year = {2026},
doi = {10.5187/jast.2600275}
}
EUVIMED