A clear explanation of how causality-based pricing makes P2P trading fairer and more grid-friendly in distribution systems.


Figure 1. Peer-to-peer energy trading. (Image source: Pulse Energy; modified by Gemini)
Peer-to-peer (P2P) energy trading lets small consumers and generators exchange electricity directly.
It promotes community energy use and renewable adoption โ but it also interacts with the physical grid.
The problem?
Some trades stress the grid far more than others โ but current pricing treats everyone the same.
This can cause:
voltage violations
line congestion
increased system losses
unfair cost allocation
This work introduces a causality-based cost allocation method that charges peers based on the actual impact their trades impose on the distribution network.
Everyone pays the same network fee per MWh.
Issue:
Harmless peers subsidize harmful ones โ inefficient and unfair.
Uses electrical distance or zone grouping.
Issue:
Distance โ true physical impact. Not aligned with real-time grid behavior.
Block trades that violate limits.
Issue:
Too restrictive. Prevents beneficial trades and lowers total welfare.
Instead of spreading costs evenly, the proposed method:
Observes each peerโs trade.
Measures how much that specific trade changes:
system losses
line flows
voltage levels
Charges cost only to the peers who caused those changes.
Peers adjust their trading decisions accordingly.
Result:
Grid-friendly trades are encouraged; harmful trades become more expensive.
No banning trades. No punishing everyone.
Just meaningful, physics-based price signals.
What โcausalityโ means here:
the network charge is based on the marginal physical impact of each peerโs net injection or withdrawal on losses, voltages, and line loading โ not on distance, zones, or averaging.
Practically, this impact is computed using power-flow sensitivities, i.e., how a small change in a peerโs net trade affects the grid around the current operating point.

Figure 2. Test feeder with 7 sellers and 17 buyers spread across the network.
This radial feeder highlights classic distribution-level challenges:
weak voltages
long feeders
congestion near the substation
Policy | Social Welfare | System Loss | Trading Volume |
|---|---|---|---|
Base | 581.25 | 0.39 | 4.67 |
Universal | 580.60 | 0.36 | 4.50 |
Causality-Based | 592.59 | 0.28 | 4.53 |
Universal policy lowers everyoneโs trades โ welfare barely improves.
Causality-based charges reduce loss-causing trades only.
Total system loss down 22.8%, welfare up highest of all policies.
Policy | Voltage Security | Trading Volume | Social Welfare |
|---|---|---|---|
Base | Violations | 4.67 | 581.25 |
Universal | Secure (over-conservative) | 1.76 | 351.14 |
Causality-Based | Secure & efficient | 2.97 | 498.35 |
Universal overreacts โ everyone trades less โ grid underutilized.
This happens because a uniform fee penalizes all trades equally, even those that barely affect the binding constraints.
Causality-based pricing identifies who causes violations:
High-impact peers reduce trades.
Low-impact peers trade more.
Grid becomes secure without sacrificing welfare.
Intuition example (one line bottleneck):
If a line is close to its limit, a peer located electrically โbehindโ that line can noticeably increase line loading with additional trading โ and therefore pays a higher congestion-related charge.
Meanwhile, a peer whose trade mostly circulates locally (small change in voltages and flows) pays close to zero, even if the traded energy (MWh) is similar.
This is true cost causation, not approximation.
Peers pay based on actual impact, not arbitrary fees.
Trading adjusts intelligently rather than uniformly shrinking.
Because good trades are encouraged while harmful ones diminish.
Voltage & congestion remain within limits โ without banning trades.
Universal is simple but inefficient; causality-based is both principled and practical.
Kim, H. J., Song, Y. H., & Kim, J. โCausality-based cost allocation for peer-to-peer energy trading in distribution system.โ Electric Power Systems Research, 2024.
[link]