Prediction of air temperature and wind speed in Simav district of Kütahya province using recurrent neural network structures
Abstract
Temperature and wind speed forecasting is of great importance for many sectors. It plays a critical role, especially as it directly affects agricultural production. In this context, the development of regional forecasting models will enable users engaged in agricultural production to take precautions against weather conditions in advance. Thus, it will contribute to preventing economic losses for producers. In this context, a study on temperature and wind speed forecasting in Simav district of Kütahya province was conducted. The study utilised deep learning (DL) methods, which have become an integral part of our lives in recent years. Specifically, the study was carried out using long short-term memory (LSTM) architectures, gated recurrent unit (GRU) architectures, architectures with added attention mechanisms, and bidirectional architectures. Data on temperature, relative humidity, wind speed, and precipitation were obtained from the Turkish State Meteorological Service (TSMS) with hourly resolution covering the years 2021-2025. Using this data, temperature and wind speed were predicted within a multivariate and multi-output structure using various DL models. The bidirectional LSTM(BiLSTM) model achieved the best performance for air temperature prediction with an R2 score of 0.988. Wind speed prediction, on the other hand, yielded a satisfactory R2 score of 0.823.
Full Text:
PDFReferences
T. T. K. Tran, S. M. Bateni, S. J. Ki, and H. Vosoughifar, “A review of neural networks for air temperature forecasting,” Water, 13(9), p. 1294, 2021.
A. Ö. Akyüz, K. Kumaş, M. Ayan, and A. Güngör, “Estimation of Air Temperature by Artificial Neural Networks with Meteorological Data for Antalya Province,” Gümüşhane University Journal of Science and Technology, 10(1), pp. 146–154, 2020.
A. Turgut, A. Temir, B. Aksoy, and K. Özsoy, “Yapay zeka yöntemleri ile hava sıcaklığı tahmini için sistem tasarımı ve uygulaması,” Int. J. 3D Print. Technol. Digit. Ind., 3(3), pp. 244–253, 2019.
J. Cifuentes, G. Marulanda, A. Bello, and J. Reneses, “Air temperature forecasting using machine learning techniques: A review,” Energies, 13(16), p. 4215, 2020.
B. Gong, M. Langguth, Y. Ji, A. Mozaffari, S. Stadtler, K. Mache, and M. G. Schultz, “Temperature forecasting by deep learning methods,” Geosci. Model Dev., 15(23), pp. 8931–8956, 2022.
D. Krivoguz et al., “Enhancing long-term air temperature forecasting with deep learning architectures,” J. Robot. Control (JRC), 5(3), pp. 706–716, 2024.
Ü. Kaya, Y. Oğuz, and Ü. Şenol, “An assessment of energy production capacity of Amasra town using artificial neural networks,” Turkish Journal of Electromechanics and Energy, 3(1), pp. 22–26, 2018.
M. M. Jassim, H. K. Abass, A. R. M. Al-Ani, A. F. Mahdi, A. M. J. Almaaly, Y. Navrozova, and N. Bodnar, “Deep learning approaches for predicting climate change impacts: An empirical analysis,” 2024 36th IEEE Conference of Open Innovations Association (FRUCT), 30 October - 1 November, Lappeenranta, Finland, pp. 481-492, 2024.
A. Tokgöz and G. Ünal, "A RNN-based time series approach for forecasting Turkish electricity load," 2018 26th IEEE Signal Processing and Communications Applications Conference (SIU 2018), 2-5 May, İzmir, Türkiye, pp. 1-4, 2018.
I. Uluocak and M. Bilgili, “Daily air temperature forecasting using LSTM-CNN and GRU-CNN models,” Acta Geophys., 72(3), pp. 2107–2126, 2024.
A. Sekertekin, M. Bilgili, N. Arslan, A. Yildirim, K. Celebi, and A. Ozbek, “Short-term air temperature prediction by adaptive neuro-fuzzy inference system (ANFIS) and long short-term memory (LSTM) network,” Meteorol. Atmos. Phys., 133(3), pp. 943–959, 2021.
C. Li, M. Zhao, Y. Liu, and F. Xu, “Air temperature forecasting using traditional and deep learning algorithms,” 2020 7th IEEE International Conference on Information Science and Control Engineering (ICISCE 2020), 18-20 December, Changsha, China, pp. 189-194, 2020.
A. R. Pangaribuan, E. M. Yuniarno, and R. F. Rachmadi, “Air temperature prediction with LSTM and LSTM-GRU: A two-year meteorological data,” 2024 International Conference on Computer Engineering, Network, and Intelligent Multimedia (CENIM 2024), 19-20 November, Surabaya, Indonesia, pp. 1–5, 2024.
E. Haque, S. Tabassum, and E. Hossain, “Comparative analysis of deep neural networks for hourly temperature forecasting,” IEEE Access, vol. 9, pp. 160646–160660, 2021.
A. Sevinç and B. Kaya, “Temperature Estimation with Deep Learning Methods: The Example of Diyarbakir Province,” Journal of Computer Science, Special Issue, pp. 217–225, 2021.
N. Doğan and F. Özyurt, “Development of Artificial Intelligence-Based Weather Forecasting System With IoT-Supported Weather Data,” Kahramanmaras Sutcu Imam University Journal of Engineering Sciences, 28(1), pp. 524–535, 2025.
A. Utku, “Hybrid ConvGRU Model for Prediction of Climate Variables of Touristic Cities in India,” Journal of Engineering Sciences and Researches, 6(2), pp. 165–176, 2024.
R. Faulina, N. Nuramaliyah, and E. Safitri, “Air temperature prediction system using long short-term memory algorithm,” Rekayasa, 17(3), pp. 463–473, 2024.
S. Haghrahmani, “Enhancing temperature prediction in the UAE: A process-driven framework for adaptive learning with GRU-CNN hybrid models,” Model. Earth Syst. Environ., 11(2), p. 1-17, 2025.
E. Elabd, H. M. Hamouda, M. M. Ali, and Y. Fouad, “Climate change prediction in Saudi Arabia using a CNN-GRU-LSTM hybrid deep learning model in Al Qassim region,” Sci. Rep., 15(1), p. 16275, 2025.
R. Nagaraj and L. S. Kumar, “Univariate deep learning models for prediction of daily average temperature and relative humidity: The case study of Chennai, India,” J. Earth Syst. Sci., 132(3), p. 1-19, 2023.
J. Hou, Y. Wang, J. Zhou, and Q. Tian, “Prediction of hourly air temperature based on CNN–LSTM,” Geomat. Nat. Hazards Risk, 13(1), pp. 1962–1986, 2022.
M. S. Mustafa and B. A. M. Al-Jawadi, “Prediction of daily temperature patterns in Iraq using deep learning models,” Diyala J. Eng. Sci., 18(3), pp. 225–246, 2025.
Y. Sari et al., "Optimising the GRU-LSTM hybrid model for air temperature prediction in degraded wetlands and climate change implications," Int. J. Adv. Comput. Sci. Appl., 16(2), pp. 709–723, 2025.
A. Y. Mahmood, K. M. Saffer, B. T. Al-Nuaimi, and D. I. Bakr, “Climate change prediction on Middle East using RNN model and hybrid LSTM & GRU model,” 2024 Antennas Design and Measurement International Conference (ADMInC 2024), 23-25 October, Saint Petersburg, Russia, pp. 76–86, 2024.
N. Y. Oktaviani and I. Kharisudin, "Stacking ensemble modelling of bidirectional LSTM and bidirectional GRU for air temperature prediction in Ngawi,” Unnes J. Math., 13(2), pp. 1–8, 2024.
I. S. Rahayu, E. C. Djamal, R. Ilyas, and A. T. Bon, “Daily temperature prediction using recurrent neural networks and long short-term memory,” Proceedings of the 5 th NA International Conference on Industrial Engineering and Operations Management, 14-15 August, Detroit, Michigan, USA, pp. 2700–2709, 2020.
H. Jdi and N. Falih, “Comparison of time series temperature prediction with auto-regressive integrated moving average and recurrent neural network,” Int. J. Electr. Comput. Eng., 14(2), p. 1770, 2024.
Q. Guo, Z. He, and Z. Wang, “Monthly climate prediction using deep convolutional neural network and long short-term memory,” Sci. Rep., 14(1), p. 17748, 2024.
A. Utku, “Hybrid CNN-LSTM model for accurate long-term and short-term temperature prediction: A case study for Bingöl and Tunceli,” International Journal of Pure and Applied Sciences, 10(2), pp. 550–562, 2024.
H. J. Toama and K. Q. Hussein, “Review of techniques and algorithms of temperature prediction using artificial intelligence,” Iraqi J. Intell. Comput. Informatics, 4(2), pp. 182–193, 2025.
Y. Bozkurt, S. Serttaş ve Ç. Bakır, “Kütahya İli Sıcaklık Tahmininde LSTM ve Dikkat Mekanizmalı Çift Yönlü GRU (BiGRU+Attention) Derin Öğrenme Modellerinin Karşılaştırmalı Analizi,” Bilgisayar Mühendisliği Alanında Uluslararası Derleme, Araştırma ve Çalışmalar III, Ankara: Serüven Yayınevi, 2025, ss. 73–86.
X. Wen and W. Li, “Time series prediction based on LSTM-attention-LSTM model,” IEEE Access, vol. 11, pp. 48322–48331, 2023.
S. Altun and A. Alkan, “MR spektroskopi kullanılarak beyin tümörü tespitinde LSTM tabanlı derin öğrenme uygulaması,” Gazi Üniv. Müh. Mim. Fak. Derg., 38(2), pp. 1193–1202, 2022.
B. C. Mateus, M. Mendes, J. T. Farinha, R. Assis, and A. M. Cardoso, “Comparing LSTM and GRU models to predict the condition of a pulp paper press,” Energies, 14(21), p. 6958, 2021.
M. Elsaraiti and A. Merabet, “A comparative analysis of the ARIMA and LSTM predictive models and their effectiveness for predicting wind speed,” Energies, 14(20), pp. 1–21, 2021.
J. Sathyaraj and V. Sankardoss, “Enhancing short-term wind speed prediction based on deep learning with ensemble learning model for small wind turbine applications,” IEEE Access, vol. 13, pp. 82759-82782, 2025.
M. D. Sabir, L. Khan, K. Hafeez, Z. Ullah, and S. Czapp, “Nature-inspired driven deep-AI algorithms for wind speed prediction,” IEEE Access, vol. 12, pp. 184230–184256, 2024.
URN: https://sloi.org/urn:sl:tjoee112408
Copyright (c) 2026 Turkish Journal of Electromechanics and Energy

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Indexed in:












