  While peer-to-peer energy trading has the potential to harness the
capabilities of small-scale energy resources, a peer-matching process often
overlooks power grid conditions, yielding increased losses, line congestion,
and voltage problems. This imposes a great challenge on the distribution system
operator (DSO), which can eventually limit peer-to-peer energy trading. To
align the peer-matching process with the physical grid conditions, this paper
proposes a cost causality-based network cost allocation method and the
grid-aware peer-matching process. Building on the cost causality principle, the
proposed model utilizes the network cost (loss, congestion, and voltage) as a
signal to encourage peers to adjust their preferences ensuring that matches are
more in line with grid conditions, leading to enhanced social welfare.
Additionally, this paper presents mathematical proof showing the superiority of
the causality-based cost allocation over existing methods.
