IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v16y2023i11p4499-d1162800.html
   My bibliography  Save this article

Forecasting Electricity Demand in Turkey Using Optimization and Machine Learning Algorithms

Author

Listed:
  • Mustafa Saglam

    (Energy Institute, Bartlett School Environment, Energy and Resources, University College London, London WC1E 6BT, UK)

  • Catalina Spataru

    (Energy Institute, Bartlett School Environment, Energy and Resources, University College London, London WC1E 6BT, UK)

  • Omer Ali Karaman

    (Department of Electronic and Automation, Vocational School, Batman University, Batman 72100, Turkey)

Abstract

Medium Neural Networks (MNN), Whale Optimization Algorithm (WAO), and Support Vector Machine (SVM) methods are frequently used in the literature for estimating electricity demand. The objective of this study was to make an estimation of the electricity demand for Turkey’s mainland with the use of mixed methods of MNN, WAO, and SVM. Imports, exports, gross domestic product (GDP), and population data are used based on input data from 1980 to 2019 for mainland Turkey, and the electricity demands up to 2040 are forecasted as an output value. The performance of methods was analyzed using statistical error metrics Root Mean Square Error (RMSE), Mean Absolute Error (MAE), R-squared, and Mean Square Error (MSE). The correlation matrix was utilized to demonstrate the relationship between the actual data and calculated values and the relationship between dependent and independent variables. The p -value and confidence interval analysis of statistical methods was performed to determine which method was more effective. It was observed that the minimum RMSE, MSE, and MAE statistical errors are 5.325 × 10 −14 , 28.35 × 10 −28 , and 2.5 × 10 −14 , respectively. The MNN methods showed the strongest correlation between electricity demand forecasting and real data among all the applications tested.

Suggested Citation

  • Mustafa Saglam & Catalina Spataru & Omer Ali Karaman, 2023. "Forecasting Electricity Demand in Turkey Using Optimization and Machine Learning Algorithms," Energies, MDPI, vol. 16(11), pages 1-23, June.
  • Handle: RePEc:gam:jeners:v:16:y:2023:i:11:p:4499-:d:1162800
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/16/11/4499/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/16/11/4499/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Sen, Doruk & Tunç, K.M. Murat & Günay, M. Erdem, 2021. "Forecasting electricity consumption of OECD countries: A global machine learning modeling approach," Utilities Policy, Elsevier, vol. 70(C).
    2. Angelopoulos, Dimitrios & Siskos, Yannis & Psarras, John, 2019. "Disaggregating time series on multiple criteria for robust forecasting: The case of long-term electricity demand in Greece," European Journal of Operational Research, Elsevier, vol. 275(1), pages 252-265.
    3. Sekhar, Charan & Dahiya, Ratna, 2023. "Robust framework based on hybrid deep learning approach for short term load forecasting of building electricity demand," Energy, Elsevier, vol. 268(C).
    4. Jun Hao & Xiaolei Sun & Qianqian Feng, 2020. "A Novel Ensemble Approach for the Forecasting of Energy Demand Based on the Artificial Bee Colony Algorithm," Energies, MDPI, vol. 13(3), pages 1-25, January.
    5. Adeniyi Kehinde Onaolapo & Rudiren Pillay Carpanen & David George Dorrell & Evans Eshiemogie Ojo, 2022. "A Comparative Assessment of Conventional and Artificial Neural Networks Methods for Electricity Outage Forecasting," Energies, MDPI, vol. 15(2), pages 1-21, January.
    6. Emami Javanmard, M. & Tang, Y. & Wang, Z. & Tontiwachwuthikul, P., 2023. "Forecast energy demand, CO2 emissions and energy resource impacts for the transportation sector," Applied Energy, Elsevier, vol. 338(C).
    7. Kaytez, Fazil, 2020. "A hybrid approach based on autoregressive integrated moving average and least-square support vector machine for long-term forecasting of net electricity consumption," Energy, Elsevier, vol. 197(C).
    8. Rao, Congjun & Zhang, Yue & Wen, Jianghui & Xiao, Xinping & Goh, Mark, 2023. "Energy demand forecasting in China: A support vector regression-compositional data second exponential smoothing model," Energy, Elsevier, vol. 263(PC).
    9. Ibrahim Soyler & Ercan Izgi, 2022. "Electricity Demand Forecasting of Hospital Buildings in Istanbul," Sustainability, MDPI, vol. 14(13), pages 1-16, July.
    10. Chaturvedi, Shobhit & Rajasekar, Elangovan & Natarajan, Sukumar & McCullen, Nick, 2022. "A comparative assessment of SARIMA, LSTM RNN and Fb Prophet models to forecast total and peak monthly energy demand for India," Energy Policy, Elsevier, vol. 168(C).
    11. Kazemzadeh, Mohammad-Rasool & Amjadian, Ali & Amraee, Turaj, 2020. "A hybrid data mining driven algorithm for long term electric peak load and energy demand forecasting," Energy, Elsevier, vol. 204(C).
    12. Alejandro J. del Real & Fernando Dorado & Jaime Durán, 2020. "Energy Demand Forecasting Using Deep Learning: Applications for the French Grid," Energies, MDPI, vol. 13(9), pages 1-15, May.
    13. Zhang, Wenyu & Zhang, Lifang & Wang, Jianzhou & Niu, Xinsong, 2020. "Hybrid system based on a multi-objective optimization and kernel approximation for multi-scale wind speed forecasting," Applied Energy, Elsevier, vol. 277(C).
    14. Velasquez, Carlos E. & Zocatelli, Matheus & Estanislau, Fidellis B.G.L. & Castro, Victor F., 2022. "Analysis of time series models for Brazilian electricity demand forecasting," Energy, Elsevier, vol. 247(C).
    15. Yu, Yantuan & Zhang, Ning & Kim, Jong Dae, 2020. "Impact of urbanization on energy demand: An empirical study of the Yangtze River Economic Belt in China," Energy Policy, Elsevier, vol. 139(C).
    16. Ismail Shah & Faheem Jan & Sajid Ali & Tahir Mehmood, 2022. "Functional Data Approach for Short-Term Electricity Demand Forecasting," Mathematical Problems in Engineering, Hindawi, vol. 2022, pages 1-14, June.
    17. Kaboli, S. Hr. Aghay & Selvaraj, J. & Rahim, N.A., 2016. "Long-term electric energy consumption forecasting via artificial cooperative search algorithm," Energy, Elsevier, vol. 115(P1), pages 857-871.
    18. Mutschler, Robin & Rüdisüli, Martin & Heer, Philipp & Eggimann, Sven, 2021. "Benchmarking cooling and heating energy demands considering climate change, population growth and cooling device uptake," Applied Energy, Elsevier, vol. 288(C).
    19. Di Leo, Senatro & Caramuta, Pietro & Curci, Paola & Cosmi, Carmelina, 2020. "Regression analysis for energy demand projection: An application to TIMES-Basilicata and TIMES-Italy energy models," Energy, Elsevier, vol. 196(C).
    20. Nahid Sultana & S. M. Zakir Hossain & Salma Hamad Almuhaini & Dilek Düştegör, 2022. "Bayesian Optimization Algorithm-Based Statistical and Machine Learning Approaches for Forecasting Short-Term Electricity Demand," Energies, MDPI, vol. 15(9), pages 1-26, May.
    21. Mustafa Saglam & Catalina Spataru & Omer Ali Karaman, 2022. "Electricity Demand Forecasting with Use of Artificial Intelligence: The Case of Gokceada Island," Energies, MDPI, vol. 15(16), pages 1-22, August.
    22. Bedi, Jatin & Toshniwal, Durga, 2019. "Deep learning framework to forecast electricity demand," Applied Energy, Elsevier, vol. 238(C), pages 1312-1326.
    23. Junhui Huang & Sakdirat Kaewunruen, 2023. "Forecasting Energy Consumption of a Public Building Using Transformer and Support Vector Regression," Energies, MDPI, vol. 16(2), pages 1-15, January.
    24. Günay, M. Erdem, 2016. "Forecasting annual gross electricity demand by artificial neural networks using predicted values of socio-economic indicators and climatic conditions: Case of Turkey," Energy Policy, Elsevier, vol. 90(C), pages 92-101.
    25. Şahin, Utkucan & Ballı, Serkan & Chen, Yan, 2021. "Forecasting seasonal electricity generation in European countries under Covid-19-induced lockdown using fractional grey prediction models and machine learning methods," Applied Energy, Elsevier, vol. 302(C).
    26. Luzia, Ruan & Rubio, Lihki & Velasquez, Carlos E., 2023. "Sensitivity analysis for forecasting Brazilian electricity demand using artificial neural networks and hybrid models based on Autoregressive Integrated Moving Average," Energy, Elsevier, vol. 274(C).
    27. Eric Cebekhulu & Adeiza James Onumanyi & Sherrin John Isaac, 2022. "Performance Analysis of Machine Learning Algorithms for Energy Demand–Supply Prediction in Smart Grids," Sustainability, MDPI, vol. 14(5), pages 1-26, February.
    28. Hou, Rui & Li, Shanshan & Wu, Minrong & Ren, Guowen & Gao, Wei & Khayatnezhad, Majid & gholinia, Fatemeh, 2021. "Assessing of impact climate parameters on the gap between hydropower supply and electricity demand by RCPs scenarios and optimized ANN by the improved Pathfinder (IPF) algorithm," Energy, Elsevier, vol. 237(C).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Mustafa Saglam & Xiaojing Lv & Catalina Spataru & Omer Ali Karaman, 2024. "Instantaneous Electricity Peak Load Forecasting Using Optimization and Machine Learning," Energies, MDPI, vol. 17(4), pages 1-22, February.
    2. Eskandari, Hamidreza & Saadatmand, Hassan & Ramzan, Muhammad & Mousapour, Mobina, 2024. "Innovative framework for accurate and transparent forecasting of energy consumption: A fusion of feature selection and interpretable machine learning," Applied Energy, Elsevier, vol. 366(C).

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Mustafa Saglam & Catalina Spataru & Omer Ali Karaman, 2022. "Electricity Demand Forecasting with Use of Artificial Intelligence: The Case of Gokceada Island," Energies, MDPI, vol. 15(16), pages 1-22, August.
    2. Rao, Congjun & Zhang, Yue & Wen, Jianghui & Xiao, Xinping & Goh, Mark, 2023. "Energy demand forecasting in China: A support vector regression-compositional data second exponential smoothing model," Energy, Elsevier, vol. 263(PC).
    3. Atif Maqbool Khan & Artur Wyrwa, 2024. "A Survey of Quantitative Techniques in Electricity Consumption—A Global Perspective," Energies, MDPI, vol. 17(19), pages 1-38, September.
    4. Sen, Doruk & Tunç, K.M. Murat & Günay, M. Erdem, 2021. "Forecasting electricity consumption of OECD countries: A global machine learning modeling approach," Utilities Policy, Elsevier, vol. 70(C).
    5. Lu, Hongfang & Ma, Xin & Ma, Minda, 2021. "A hybrid multi-objective optimizer-based model for daily electricity demand prediction considering COVID-19," Energy, Elsevier, vol. 219(C).
    6. Mustafa Saglam & Xiaojing Lv & Catalina Spataru & Omer Ali Karaman, 2024. "Instantaneous Electricity Peak Load Forecasting Using Optimization and Machine Learning," Energies, MDPI, vol. 17(4), pages 1-22, February.
    7. Jin, Haowei & Guo, Jue & Tang, Lei & Du, Pei, 2024. "Long-term electricity demand forecasting under low-carbon energy transition: Based on the bidirectional feedback between power demand and generation mix," Energy, Elsevier, vol. 286(C).
    8. Hasnain Iftikhar & Josue E. Turpo-Chaparro & Paulo Canas Rodrigues & Javier Linkolk López-Gonzales, 2023. "Day-Ahead Electricity Demand Forecasting Using a Novel Decomposition Combination Method," Energies, MDPI, vol. 16(18), pages 1-22, September.
    9. Li, Jinghua & Luo, Yichen & Wei, Shanyang, 2022. "Long-term electricity consumption forecasting method based on system dynamics under the carbon-neutral target," Energy, Elsevier, vol. 244(PA).
    10. Ahmad, Tanveer & Chen, Huanxin, 2019. "Deep learning for multi-scale smart energy forecasting," Energy, Elsevier, vol. 175(C), pages 98-112.
    11. Zizhen Cheng & Li Wang & Yumeng Yang, 2023. "A Hybrid Feature Pyramid CNN-LSTM Model with Seasonal Inflection Month Correction for Medium- and Long-Term Power Load Forecasting," Energies, MDPI, vol. 16(7), pages 1-18, March.
    12. Yifei Chen & Zhihan Fu, 2023. "Multi-Step Ahead Forecasting of the Energy Consumed by the Residential and Commercial Sectors in the United States Based on a Hybrid CNN-BiLSTM Model," Sustainability, MDPI, vol. 15(3), pages 1-21, January.
    13. Moreno, Sinvaldo Rodrigues & Seman, Laio Oriel & Stefenon, Stefano Frizzo & Coelho, Leandro dos Santos & Mariani, Viviana Cocco, 2024. "Enhancing wind speed forecasting through synergy of machine learning, singular spectral analysis, and variational mode decomposition," Energy, Elsevier, vol. 292(C).
    14. Karodine Chreng & Han Soo Lee & Soklin Tuy, 2022. "A Hybrid Model for Electricity Demand Forecast Using Improved Ensemble Empirical Mode Decomposition and Recurrent Neural Networks with ERA5 Climate Variables," Energies, MDPI, vol. 15(19), pages 1-26, October.
    15. Mohamed-Amine Babay & Mustapha Adar & Ahmed Chebak & Mustapha Mabrouki, 2023. "Dynamics of Gas Generation in Porous Electrode Alkaline Electrolysis Cells: An Investigation and Optimization Using Machine Learning," Energies, MDPI, vol. 16(14), pages 1-21, July.
    16. Hu, Yusha & Li, Jigeng & Hong, Mengna & Ren, Jingzheng & Man, Yi, 2022. "Industrial artificial intelligence based energy management system: Integrated framework for electricity load forecasting and fault prediction," Energy, Elsevier, vol. 244(PB).
    17. Jun Hao & Xiaolei Sun & Qianqian Feng, 2020. "A Novel Ensemble Approach for the Forecasting of Energy Demand Based on the Artificial Bee Colony Algorithm," Energies, MDPI, vol. 13(3), pages 1-25, January.
    18. Liu, Che & Li, Fan & Zhang, Chenghui & Sun, Bo & Zhang, Guanguan, 2023. "A day-ahead prediction method for high-resolution electricity consumption in residential units," Energy, Elsevier, vol. 265(C).
    19. Emami Javanmard, M. & Tang, Y. & Wang, Z. & Tontiwachwuthikul, P., 2023. "Forecast energy demand, CO2 emissions and energy resource impacts for the transportation sector," Applied Energy, Elsevier, vol. 338(C).
    20. Şahin, Utkucan & Ballı, Serkan & Chen, Yan, 2021. "Forecasting seasonal electricity generation in European countries under Covid-19-induced lockdown using fractional grey prediction models and machine learning methods," Applied Energy, Elsevier, vol. 302(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:16:y:2023:i:11:p:4499-:d:1162800. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.