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. 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).
    5. 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.
    6. 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).
    7. 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).
    8. 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).
    9. 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.
    10. 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.
    11. 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.
    12. 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.
    13. 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).
    14. 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).
    15. 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).
    16. 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.
    17. 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).
    18. 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.
    19. Bedi, Jatin & Toshniwal, Durga, 2019. "Deep learning framework to forecast electricity demand," Applied Energy, Elsevier, vol. 238(C), pages 1312-1326.
    20. 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.
    21. 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).
    22. Ibrahim Soyler & Ercan Izgi, 2022. "Electricity Demand Forecasting of Hospital Buildings in Istanbul," Sustainability, MDPI, vol. 14(13), pages 1-16, July.
    23. 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.
    24. Ş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).
    25. 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).
    26. 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.
    27. 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).
    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.

    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. 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).
    4. 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.
    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. 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.
    7. 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).
    8. 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.
    9. 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.
    10. 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.
    11. 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).
    12. 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).
    13. Wang, Jun & Cao, Junxing & Yuan, Shan & Cheng, Ming, 2021. "Short-term forecasting of natural gas prices by using a novel hybrid method based on a combination of the CEEMDAN-SE-and the PSO-ALS-optimized GRU network," Energy, Elsevier, vol. 233(C).
    14. Hamed, Mohammad M. & Ali, Hesham & Abdelal, Qasem, 2022. "Forecasting annual electric power consumption using a random parameters model with heterogeneity in means and variances," Energy, Elsevier, vol. 255(C).
    15. Rubens A. Fernandes & Raimundo C. S. Gomes & Carlos T. Costa & Celso Carvalho & Neilson L. Vilaça & Lennon B. F. Nascimento & Fabricio R. Seppe & Israel G. Torné & Heitor L. N. da Silva, 2023. "A Demand Forecasting Strategy Based on a Retrofit Architecture for Remote Monitoring of Legacy Building Circuits," Sustainability, MDPI, vol. 15(14), pages 1-37, July.
    16. 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.
    17. Mohammad Mahdi Forootan & Iman Larki & Rahim Zahedi & Abolfazl Ahmadi, 2022. "Machine Learning and Deep Learning in Energy Systems: A Review," Sustainability, MDPI, vol. 14(8), pages 1-49, April.
    18. Gao, Tian & Niu, Dongxiao & Ji, Zhengsen & Sun, Lijie, 2022. "Mid-term electricity demand forecasting using improved variational mode decomposition and extreme learning machine optimized by sparrow search algorithm," Energy, Elsevier, vol. 261(PB).
    19. Ahmad, Tanveer & Chen, Huanxin, 2019. "Deep learning for multi-scale smart energy forecasting," Energy, Elsevier, vol. 175(C), pages 98-112.
    20. 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.

    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.