IDEAS home Printed from https://ideas.repec.org/a/eee/energy/v305y2024ics0360544224021182.html

A reinforcement learning-based online learning strategy for real-time short-term load forecasting

Author

Listed:
  • Wang, Xinlin
  • Wang, Hao
  • Li, Shengping
  • Jin, Haizhen

Abstract

Real-time Short-Term Load Forecasting (STLF) is crucial for energy management and power system operations. Conventional Machine Learning (ML) methodologies for STLF are often challenged by the inherent variability in energy demand. To tackle the challenge associated with inherent variability, this paper presents a novel Reinforcement Learning (RL)-enhanced STLF method. Different from conventional methods, our method dynamically improves the STLF model by selecting optimal training data to capture recent power usage trends and possible variations in demand patterns. By doing so, our method can significantly reduce the impact of unforeseen fluctuations in real-time forecasting. In addition to the novel RL-enhanced STLF method, we propose a comprehensive evaluation framework, encompassing three key dimensions: accuracy, runtime efficiency, and robustness. Tested on three distinct real-world energy datasets, our RL-enhanced method demonstrates superior forecasting performance across three evaluation metrics by achieving accurate and robust predictions in real-time under varying scenarios. Furthermore, our approach provides uncertainty bounds for practical predictions applications. These results underscore the significant advancements made by our RL-based method in forecasting precision, efficiency, and robustness. We have made our algorithm openly accessible online to promote continued development and advancement of STLF methods.

Suggested Citation

  • Wang, Xinlin & Wang, Hao & Li, Shengping & Jin, Haizhen, 2024. "A reinforcement learning-based online learning strategy for real-time short-term load forecasting," Energy, Elsevier, vol. 305(C).
  • Handle: RePEc:eee:energy:v:305:y:2024:i:c:s0360544224021182
    DOI: 10.1016/j.energy.2024.132344
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0360544224021182
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.energy.2024.132344?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Zhang, Wenjie & Quan, Hao & Srinivasan, Dipti, 2018. "Parallel and reliable probabilistic load forecasting via quantile regression forest and quantile determination," Energy, Elsevier, vol. 160(C), pages 810-819.
    2. Li, Ao & Xiao, Fu & Zhang, Chong & Fan, Cheng, 2021. "Attention-based interpretable neural network for building cooling load prediction," Applied Energy, Elsevier, vol. 299(C).
    3. Xiao, Xun & Mo, Huadong & Zhang, Yinan & Shan, Guangcun, 2022. "Meta-ANN – A dynamic artificial neural network refined by meta-learning for Short-Term Load Forecasting," Energy, Elsevier, vol. 246(C).
    4. Wang, Xinlin & Ahn, Sung-Hoon, 2020. "Real-time prediction and anomaly detection of electrical load in a residential community," Applied Energy, Elsevier, vol. 259(C).
    5. Wang, Fu-Kwun & Amogne, Zemenu Endalamaw & Chou, Jia-Hong & Tseng, Cheng, 2022. "Online remaining useful life prediction of lithium-ion batteries using bidirectional long short-term memory with attention mechanism," Energy, Elsevier, vol. 254(PB).
    6. Rae-Jun Park & Kyung-Bin Song & Bo-Sung Kwon, 2020. "Short-Term Load Forecasting Algorithm Using a Similar Day Selection Method Based on Reinforcement Learning," Energies, MDPI, vol. 13(10), pages 1-19, May.
    7. Jiang, Yuqi & Gao, Tianlu & Dai, Yuxin & Si, Ruiqi & Hao, Jun & Zhang, Jun & Gao, David Wenzhong, 2022. "Very short-term residential load forecasting based on deep-autoformer," Applied Energy, Elsevier, vol. 328(C).
    8. Rubasinghe, Osaka & Zhang, Tingze & Zhang, Xinan & Choi, San Shing & Chau, Tat Kei & Chow, Yau & Fernando, Tyrone & Iu, Herbert Ho-Ching, 2023. "Highly accurate peak and valley prediction short-term net load forecasting approach based on decomposition for power systems with high PV penetration," Applied Energy, Elsevier, vol. 333(C).
    9. Wang, Xinlin & Yao, Zhihao & Papaefthymiou, Marios, 2023. "A real-time electrical load forecasting and unsupervised anomaly detection framework," Applied Energy, Elsevier, vol. 330(PA).
    10. Wang, Xinlin & Wang, Hao & Ahn, Sung-Hoon, 2021. "Demand-side management for off-grid solar-powered microgrids: A case study of rural electrification in Tanzania," Energy, Elsevier, vol. 224(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. Karamolegkos, Spyridon & Koulouriotis, Dimitrios E., 2025. "Advancing short-term load forecasting with decomposed Fourier ARIMA: A case study on the Greek energy market," Energy, Elsevier, vol. 325(C).
    2. Zhang, Xuanyu & Wang, Jun & Wang, Yonggang & Wang, Song & Yang, Song & Wang, Yunuo & Gao, Kaize, 2025. "ACOLM: Adaptive contrastive online learning model for urban extreme weather load forecasting," Energy, Elsevier, vol. 340(C).
    3. Qin, Dalin & Wu, Xian & Sun, Dayan & Liang, Zhifeng & Zhang, Ning, 2025. "Load forecasting under distribution shift: An online quantile ensembling approach," Applied Energy, Elsevier, vol. 401(PC).
    4. Qiao, Sibo & Fu, Juncheng & Liu, Baichen & Liu, Zekuan & Zhang, Naiqing & Qin, Jiang, 2025. "Multi-objective optimization scheduling of off-grid combined heat, power, and hydrogen production systems in cold regions under fluctuating demand: The case of Korla," Energy, Elsevier, vol. 338(C).
    5. Mahmud, Sakib & Sayed, Aya Nabil & Himeur, Yassine & Nhlabatsi, Armstrong & Bensaali, Faycal, 2026. "A comprehensive review of deep reinforcement learning applications from centralized power generation to modern energy internet frameworks," Renewable and Sustainable Energy Reviews, Elsevier, vol. 226(PE).
    6. Cirac, Gabriel & Botechia, Vinicius Eduardo & Schiozer, Denis José & Martínez, Víctor & Werneck, Rafael de Oliveira & Rocha, Anderson, 2025. "Few-shot and continuous online learning for forecasting in the energy industry," Energy, Elsevier, vol. 336(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. Wang, Xinlin & Yao, Zhihao & Papaefthymiou, Marios, 2023. "A real-time electrical load forecasting and unsupervised anomaly detection framework," Applied Energy, Elsevier, vol. 330(PA).
    2. Eren, Yavuz & Küçükdemiral, İbrahim, 2024. "A comprehensive review on deep learning approaches for short-term load forecasting," Renewable and Sustainable Energy Reviews, Elsevier, vol. 189(PB).
    3. Wang, Xinlin & Flores, Robert & Brouwer, Jack & Papaefthymiou, Marios, 2022. "Real-time detection of electrical load anomalies through hyperdimensional computing," Energy, Elsevier, vol. 261(PA).
    4. Li, Guannan & Li, Fan & Ahmad, Tanveer & Liu, Jiangyan & Li, Tao & Fang, Xi & Wu, Yubei, 2022. "Performance evaluation of sequence-to-sequence-Attention model for short-term multi-step ahead building energy predictions," Energy, Elsevier, vol. 259(C).
    5. Buzzi, Fulvio & Bischi, Aldo & Gabbrielli, Roberto & Desideri, Umberto, 2025. "Hourly electrical load estimates in a 100 % renewable scenario in Italy," Renewable Energy, Elsevier, vol. 239(C).
    6. Cheng, Fang & Liu, Hui, 2024. "Multi-step electric vehicles charging loads forecasting: An autoformer variant with feature extraction, frequency enhancement, and error correction blocks," Applied Energy, Elsevier, vol. 376(PB).
    7. Xinjie Shi & Jianzhou Wang & Jialu Gao, 2025. "Multimodal Optimization Forecasting Model Based on Intelligent Fuzzy Interval Reconstruction," SN Operations Research Forum, Springer, vol. 6(3), pages 1-37, September.
    8. Chuan Long & Xinting Yang & Yunche Su & Fang Liu & Ruiguang Ma & Tiannan Ma & Yangjin Wu & Xiaodong Shen, 2025. "Air Conditioning Load Forecasting for Geographical Grids Using Deep Reinforcement Learning and Density-Based Spatial Clustering of Applications with Noise and Graph Attention Networks," Energies, MDPI, vol. 18(11), pages 1-19, May.
    9. Wang, Tao & Xu, Ye & Qin, Yu & Wang, Xu & Zheng, Feifan & Li, Wei, 2025. "Short-term PV forecasting of multiple scenarios based on multi-dimensional clustering and hybrid transformer-BiLSTM with ECPO," Energy, Elsevier, vol. 334(C).
    10. Jihoon Moon & Junhong Kim & Pilsung Kang & Eenjun Hwang, 2020. "Solving the Cold-Start Problem in Short-Term Load Forecasting Using Tree-Based Methods," Energies, MDPI, vol. 13(4), pages 1-37, February.
    11. Bujin Shi & Xinbo Zhou & Peilin Li & Wenyu Ma & Nan Pan, 2023. "An IHPO-WNN-Based Federated Learning System for Area-Wide Power Load Forecasting Considering Data Security Protection," Energies, MDPI, vol. 16(19), pages 1-20, October.
    12. Saima Akhtar & Sulman Shahzad & Asad Zaheer & Hafiz Sami Ullah & Heybet Kilic & Radomir Gono & Michał Jasiński & Zbigniew Leonowicz, 2023. "Short-Term Load Forecasting Models: A Review of Challenges, Progress, and the Road Ahead," Energies, MDPI, vol. 16(10), pages 1-29, May.
    13. Alessandro Giuliano & Yuandi Wu & John Yawney & Stephen Andrew Gadsden, 2025. "Transformer-Based Transfer Learning for Battery State-of-Health Estimation," Energies, MDPI, vol. 18(20), pages 1-21, October.
    14. Uniejewski, Bartosz & Weron, Rafał, 2021. "Regularized quantile regression averaging for probabilistic electricity price forecasting," Energy Economics, Elsevier, vol. 95(C).
    15. Wang, Fu-Kwun & Kebede, Getnet Awoke & Lo, Shih-Che & Woldegiorgis, Bereket Haile, 2024. "An embedding layer-based quantum long short-term memory model with transfer learning for proton exchange membrane fuel stack remaining useful life prediction," Energy, Elsevier, vol. 308(C).
    16. Wang, Ziwei & Fan, Wei & Lin, Zixuan & Yu, Haiquan & Yu, Cong & Li, Yu & Zhou, Wei, 2025. "Dynamic prediction of NOx generation concentration based on Kolmogorov–Arnold Network integrated deep learning method for a 660 MW coal-fired boiler," Energy, Elsevier, vol. 340(C).
    17. Yang, Weijia & Sparrow, Sarah N. & Wallom, David C.H., 2024. "A comparative climate-resilient energy design: Wildfire Resilient Load Forecasting Model using multi-factor deep learning methods," Applied Energy, Elsevier, vol. 368(C).
    18. Lu, Yakai & Peng, Xingyu & Li, Conghui & Tian, Zhe & Kong, Xiangfei & Niu, Jide, 2025. "Few-sample model training assistant: A meta-learning technique for building heating load forecasting based on simulation data," Energy, Elsevier, vol. 317(C).
    19. Türkoğlu, A. Selim & Erkmen, Burcu & Eren, Yavuz & Erdinç, Ozan & Küçükdemiral, İbrahim, 2024. "Integrated Approaches in Resilient Hierarchical Load Forecasting via TCN and Optimal Valley Filling Based Demand Response Application," Applied Energy, Elsevier, vol. 360(C).
    20. Busiswe Skosana & Mukwanga W. Siti & Nsilulu T. Mbungu & Sonu Kumar & Willy Mulumba, 2023. "An Evaluation of Potential Strategies in Renewable Energy Systems and Their Importance for South Africa—A Review," Energies, MDPI, vol. 16(22), pages 1-27, November.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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:eee:energy:v:305:y:2024:i:c:s0360544224021182. 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: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/energy .

    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.