LLM-Enhanced Multi-Agent Reinforcement Learning with Expert Workflow for Real-Time P2P Energy Trading

Lou, Chengwei, Jin, Zekai, Tang, Wei, Geng, Guangfei, Yang, Jin, Zhang, Lu

–arXiv.org Artificial Intelligence 

Abstract--Real-time peer-to-peer (P2P) electricity markets dy-substantially from the scheduled profiles due to inherent uncernamically adapt to fluctuations in renewable energy and varia-tainties. Consequently, real-time mechanisms are indispensable tions in demand, maximizing economic benefits through instantaneous price responses while enhancing grid flexibility. However, for rapidly rescheduling trades to restore power balance and scaling expert guidance for massive personalized prosumers posesenabling distributed resources to provide immediate balancing critical challenges, including diverse decision-making demandsservices [4]. At present, electricity markets such as Nord Pool and a lack of customized modeling frameworks. This paperin the Nordic region, PJM and ERCOT in the United States, proposes an integrated large language model-multi-agent reinforcement learning (LLM-MARL) framework for real-time P2P and Australia's National Electricity Market mainly operate energy trading to address challenges such as the limited technical under a two-stage framework with separate settlement in the capability of prosumers, the lack of expert experience, andday-ahead and real-time markets. As the real-time market is security issues of distribution networks. LLMs are introduced asa critical component of electricity market operations, it is experts to generate personalized strategies, guiding MARL undernecessary to operate P2P market mechanisms in a real-time the centralized training with decentralized execution (CTDE) paradigm through imitation. To handle the scalability issues operational mode as well [5]. In response to this requirement, recent studies have foinherent in large-scale P2P networks, a differential attentioncused on developing real-time P2P energy trading. Specifi-based critic network is introduced to efficiently extract key cally, studies such as [6] and [7] employed Lyapunov opti-interaction features and enhance convergence.