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

Short-Term Load Forecasting Based on Optimized Random Forest and Optimal Feature Selection

Author

Listed:
  • Bianca Magalhães

    (IT—Instituto de Telecomunicações, University of Beira Interior, 6201-001 Covilhã, Portugal)

  • Pedro Bento

    (IT—Instituto de Telecomunicações, University of Beira Interior, 6201-001 Covilhã, Portugal)

  • José Pombo

    (IT—Instituto de Telecomunicações, University of Beira Interior, 6201-001 Covilhã, Portugal)

  • Maria do Rosário Calado

    (IT—Instituto de Telecomunicações, University of Beira Interior, 6201-001 Covilhã, Portugal)

  • Sílvio Mariano

    (IT—Instituto de Telecomunicações, University of Beira Interior, 6201-001 Covilhã, Portugal)

Abstract

Short-term load forecasting (STLF) plays a vital role in ensuring the safe, efficient, and economical operation of power systems. Accurate load forecasting provides numerous benefits for power suppliers, such as cost reduction, increased reliability, and informed decision-making. However, STLF is a complex task due to various factors, including non-linear trends, multiple seasonality, variable variance, and significant random interruptions in electricity demand time series. To address these challenges, advanced techniques and models are required. This study focuses on the development of an efficient short-term power load forecasting model using the random forest (RF) algorithm. RF combines regression trees through bagging and random subspace techniques to improve prediction accuracy and reduce model variability. The algorithm constructs a forest of trees using bootstrap samples and selects random feature subsets at each node to enhance diversity. Hyperparameters such as the number of trees, minimum sample leaf size, and maximum features for each split are tuned to optimize forecasting results. The proposed model was tested using historical hourly load data from four transformer substations supplying different campus areas of the University of Beira Interior, Portugal. The training data were from January 2018 to December 2021, while the data from 2022 were used for testing. The results demonstrate the effectiveness of the RF model in forecasting short-term hourly and one day ahead load and its potential to enhance decision-making processes in smart grid operations.

Suggested Citation

  • Bianca Magalhães & Pedro Bento & José Pombo & Maria do Rosário Calado & Sílvio Mariano, 2024. "Short-Term Load Forecasting Based on Optimized Random Forest and Optimal Feature Selection," Energies, MDPI, vol. 17(8), pages 1-21, April.
  • Handle: RePEc:gam:jeners:v:17:y:2024:i:8:p:1926-:d:1377885
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/17/8/1926/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/17/8/1926/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Fanidhar Dewangan & Almoataz Y. Abdelaziz & Monalisa Biswal, 2023. "Load Forecasting Models in Smart Grid Using Smart Meter Information: A Review," Energies, MDPI, vol. 16(3), pages 1-55, January.
    2. Pinheiro, Marco G. & Madeira, Sara C. & Francisco, Alexandre P., 2023. "Short-term electricity load forecasting—A systematic approach from system level to secondary substations," Applied Energy, Elsevier, vol. 332(C).
    3. Kalhori, M. Rostam Niakan & Emami, I. Taheri & Fallahi, F. & Tabarzadi, M., 2022. "A data-driven knowledge-based system with reasoning under uncertain evidence for regional long-term hourly load forecasting," Applied Energy, Elsevier, vol. 314(C).
    4. Zhang, Dongxue & Wang, Shuai & Liang, Yuqiu & Du, Zhiyuan, 2023. "A novel combined model for probabilistic load forecasting based on deep learning and improved optimizer," Energy, Elsevier, vol. 264(C).
    5. Yin, Chen & Mao, Shuhua, 2023. "Fractional multivariate grey Bernoulli model combined with improved grey wolf algorithm: Application in short-term power load forecasting," Energy, Elsevier, vol. 269(C).
    Full references (including those not matched with items on IDEAS)

    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. Sepideh Radhoush & Bradley M. Whitaker & Hashem Nehrir, 2023. "An Overview of Supervised Machine Learning Approaches for Applications in Active Distribution Networks," Energies, MDPI, vol. 16(16), pages 1-29, August.
    2. Monika Zimmermann & Florian Ziel, 2024. "Efficient mid-term forecasting of hourly electricity load using generalized additive models," Papers 2405.17070, arXiv.org.
    3. Khan, Waqas & Somers, Ward & Walker, Shalika & de Bont, Kevin & Van der Velden, Joep & Zeiler, Wim, 2023. "Comparison of electric vehicle load forecasting across different spatial levels with incorporated uncertainty estimation," Energy, Elsevier, vol. 283(C).
    4. Omar A. Beg & Asad Ali Khan & Waqas Ur Rehman & Ali Hassan, 2023. "A Review of AI-Based Cyber-Attack Detection and Mitigation in Microgrids," Energies, MDPI, vol. 16(22), pages 1-23, November.
    5. Xuliang Tang & Heng Wan & Weiwen Wang & Mengxu Gu & Linfeng Wang & Linfeng Gan, 2023. "Lithium-Ion Battery Remaining Useful Life Prediction Based on Hybrid Model," Sustainability, MDPI, vol. 15(7), pages 1-18, April.
    6. Paweł Piotrowski & Dariusz Baczyński & Marcin Kopyt, 2022. "Medium-Term Forecasts of Load Profiles in Polish Power System including E-Mobility Development," Energies, MDPI, vol. 15(15), pages 1-27, August.
    7. Zheng Wan & Hui Li, 2023. "Short-Term Power Load Forecasting Based on Feature Filtering and Error Compensation under Imbalanced Samples," Energies, MDPI, vol. 16(10), pages 1-22, May.
    8. Fangzong Wang & Zuhaib Nishtar, 2024. "Real-Time Load Forecasting and Adaptive Control in Smart Grids Using a Hybrid Neuro-Fuzzy Approach," Energies, MDPI, vol. 17(11), pages 1-24, May.
    9. Xu, Huifeng & Hu, Feihu & Liang, Xinhao & Zhao, Guoqing & Abugunmi, Mohammad, 2024. "A framework for electricity load forecasting based on attention mechanism time series depthwise separable convolutional neural network," Energy, Elsevier, vol. 299(C).
    10. Giancarlo Aquila & Lucas Barros Scianni Morais & Victor Augusto Durães de Faria & José Wanderley Marangon Lima & Luana Medeiros Marangon Lima & Anderson Rodrigo de Queiroz, 2023. "An Overview of Short-Term Load Forecasting for Electricity Systems Operational Planning: Machine Learning Methods and the Brazilian Experience," Energies, MDPI, vol. 16(21), pages 1-35, November.
    11. Wadim Strielkowski & Andrey Vlasov & Kirill Selivanov & Konstantin Muraviev & Vadim Shakhnov, 2023. "Prospects and Challenges of the Machine Learning and Data-Driven Methods for the Predictive Analysis of Power Systems: A Review," Energies, MDPI, vol. 16(10), pages 1-31, May.
    12. Tulin Guzel & Hakan Cinar & Mehmet Nabi Cenet & Kamil Doruk Oguz & Ahmet Yucekaya & Mustafa Hekimoglu, 2023. "A Framework to Forecast Electricity Consumption of Meters using Automated Ranking and Data Preprocessing," International Journal of Energy Economics and Policy, Econjournals, vol. 13(5), pages 179-193, September.
    13. Li, Ke & Mu, Yuchen & Yang, Fan & Wang, Haiyang & Yan, Yi & Zhang, Chenghui, 2024. "Joint forecasting of source-load-price for integrated energy system based on multi-task learning and hybrid attention mechanism," Applied Energy, Elsevier, vol. 360(C).
    14. Muhammad Awais Shahid & Fiaz Ahmad & Rehan Nawaz & Saad Ullah Khan & Abdul Wadood & Hani Albalawi, 2023. "A Novel False Measurement Data Detection Mechanism for Smart Grids," Energies, MDPI, vol. 16(18), pages 1-17, September.
    15. 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.
    16. Dorian Skrobek & Jaroslaw Krzywanski & Marcin Sosnowski & Ghulam Moeen Uddin & Waqar Muhammad Ashraf & Karolina Grabowska & Anna Zylka & Anna Kulakowska & Wojciech Nowak, 2023. "Artificial Intelligence for Energy Processes and Systems: Applications and Perspectives," Energies, MDPI, vol. 16(8), pages 1-12, April.
    17. Zhu, Jianhua & He, Yaoyao & Gao, Zhiwei, 2023. "Wind power interval and point prediction model using neural network based multi-objective optimization," Energy, Elsevier, vol. 283(C).
    18. Kaiyan Wang & Haodong Du & Jiao Wang & Rong Jia & Zhenyu Zong, 2023. "An Ensemble Deep Learning Model for Provincial Load Forecasting Based on Reduced Dimensional Clustering and Decomposition Strategies," Mathematics, MDPI, vol. 11(12), pages 1-20, June.
    19. Monika Zimmermann & Florian Ziel, 2024. "Spatial Weather, Socio-Economic and Political Risks in Probabilistic Load Forecasting," Papers 2408.00507, arXiv.org.
    20. Marco Bindi & Maria Cristina Piccirilli & Antonio Luchetta & Francesco Grasso, 2023. "A Comprehensive Review of Fault Diagnosis and Prognosis Techniques in High Voltage and Medium Voltage Electrical Power Lines," Energies, MDPI, vol. 16(21), pages 1-37, October.

    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:17:y:2024:i:8:p:1926-:d:1377885. 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.