Supplementary code for "Security-Constrained P2P Energy Trading Strategy via Priced-Based Regularization of ADMM in a Distribution Network"
To run this code you will need:
- [MATLAB] (tested on 2019b or later)
- MATPOWER (tested on v7.0)
- Gurobi Optimizer (tested on v6.5.0, academic license)
Run 'main.m'
ADMM_p2ptrade has been tested with MATLAB 2019b and 2020a, MATPOWER 6.0, under Windows 10.