Harnessing Implicit Cooperation: A Multi-Agent Reinforcement Learning Approach Towards Decentralized Local Energy Markets
Organizations: Department of Mechanical Engineering, Universidad de los Andes, 111711, Bogotá D.C., Colombia · Department of Industrial Engineering, Universidad de los Andes, 111711, Bogotá D.C., Colombia
Abstract
This paper proposes implicit cooperation, a framework enabling decentralized agents to approximate optimal coordination in local energy markets without explicit peer-to-peer communication. We formulate the problem as a decentralized partially observable Markov decision problem that is solved through a multi-agent reinforcement learning task in which agents use stigmergic signals (key performance indicators at the system level) to infer and react to global states. Through a 3x3 factorial design on an IEEE 34-node topology, we evaluated three training paradigms (CTCE, CTDE, DTDE) and three algorithms (PPO, APPO, SAC). Results identify APPO-DTDE as the optimal configuration, achieving a coordination score of 91.7% relative to the theoretical centralized benchmark (CTCE). However, a critical trade-off emerges between efficiency and stability: while the centralized benchmark maximizes allocative efficiency with a peer-to-peer trade ratio of 0.6, the fully decentralized approach (DTDE) demonstrates superior physical stability. Specifically, DTDE reduces the variance of grid balance by 31% compared to hybrid architectures, establishing a highly predictable, import-biased load profile that simplifies grid regulation. Furthermore, topological analysis reveals emergent spatial clustering, where decentralized agents self-organize into stable trading communities to minimize congestion penalties. While SAC excelled in hybrid settings, it failed in decentralized environments due to entropy-driven instability. This research proves that stigmergic signaling provides sufficient context for complex grid coordination, offering a robust, privacy-preserving alternative to expensive centralized communication infrastructure.
Figures & tables
| Paradigm | Controller | Coordination Signal | Key Advantage | Key Disadvantage | Scalability | Resilience |
|---|---|---|---|---|---|---|
| Centralized control | Single central controller | Direct command and control signals | Global optimization, high controllability | Single point of failure, high computational burden | Low | Low |
| Decentralized control | Individual agents | Local measurements (voltage, frequency) | No single point of failure, plug-and-play capability | Suboptimal global outcomes, system imbalance | High | High |
| Transactive energy | Individual agents | Economic signals (prices, bids, asks) | Fosters prosumer autonomy, economic efficiency | Communication infrastructure, potential for market power abuse | High | High |
| Feature | CTCE | CTDE | DTDE | Ref |
| Architecture | 1-to-N | N-to-N (centralized critic) | N-to-N (independent) | [ 85 , 74 , 38 ] |
| Information (Training) | Global state | Global state (centralized critic) | Local observations | [ 117 , 18 ] |
| Information (Execution) | Global state | Local observations | Local observations | [ 18 ] |
| Coordination mechanism | Centralized optimizer | Centralized critic | Independent learners | [ 117 , 18 ] |
| Strength | Optimality | Performance | Scalability | [ 117 , 18 ] |
| Weakness | Curse of dimensionality | Curse of dimensionality | Non-stationarity | [ 83 , 74 , 38 ] |
| Feature | Optimization Models | Game Theoretic Models | MARL |
|---|---|---|---|
| Objective | System-optimal (e.g., global welfare) | Nash equilibrium | Adaptive profit maximization |
| Uncertainty handling | Robust or stochastic | Deterministic | Belief state (experience-based) |
| Market dynamics | Static with perfect competition | Static equilibrium | Non-stationary and emergent |
| Scalability | High (linear/convex) | Low (combinatorial) | High (observations and reward shaping) |
| Limitation | Requires perfect foresight | Computational intractability | Non-stationarity and training stability |
| Feature | PPO / APPO | SAC | Ref |
|---|---|---|---|
| Policy type | On-policy | Off-policy | [ 102 , 44 ] |
| Key feature | Clip function | Max entropy | [ 66 ] |
| Trade-off | Stability / Sample efficiency | Sample efficiency / Stale data | - |
| Sample efficiency | Low (discards data after update) | High (re-uses data via replay buffer) | [ 102 ] |
| Update mechanism | Clipped surrogate objective | Actor-critic with entropy regularization | [ 102 ] |
| Data sensitivity | Robust to stale data | Prone to stale data issues | [ 107 ] |
| Market Signals | Agent-Specific Signals | Implicit Cooperation KPIs | |||||
|---|---|---|---|---|---|---|---|
| 1. Current step 2. Time of day 3. Clearing price 4. Clearing volume 5. Grid balance 6. DSO buy volume 7. DSO sell volume 8. DSO total volume | 9. P2P volume 10. DSO trade ratio 11. Net grid import 12. DSO buy price 13. DSO sell price 14. Mean local price 15. Price spread 16. Local price advantage | 1. Energy generation 2. Energy demand 3. Cumulative demand satisfied 4. Cumulative demand deferred 5. Remaining demand 6. Cummulative supply satisfied 7. Cummulative supply deferred 8. Remaining supply | 9. Mean profit 10. Reputation 11. Battery energy level 12. Battery SoC 13. Battery available charge 14. Battery available discharge 15. Battery cummulative charge 16. Battery cummulative discharge | 1. Social welfare 2. Market liquidity 3. Mean bid-ask spread 4. Price volatility 5. Supply-demand imbalance | 6. Grid congestion 7. Coordination score 8. Coordination convergence 9. DER self-consumption 10. Flexibility utilization | ||
| Agent | IEEE-34 Node | Capacity (kW) | Battery (kW) | Battery Ratio | Description |
|---|---|---|---|---|---|
| Small Industry | 840 | 180.0 | 108.0 | 0.6 | Continuous demand with morning peak; relies on stored energy |
| Community Hospital | 890 | 170.0 | 85.0 | 0.5 | High morning demand peak, transitioning to afternoon generation surplus |
| University Campus | 844 | 140.0 | 98.0 | 0.7 | Bi-modal demand (morning/afternoon peaks); moderate midday generation |
| Shopping Mall | 816 | 130.0 | 78.0 | 0.6 | High afternoon/evening demand; generation sink for midday surplus |
| Residential Complex | 800 | 80.0 | 64.0 | 0.8 | Dual-peak demand (morning/evening); reliant on storage for evening ramp |
| Apartment Building | 830 | 75.0 | 52.5 | 0.7 | Similar to residential complex; moderate generation capability |
| Parameter | Value | Description |
|---|---|---|
| Max steps | 24 | Episode length representing a full 24-hour cycle (1 hour/step) |
| Grid topology | IEEE 34-Bus | Standard distribution network topology |
| Grid capacity | 1800 kW | Total grid capacity |
| Seed | 42 | Fixed random seed for reproducibility |
| Price range | 20 - 600.0 | Allowable bid range, designed to be wider than DSO prices |
| Quantity range | 0 - 180 kWh | Allowable trade size per order |
| Hyperparameter | PPO | APPO | SAC |
|---|---|---|---|
| Learning rate | 1e-5 | 1e-5 | Actor: 1e-5, Critic: 1e-5 |
| Discount factor ( ) | 0.99 | 0.99 | 0.99 |
| Entropy coefficient | 0.01 | 0.01 | Dynamic |
| Gradient clip | 0.5 | 0.5 | 0.5 |
| Clip Param | 0.2 | N/A | N/A |
| GAE / V-trace | GAE | V-trace | - |
| CTCE | CTDE | DTDE | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PPO | APPO | SAC | PPO | APPO | SAC | PPO | APPO | SAC | |||
| Min | 2702,2 | 2641,2 | 2560,7 | 2618,9 | 2791 | 2730 | 989,7 | 991,6 | -669,8 | ||
| Mean | 3099,4 | 3143,9 | 3139,8 | 3004,8 | 3096,5 | 3158,2 | 2742,5 | 2998 | 54,5 | ||
| Std | 44,8 | 97,9 | 93,4 | 49,1 | 64,6 | 42,5 | 431,5 | 431,4 | 215,8 | ||
| Max | 3123,3 | 3272,1 | 3189,7 | 3074,1 | 3181,4 | 3166,1 | 2935,2 | 3243,5 | 708,4 | ||
| CTCE | CTDE | DTDE | |||||||||
| PPO | APPO | SAC | PPO | APPO | SAC | PPO | APPO | SAC | |||
| Learning Rate | |||||||||||
| Entropy Coeff | 5.72 | 0.01 | - | 0.04 | 0.01 | - | 0.24 | 0.02 | - | ||
Multi-Agent Coordination
Multi-agent coordination studies how autonomous agents align actions, share information, and divide work to achieve individual or collective goals.
See all 511 papers