{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,1]],"date-time":"2026-04-01T03:06:55Z","timestamp":1775012815845,"version":"3.50.1"},"reference-count":60,"publisher":"MDPI AG","issue":"11","license":[{"start":{"date-parts":[[2025,11,2]],"date-time":"2025-11-02T00:00:00Z","timestamp":1762041600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Computation"],"abstract":"<jats:p>The increasing complexity of urban energy systems requires decentralized, sustainable, and scalable solutions. The paper presents a new multi-layered framework for smart energy management in microgrids by bringing together advanced forecasting, decentralized decision-making, evolutionary optimization and blockchain-based coordination. Unlike previous research addressing these components separately, the proposed architecture combines five interdependent layers that include forecasting, decision-making, optimization, sustainability modeling, and blockchain implementation. A key innovation is the use of Temporal Fusion Transformer (TFT) for interpretable multi-horizon forecasting of energy demand, renewable generation, and electric vehicle (EV) availability which outperforms conventional LSTM, GRU and RNN models. Another novelty is the hybridization of Genetic Algorithms (GA) and Particle Swarm Optimization (PSO), to simultaneously support discrete and continuous decision variables, allowing for dynamic pricing, efficient energy dispatching and adaptive EV scheduling. Multi-Agent Reinforcement Learning (MARL) which is improved by sustainability shaping by including carbon intensity, renewable utilization ratio, peak to average load ratio and net present value in agent rewards. Finally, Ethereum-based smart contracts add another unique contribution by providing the implementation of transparent and tamper-proof peer-to-peer energy trading and automated sustainability incentives. The proposed framework strengthens resilient infrastructure through decentralized coordination and intelligent optimization while contributing to climate mitigation by reducing carbon intensity and enhancing renewable integration. Experimental results demonstrate that the proposed framework achieves a 14.6% reduction in carbon intensity, a 12.3% increase in renewable utilization ratio, and a 9.7% improvement in peak-to-average load ratio compared with baseline models. The TFT-based forecasting model achieves RMSE = 0.041 kWh and MAE = 0.032 kWh, outperforming LSTM and GRU by 11% and 8%, respectively.<\/jats:p>","DOI":"10.3390\/computation13110256","type":"journal-article","created":{"date-parts":[[2025,11,3]],"date-time":"2025-11-03T13:55:22Z","timestamp":1762178122000},"page":"256","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["AI-Driven Multi-Agent Energy Management for Sustainable Microgrids: Hybrid Evolutionary Optimization and Blockchain-Based EV Scheduling"],"prefix":"10.3390","volume":"13","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-4451-0558","authenticated-orcid":false,"given":"Abhirup","family":"Khanna","sequence":"first","affiliation":[{"name":"School of Computer Science, UPES, Dehradun 248007, India"}]},{"given":"Divya","family":"Srivastava","sequence":"additional","affiliation":[{"name":"SCSET, Bennett University, Greater Noida 201310, India"}]},{"given":"Anushree","family":"Sah","sequence":"additional","affiliation":[{"name":"School of Computer Science, UPES, Dehradun 248007, India"}]},{"given":"Sarishma","family":"Dangi","sequence":"additional","affiliation":[{"name":"Department of Computer Science and Engineering, Graphic Era Deemed to Be University, Dehradun 248002, India"}]},{"given":"Abhishek","family":"Sharma","sequence":"additional","affiliation":[{"name":"Department of Computer Science and Engineering, Graphic Era Deemed to Be University, Dehradun 248002, India"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8433-8663","authenticated-orcid":false,"given":"Sew Sun","family":"Tiang","sequence":"additional","affiliation":[{"name":"Faculty of Engineering, Technology and Built Environment, UCSI University, Kuala Lumpur 56000, Malaysia"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1178-9356","authenticated-orcid":false,"given":"Jun-Jiat","family":"Tiang","sequence":"additional","affiliation":[{"name":"Centre for Wireless Technology, CoE for Intelligent Network, Faculty of Artificial Intelligence & Engineering, Multimedia University, Persiaran Multimedia, Cyberjaya 63100, Selangor, Malaysia"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1673-8088","authenticated-orcid":false,"given":"Wei Hong","family":"Lim","sequence":"additional","affiliation":[{"name":"Faculty of Engineering, Technology and Built Environment, UCSI University, Kuala Lumpur 56000, Malaysia"}]}],"member":"1968","published-online":{"date-parts":[[2025,11,2]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"697","DOI":"10.1016\/j.scs.2018.01.053","article-title":"Towards sustainable smart cities: A review of trends, architectures, components, and open challenges in smart cities","volume":"38","author":"Silva","year":"2018","journal-title":"Sustain. Cities Soc."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Kumar, T.V., and Dahiya, B. (2017). Smart economy in smart cities. Smart Economy in Smart Cities, Springer.","DOI":"10.1007\/978-981-10-1610-3_1"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"234","DOI":"10.1016\/j.cities.2016.09.009","article-title":"What are the differences between sustainable and smart cities?","volume":"60","author":"Ahvenniemi","year":"2017","journal-title":"Cities"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"290","DOI":"10.3390\/cleantechnol2030019","article-title":"A review of technical standards for smart cities","volume":"2","author":"Lai","year":"2020","journal-title":"Clean Technol."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"103406","DOI":"10.1016\/j.cities.2021.103406","article-title":"Smart city research: A holistic and state-of-the-art literature review","volume":"119","author":"Zhao","year":"2021","journal-title":"Cities"},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Khanna, A., Sah, A., Bolshev, V., Jasinski, M., Vinogradov, A., Leonowicz, Z., and Jasi\u0144ski, M. (2021). Blockchain: Future of e-governance in smart cities. Sustainability, 13.","DOI":"10.3390\/su132111840"},{"key":"ref_7","first-page":"100076","article-title":"Adoption of artificial intelligence in smart cities: A comprehensive review","volume":"2","author":"Herath","year":"2022","journal-title":"Int. J. Inf. Manag. Data Insights"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Khang, A., Rani, S., and Sivaraman, A.K. (2022). AI-Centric Smart City Ecosystems: Technologies, Design and Implementation, CRC Press.","DOI":"10.1201\/9781003252542"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Bokhari, S.A.A., and Myeong, S. (2022). Use of artificial intelligence in smart cities for smart decision-making: A social innovation perspective. Sustainability, 14.","DOI":"10.3390\/su14020620"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"77364","DOI":"10.1109\/ACCESS.2020.2990123","article-title":"Artificial intelligence for smart renewable energy sector in Europe\u2014Smart energy infrastructures for next generation smart cities","volume":"8","author":"Lytras","year":"2020","journal-title":"IEEE Access"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Alahi, M.E.E., Sukkuea, A., Tina, F.W., Nag, A., Kurdthongmee, W., Suwannarat, K., and Mukhopadhyay, S.C. (2023). Integration of IoT-enabled technologies and artificial intelligence (AI) for smart city scenario: Recent advancements and future trends. Sensors, 23.","DOI":"10.3390\/s23115206"},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"124077","DOI":"10.1016\/j.jclepro.2020.124077","article-title":"Understanding the sharing economy and its implication on sustainability in smart cities","volume":"277","author":"Akande","year":"2020","journal-title":"J. Clean. Prod."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"103716","DOI":"10.1016\/j.cities.2022.103716","article-title":"Sustainability-oriented innovations in smart cities: A systematic review and emerging themes","volume":"126","author":"Tura","year":"2022","journal-title":"Cities"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"771","DOI":"10.3390\/smartcities5030040","article-title":"The metaverse as a virtual form of smart cities: Opportunities and challenges for environmental, economic, and social sustainability in urban futures","volume":"5","author":"Allam","year":"2022","journal-title":"Smart Cities"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"178","DOI":"10.1007\/s11036-021-01790-w","article-title":"Green IoT for eco-friendly and sustainable smart cities: Future directions and opportunities","volume":"28","author":"Almalki","year":"2023","journal-title":"Mob. Netw. Appl."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"128","DOI":"10.1016\/j.solener.2022.12.030","article-title":"Renewable-based microgrids\u2019 energy management using smart deep learning techniques: Realistic digital twin case","volume":"250","author":"Li","year":"2023","journal-title":"Sol. Energy"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Sumarmad, K.A.A., Sulaiman, N., Wahab, N.I.A., and Hizam, H. (2022). Energy management and voltage control in microgrids using artificial neural networks, PID, and fuzzy logic controllers. Energies, 15.","DOI":"10.3390\/en15010303"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"104260","DOI":"10.1016\/j.scs.2022.104260","article-title":"Machine learning based demand response scheme for IoT enabled PV integrated smart building","volume":"89","author":"Balakumar","year":"2023","journal-title":"Sustain. Cities Soc."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"126505","DOI":"10.1016\/j.energy.2022.126505","article-title":"Individual household demand response potential evaluation and identification based on machine learning algorithms","volume":"266","author":"Shi","year":"2023","journal-title":"Energy"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"95","DOI":"10.1016\/j.solener.2023.04.051","article-title":"An effective energy management Layout-Based reinforcement learning for household demand response in digital twin simulation","volume":"258","author":"Liu","year":"2023","journal-title":"Sol. Energy"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Salazar, E.J., Jurado, M., and Samper, M.E. (2023). Reinforcement learning-based pricing and incentive strategy for demand response in smart grids. Energies, 16.","DOI":"10.3390\/en16031466"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"699","DOI":"10.1016\/j.egyr.2021.07.084","article-title":"Design and implementation of an AI-based & IoT-enabled Home Energy Management System: A case study in Benguerir\u2014Morocco","volume":"7","author":"Rochd","year":"2021","journal-title":"Energy Rep."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"162530","DOI":"10.1109\/ACCESS.2021.3131502","article-title":"Novel AI based energy management system for smart grid with RES integration","volume":"9","author":"Kumar","year":"2021","journal-title":"IEEE Access"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"1033","DOI":"10.1080\/03772063.2020.1847701","article-title":"AI-based building management and information system with multi-agent topology for an energy-efficient building: Towards occupants comfort","volume":"69","author":"Verma","year":"2023","journal-title":"IETE J. Res."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Esnaola-Gonzalez, I., Jeli\u0107, M., Puji\u0107, D., Diez, F.J., and Toma\u0161evi\u0107, N. (2021). An AI-powered system for residential demand response. Electronics, 10.","DOI":"10.3390\/electronics10060693"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"16907","DOI":"10.1109\/ACCESS.2023.3237737","article-title":"Artificial intelligence application in demand response: Advantages, issues, status, and challenges","volume":"11","author":"Ali","year":"2023","journal-title":"IEEE Access"},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"963","DOI":"10.1007\/s40684-023-00537-0","article-title":"AI-empowered methods for smart energy consumption: A review of load forecasting, anomaly detection and demand response","volume":"11","author":"Wang","year":"2024","journal-title":"Int. J. Precis. Eng.-Manuf.-Green Technol."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"104489","DOI":"10.1016\/j.scs.2023.104489","article-title":"Low carbon technology for carbon neutrality in sustainable cities: A survey","volume":"92","author":"Shang","year":"2023","journal-title":"Sustain. Cities Soc."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"1592","DOI":"10.1007\/s13132-023-01176-1","article-title":"The role of community engagement in urban innovation towards the co-creation of smart sustainable cities","volume":"15","author":"Anthony","year":"2023","journal-title":"J. Knowl. Econ."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"104653","DOI":"10.1016\/j.scs.2023.104653","article-title":"Machine learning and remote sensing integration for leveraging urban sustainability: A review and framework","volume":"96","author":"Li","year":"2023","journal-title":"Sustain. Cities Soc."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"1039","DOI":"10.3390\/smartcities3030052","article-title":"IoT-enabled smart sustainable cities: Challenges and approaches","volume":"3","author":"Belli","year":"2020","journal-title":"Smart Cities"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"565","DOI":"10.1016\/j.ecolind.2015.08.003","article-title":"Sustainable Development Goals: A need for relevant indicators","volume":"60","author":"Moldan","year":"2016","journal-title":"Ecol. Indic."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Vaidya, H., and Chatterji, T. (2020). SDG 11 sustainable cities and communities: SDG 11 and the new urban agenda: Global sustainability frameworks for local action. Actioning the Global Goals for Local Impact: Towards Sustainability Science, Policy, Education and Practice, Springer.","DOI":"10.1007\/978-981-32-9927-6_12"},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"119167","DOI":"10.1016\/j.apenergy.2022.119167","article-title":"Linking SDG 7 to assess the renewable energy footprint of nations by 2030","volume":"317","author":"He","year":"2022","journal-title":"Appl. Energy"},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Doni, F., Gasperini, A., and Soares, J.T. (2020). What is the SDG 13?. SDG13\u2013Climate Action: Combating Climate Change and Its Impacts, Emerald Publishing Limited.","DOI":"10.1108\/9781787569157"},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"118241","DOI":"10.1016\/j.apenergy.2021.118241","article-title":"Coordinating energy management systems in smart cities with electric vehicles","volume":"307","author":"Lotfi","year":"2022","journal-title":"Appl. Energy"},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"116123","DOI":"10.1016\/j.apenergy.2020.116123","article-title":"A novel decentralized platform for peer-to-peer energy trading market with blockchain technology","volume":"282","author":"Esmat","year":"2021","journal-title":"Appl. Energy"},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"107299","DOI":"10.1016\/j.compeleceng.2021.107299","article-title":"Blockchain-enabled Peer-to-Peer energy trading","volume":"94","author":"Wongthongtham","year":"2021","journal-title":"Comput. Electr. Eng."},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"103016","DOI":"10.1016\/j.simpat.2024.103016","article-title":"An AI-driven solution to prevent adversarial attacks on mobile Vehicle-to-Microgrid services","volume":"137","author":"Omara","year":"2024","journal-title":"Simul. Model. Pract. Theory"},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"109177","DOI":"10.1016\/j.compeleceng.2024.109177","article-title":"Renewable energy management in smart grid with cloud security analysis using multi agent machine learning model","volume":"116","author":"Yang","year":"2024","journal-title":"Comput. Electr. Eng."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"141281","DOI":"10.1016\/j.jclepro.2024.141281","article-title":"Maximizing microgrid resilience: A two-stage AI-Enhanced system with an integrated backup system using a novel hybrid optimization algorithm","volume":"446","author":"Elkholy","year":"2024","journal-title":"J. Clean. Prod."},{"key":"ref_42","doi-asserted-by":"crossref","first-page":"121738","DOI":"10.1016\/j.renene.2024.121738","article-title":"Intelligent energy management system of hydrogen based microgrid empowered by AI optimization technique","volume":"237","author":"Qamar","year":"2024","journal-title":"Renew. Energy"},{"key":"ref_43","doi-asserted-by":"crossref","first-page":"109031","DOI":"10.1016\/j.jobe.2024.109031","article-title":"Multi-agent-based decentralized residential energy management using Deep Reinforcement Learning","volume":"87","author":"Kumari","year":"2024","journal-title":"J. Build. Eng."},{"key":"ref_44","doi-asserted-by":"crossref","unstructured":"Mequanenit, A.M., Nibret, E.A., Herrero-Mart\u00edn, P., Garc\u00eda-Gonz\u00e1lez, M.S., and Martinez-Bejar, R. (2025). A multi-agent deep reinforcement learning system for governmental interoperability. Appl. Sci., 15.","DOI":"10.3390\/app15063146"},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Ar\u00e9valo, P., Ochoa-Correa, D., and Villa-\u00c1vila, E. (2024). Optimizing microgrid operation: Integration of emerging technologies and artificial intelligence for energy efficiency. Electronics, 13.","DOI":"10.3390\/electronics13183754"},{"key":"ref_46","doi-asserted-by":"crossref","unstructured":"Han, Y., Meng, J., and Luo, Z. (2024). Multi-agent deep reinforcement learning for blockchain-based energy trading in decentralized electric vehicle charger-sharing networks. Electronics, 13.","DOI":"10.3390\/electronics13214235"},{"key":"ref_47","doi-asserted-by":"crossref","unstructured":"Hoummadi, M.A., Bossoufi, B., Karim, M., Althobaiti, A., Alghamdi, T.A., and Alenezi, M. (2025). Advanced AI approaches for the modeling and optimization of microgrid energy systems. Sci. Rep., 15.","DOI":"10.1038\/s41598-025-96145-w"},{"key":"ref_48","doi-asserted-by":"crossref","unstructured":"Dragomir, O.E., and Dragomir, F. (2025). A Decentralized Hierarchical Multi-Agent Framework for Smart Grid Sustainable Energy Management. Sustainability, 17.","DOI":"10.3390\/su17125423"},{"key":"ref_49","doi-asserted-by":"crossref","unstructured":"Condon, F., Franco, P., Mart\u00ednez, J.M., Eltamaly, A.M., Kim, Y.C., and Ahmed, M.A. (2023). EnergyAuction: IoT-Blockchain Architecture for Local Peer-to-Peer Energy Trading in a Microgrid. Sustainability, 15.","DOI":"10.3390\/su151713203"},{"key":"ref_50","doi-asserted-by":"crossref","first-page":"122107","DOI":"10.1016\/j.apenergy.2023.122107","article-title":"Blockchain-enabled peer-to-peer energy trading and resilient control of microgrids","volume":"353","author":"Veerasamy","year":"2024","journal-title":"Appl. Energy"},{"key":"ref_51","doi-asserted-by":"crossref","unstructured":"Mahmoud, M., and Slama, S.B. (2023). Peer-to-Peer Energy Trading Case Study Using an AI-Powered Community Energy Management System. Appl. Sci., 13.","DOI":"10.3390\/app13137838"},{"key":"ref_52","doi-asserted-by":"crossref","first-page":"102360","DOI":"10.1016\/j.scs.2020.102360","article-title":"Blockchain for smart cities: A review of architectures, integration trends and future research directions","volume":"61","author":"Bhushan","year":"2020","journal-title":"Sustain. Cities Soc."},{"key":"ref_53","doi-asserted-by":"crossref","first-page":"3915","DOI":"10.1007\/s10586-022-03625-z","article-title":"A survey of blockchain applications in sustainable and smart cities","volume":"25","author":"Makani","year":"2022","journal-title":"Clust. Comput."},{"key":"ref_54","doi-asserted-by":"crossref","unstructured":"Choudhury, T., Khanna, A., Toe, T.T., Khurana, M., and Nhu, N.G. (2021). Blockchain Applications in IoT Ecosystem, Springer.","DOI":"10.1007\/978-3-030-65691-1"},{"key":"ref_55","doi-asserted-by":"crossref","first-page":"104697","DOI":"10.1016\/j.scs.2023.104697","article-title":"Blockchain applications in sustainable smart cities","volume":"97","author":"Ullah","year":"2023","journal-title":"Sustain. Cities Soc."},{"key":"ref_56","doi-asserted-by":"crossref","first-page":"108854","DOI":"10.1016\/j.cie.2022.108854","article-title":"Blockchain applications for secured and resilient supply chains: A systematic literature review and future research agenda","volume":"175","author":"Singh","year":"2023","journal-title":"Comput. Ind. Eng."},{"key":"ref_57","doi-asserted-by":"crossref","unstructured":"Khanna, A., and Maheshwari, P. (2023). Blockchain-Powered NFTs: A Paradigm Shift in Carbon Credit Transactions for Traceability, Transparency, and Accountability. European, Mediterranean, and Middle Eastern Conference on Information Systems, Springer Nature.","DOI":"10.1007\/978-3-031-56478-9_6"},{"key":"ref_58","doi-asserted-by":"crossref","unstructured":"Choudhury, T., Khanna, A., Chatterjee, P., Um, J.S., and Bhattacharya, A. (2023). Blockchain Applications in Healthcare: Innovations and Practices, John Wiley & Sons.","DOI":"10.1002\/9781394229512"},{"key":"ref_59","doi-asserted-by":"crossref","first-page":"105438","DOI":"10.1016\/j.scs.2024.105438","article-title":"Blockchain for urban governance: Enhancing trust in smart city systems with advanced techniques","volume":"108","author":"Zhu","year":"2024","journal-title":"Sustain. Cities Soc."},{"key":"ref_60","doi-asserted-by":"crossref","unstructured":"Gnanamalar, R.H., and Bagyam, J.E.A. (2023). Eco-friendly blockchain for smart cities. Green Blockchain Technology for Sustainable Smart Cities, Elsevier.","DOI":"10.1016\/B978-0-323-95407-5.00015-3"}],"container-title":["Computation"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2079-3197\/13\/11\/256\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,11,5]],"date-time":"2025-11-05T05:22:50Z","timestamp":1762320170000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2079-3197\/13\/11\/256"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,11,2]]},"references-count":60,"journal-issue":{"issue":"11","published-online":{"date-parts":[[2025,11]]}},"alternative-id":["computation13110256"],"URL":"https:\/\/doi.org\/10.3390\/computation13110256","relation":{},"ISSN":["2079-3197"],"issn-type":[{"value":"2079-3197","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,11,2]]}}}