Hierarchical Data-Driven and PSO-Based Energy Management of Hybrid Energy Storage Systems in DC Microgrids
Abstract
1. Introduction
1.1. Problem Statement
1.2. Literature Review
1.3. Novelty
1.4. Key Contributions
- Design and development of a hierarchical control-based ringmain DC microgrid system.
- Development of hybrid data-driven PSO-based control for enabling rapid SC control and optimized long-term battery energy management.
- Validation of the proposed model through real-time case studies showing improved transient response and better voltage regulation.
- Real-time implementation of the proposed scheme with a PV emulator, battery and SC combination.
1.5. Organization
2. Methodology
2.1. System Description
2.2. Hybrid PSO–Neural EMS Architecture
2.3. Design of PSO-NN EMS
2.4. Neural Networking Training
3. Results
3.1. Comparative Performance Analysis
3.2. Hardware Implementation
3.3. Real-Time Execution and Computational Analysis
4. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
| DCMG | DC Microgrid |
| EMS | Energy Management System |
| PSO | Particle Swarm Optimization |
| NN | Neural Network |
| SC | Supercapacitor |
| BESS | Battery Energy Storage System |
| HESS | Hybrid Energy Storage System |
| SoC | State of Charge |
| MPC | Model Predictive Control |
| DER | Distributed Energy Resources |
| PEC | Power Electronic Converters |
| CC | Constant Current |
References
- Khushoo, M.; Sharma, A.; Kaur, G. DC microgrid-A short review on control strategies. Mater. Today Proc. 2022, 71, 362–369. [Google Scholar] [CrossRef] [Scilit]
- Shabbir, G.; Hasan, A.; Yaqoob Javed, M.; Shahid, K.; Mussenbrock, T. Review of DC Microgrid Design, Optimization, and Control for the Resilient and Efficient Renewable Energy Integration. Energies 2025, 18, 6364. [Google Scholar] [CrossRef] [Scilit]
- Dhar, R.K.; Merabet, A.; Al-Durra, A.; Ghias, A.M. Power balance modes and dynamic grid power flow in solar PV and battery storage experimental DC-link microgrid. IEEE Access 2020, 8, 219847–219858. [Google Scholar] [CrossRef] [Scilit]
- Vivas, F.; Segura, F.; Andújar, J.; Calderón, A.; Isorna, F. Battery-based storage systems in high voltage-DC bus microgrids. A real-time charging algorithm to improve the microgrid performance. J. Energy Storage 2022, 48, 103935. [Google Scholar] [CrossRef] [Scilit]
- Khan, K.A.; Khalid, M. Improving the transient response of hybrid energy storage system for voltage stability in DC microgrids using an autonomous control strategy. IEEE Access 2021, 9, 10460–10472. [Google Scholar] [CrossRef] [Scilit]
- Aghmadi, A.; Ali, O.; Mohammed, O.A. Stability Enhancement of DC Microgrid Operation Involving Hybrid Energy Storage and Pulsed Loads. IEEE Trans. Consum. Electron. 2025, 71, 3204–3217. [Google Scholar] [CrossRef] [Scilit]
- Adhikari, S.; Lei, Z.; Peng, W.; Tang, Y. A battery/supercapacitor hybrid energy storage system for DC microgrids. In Proceedings of the 2016 IEEE 8th International Power Electronics and Motion Control Conference (IPEMC-ECCE Asia), Hefei, China, 22–26 May 2016; pp. 1747–1753. [Google Scholar]
- Grisales-Noreña, L.F.; Montoya, O.D.; Ramos-Paja, C.A. An energy management system for optimal operation of BSS in DC distributed generation environments based on a parallel PSO algorithm. J. Energy Storage 2020, 29, 101488. [Google Scholar] [CrossRef] [Scilit]
- Wu, T.; Ye, F.; Su, Y.; Wang, Y.; Riffat, S. Coordinated control strategy of DC microgrid with hybrid energy storage system to smooth power output fluctuation. Int. J. Low-Carbon Technol. 2020, 15, 46–54. [Google Scholar] [CrossRef] [Scilit]
- Ferahtia, S.; Djerioui, A.; Rezk, H.; Chouder, A.; Houari, A.; Machmoum, M. Adaptive droop based control strategy for DC microgrid including multiple batteries energy storage systems. J. Energy Storage 2022, 48, 103983. [Google Scholar] [CrossRef] [Scilit]
- Zhang, W.; Chen, J.; Riaz, S.; Zheng, N.; Li, L. Research on Distributed Cooperative Control Strategy of Microgrid Hybrid Energy Storage Based on Adaptive Event Triggering. CMES-Comput. Model. Eng. Sci. 2022, 132, 585–604. [Google Scholar] [CrossRef] [Scilit]
- Gbadega, P.A.; Sun, Y. A hybrid constrained Particle Swarm Optimization-Model Predictive Control (CPSO-MPC) algorithm for storage energy management optimization problem in micro-grid. Energy Rep. 2022, 8, 692–708. [Google Scholar] [CrossRef] [Scilit]
- Vedulla, L.K.; Mishra, M.K. PSO based power sharing scheme for an islanded DC microgrid system. In Proceedings of the IECON 2017-43rd Annual Conference of the IEEE Industrial Electronics Society, Beijing, China, 29 October–1 November 2017; pp. 392–397. [Google Scholar]
- Tianqi, L.; Guochen, Y.; Jing, G.; Fang, L.; Xueyan, P. Research on control strategy of storage and DC hybrid energy storage based on new energy microgrid. In Proceedings of the 2022 IEEE 2nd International Conference on Data Science and Computer Application (ICDSCA), Dalian, China, 28–30 October 2022; pp. 328–333. [Google Scholar]
- Hu, Q.; Xie, S.; Zhang, J. Data-based power management control for battery supercapacitor hybrid energy storage system in solar DC-microgrid. Sci. Rep. 2024, 14, 26164. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ali, N.; Shen, X.; Armghan, H. A hybrid approach involving data driven forecasting and super twisting control action for low-carbon microgrids. Appl. Energy 2025, 398, 126429. [Google Scholar] [CrossRef] [Scilit]
- Anu, A.; Arunkumar, C.; Hari Kumar, R.; Annie, B.; Shihabudheen, K.; Dileep, G.; Kumar, D.S.; Ushakumari, S. Adaptive particle swarm optimization based controller design for stability enhancement of standalone DC microgrid. J. Energy Storage 2024, 98, 113012. [Google Scholar] [CrossRef] [Scilit]
- Liang, Z.; Chung, C.Y.; Zhang, W.; Wang, Q.; Lin, W.; Wang, C. Enabling high-efficiency economic dispatch of hybrid AC/DC networked microgrids: Steady-state convex bi-directional converter models. IEEE Trans. Smart Grid 2024, 16, 45–61. [Google Scholar] [CrossRef] [Scilit]
- Iris, Ç.; Lam, J.S.L. Optimal energy management and operations planning in seaports with smart grid while harnessing renewable energy under uncertainty. Omega 2021, 103, 102445. [Google Scholar] [CrossRef] [Scilit]
- Lukic, S.M.; Cao, J.; Bansal, R.C.; Rodriguez, F.; Emadi, A. Energy storage systems for automotive applications. IEEE Trans. Ind. Electron. 2008, 55, 2258–2267. [Google Scholar] [CrossRef] [Scilit]
- Bahloul, M.; Khadem, S.K. Impact of power sharing method on battery life extension in HESS for grid ancillary services. IEEE Trans. Energy Convers. 2018, 34, 1317–1327. [Google Scholar] [CrossRef] [Scilit]
- Khaligh, A.; Li, Z. Battery, ultracapacitor, fuel cell, and hybrid energy storage systems for electric, hybrid electric, fuel cell, and plug-in hybrid electric vehicles: State of the art. IEEE Trans. Veh. Technol. 2010, 59, 2806–2814. [Google Scholar] [CrossRef] [Scilit]
- Banka, S.; Kumar, D.V.A. Energy Optimization of HESS Integrated DCMG: PSO Based Approach. In Proceedings of the 2025 Third International Conference on Cyber Physical Systems, Power Electronics and Electric Vehicles (ICPEEV), Hyderabad, India, 25–27 September 2025; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]


















| Ref. | Methodology | Optimization Layer | Key Strength | Limitation |
|---|---|---|---|---|
| [9,10] | Rule-based/ droop-based HESS coordination | None | Simple implementation, low computati onal cost | Heuristic tuning; no global optimality; limited handling of nonlinear dynamics |
| [11] | Distributed cooperative adaptive control | Partial optimization | Improved coordination among storage units | Increased communi cation complexity; limited scalability |
| [12] | CPSO-MPC (Constrained PSO + MPC) | Joint optimi zation (battery + storage) | Handles constraints explicitly; near-optimal dispatch | High computational burden; online optimi zation complexity |
| [13] | PSO-based powersharing | Joint PSO optimization | Handles nonlinear power sharing | Large decision space; slow convergence for multi-storage systems |
| [14] | Hybrid storage control with filtering methods | Frequency- based separation | Simple timescale decomposition | Filter-based separation lacks optimization guarantee |
| [15] | Data-driven power management (NN-based) | NN mapping | Fast inference after training | No explicit long-term optimization; limited constraint enforcement |
| [16] | Data-driven forecasting + nonlinear control | Partial | Improved prediction accuracy | Does not reduce optimization dimensionality |
| [17] | Adaptive PSO controller | Joint PSO | Adaptive parameter tuning | Computational scalability concern |
| Present Work | Hierarchical PSO–NN hybrid EMS | Selective optimization | Reduced search dimensionality | Requires offline NN training; dependent on dataset quality |
| S. No. | Parameter | Value |
|---|---|---|
| 1 | No. of inputs | 12 |
| 2 | No. of outputs | 2 |
| 3 | NN type | FFBP |
| 4 | NN Size | 12-64-32-2 |
| 5 | Hyperparameter tuning | Keras Tuner |
| 6 | Activation function | Sigmoid and ReLU |
| 7 | Optimizer | ADAM |
| 8 | Learning rate | 0.01 |
| 9 | No. of epochs | 150 |
| Metric | Training | Validation | Testing |
|---|---|---|---|
| MAE | 6.8 | 7.5 | 8.1 |
| RMSE | 10.2 | 11.4 | 12.3 |
| R2 Score | 0.992 | 0.989 | 0.987 |
| S. No. | Parameter | Value |
|---|---|---|
| PV Array | ||
| 1 | Open-circuit voltage | 76.6 V |
| 2 | Short-circuit current | 35 A |
| 3 | MPP voltage | 60.4 V |
| 4 | MPP current | 32.24 A |
| Battery Parameters | ||
| 5 | Battery type | Li-ion |
| 6 | Nominal voltage | 12 V |
| 7 | Rated capacity | 42 Ah |
| 8 | Initial SoC | 50 % |
| Supercapacitor | ||
| 9 | Rated capacitance | 58 F |
| 10 | Rated voltage | 16 V |
| 11 | DC series resistance | 0.089 Ω |
| Metric | PSO-Only | Proposed PSO–NN | Improvement |
|---|---|---|---|
| Optimization Dimension | 6 variables (, ) | 4 variables (Pb1–4 only) | Reduced search space |
| SC Dispatch Method | Iterative PSO search | Direct NN inference | Faster response |
| Maximum Voltage Deviation | ±2.5% | ±1.8% | Improved voltage stability |
| Transient Settling Time | ∼150 ms | ∼80 ms | Faster settling |
| Battery Peak Current | 20 A | 16 A | Reduced battery stress |
| Computational Burden | High | Reduced | Lower complexity |
| Execution Determinism | Iteration dependent | Fixed inference time | More predictable |
| S. No. | Parameter | Value |
|---|---|---|
| PV Emulator | ||
| 1 | Rating | 1 kW |
| 2 | Open-Circuit Voltage | 50 V |
| 3 | Short-Circuit Current | 20 A |
| Battery | ||
| 4 | Nominal Voltage | 38 V |
| 5 | Capacity | 15 Ah |
| 6 | Discharge Current | 20 A (peak) 15 A (cont) |
| 7 | Charge Current | 6 A |
| 8 | Balancing | Smart and Passive |
| 9 | Operating Temp | 20–45 °C |
| Supercapacitor | ||
| 10 | Nominal Voltage | 48 V |
| 11 | Capacitance | 165 F |
| 12 | Capacity | 53 Wh |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Banka, S.; Ashok Kumar, D.V. Hierarchical Data-Driven and PSO-Based Energy Management of Hybrid Energy Storage Systems in DC Microgrids. Automation 2026, 7, 50. https://doi.org/10.3390/automation7020050
Banka S, Ashok Kumar DV. Hierarchical Data-Driven and PSO-Based Energy Management of Hybrid Energy Storage Systems in DC Microgrids. Automation. 2026; 7(2):50. https://doi.org/10.3390/automation7020050
Chicago/Turabian StyleBanka, Sujatha, and D. V. Ashok Kumar. 2026. "Hierarchical Data-Driven and PSO-Based Energy Management of Hybrid Energy Storage Systems in DC Microgrids" Automation 7, no. 2: 50. https://doi.org/10.3390/automation7020050
APA StyleBanka, S., & Ashok Kumar, D. V. (2026). Hierarchical Data-Driven and PSO-Based Energy Management of Hybrid Energy Storage Systems in DC Microgrids. Automation, 7(2), 50. https://doi.org/10.3390/automation7020050

