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

Optimization of Photovoltaic and Battery Storage Sizing in a DC Microgrid Using LSTM Networks Based on Load Forecasting

Author

Listed:
  • Süleyman Emre Eyimaya

    (Department of Electronics and Automation, TUSAS-Kazan Vocational School, Gazi University, Ankara 06560, Turkey)

  • Necmi Altin

    (Department of Electrical-Electronics Engineering, Faculty of Technology, Gazi University, Ankara 06560, Turkey
    Electrical Engineering Department, Molinaroli College of Engineering and Computing, University of South Carolina (USC), Columbia, SC 29208, USA)

  • Adel Nasiri

    (Electrical Engineering Department, Molinaroli College of Engineering and Computing, University of South Carolina (USC), Columbia, SC 29208, USA)

Abstract

This study presents an optimization approach for sizing photovoltaic (PV) and battery energy storage systems (BESSs) within a DC microgrid, aiming to enhance cost-effectiveness, energy reliability, and environmental sustainability. PV generation is modeled based on environmental parameters such as solar irradiance and ambient temperature, while battery charging and discharging operations are managed according to real-time demand. A simulation framework is developed in MATLAB 2021b to analyze PV output, battery state of charge (SOC), and grid energy exchange. For demand-side management, the Long Short-Term Memory (LSTM) deep learning model is employed to forecast future load profiles using historical consumption data. Moreover, a Multi-Layer Perceptron (MLP) neural network is designed for comparison purposes. The dynamic load prediction, provided by LSTM in particular, improves system responsiveness and efficiency compared to MLP. Simulation results indicate that optimal sizing of PV and storage units significantly reduces energy costs and dependency on the main grid for both forecasting methods; however, the LSTM-based approach consistently achieves higher annual savings, self-sufficiency, and Net Present Value (NPV) than the MLP-based approach. The proposed method supports the design of more resilient and sustainable DC microgrids through data-driven forecasting and system-level optimization, with LSTM-based forecasting offering the greatest benefits.

Suggested Citation

  • Süleyman Emre Eyimaya & Necmi Altin & Adel Nasiri, 2025. "Optimization of Photovoltaic and Battery Storage Sizing in a DC Microgrid Using LSTM Networks Based on Load Forecasting," Energies, MDPI, vol. 18(14), pages 1-22, July.
  • Handle: RePEc:gam:jeners:v:18:y:2025:i:14:p:3676-:d:1699721
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/18/14/3676/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/18/14/3676/
    Download Restriction: no
    ---><---

    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:18:y:2025:i:14:p:3676-:d:1699721. 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.

    We have no bibliographic references for this item. You can help adding them by using 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.