## Appendix A
### Flowchart for Systematic Literature Review
(2022) [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON], U.S.; [PERSON] A Cross-Layer Trust-Based Consensus Protocol for Peer-to-Peer Energy Trading Using Fuzzy Logic. _IEEE Internet Things J._**2022**, \(9\), 14779-14789. [CrossRef]
* [PERSON] et al. (2023) [PERSON]; [PERSON]; [PERSON] Distributed Topology Optimization for Agent-Based Peer-to-Peer Energy Market. In Proceedings of the 2023 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm), Glasgow, UK, 31 October-3 November 2023; IEEE: Glasgow, UK, 2023; pp. 1-6. [CrossRef]
* [PERSON] et al. (2020) [PERSON]; [PERSON]; [PERSON] Multi-Agent Microgrid Management System for Single-Board Computers: A Case Study on Peer-to-Peer Energy Trading. _IEEE Access_**2020**, \(8\), 64169-64183. [CrossRef]
* [PERSON] et al. (2022) [PERSON]; [PERSON]; [PERSON]; [PERSON] A Fully Distributed Privacy-Preserving Energy Management System for Networked Microgrid Cluster Based on Homomorphic Encryption. _IEEE Trans. Smart Grid_**2024**, _15_, 1735-1748. [CrossRef]
* [PERSON] et al. (2020) [PERSON]; [PERSON]; [PERSON] Multi-Agent Energy Management of Smart Islands Using Primal-Dual Method of Multipliers. _Energy_**2020**, _208_, 118306. [CrossRef]
* [PERSON] et al. (2022) [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON] [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; et al. Enabling Machine Learning-Ready HPC Ensembles with Merlin. _Future Gener. Comput. Syst._**2022**, _131_, 255-268. [CrossRef]
* [PERSON] (2024) [PERSON]; [PERSON] Real-Time Multi-Agent Based Power Management of Virtually Integrated Microgrids Comprising Prosumers of Plug-in Electric Vehicles and Renewable Energy Sources. _IEEE Access_**2024**, _12_, 161842-161865. [CrossRef]
* [PERSON] et al. (2019) [PERSON]; [PERSON]; [PERSON] An Electric Power Trading Framework for Smart Residential Community in Smart Cities. _IET Smart Cities_**2019**, \(1\), 40-51. [CrossRef]
* [PERSON] et al. (2023) [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON] Mean-Field Multi-Agent Reinforcement Learning for Peer-to-Peer Multi-Energy Trading. _IEEE Trans. Power Syst._**2023**, _38_, 4853-4866. [CrossRef]
* [PERSON] and [PERSON] (2022) [PERSON]; [PERSON] Hierarchical Energy Management in Islanded Networked Microgrids. _IEEE Access_**2022**, _10_, 8121-8132. [CrossRef]
* [PERSON] et al. (2021) [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON] An Optimal Scheduling Strategy for Peer-to-Peer Trading in Interconnected Microgrids Based on RO and Nash Bargaining. _Appl. Energy_**2021**, _295_, 117024. [CrossRef]
* [PERSON] et al. (2024) [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON] Customized Decentralized Autonomous Organization Based Optimal Energy Management for Smart Buildings. _Appl. Energy_**2024**, _376_, 124223. [CrossRef]
* [PERSON] et al. (2022) [PERSON]; [PERSON]; [PERSON]; [PERSON] Coordination of Commercial Prosumers with Distributed Demand-Side Flexibility in Energy Sharing and Management System. _Energy_**2022**, _248_, 123634. [CrossRef]
* [PERSON] et al. (2020) [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON] Secondary Control for Storage Power Converters in Isolated Nanogrids to Allow Peer-to-Peer Power Sharing. _Electronics_**2020**, \(9\), 140. [CrossRef]
* [PERSON] et al. (2018) [PERSON]; [PERSON]; [PERSON]; [PERSON] TrustyFear: A Subjective Logic Trust Model for Smart City Peer-to-Peer Federated Clouds. _Wirel. Commun. Mob. Comput._**2018**, _2018_, 1073216. [CrossRef]
* [PERSON] et al. (2024) [PERSON]; [PERSON]; [PERSON]; [PERSON] Research on Blockchain-Enabled Smart Grid for Anti-Theft Electricity Securing Peer-to-Peer Transactions in Modern Grids. _Sensors_**2024**, _24_, 1668. [CrossRef]
* [PERSON] et al. (2022) [PERSON]; [PERSON]; [PERSON]; [PERSON]. Power Loss Minimization of Parallel-Connected Distributed Energy Resources in DC Microgrids Using a Distributed Gradient Algorithm-Based Hierarchical Control. _IEEE Trans. Smart Grid_**2022**, _13_, 4538-4550.