Abstract
This research presents an AI-enabled digital twin framework to achieve carbon neutrality in smart grids through optimal management of heterogeneous energy storage systems. The proposed structure integrates battery, thermal, and hydrogen storage technologies with AI-driven forecasting models to address the challenge of renewable integration, while maintaining grid stability and economic viability. This paper presents a comparative analysis of three distinct optimization methodologies, like a rule-based (RB) heuristic approach, Model Predictive Control (MPC) with look-ahead capability, and a multi-objective Genetic Algorithm (GA). Simulation results that demonstrate the AI-optimized multi-energy storage (MES) integration significantly enhance the renewable utilization and reduce carbon emissions by approximately 30% compared to conventional approaches. Specifically, the MPC achieves a 29.9% reduction in carbon footprint (1741.1 kgCO₂ vs. 2485.2 kgCO₂ baseline) with corresponding operational cost savings of 30%, while GA shows a comparable 28.2% improvement. The comparative analysis discloses a critical trade-off between computational complexity, optimization performance, and practical implementability, with MPC emerging as a balanced method for a real-world application. This work has contributed to sustainable energy systems by providing a comprehensive framework for MES optimization, imparting treasured insights for grid operators and policymakers. The outcomes highlight the important role of AI-enabled digital twin in designing next-generation smart grid infrastructure, which is capable for supporting excessive renewable penetration at the same time as ensuring reliability and sustainable economic growth.
Similar content being viewed by others
Data and code availability
The datasets, code, and materials generated during this study have been deposited in public repositories to ensure reproducibility. Source Code: MATLAB scripts for all optimization algorithms (RB, MPC, GA), LSTM forecasting model, and digital twin framework are available at: [*https://github.com/sakthi0707/Digital-twin-mes-optimization*](https:/github.com/sakthi0707/Digital-twin-mes-optimization)Archived Version (with DOI): A preserved, citable version of the code and data is available via Zenodo: [*https://doi.org/10.5281/zenodo.17824324*](https:/doi.org/10.5281/zenodo.17824324). License: Code is released under the MIT License; data under CC BY 4.0. Reproducibility Package : Complete set of scripts to regenerate all figures and tables from the paperThe code is released under the MIT License, and the data under the CC BY 4.0 license. Detailed documentation and run instructions are provided in the repository README files.
References
Sado, K., Peskar, J., Downey, A., Khan, J. & Booth, K. A digital twin based forecasting framework for power flow management in DC microgrids. Sci. Rep. 15, 6430. https://doi.org/10.1038/s41598-025-91074-0 (2025).
Li, Z. et al. Digital twin-driven smart grid: Architecture, technologies and applications. Renew. Sustain. Energy Rev. 161, 112374. https://doi.org/10.1016/j.rser.2022.112374 (2022).
Chen, Y., Wang, X., Liu, H. & Song, Y. AI-enabled digital twin for energy storage optimization in smart grids: A review. Appl. Energy 325, 119801. https://doi.org/10.1016/j.apenergy.2022.119801 (2022).
Zhang, K. et al. Multi-energy storage system optimization for carbon-neutral microgrids: A comparative study. Energy Convers. Manag. 270, 116254. https://doi.org/10.1016/j.enconman.2022.116254 (2022).
Simões, M. G., Ferreira, R. A. F. & Lopes, J. A. P. Hybrid energy storage systems for renewable integration: Recent advances and future perspectives. IEEE Trans. Sustain. Energy 14, 234–247. https://doi.org/10.1109/TSTE.2022.3208945 (2023).
Wang, S., Wang, H. & Huang, J. Q. Multi-time scale optimization of hybrid energy storage system considering battery degradation. J. Energy Storage 58, 106382. https://doi.org/10.1016/j.est.2022.106382 (2023).
Liu, Y. et al. Digital twin technology for smart energy systems: State-of-the-art and future trends. Energy AI 12, 100231. https://doi.org/10.1016/j.egyai.2023.100231 (2023).
Zhang, A. H., Wang, Y., Li, K. & Wang, X. Model predictive control for hybrid energy storage systems in grid-connected microgrids. IEEE Trans. Power Syst. 38, 1234–1245. https://doi.org/10.1109/TPWRS.2022.3186734 (2023).
Basu, A. K., Bhadoria, S. P. K. D. V. & Pal, S. Multi-objective optimization of energy storage systems using improved genetic algorithm. Electric Power Syst. Res. 214, 108901. https://doi.org/10.1016/j.epsr.2022.108901 (2023).
Wang, L. et al. Digital twin-based optimization for renewable energy integration: A case study of multi-energy systems. Energy 263, 125689. https://doi.org/10.1016/j.energy.2022.125689 (2023).
Guerrero, J. M. et al. Hierarchical control of hybrid energy storage system in AC microgrids. IEEE Trans. Industr. Electron. 70, 1234–1243. https://doi.org/10.1109/TIE.2022.3152624 (2023).
Li, X., Wang, H., Sun, Y. & Bie, Z. A comprehensive review of digital twin technology in power systems. Protect. Control Modern Power Syst. 8, 12. https://doi.org/10.1186/s41601-023-00282-1 (2023).
Wang, Y., You, S., Zheng, Y., Zong, H. & Li, H. Advanced control strategies for hybrid energy storage systems in smart grids. J. Power Sources 558, 232578. https://doi.org/10.1016/j.jpowsour.2022.232578 (2023).
Rasheed, M. A. H., Kim, T. Y. & Lee, H. J. AI-powered digital twin for real-time energy management in smart cities. Sustain. Cities Soc. 88, 104258. https://doi.org/10.1016/j.scs.2022.104258 (2023).
van der Meer, S., Bosman, M. G. C. & Slootweg, J. G. Intelligent optimization techniques for multi-energy systems: A comparative analysis. Energy AI 11, 100208. https://doi.org/10.1016/j.egyai.2022.100208 (2023).
Zhao, H. et al. Digital twin-driven optimization for carbon-neutral energy systems. Nat. Commun. 14, 3456. https://doi.org/10.1038/s41467-023-39208-8 (2023).
Wang, R. X., Wu, T. Y. & Park, H. J. Multi-agent reinforcement learning for energy storage optimization in smart grids. IEEE Trans. Smart Grid 14, 2345–2356. https://doi.org/10.1109/TSG.2022.3231234 (2023).
Chen, Y., Liu, X., Zhang, H. & Wang, W. Hybrid model predictive control for integrated energy systems with hydrogen storage. Int. J. Hydrogen Energy 48, 4678–4692. https://doi.org/10.1016/j.ijhydene.2022.11.045 (2023).
Lee, K. J., Park, S. H. & Choi, M. K. Deep reinforcement learning-based energy management for multi-energy storage systems. Appl. Energy 332, 120541. https://doi.org/10.1016/j.apenergy.2022.120541 (2023).
Liu, Z. et al. Digital twin technology for renewable energy integration: Challenges and opportunities. Renew. Energy 202, 1356–1368. https://doi.org/10.1016/j.renene.2022.12.034 (2023).
Singh, A. K., Wang, H. & Zhang, Y. Multi-objective optimization of hybrid renewable energy systems using artificial intelligence techniques. Energy Rep. 9, 501–512. https://doi.org/10.1016/j.egyr.2022.11.158 (2023).
Bosman, M. G. C., Bakker, V. & Slootweg, J. G. Smart grid optimization using digital twins: A comprehensive review. IEEE Access 11, 23456–23472. https://doi.org/10.1109/ACCESS.2023.3256789 (2023).
Wang, Y. et al. Real-time optimization of multi-energy systems using digital twin technology. Energy Convers. Manag. 276, 116532. https://doi.org/10.1016/j.enconman.2022.116532 (2023).
Kim, S. H., Park, J. W. & Lee, H. J. Artificial intelligence in energy storage optimization: Recent advances and future directions. J. Energy Chem. 76, 123–136. https://doi.org/10.1016/j.jechem.2022.09.034 (2023).
Sakthivel, S. Optimal power control in Renewable Energy sources using Intelligence algorithm. Heliyon 9, e19724. https://doi.org/10.1016/j.heliyon.2023.e19724 (2023).
Mancarella, P. MES (multi-energy systems): An overview of concepts and evaluation models. Energy 65, 1–17. https://doi.org/10.1016/j.energy.2013.10.041 (2014).
Clegg, S. & Mancarella, P. Integrated modeling and assessment of the operational impact of power-to-gas (P2G) on electrical and gas transmission networks. IEEE Trans. Sustain. Energy 6, 1234–1244. https://doi.org/10.1109/TSTE.2015.2424885 (2015).
Geidl, M. et al. Energy hubs for the future. IEEE Power Energ. Mag. 5, 24–30. https://doi.org/10.1109/MPAE.2007.264850 (2007).
Parisio, A., Rikos, E. & Glielmo, L. A model predictive control approach to microgrid operation optimization. IEEE Trans. Control Syst. Technol. 22, 1813–1827. https://doi.org/10.1109/TCST.2013.2295737 (2014).
Goldberg, D. E. Genetic Algorithms in Search, Optimization, and Machine Learning (Addison-Wesley Professional, 1989).
Deb, K., Pratap, A., Agarwal, S. & Meyarivan, T. A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE Trans. Evol. Comput. 6, 182–197. https://doi.org/10.1109/4235.996017 (2002).
Xu, Q., Hu, Z., Li, F. & Pinson, P. A multi-agent systems-based hybrid control framework for coordinated operation of integrated electricity and natural gas systems. IEEE Trans. Smart Grid 11, 2494–2505. https://doi.org/10.1109/TSG.2019.2953842 (2020).
Fuller, A., Fan, Z., Day, C. & Barlow, C. Digital twin: Enabling technologies, challenges and open research. IEEE Access 8, 108952–108971. https://doi.org/10.1109/ACCESS.2020.2998358 (2020).
Tao, F., Zhang, H., Liu, A. & Nee, A. Y. C. Digital twin in industry: State-of-the-Art. IEEE Trans. Ind. Inf. 15, 2405–2415. https://doi.org/10.1109/TII.2018.2873186 (2019).
Negri, E., Fumagalli, L. & Macchi, M. A review of the roles of digital twin in cps-based production systems. Proced. Manuf. 11, 939–948. https://doi.org/10.1016/j.promfg.2017.07.198 (2017).
Jones, D., Snider, C., Nassehi, A. Y., Yon, J. & Hicks, B. Characterising the Digital Twin: A systematic literature review. CIRP J. Manuf. Sci. Technol. 29, 36–52. https://doi.org/10.1016/j.cirpj.2020.02.002 (2020).
Wang, Y. et al. Probabilistic individual load forecasting using pinball loss guided LSTM. Appl. Energy 235, 10–20. https://doi.org/10.1016/j.apenergy.2018.10.078 (2019).
Ahmed, R., Sreeram, V., Mishra, Y. & Arif, M. D. A review and evaluation of the state-of-the-art in PV solar power forecasting: Techniques and optimization. Renew. Sustain. Energy Rev. 124, 109792. https://doi.org/10.1016/j.rser.2020.109792 (2020).
Cremer, J. L., Konstantelos, I., Tindemans, S. H. & Strbac, G. Data-driven power system operation: Exploring the balance between cost and risk. IEEE Trans. Power Syst. 34, 791–801. https://doi.org/10.1109/TPWRS.2018.2867209 (2019).
Mbasso, W. F. et al. Digital twins in renewable energy systems: A comprehensive review of concepts, applications, and future directions. Energ. Strat. Rev. 61, 101814. https://doi.org/10.1016/j.esr.2025.101814 (2025).
Ramalingam, S. et al. Synergies for sustainability: Renewable energy, urban planning, and green industry in carbon emission reduction. Sustain. Futures 10, 101222. https://doi.org/10.1016/j.sftr.2025.101222 (2025).
Selvam, D. C., Devarajan, Y., Raja, T. & Vickram, S. Advancements in water electrolysis technologies and enhanced storage solutions for green hydrogen using renewable energy sources. Appl. Energy 390, 125849. https://doi.org/10.1016/j.apenergy.2025.125849 (2025).
Woon, W. L., Zeineldin, A. & Madani, V. On the benchmarking of microgrid control systems. IEEE Trans. Smart Grid 8, 1622–1630. https://doi.org/10.1109/TSG.2015.2507127 (2017).
Pandžić, H., Morales, J. M., Conejo, A. J. & Kuzle, I. A comparison of robust optimization and interval optimization for self-scheduling of a hybrid generating company. IEEE Trans. Power Syst. 31, 1063–1072. https://doi.org/10.1109/TPWRS.2015.2412616 (2016).
Chidambaram, B., Sengodan, P., Jeon, S. & Srituravanich, W. Utilizing luffa sponge-derived porous activated carbon as a sustainable environmental bio-mass for renewable energy storage applications. Biomass Bioenerg. 194, 107667. https://doi.org/10.1016/j.biombioe.2025.107667 (2025).
Shafiei, K., Zadeh, S. G. & Hagh, M. T. Planning for a network system with renewable resources and battery energy storage, focused on enhancing resilience. J. Energy Storage 87, 111339. https://doi.org/10.1016/j.est.2024.111339 (2024).
Shafiei, K., TarafdarHagh, M. & Seifi, A. Integration of wind farm, energy storage and demand response for optimum management of generation and carbon emission. J. Eng. 2024, e12348. https://doi.org/10.1049/tje2.12348 (2024).
Shafiei, K., Zadeh, S. G. & Hagh, M. T. Power system resilience enhancement using graph learning: A comprehensive robustness and antifragility approach. Sustain. Energy, Grids Netw. 43, 101927. https://doi.org/10.1016/j.segan.2025.101927 (2025).
Shafiei, K., Zadeh, S. G. & Hagh, M. T. Robustness and resilience of energy systems to extreme events: A review of assessment methods and strategies. Energ. Strat. Rev. 58, 101660. https://doi.org/10.1016/j.esr.2025.101660 (2025).
Shafiei, K., Seifi, A. & Hagh, M. T. A novel multi-objective optimization approach for resilience enhancement considering integrated energy systems with renewable energy, energy storage, energy sharing, and demand-side management. J. Energy Storage 115, 115966. https://doi.org/10.1016/j.est.2025.115966 (2025).
Cavus, M. & Allahham, A. Spatio-temporal attention-based deep learning for smart grid demand prediction. Electronics 14, 2514. https://doi.org/10.3390/electronics14132514 (2025).
Cavus, M. & Bell, M. Enabling smart grid resilience with deep learning-based battery health prediction in EV fleets. Batteries 11, 283. https://doi.org/10.3390/batteries11080283 (2025).
Jayabal, R. Towards a carbon-free society: Innovations in green energy for a sustainable future. Results Eng. 24, 103121. https://doi.org/10.1016/j.rineng.2024.103121 (2024).
Acknowledgements
The authors gratefully acknowledge the support and resources provided by Saveetha School of Engineering, Saveetha Institute of Medical and Technical Sciences(SIMATS), Chennai, Tamil Nadu, India. Special thanks to the Department of Electronics and Communication Engineering and Department of Computer Science and Engineering for their academic support and infrastructure.
Funding
This research received no specific grant from any funding agency.
Author information
Authors and Affiliations
Contributions
Sakthivel S: Conceptualization, Methodology, Software, Validation, Formal analysis, Investigation, Data curation, Writing – original draft, Writing – review & editing, Visualization.M. Arivukarasi: Supervision, Project administration, Resources, Writing – review & editing.G. Charulatha: Supervision, Validation, Writing – review & editing.J. Nithisha: Supervision, Writing – review & editing.Abirami B: Supervision, Writing – review & editing.Jaithunbi A K: Supervision, Writing – review & editing.V. Suresh Kumar: Supervision, Resources, Writing – review & editing **.**All authors have read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Ethical approval
This study did not involve human or animal subjects. No ethical approval was required.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Below is the link to the electronic supplementary material.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Sakthivel, S., Arivukarasi, M., Charulatha, G. et al. A multi strategy optimization framework using AI digital twins for smart grid carbon emission reduction. Sci Rep (2026). https://doi.org/10.1038/s41598-026-38720-3
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-026-38720-3


