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. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    10. 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.
    11. 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.
    12. 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.
    13. 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.
    14. Ding, Yuanping & Dang, Yaoguo, 2023. "Forecasting renewable energy generation with a novel flexible nonlinear multivariable discrete grey prediction model," Energy, Elsevier, vol. 277(C).
    15. John O’Donnell & Wencong Su, 2023. "A Stochastic Load Forecasting Approach to Prevent Transformer Failures and Power Quality Issues Amid the Evolving Electrical Demands Facing Utilities," Energies, MDPI, vol. 16(21), pages 1-23, October.
    16. Thangjam, Aditya & Jaipuria, Sanjita & Dadabada, Pradeep Kumar, 2023. "Time-Varying approaches for Long-Term Electric Load Forecasting under economic shocks," Applied Energy, Elsevier, vol. 333(C).
    17. John O’Donnell & Wencong Su, 2023. "Attention-Focused Machine Learning Method to Provide the Stochastic Load Forecasts Needed by Electric Utilities for the Evolving Electrical Distribution System," Energies, MDPI, vol. 16(15), pages 1-21, July.

    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.