A Grid-Forming Control Strategy Based on a Hybrid Approach Combining a Physical Model and LSTM for Photovoltaic and Energy Storage Systems
Abstract
1. Introduction
- A joint SC-GFC control architecture that feeds the GFC’s inertial power demand to the SC power loop.
- An LSTM-based feedforward path that extracts voltage trends from historical Udc data.
- A hybrid physical-data-driven framework that weights and fuses feedback and feedforward signals.
2. System Configuration
2.1. Power Model of GFM-ESS
2.2. Basic Grid-Forming Control
2.3. Source Measurement Storage Converter Control
2.4. Photovoltaic Converter Control
3. Modeling of Energy Storage and PV Devices
3.1. Equivalent Model of the Energy Storage Device
3.2. Equivalent Modeling of Photovoltaic Power Plants
4. LSTM Method Design with Joint SC-GFC Control
4.1. The Working Principle of LSTM
- Oblivion gate
- 2.
- Input Gate
- 3.
- Memory Unit Update
- 4.
- Output Gate
4.2. LSTM Based DC Bus Voltage Prediction
4.3. Joint Control Strategy of SC-GFC
4.4. Parameter Design Principles and Stability Considerations
5. Experimental Validation
5.1. Training Process
5.2. Experimental Design
- Validation of SC-GFC joint control: The SC is operated in both charging and discharging modes, and the system’s power and frequency response are observed by adjusting Pref and Qref.
- Verify the hybrid driving effect of LSTM with the control system: we adjust the weights w1 and w2, and observe the variation in the DC bus voltage at steady state.
5.3. Joint Control Verification of SC-GFC
5.4. Verification of Hybrid Driving of LSTM with Control Link
5.5. Explanation of Operating Power and Robustness Against Real-World Disturbances
- (1)
- Remark on operating power levels
- (2)
- Remark on robustness to realistic disturbances
6. Conclusions
- Joint SC-GFC control is essential for damping power oscillations. Under the same Pref step transient, the independent fixed-power SC control exhibits sustained low-frequency oscillations, whereas the proposed joint control achieves rapid convergence and stable power tracking. This confirms that feeding the GFC’s inertial power demand back to the SC reference is a necessary condition for stable grid-forming operation in PV-storage systems.
- The LSTM feedforward path provides measurable steady-state improvement over pure feedback. By comparing the weight settings w1 = 1, w2 = 0 (no LSTM) and w1 = w2 = 0.5 (with LSTM), the DC bus voltage distribution becomes more concentrated and shifts closer to the reference value when the LSTM feedforward is activated. This demonstrates that the trend-aware prediction effectively reduces steady-state deviations without relying on external communication.
- The hybrid physical-data-driven framework offers a practical, communication-free solution. The integration of the physical joint-control law with the LSTM-based feedforward compensation is validated under both charging and discharging modes. The framework achieves a trade-off between dynamic response and steady-state accuracy through the adjustable weighting scheme, while avoiding the latency and reliability issues associated with communication-dependent data-driven methods.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Chi, Y.; Jiang, B.; Hu, J.; Lin, W.; Liu, H.; Fan, Y.; Ma, S.; Yao, J. Grid-forming Converters: Physical Mechanism and Characteristics. High Volt. Eng. 2024, 50, 590–604. [Google Scholar]
- Karunaratne, L.; Chaudhuri, N.R.; Yogarathnam, A.; Yue, M. Nonlinear Backstepping Control of Grid-Forming Converters in Presence of Grid-Following Converters and Synchronous Generators. IEEE Trans. Power Syst. 2024, 39, 1948–1964. [Google Scholar] [CrossRef] [Scilit]
- Gong, X.; Wang, X.; Cao, B. On Data-Driven Modeling and Control in Modern Power Grids Stability: Survey and Perspective. Appl. Energy 2023, 350, 121740–121758. [Google Scholar]
- Guo, Y.; Qi, Y.; Ge, L.; Hou, L.; Li, J.; Sun, H. Transient Compensation of Asymmetrical Line Faults in Multigrid-Forming VSG Systems. IEEE Trans. Ind. Electron. 2025, 72, 10085–10096. [Google Scholar] [CrossRef] [Scilit]
- Cao, W.; Qin, H.; Lu, J.; He, B.; Zhuang, K.; Li, G. Orientation and Application Prospect of Virtual Synchronous Generator in New Power System. Autom. Electr. Power Syst. 2023, 47, 190–207. [Google Scholar]
- Lei, J.; Xiang, X.; Liu, B.; Li, W.; He, X. Quantitative and Intuitive VSG Transient Analysis with the Concept of Damping Area Approximation. IEEE Trans. Smart Grid 2023, 14, 2477–2480. [Google Scholar] [CrossRef] [Scilit]
- Me, S.P.; Ravanji, M.H.; Mansour, M.Z.; Zabihi, S.; Bahrani, B. Transient Stability of Paralleled Virtual Synchronous Generator and Grid-Following Inverter. IEEE Trans. Smart Grid 2023, 14, 4451–4466. [Google Scholar] [CrossRef] [Scilit]
- Qin, B.; Xu, Y. Modal Analysis of Multi-virtual Synchronous Machine Grid-connected Power-frequency Oscillation. Proc. CSEE 2021, 41, 6570–6581. [Google Scholar]
- Ge, P.; Tu, C.; Xiao, F.; Ge, P.; Tu, C.; Xiao, F.; Guo, Q. Transient Stability Enhancement of a VSG Based on Flexible Switching of Control Parameters. Proc. CSEE 2022, 42, 2109–2124. [Google Scholar]
- Cheng, H.; Li, C.; Ghias, A.M.Y.M.; Blaabjerg, F. Dynamic Coupling Mechanism Analysis Between Voltage and Frequency in Virtual Synchronous Generator System. IEEE Trans. Power Syst. 2024, 39, 2365–2368. [Google Scholar] [CrossRef] [Scilit]
- Yang, M.; Wang, Y.; Xiao, X.; Li, Y. A Robust Damping Control for Virtual Synchronous Generators Based on Energy Reshaping. IEEE Trans. Energy Convers. 2023, 38, 2146–2159. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Chen, Y.; Li, X.; Xu, Y.; Luo, C.; Li, Q.; He, Y. Active Power Oscillation Suppression Based on Decentralized Transient Damping Control for Parallel Virtual Synchronous Generators. IEEE Trans. Smart Grid 2023, 14, 2582–2592. [Google Scholar] [CrossRef] [Scilit]
- Wang, W.; Shi, X.; Wu, G.; Cao, Y. Interaction Between Grid-Forming Converters with AC Grids and Damping Improvement Based on Loop Shaping. IEEE Trans. Power Syst. 2024, 39, 1905–1917. [Google Scholar] [CrossRef] [Scilit]
- Zheng, L.; Liu, X.; Xu, Y.; Hu, W.; Liu, C. Data-driven Estimation for a Region of Attraction for Transient Stability Using the Koopman Operator. CSEE J. Power Energy Syst. 2023, 9, 1405–1413. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Li, G.; Huang, Z.; Zhang, X.; Xu, Y.; Zheng, L. Physics Informed Data-Driven Oscillation Stabilization Strategy for Renewable-Dominant Power Systems Based on Koopman Operator. IEEE Trans. Ind. Appl. 2025, 61, 2632–2645. [Google Scholar] [CrossRef] [Scilit]
- Shuai, H.; She, B.; Wang, J.; Li, F. Safe Reinforcement Learning for Grid-forming Inverter Based Frequency Regulation with Stability Guarantee. Mod. Power Syst. Clean Energy 2025, 13, 79–86. [Google Scholar] [CrossRef] [Scilit]
- Fahad, S.; She, B.; Yin, J.; Li, F.; Cui, H.; Bo, R. A Data-Driven Adaptive Control Approach for Enhancing the Dynamic Response of VSGs in Varying Grid Conditions. IEEE Trans. Power Deliv. 2025, 40, 1421–1433. [Google Scholar] [CrossRef] [Scilit]
- Cavus, M.; Jiang, J.; Allahham, A. Deep Multi-Task Forecasting of Net-Load and EV Charging with a Residual-Normalised GRU in IoT-Enabled Microgrids. Energies 2026, 19, 311. [Google Scholar] [CrossRef] [Scilit]
- Rojas, C.A.; Kouro, S.; Inzunza, R.; Mitsugi, Y.; Alcaide, A.M. Harmonic Impedance Model of Multiple Utility-Interactive Multilevel Photovoltaic Inverters. Energies 2022, 15, 9462. [Google Scholar] [CrossRef] [Scilit]
- Shen, X.; Liu, J.; Lin, H.; Yin, Y.; Alcaide, A.M.; Leon, J.I. Cascade Control of Grid-Connected NPC Converters via Sliding Mode Technique. IEEE Trans. Energy Convers. 2023, 38, 1491–1500. [Google Scholar] [CrossRef] [Scilit]
- Bevrani, H.; Ise, T.; Miura, Y. Virtual synchronous generators: A survey and new perspectives. Int. J. Electr. Power Energy Syst. 2014, 54, 244–254. [Google Scholar] [CrossRef] [Scilit]
- Salameh, Z.M.; Casacca, M.A.; Lynch, W.A. A mathematical model for lead-acid batteries. IEEE Trans. Energy Convers. 1992, 7, 93–98. [Google Scholar] [CrossRef] [Scilit]
- Oh, D.; Jeon, J.; Kim, M.; Lee, W.; Lim, J.; Hong, J. A computationally efficient physics-based equivalent circuit model for real-time simulation of electrochemical-thermal behavior in lithium-ion batteries. Appl. Energy 2026, 426, 128608. [Google Scholar] [CrossRef] [Scilit]
- Pan, D.; Wang, X.; Liu, F.; Shi, R. Transient Stability of Voltage-Source Converters with Grid-Forming Control: A Design-Oriented Study. IEEE J. Emerg. Sel. Top. Power Electron. 2020, 8, 1019–1033. [Google Scholar] [CrossRef] [Scilit]
- Cheknane, A.; Hilal, H.S.; Djeffal, F.; Benyoucef, B.; Charles, J.P. An equivalent circuit approach to organic solar cell modelling. Microelectron. J. 2008, 39, 1173–1180. [Google Scholar] [CrossRef] [Scilit]
- Chenni, R.; Makhlouf, M.; Kerbache, T.; Bouzid, A. A detailed modeling method for photovoltaic cells. Energy 2007, 32, 1724–1730. [Google Scholar] [CrossRef] [Scilit]
- Qi, Y.; Guo, Y.; Xie, P.; Sun, H. Joint Control of Storage Voltage Prediction and Grid-forming Converter using LSTM. In Proceedings of the 2025 IEEE International Conference on Power Systems and Smart Grid Technologies (PSSGT), Chongqing, China, 11–13 April 2025; pp. 280–287. [Google Scholar]

















| Reference | Control Architecture | Data-Driven | Communication Required | Key Limitation |
|---|---|---|---|---|
| [6,7,8,9,10] | GFC only | No | No | Ignored source-side dynamic |
| [11,12,13] | GFC with enhanced algorithms | No | No | Assumed ideal DC source |
| [14,15,16,17] | GFC + data-driven optimization | Yes | Yes | Communication latency risks |
| This work | Joint SC-GFC | Yes (LSTM feedforward) | No | Limited validation under extreme SOC (future work) |
| Parameters | Value | Parameters | Value |
|---|---|---|---|
| Lf | 2 mH | Cf | 20 μF |
| Rf | 0.5 Ω | Udc,ref | 750 V |
| Uref | 380 V | Cdc | 4700 μF |
| 1/Yl | 0.82 + j0.454 Ω | Rd | 0.07 Ω |
| Rp | 0.11 Ω | Rgas | 18.4 Ω |
| Rw | 0.3 Ω | Cw | 22 nF |
| wref | 100π rad/s |
| Parameters | Value | Parameters | Value |
|---|---|---|---|
| Jv | 1 kg·m2 | Dv | 100 W·rad/s |
| Kqu | 0.1 V/Var | wf | 10π rad/s |
| kpp | 0.5 | kip | 0.25 |
| kpu | 0.6 | kiu | 0.3 |
| kpd | 1 | kid | 20 |
| kpi | 0.6 | kii | 0.3 |
| w1 | 0.8 | w2 | 0.2 |
| Metric | Theoretical (Ψ(s)) | Measured (HIL) |
|---|---|---|
| Steady-state inertial power | 0.9703 W | 0.9658 W |
| Settling time (to 5% band) | 3.344 s | 3.6 s |
| Peak overshoot | 562 W | 574 W |
| Parameters | Value |
|---|---|
| σi = σC = σf = σo | 0.95 |
| bi = bC = bf = bo | 0 |
| T | 0.2 s |
| mt | 1 |
| dt | 0 |
| h | 2 |
| Model | RMSE (V) | MAPE (%) |
|---|---|---|
| AR(2) baseline | 3.4495 | 0.51% |
| Kalman filter | 4.7737 | 0.65% |
| LSTM (proposed) | 3.4066 | 0.35% |
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
Qi, Y.; Mi, D.; Ma, T.; Li, K.; Zhang, E.; Bai, P.; Guo, Y. A Grid-Forming Control Strategy Based on a Hybrid Approach Combining a Physical Model and LSTM for Photovoltaic and Energy Storage Systems. Electronics 2026, 15, 3782. https://doi.org/10.3390/electronics15173782
Qi Y, Mi D, Ma T, Li K, Zhang E, Bai P, Guo Y. A Grid-Forming Control Strategy Based on a Hybrid Approach Combining a Physical Model and LSTM for Photovoltaic and Energy Storage Systems. Electronics. 2026; 15(17):3782. https://doi.org/10.3390/electronics15173782
Chicago/Turabian StyleQi, Yu, Dabin Mi, Tao Ma, Kun Li, Erhui Zhang, Pengyu Bai, and Yingjun Guo. 2026. "A Grid-Forming Control Strategy Based on a Hybrid Approach Combining a Physical Model and LSTM for Photovoltaic and Energy Storage Systems" Electronics 15, no. 17: 3782. https://doi.org/10.3390/electronics15173782
APA StyleQi, Y., Mi, D., Ma, T., Li, K., Zhang, E., Bai, P., & Guo, Y. (2026). A Grid-Forming Control Strategy Based on a Hybrid Approach Combining a Physical Model and LSTM for Photovoltaic and Energy Storage Systems. Electronics, 15(17), 3782. https://doi.org/10.3390/electronics15173782

