Multi-P2P Energy Trading in Energy Communities: A MILP Formulation Beyond One-to-One Exchanges
Year: 2026
Type: article
Abstract: Peer-to-peer (P2P) energy trading can improve the local use of distributed generation within energy communities. However, several operational formulations restrict each prosumer to a single trading counterpart per time period, limiting local energy allocation when multiple buyers and sellers are simultaneously active. This work proposes a mixed-integer linear programming (MILP) framework for multi-P2P energy trading in which each participant can interact simultaneously with multiple counterparties while preserving the traceability and consistency of bilateral transactions. The formulation jointly coordinates grid exchanges, bilateral P2P transactions, and battery operation, incorporates minimum transaction thresholds, and applies an ex-post settlement procedure to determine individual prosumer bills. The proposed formulation is compared with a conventional one-to-one P2P benchmark under identical operating conditions in two energy-community configurations. In the five-member community, multi-P2P trading reduces the collective net cost by 14.69%, decreases grid imports and exports by 19.78% and 10.77%, respectively, and increases P2P energy exchanges by 20.71%. In the twenty-member community, the collective net cost decreases by 2.21%, P2P energy increases by 10.11%, and active bilateral transactions increase by 70.43%, with up to eight simultaneous trading partners per prosumer. Sensitivity and seasonal assessments further show that the benefits depend on the transaction threshold and operating conditions. Overall, relaxing the single-counterparty restriction provides greater flexibility for local energy allocation and can improve the aggregate economic performance of energy communities.
Source: Applied Sciences
DOI: 10.3390/app162311614
Institution: Universidad de Sevilla
Language: English
Topic: Smart Grid Energy Management
Subfield: Electrical and Electronic Engineering
Field: Engineering
Domain: Physical Sciences
Open Access status: gold
Estimated APC paid: $2,896
Funder: Universidad de Sevilla
OpenAlex ID: W7238875025
