Residential energy communities with distributed photovoltaic generation and battery storage require intelligent coordination to maximize local energy utilization while ensuring grid compliance. This paper proposes a centralized Model Predictive Control (MPC) framework for peer-to-peer (P2P) energy trading implemented in Python, co-simulated with OpenDSS for power flow validation. The method uses 24-hour prediction horizons and convex optimization to prioritize local energy exchange over grid transactions while coordinating battery storage systems. Validation on a modified IEEE 13-node feeder with four residential buildings over 720 hours demonstrates substantial improvements: prosumer self-consumption increases by 32-36%, community electricity costs decrease by 13.6%, and grid imports reduce by 21.4%, while maintaining voltage compliance. These findings highlight 432.5 kWh monthly energy exchange volume, representing 16.6% of community demand, and establish economic viability through differential tariff structures that benefit both prosumers and consumers. Future work will integrate distributed MPC with energy management strategies for community-based development.
Model predictive control for peer-to-peer energy exchange in network-aware residential communities / Khorrami, S., Falvo, M.C.. - (2026), pp. 1-6. (2026 International Conference on Electrical, Computer, and Energy Technologies, ICECET 2026 Rome; Italy ) [10.1109/ICECET65726.2026.11632892].
Model predictive control for peer-to-peer energy exchange in network-aware residential communities
Saeed Khorrami
;Maria Carmen Falvo
2026
Abstract
Residential energy communities with distributed photovoltaic generation and battery storage require intelligent coordination to maximize local energy utilization while ensuring grid compliance. This paper proposes a centralized Model Predictive Control (MPC) framework for peer-to-peer (P2P) energy trading implemented in Python, co-simulated with OpenDSS for power flow validation. The method uses 24-hour prediction horizons and convex optimization to prioritize local energy exchange over grid transactions while coordinating battery storage systems. Validation on a modified IEEE 13-node feeder with four residential buildings over 720 hours demonstrates substantial improvements: prosumer self-consumption increases by 32-36%, community electricity costs decrease by 13.6%, and grid imports reduce by 21.4%, while maintaining voltage compliance. These findings highlight 432.5 kWh monthly energy exchange volume, representing 16.6% of community demand, and establish economic viability through differential tariff structures that benefit both prosumers and consumers. Future work will integrate distributed MPC with energy management strategies for community-based development.| File | Dimensione | Formato | |
|---|---|---|---|
|
Khorrami_Model_2026.pdf
solo gestori archivio
Tipologia:
Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza:
Tutti i diritti riservati (All rights reserved)
Dimensione
697.51 kB
Formato
Adobe PDF
|
697.51 kB | Adobe PDF | Contatta l'autore |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


