<p>The accelerating penetration of distributed photovoltaic (PV) generation and battery storage at the residential edge of the distribution network is converting passive consumers into active <i>prosumers</i>, exposing the limits of the unidirectional buy-from-utility / sell-to-utility settlement model. Peer-to-peer (P2P) energy trading promises to internalize the bid-ask spread of time-of-use (ToU) tariffs within local communities, but its decentralized, non-stationary, and partially observable nature makes hand-engineered control strategies brittle. This manuscript presents <i>GridTradeRL</i>, a multi-agent deep reinforcement learning framework for decentralized P2P energy trading in smart-grid prosumer networks. We formulate the trading problem as a partially observable stochastic game over a heterogeneous community of <i>N</i> prosumers and solve it with a multi-agent extension of Twin-Delayed Deep Deterministic Policy Gradient (MA-TD3) under the centralized-training, decentralized-execution (CTDE) paradigm. Each agent learns an independent actor that selects a continuous battery-dispatch and bid-aggressiveness action from local observations alone, while training is coordinated by a centralized twin critic with full access to the joint observation-action space. The local market clears via a uniform-price double auction at each hour. On a simulated 8-prosumer community with time-of-use tariffs, the trained policy reduces net daily community electricity expenditure by 42.7% versus a no-trade baseline and by 24.2% versus a rule-based heuristic, while routing 18.3% of all energy through bilateral peer-to-peer trades. Against learned baselines, it improves on independent DDPG by 29.7% and on MADDPG by 10.4%, and it attains performance within 11.5% of a perfect-foresight model-predictive-control oracle without requiring forecasts or disclosure of private prosumer data. We further establish convergence stability over a 2000-episode, five-seed training protocol; characterize sensitivity to the reward-shaping coefficients, robustness to observational noise and communication dropout, and scalability to communities of up to 64 prosumers; and prove that the midpoint clearing rule distributes surplus equitably (Gini coefficient 0.039). A fast 350-episode configuration that attains 97.8% of converged performance completes in 224 s on a single CPU core in pure NumPy without any GPU acceleration, demonstrating the suitability of the framework for nightly retraining on edge gateways. The full source code, trained policies, and an interactive simulation dashboard accompany this manuscript.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

GridTradeRL: a multi-agent deep reinforcement learning framework for decentralized peer-to-peer energy trading in smart grid prosumer networks

  • Md. Irfan Hossain,
  • Md Shahedul Islam,
  • Hridya Sudeepon Roy,
  • Sagor Ahmed,
  • Abdullah Rakib Akand,
  • Sayed Esmat Mirja,
  • Mithila Arman,
  • Samuel Kim,
  • Haewon Byeon

摘要

The accelerating penetration of distributed photovoltaic (PV) generation and battery storage at the residential edge of the distribution network is converting passive consumers into active prosumers, exposing the limits of the unidirectional buy-from-utility / sell-to-utility settlement model. Peer-to-peer (P2P) energy trading promises to internalize the bid-ask spread of time-of-use (ToU) tariffs within local communities, but its decentralized, non-stationary, and partially observable nature makes hand-engineered control strategies brittle. This manuscript presents GridTradeRL, a multi-agent deep reinforcement learning framework for decentralized P2P energy trading in smart-grid prosumer networks. We formulate the trading problem as a partially observable stochastic game over a heterogeneous community of N prosumers and solve it with a multi-agent extension of Twin-Delayed Deep Deterministic Policy Gradient (MA-TD3) under the centralized-training, decentralized-execution (CTDE) paradigm. Each agent learns an independent actor that selects a continuous battery-dispatch and bid-aggressiveness action from local observations alone, while training is coordinated by a centralized twin critic with full access to the joint observation-action space. The local market clears via a uniform-price double auction at each hour. On a simulated 8-prosumer community with time-of-use tariffs, the trained policy reduces net daily community electricity expenditure by 42.7% versus a no-trade baseline and by 24.2% versus a rule-based heuristic, while routing 18.3% of all energy through bilateral peer-to-peer trades. Against learned baselines, it improves on independent DDPG by 29.7% and on MADDPG by 10.4%, and it attains performance within 11.5% of a perfect-foresight model-predictive-control oracle without requiring forecasts or disclosure of private prosumer data. We further establish convergence stability over a 2000-episode, five-seed training protocol; characterize sensitivity to the reward-shaping coefficients, robustness to observational noise and communication dropout, and scalability to communities of up to 64 prosumers; and prove that the midpoint clearing rule distributes surplus equitably (Gini coefficient 0.039). A fast 350-episode configuration that attains 97.8% of converged performance completes in 224 s on a single CPU core in pure NumPy without any GPU acceleration, demonstrating the suitability of the framework for nightly retraining on edge gateways. The full source code, trained policies, and an interactive simulation dashboard accompany this manuscript.