Computational methods for optimizing operational strategies of energy storage systems based on generative artificial intelligence
DOI:
https://doi.org/10.4108/ew.13792Keywords:
Generative Artificial Intelligence, Energy Storage Systems, Microgrids, RAG, Operation Strategy Optimization, Large Language ModelsAbstract
INTRODUCTION: The energy storage systems (ESSs) require the coordination of renewable generation, load demand, electricity prices and safety constraints but operational strategy optimization is much dependent on manual modeling and is hard to change based on users preferences.
THE OBJECTIVES ARE: The study will come up with an automated and constraint-based optimization structure of ESS scheduling. It is proposed that a constraint-improved generative artificial intelligence (AI)-based model to optimize energy storage operation strategies, called CGAI-ESO, be developed.
METHODOLOGY: The model is based on natural language processing to understand the requests of energy management system (EMS) developers or end-users, retrieval-augmented generation (RAG) to fetch domain and optimization data, and a generative AI agent to develop objective functions, constraints, and executable optimization codes. The combination of an optimization solver with a digital twin feedback module checks the validity of economic performance, safety compliance, battery degradation and constraint satisfaction.
The results of experiments with public energy data and microgrid simulations demonstrate that CGAI-ESO minimizes operational cost by 18.72 percent, maximizes peak shaving rate to 28.5 percent, enhances the use of renewable energy to 96.0 percent and minimizes the level of constraint violation to 0.02 percent. It is also better than large language model (LLM)-only and LLM-RAG baselines in terms of model generation, constraint completeness and code executability.
CONCLUSION: CGAI-ESO provides a feasible route for intelligent and reliable ESS operation strategy optimization.
Downloads
References
[1] Majumder S, Dong L, Doudi F, et al. Exploring the capabilities and limitations of large language models in the electric energy sector[J]. Joule, 2024, 8(6): 1539-1555.
[2] Mirshekali H, Shadi M R, Ghanadi Ladani F, et al. A review of large language models for energy systems: applications, challenges, and future prospects[J]. IEEE Access, 2025, 13: 163162-163188.
[3] Alka T A, Suresh M, Mandal S, Leal Filho W, Raman R. Large language models in sustainable energy systems: a systematic review on modeling, optimization, governance, and alignment to sustainable development goals[J]. Energies, 2026, 19(6): 1588.
[4] Cheng Y, Zhao H, Zhou X, et al. A large language model for advanced power dispatch[J]. Scientific Reports, 2025, 15: 8925.
[5] Shen Z, Cai X, Ni B, et al. HG-RAG: Hierarchical graph-enhanced retrieval-augmented generation for power systems[J]. Electronics, 2026, 15(7): 1445.
[6] Ghosh S, Mittal G. Advancing engineering research through context-aware and knowledge graph-based retrieval-augmented generation[J]. Frontiers in Artificial Intelligence, 2025, 8: 1697169.
[7] Cali U, Halden U, Andoni M, et al. Generative AI and LLM applications in renewable energy and smart grids: a systematic review for the sustainable energy transition[J]. Artificial Intelligence Review, 2026, 59: 153.
[8] Bernadić A, Kujundžić G, Primorac I. Large language models in power systems: enhancing control and decision-making[J]. International Journal of Innovative Solutions in Engineering, 2025, 1(1): 10-17.
[9] Hadi M, Elbouchikhi E, Zhou Z, et al. Artificial intelligence for microgrids design, control, and maintenance: a comprehensive review and prospects[J]. Energy Conversion and Management: X, 2025, 27: 101056.
[10] Sarin G, Srivastava A, Srivastava I, et al. Renewable microgrid optimization using AI: a B-SLR approach and future research directions[J]. Energy Reports, 2025, 14: 4963-4975.
[11] Álvarez-Arroyo C, Vergine S, de la Nieta A S, et al. Optimising microgrid energy management: leveraging flexible storage systems and full integration of renewable energy sources[J]. Renewable Energy, 2024, 229: 120701.
[12] Khan M A, Rehman T, Hussain A, et al. Day-ahead operation of a multi-energy microgrid community with shared hybrid energy storage and EV integration[J]. Journal of Energy Storage, 2024, 97: 112855.
[13] Zhang H, Yu C, Zeng M, et al. Homomorphic encryption-based resilient distributed energy management under cyber-attack of micro-grid with event-triggered mechanism[J]. IEEE Transactions on Smart Grid, 2024, 15(5): 5115-5126.
[14] Alghamdi A S. Microgrid energy management and scheduling utilizing energy storage and exchange incorporating improved gradient-based optimizer[J]. Journal of Energy Storage, 2024, 97: 112775.
[15] Hai T, Singh N S S, Jamal F. Energy management of a microgrid with integration of renewable energy sources considering energy storage systems with electricity price[J]. Journal of Energy Storage, 2025, 110: 115191.
[16] Manikandan M, Saravanan R, Kannayeram G, et al. Integrating renewable resources and electric vehicles: an approach for effective energy management in DC microgrid[J]. Solar Energy, 2025, 299: 113775.
[17] Kumar R P, Karthikeyan G. A multi-objective optimization solution for distributed generation energy management in microgrids with hybrid energy sources and battery storage system[J]. Journal of Energy Storage, 2024, 75: 109702.
[18] Xiong B, Zhang Y, Li H, et al. Deep reinforcement learning for optimal microgrid energy management with renewable energy and electric vehicle integration[J]. Applied Soft Computing, 2025, 176: 113180.
[19] Cardo-Miota J, Lago J, Saez-Gallego J, et al. Deep reinforcement learning-based strategy for optimal bidding of collocated renewable energy and storage systems[J]. Applied Energy, 2025, 388: 125291.
[20] Zhu W, Zhang H, Li J, et al. Deep reinforcement learning based optimal operation of an island microgrid with energy storage[J]. Journal of Marine Science and Engineering, 2025, 13(2): 225.
[21] Testasecca T, Bellesini F, Arnone D, et al. A digital twin for real-time and predictive optimization of electric vehicle charging in microgrids integrating renewable energy sources[J]. Energies, 2025, 18(21): 5605.
[22] Sivaneasan B, Tan K T, Zhang W. Cognitive digital twin for microgrid: a real-world study for intelligent energy management and optimization[J]. IEEE Internet Computing, 2025, 29(1): 39-47.
[23] Xiao G, Liu H, Nabatalizadeh J. Optimal scheduling and energy management of a multi-energy microgrid with electric vehicles incorporating decision making approach and demand response[J]. Scientific Reports, 2025, 15: 5075.
[24] Kang R, Ren Y, Miao S, Zhang K. Economic dispatch of multimicrogrid interconnected system based on bilevel robust optimization[J]. Scientific Reports, 2025, 15: 36024.
[25] Ali Z M, Mostafa M H. Stochastic optimization framework for microgrid energy management integrating electric vehicles, renewable sources, and storage[J]. Scientific Reports, 2026, 16: 15494.
[26] Bilal M, Oladigbolu J O, Mujeeb A, et al. Cost-effective optimization of on-grid electric vehicle charging systems with integrated renewable energy and energy storage: an economic and reliability analysis[J]. Journal of Energy Storage, 2024, 100: 113170.
[27] Ju Y, Wang S, Ren J, et al. Advanced scheduling of energy storage, renewable generation, and hydrogen management in microgrids with plug-in hybrid electric vehicle charging integration[J]. International Journal of Hydrogen Energy, 2025, 136: 609-624.
[28] Das S S, Kumar P, Ali A M, et al. A comparative analysis of the efficient coordination of renewable energy and electric vehicles in a deregulated smart power system[J]. Energy Reports, 2025, 13: 3136-3164.
[29] Li Z, Zhang S. Economic environmental optimization in multiple renewable energy sources with demand response based on multi-objective optimization algorithm[J]. International Journal of Renewable Energy Development, 2026, 0:
[30] Iftikhar H, Khan M, Ahmad S, et al. Electricity consumption forecasting using a novel homogeneous and heterogeneous ensemble learning[J]. Frontiers in Energy Research, 2024, 12: 1442502.
[31] Wang L, Ma C, Feng X, et al. A survey on large language model based autonomous agents[J]. Frontiers of Computer Science, 2024, 18(6): 186345.
[32] Huang R, Tao S T. A human-centered automated machine learning agent with large language models for multimodal data management and analysis[J]. Frontiers in Artificial Intelligence, 2025, 8: 1680845.
[33] Peng B, Zhu Y, Liu Y, Bo X, Shi H, Hong C, Zhang Y, Tang S. Graph Retrieval-Augmented Generation: A Survey[J]. ACM Transactions on Information Systems, 2025, 44(2): Article 35.
[34] Zheng Y, Zhang L, Li K, et al. A survey on large language models driven meta-optimizers for automated intelligent optimization[J]. Artificial Intelligence Review, 2026, 59: 72.
[35] Chen T, Chen X, Chen W, et al. Learning to optimize: A primer and a benchmark[J]. Journal of Machine Learning Research, 2022, 23(189): 1-59.
[36] Aziz A, Khan W, Yousaf M Z, et al. Integrated energy scheduling for grid-connected microgrids using battery degradation-aware optimization and coordinated control strategies[J]. Scientific Reports, 2025, 15: 44033.
[37] Safavi V, Mohammadi Vaniar A, Bazmohammadi N, et al. A battery degradation-aware energy management system for agricultural microgrids[J]. Journal of Energy Storage, 2025, 108: 115059.
[38] Qi N, Huang K, Fan Z, et al. Long-term energy management for microgrid with hybrid hydrogen-battery energy storage: A prediction-free coordinated optimization framework[J]. Applied Energy, 2025, 377: 124485.
[39] Wicke M, Bocklisch T. Hierarchical energy management of hybrid battery storage systems for PV capacity firming and spot market trading considering degradation costs[J]. IEEE Access, 2024, 12: 52669-52686.
[40] Abdelghany M B, Al-Durra A, Zeineldin H H, et al. A coordinated multitimescale model predictive control for output power smoothing in hybrid microgrid incorporating hydrogen energy storage[J]. IEEE Transactions on Industrial Informatics, 2024, 20(9): 10987-11001.
[41] Sengupta M, Xie Y, Lopez A, et al. The National Solar Radiation Data Base (NSRDB)[J]. Renewable and Sustainable Energy Reviews, 2018, 89: 51-60.
[42] Draxl C, Clifton A, Hodge B M, et al. The Wind Integration National Dataset (WIND) Toolkit[J]. Applied Energy, 2015, 151: 355-366.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Jiaxin Huang, Xielin Shen, Dongdong Chen

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
This is an open-access article distributed under the terms of the Creative Commons Attribution CC BY 4.0 license, which permits unlimited use, distribution, and reproduction in any medium so long as the original work is properly cited.