Agriculture, Environment & Society

Agriculture, Environment & Society

Forecasting air temperature in Zabol city: a comparative study of SARIMA, BP-FFNN, and RNN-LSTM models

Document Type : Original research article

Authors
1 Department of Agronomy, Faculty of Agriculture, University of Zabol, Zabol, Iran
2 Department of Geo-information Engineering, School of Computer Science, China University of Geoscience (Wuhan), Wuhan, China
Abstract
This study compares three models, Back -Propagation Feed-Forward Neural Networks (BP-FFNN), Recurrent Neural Networks with Long Short-Term Memory (RNN-LSTM), and Seasonal Autoregressive Integrated Moving Average (SARIMA), for temperature prediction using historical air temperature data from Zabol City, Iran. The dataset consists of daily average air temperature observations, and the models were evaluated using Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), Median Absolute Percentage Error (MDAPE), and Coefficient of Determination (R2) metrics. The BP-FFNN model outperformed the RNN-LSTM and SARIMA models, achieving the lowest values for RMSE (0.018), MAE (0.013), and MDAPE (1.59%). It demonstrated accurate temperature predictions with a strong correlation between predicted and actual values (R2=0.99). The RNN-LSTM model showed comparable results, capturing long-term patterns with RMSE of 0.042, MAE of 0.031, and MDAPE of 3.53%. The SARIMA model provided insights into seasonality and autocorrelation, achieving RMSE of 0.042, MAE of 0.03, and MDAPE of 3.65%.The study's findings have implications for weather forecasting, climate research, and energy management systems. The superior performance of the BP-FFNN model suggests its reliability for accurate temperature prediction, while the RNN-LSTM model offers an alternative approach for capturing long-term patterns. The SARIMA model contributes insights into seasonality and autocorrelation. The study highlights the strengths and limitations of each model and their practical applications in temperature forecasting. In conclusion, the BP-FFNN model effectively predicts temperatures in Zabol City while the RNN-LSTM and SARIMA models provide alternative approaches for capturing long-term patterns and understanding seasonality. The study's results advance temperature prediction techniques and have practical implications for various fields reliant on accurate temperature forecasting.

Highlights

  • This study highlights the applications of forecasting air temperature in Zabol City, recognizing its importance in energy generation and agriculture.
  • The study demonstrates the use of statistical approach and two deep neural network algorithms for averaged temperature prediction, showcasing advanced techniques.
  • A comparative analysis of three approaches is conducted, providing insights into their respective strengths and limitations in averaged temperature forecasting.
  • The study identifies the potential for enhancing accuracy through a hybrid deep neural network algorithm, emphasizing the importance of combining different models or techniques to achieve improved predictions.

Keywords

Abdel-Aal, R. E. (2004). Hourly temperature forecasting using abductive networks. Engineering Applications of Artificial Intelligence, 17(5), 543-556. doi: 10.1016/j.engappai.2004.04.002
Abrahams, D., & Carr, E. (2017). Understanding the connections between climate change and conflict: Contributions from geography and political ecology. Climate Change Reports, 3. doi: 10.1007/s40641-017-0080-z
Al Dhaheri, K., Woon, W. L., & Aung, Z. (2017). Wind speed forecasting using statistical and machine learning methods: A case study in the uae. Paper presented at the Data Analytics for Renewable Energy Integration: Informing the Generation and Distribution of Renewable Energy, DARE 2017. doi: 10.1007/978-3-319-71643-5_10
Altan Dombaycı, Ö., & Gölcü, M. (2009). Daily means ambient temperature prediction using artificial neural network method: A case study of turkey. Renewable Energy, 34(4), 1158-1161. doi: 10.1016/j.renene.2008.07.007
Atasever, S., Öztürk, B., & Bilgiç, G. (2022). A new approach to short-term wind speed prediction: The prophet model. Energy Sources, Part A: Recovery, Utilization, and Environmental Effects, 44(4), 8826-8841. doi: 10.1080/15567036.2022.2126035
Bauer, P., Thorpe, A., & Brunet, G. (2015). The quiet revolution of numerical weather prediction. Nature, 525(7567), 47-55. doi: 10.1038/nature14956
Ben-Nakhi, A. E., & Mahmoud, M. A. (2004). Cooling load prediction for buildings using general regression neural networks. Energy Conversion and Management, 45, 2127–2141. doi: 10.1016/j.enconman.2003.10.009
Bilgili, M., & Sahin, B. (2009). Prediction of long-term monthly temperature and rainfall in turkey. Energy Sources, Part A: Recovery, Utilization, and Environmental Effects, 32(1), 60-71. doi: 10.1080/15567030802467522
Bishop, C. M. (2005). Neural networks for pattern recognition: Oxford University Press.
Box, G. E. P., Jenkins, G. M., Reinsel, G. C., & Ljung, G. M. (2015). Time series analysis: Forecasting and control (Fifth Edition ed.): Wiley.
Camia, A., Bovio, G., Aguado, I., & Stach, N. (1999). Meteorological fire danger indices and remote sensing Remote sensing of large wildfires (pp. 39–59): Springer, Berlin, Heidelberg.  doi: 10.1007/978-3-642-60164-4_4
Chollet, F. (2021). Deep learning with python (Second Edition ed.): Manning
Cifuentes, J., Marulanda, G., Bello, A., & Reneses, J. (2020). Air temperature forecasting using machine learning techniques: A review. Energies, 13(16), 4215. doi: 10.3390/en13164215
Fahimi Nezhad, E., Fallah Ghalhari, G., & Bayatani, F. (2019). Forecasting maximum seasonal temperature using artificial neural networks “tehran case study”. Asia-Pacific J Atmos Sci, 55, 145-153. doi: 10.1007/s13143-018-0051-x
García, M. C. A., & Balenzategui, J. L. (2004). Estimation ofphotovoltaic module yearly temperature and performance based on nominal operation cell temperature calculations. Renewable Energy, 29(12), 1997-2010. doi: 10.1016/j.renene.2004.03.010
Hochreiter, S., & Schmidhuber, J. u. (1997). Long short-term memory. Neural Computation 9(8), 1735-1780.
Hou, J., Wang, Y., Zhou, J., & Tian, Q. (2022). Prediction of hourly air temperature based on cnn–lstm, geomatics. Natural Hazards and Risk, 13(1), 1962-1986. doi: 10.1080/19475705.2022.2102942
Hyndman, R. J., & Athanasopoulos, G. (2018). Forecasting: Principles and practice (2nd ed. ed.): OTexts.
Jallal, M. A., Chabaa, S., Yassini, A. E., Zeroual, A., & Ibnyaich, S. (2019). Air temperature forecasting using artificial neural networks with delayed exogenous input. Paper presented at the 2019 International Conference on Wireless Technologies, Embedded and Intelligent Systems (WITS), Fez, Morocco, 2019.
Jingxiao, S., Dongyue, Z., Xuda, Z., Yiwen, L., & Yufeng, Z. (2021). Bridge temperature prediction model based on long-short term memory neural network. Paper presented at the 2021 International Conference on Artificial Intelligence and Industrial Technology Applications (AIITA 2021), Nanchang, China.
Kirchgässner, G., Wolters, J., & Hassler, U. (2013). Introduction to modern time series analysis (Second Edition ed.): Springer Berlin, Heidelberg.  doi: 10.1007/978-3-642-33436-8
Kisi, O., & Shiri, J. (2014). Prediction of long-term monthly air temperature using geographical inputs. International Journal of Climatology, 34(1), 179-186. doi: 10.1002/joc.3676
Kuligowski, R. J., & Barros, A. P. (1998). Localized precipitation forecasts from a numerical weather prediction model using artificial neural networks. Weather and Forecasting, 13(4), 1194–1204 doi: 10.1175/1520-0434(1998)013<1194:lpffan>2.0.co;2
LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436-444. doi: 10.1038/nature14539
Li, S., Goel, L., & Wang, P. (2016). An ensemble approach for short-term load forecasting by extreme learning machine. Applied Energy, 170, 22-29. doi: 10.1016/j.apenergy.2016.02.114
Liu, H., Duan, Z., Wu, H., Li, Y., & Dong, S. (2019). Wind speed forecasting models based on data decomposition, feature selection and group method of data handling network. Measurement, 148, 106971. doi: 10.1016/j.measurement.2019.106971.
Mihalakakou, G., Santamouris, M., & Tsangrassoulis, A. (2002). On the energy consumption in residential buildings. Energy and Buildings, 34(7), 727–736. doi: 10.1016/s0378-7788(01)00137-2
Park, I., Kim, H. S., Lee, J., Kim, J. H., Song, C. H., & Kim, H. K. (2019). Temperature prediction using the missing data refinement model based on a long short-term memory neural network. Atmosphere, 10(11), 718. doi: 10.3390/atmos10110718
Radhika, Y., & Shashi, M. (2009). Atmospheric temperature prediction using support vector machines. International Journal of Computer Theory and Engineering, 1(1), 1793-8201. doi: 10.7763/ijcte.2009.v1.9
Roy, S. (2020). Forecasting the air temperature at a weather station using deep neural networks. Procedia Computer Science, 178, 38-46. doi: 10.1016/j.procs.2020.11.005
 

  • Receive Date 19 September 2023
  • Revise Date 13 December 2023
  • Accept Date 17 December 2023