Skip to main content
Log in

Short-term forecasting electricity load by long short-term memory and reinforcement learning for optimization of hyper-parameters

  • Special Issue
  • Published:
Evolutionary Intelligence Aims and scope Submit manuscript

Abstract

Electricity load forecasting is an essential operation of the power system. Deep learning is used to improve accurate electricity load forecasting. In this study, combining Long short-term memory and reinforcement learning are proposed to encourage the advantage of a single approach for forecasting. Importance input features, including the mutual feature of electricity load, are used to increase accuracy. First, multi-time series input can handle by Long short-term memory and the addition of features supports to the load feature will make the model better efficient. Because the LSTM model is quite complex, choosing a good set of hyperparameters is difficult. Therefore, the purpose of using reinforcement learning is to optimize hyper-parameters of the Long short-term memory model. The proposed model is the combination of Long-short term memory and reinforcement learning. The proposed model will be applied in two electricity load data sets, the real-life data of Vietnam Electricity and the other public data set. In one day ahead forecasting, the proposed model archives superior performance than the benchmark.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

Data availability

Data is available on https://github.com/anhnguyenthingoc/Forecasting-Electricity-Load.

Code availability

Not applicable.

References

  1. Lindberg KB, Seljom P, Madsen H, Fischer D, Korpås M (2019) Long-term electricity load forecasting: current and future trends. Utilities Policy 58:102–119. https://doi.org/10.1016/j.jup.2019.04.001

    Article  Google Scholar 

  2. Anderson EJ, Hu X, Winchester D (2007) Forward contracts in electricity markets: The Australian experience. Energy Policy 35(5):3089–3103. https://doi.org/10.1016/j.enpol.2006.11.010

    Article  Google Scholar 

  3. Memarzadeh G, Keynia F (2021) Short-term electricity load and price forecasting by a new optimal LSTM-NN based prediction algorithm. Electric Power Syst Res 192:106995. https://doi.org/10.1016/j.epsr.2020.106995

    Article  Google Scholar 

  4. Al-Shaikh H, Zubair A (2019) Electric load forecasting with hourly precision using long short-term memory networks. https://doi.org/10.1109/ECACE.2019.8679244

  5. Eljazzar M, Hemayed E (2017) Enhancing electric load forecasting of ARIMA and ANN using adaptive Fourier series, pp 1–6. https://doi.org/10.1109/CCWC.2017.7868457

  6. Khashei M, Chahkoutahi F (2021) A comprehensive low-risk and cost parallel hybrid method for electricity load forecasting. Comput Ind Eng 155:107182. https://doi.org/10.1016/j.cie.2021.107182

    Article  Google Scholar 

  7. Kong X, Kong D, Yao J, Bai L, Xiao J (2020) Online pricing of demand response based on long short-term memory and reinforcement learning. Appl Energy 271:114945. https://doi.org/10.1016/j.apenergy.2020.114945

    Article  Google Scholar 

  8. Mahmoud K, Abdel-Nasser M, Kashef H, Puig D, Lehtonen M (2020) Machine learning based method for estimating energy losses in large-scale unbalanced distribution systems with photovoltaics. Int J Interact Multimed Artif Intell. https://doi.org/10.9781/ijimai.2020.08.002

    Article  Google Scholar 

  9. Siami Namini S, Tavakoli N, Siami Namin A (2018) A comparison of ARIMA and LSTM in forecasting time series, pp 1394–1401. https://doi.org/10.1109/ICMLA.2018.00227

  10. Ke K, Hongbin S, Chengkang Z, Brown C (2018) Short-term electrical load forecasting method based on stacked auto-encoding and GRU neural network. Evolut Intell. https://doi.org/10.1007/s12065-018-00196-0

    Article  Google Scholar 

  11. Parida N, Mishra D, Das K, Rout NK, Panda G (2021) On deep ensemble CNN-SAE based novel AGRO-market price forecasting. Evolut Intell. https://doi.org/10.1007/s12065-020-00466-w

    Article  Google Scholar 

  12. Thara DK, Premasudha BG, Nayak RS, Murthy TV, Prabhu GA, Hanoon N (2021) Electroencephalogram for epileptic seizure detection using stacked bidirectional LSTM-gap neural network. Evolut Intell. https://doi.org/10.1007/s12065-020-00459-9

    Article  Google Scholar 

  13. Wang S, Jia D, Weng X (2018) Deep reinforcement learning for autonomous driving preprint: arXiv:1811.11329

  14. Al Hajj Hassan L, Mahmassani HS, Chen Y (2020) Reinforcement learning framework for freight demand forecasting to support operational planning decisions. Transp Res Part E Logist Transp Rev 137:101926. https://doi.org/10.1016/j.tre.2020.101926

    Article  Google Scholar 

  15. Jomaa H, Grabocka J, Schmidt-Thieme L (2019) Hyp-rl : Hyperparameter optimization by reinforcement learning. preprint: arXiv:1906.11527

  16. Bergstra J, Bengio Y (2012) Random search for hyper-parameter optimization. J Mach Learn Res 13:281–305

    MathSciNet  MATH  Google Scholar 

  17. Goodfellow IJ, Bengio Y, Courville A (2016) Deep learning. MIT Press, Cambridge

    MATH  Google Scholar 

  18. Candanedo LM, Feldheim V, Deramaix D (2017) Data driven prediction models of energy use of appliances in a low-energy house. Energy Build 140:81–97. https://doi.org/10.1016/j.enbuild.2017.01.083

    Article  Google Scholar 

Download references

Funding

This research was supported by the Vietnam Ministry of Education and Training [grant number B2023-BKA-07].

Author information

Authors and Affiliations

Authors

Contributions

The authors confirm contribution to the paper as follows: (i) Ngoc Anh Nguyen developed the theoretical framework study, proposed conception and design,collected data, wrote draft manuscript preparation; (ii) Tien Dat Dang proposed conception and design, analysed and interpreted of results, wrote draft manuscript preparation; (iii) Elena Verdú wrote draft manuscript preparation,reviewed the results and approved the final version of the manuscript; (iv) Vijender Kumar Solanki wrote draft manuscript preparation,reviewed the results and approved the final version of the manuscript.

Corresponding author

Correspondence to Ngoc Anh Nguyen.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Ethics approval

This paper does not contain any studies with human participants performed by any of the authors.

Consent to participate

Informed consent was obtained from all individual participants included in the study.

Consent for publication

Informed consent was obtained from all individual participants included in the study.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Nguyen, N.A., Dang, T.D., Verdú, E. et al. Short-term forecasting electricity load by long short-term memory and reinforcement learning for optimization of hyper-parameters. Evol. Intel. 16, 1729–1746 (2023). https://doi.org/10.1007/s12065-023-00869-5

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12065-023-00869-5

Keywords