Real-time peer-to-peer (P2P) electricity markets dynamically adapt to fluctuations in renewable energy and variations in demand, maximizing economic benefits through instantaneous price responses while enhancing grid flexibility. However, scaling expert guidance for massive personalized prosumers poses critical challenges, including diverse decision-making demands and lack of customized modeling frameworks. This paper proposed an integrated large language model-multi-agent reinforcement learning (LLM-MARL) framework for real-time P2P energy trading to address challenges such as the limited technical capability of prosumers, the lack of expert experience, and security issues of distribution networks. LLMs are introduced as experts to generate personalized strategy, guiding MARL under the centralized training with decentralized execution (CTDE) paradigm through imitation learning. A differential attention-based critic network is designed to enhance convergence performance. Experimental results demonstrate that LLM generated strategies effectively substitute human experts. The proposed multi-agent imitation learning algorithms achieve significantly lower economic costs and voltage violation rates on test sets compared to baselines algorithms, while maintaining robust stability. This work provides an effective solution for real-time P2P electricity market decision-making by bridging expert knowledge with agent learning.
翻译:实时点对点(P2P)电力市场通过动态适应可再生能源波动与需求变化,借助即时价格响应最大化经济效益,同时提升电网灵活性。然而,为海量个性化产消者扩展专家指导面临关键挑战,包括多样化的决策需求及缺乏定制化建模框架。本文提出一种集成大语言模型-多智能体强化学习(LLM-MARL)框架,用于实时P2P能源交易,以应对产消者技术能力有限、专家经验缺失及配电网安全等问题。该框架引入大语言模型作为专家生成个性化策略,通过模仿学习在集中训练分散执行(CTDE)范式下指导多智能体强化学习。设计了一种基于差分注意力的评论家网络以增强收敛性能。实验结果表明,大语言模型生成的策略能有效替代人类专家。所提出的多智能体模仿学习算法在测试集上相比基线算法实现了显著更低的经济成本与电压越限率,同时保持了鲁棒的稳定性。本研究通过桥接专家知识与智能体学习,为实时P2P电力市场决策提供了有效解决方案。