Advancing Generative Artificial Intelligence and Large Language Models for Demand Side Management with Internet of Electric Vehicles
Hanwen Zhang, Ruichen Zhang, Wei Zhang, Dusit Niyato, Yonggang Wen, Chunyan Miao
TL;DR
The paper addresses automated demand-side management in IoT-enabled microgrids by integrating retrieval-augmented LLMs to translate natural-language objectives into MILP formulations and solver-ready code. The proposed three-stage workflow—Automatic Optimization Formulation, Automatic Code Generation, and Automatic Customizing Optimization—uses a RAG knowledge base to supply both mathematical models and executable templates, enabling non-experts to tailor DSM schedules. Empirical results show improved problem formulation over baseline prompts and a notable cost reduction in EV charging scheduling, demonstrating the approach's practicality for energy efficiency and adaptive DSM. This work highlights the potential of GenAI to augment EMS in real-time, configurable, and scalable ways, reducing engineering effort while maintaining optimization correctness.
Abstract
The energy optimization and demand side management (DSM) of Internet of Things (IoT)-enabled microgrids are being transformed by generative artificial intelligence, such as large language models (LLMs). This paper explores the integration of LLMs into energy management, and emphasizes their roles in automating the optimization of DSM strategies with Internet of Electric Vehicles (IoEV) as a representative example of the Internet of Vehicles (IoV). We investigate challenges and solutions associated with DSM and explore the new opportunities presented by leveraging LLMs. Then, we propose an innovative solution that enhances LLMs with retrieval-augmented generation for automatic problem formulation, code generation, and customizing optimization. The results demonstrate the effectiveness of our proposed solution in charging scheduling and optimization for electric vehicles, and highlight our solution's significant advancements in energy efficiency and user adaptability. This work shows LLMs' potential in energy optimization of the IoT-enabled microgrids and promotes intelligent DSM solutions.
