AGM Center
AboutResearchLearningGallery

AGM Center

Advancing power systems for a sustainable future through research, tools, and collaboration.

About

  • Who We Are
  • Our Team
  • What We Do
  • Get Involved

Documentation

  • Introduction
  • KPG TestGrid
  • KPG Run
  • KPG View

Our Location

Korea Institute of Energy Technology (KENTECH)
200 Hyeoksin-ro, Naju-si, Jeollanam-do
Korea 58330

Office Hours
Monโ€“Fri 09:00โ€“18:00 KST

ยฉ 2026 AGM CENTER. All rights reserved

Back to Research
Peer-to-Peer TradingDistribution NetworksNetwork Cost AllocationGrid-Aware Markets

Causality-Based Cost Allocation for Peer-to-Peer Energy Trading

December 10, 20257 MinAGM Center Research Team

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

Causality-Based Cost Allocation for Peer-to-Peer Energy Trading

๐Ÿค Making P2P Energy Trading Fair and Grid-Friendly

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.


โšก Why Existing Approaches Fall Short

1) Universal cost allocation

Everyone pays the same network fee per MWh.

Issue:
Harmless peers subsidize harmful ones โ†’ inefficient and unfair.


2) Distance or zone-based fees

Uses electrical distance or zone grouping.

Issue:
Distance โ‰  true physical impact. Not aligned with real-time grid behavior.


3) Hard constraints

Block trades that violate limits.

Issue:
Too restrictive. Prevents beneficial trades and lowers total welfare.


๐Ÿง  Key Idea: Charge Peers According to Causality

Instead of spreading costs evenly, the proposed method:

  1. Observes each peerโ€™s trade.

  2. Measures how much that specific trade changes:

    • system losses

    • line flows

    • voltage levels

  3. Charges cost only to the peers who caused those changes.

  4. 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.


๐Ÿ—บ Test System: IEEE 33-Bus Distribution Feeder

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


๐Ÿ“Š Scenario 1 โ€” Only Loss Cost Considered

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

What this means:

  • 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.


๐Ÿ“ˆ Scenario 2 โ€” Voltage, Congestion, and Loss

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

Interpretation:

  • 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.


๐Ÿ”ง Example: Who Actually Pays More?

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.


๐Ÿ’ก Why This Matters

โœ” Fair

Peers pay based on actual impact, not arbitrary fees.

โœ” Efficient

Trading adjusts intelligently rather than uniformly shrinking.

โœ” Improves social welfare

Because good trades are encouraged while harmful ones diminish.

โœ” Maintains grid security

Voltage & congestion remain within limits โ€” without banning trades.

โœ” Better than universal cost allocation

Universal is simple but inefficient; causality-based is both principled and practical.


๐Ÿ“˜ Reference

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]