## 1 Introduction
### Related Works and Contributions  
In [19], the authors state that the distribution network connects many small and medium-sized distributed energy resources. These include distributed generators (such as rooftop solar panels and wind turbines), energy storage, and regulated loads (such as electric vehicles, heat pumps, homes, and buildings). Due to the involvement of many market players who can sell or buy energy more flexibly and efficiently, the conventional business model, in which residential customers or prosumers deal only with energy utilities, is undergoing a substantial transformation. In [20], the authors proposed a new economic approach, often known as the \"sharing economy\", which uses today's information and communication technologies to promote the collaborative exchange of \"underutilized assets\" between \"peers\". In addition, the'sharing economy' is characterized by the cooperative use of otherwise underutilized resources. Other peer-to-peer (P2P) asset exchanges, such as Airbnb for peer-to-peer (P2P) house sharing and Task Rabbit for peer-to-peer matching, are not identical to peer-to-peer (P2P) energy trading. It faces significant challenges that distinguish it from other options. In [21], the authors argue that if an energy control system is considered a resource for peer-to-peer (P2P) trading, it is necessary to consider the adequacy of individual demand and the balance of the overall energy system concerning supply capacity. In [22], the authors conclude that the power grid needs to be reliable, secure, and well-balanced over multiple time scales to accommodate the myriad of potential energy inputs and outputs. In [23], the authors mention that to promote peer-to-peer (P2P) energy exchange on a larger and more comprehensive scale, it is essential to coordinate decentralized markets and facilitate the exchange of peak flexibility between different energy sectors and multi-energy communities. In [24], the authors report that several participants include peers and national aggregators in peer-to-peer energy exchanges. In [25], the authors state that the community manager, the system operator, and the market operator are aggregators in a community market. Indeed, the authors mention that only the market operator is considered an aggregator in the hybrid market. In [26], the authors implement a peer-to-peer (P2P) energy exchange framework that requires creating complex energy services and the flexibility of a more comprehensive energy supply chain. This is why it is necessary to study the interoperability of the different markets and the difficulties in promoting P2P energy trading within the currency markets. This should enable trading partners to participate in the new P2P market and work with existing market players to establish P2P, wholesale and retail markets. In [27], the authors argue that establishing a P2P energy market requires additional elements to be put in place due to these significant barriers. These include increased engagement of market players at different levels in digitalization attackers and collaborations on social and scientific elements. Both of these elements are essential. Despite this, the number of prosumers in local communities continues to grow. In [28], the authors state that prosumers involved in peer-to-peer energy trading in a microgrid have individual goals. In [29], the authors state that achieving energy balance in a microgrid is difficult because renewable energy production can be challenging to predict. It is challenging to match the amount of energy to the available energy requirements. In [30], the authors state that finding common ground between the many stakeholders who offset energy costs and distribute benefits can take time and effort. In [31], the authors state that the energy trading technique must consider that the benefits are shared equitably. In the context of microgrids, the issue of energy distribution must be seen as an integral part of the powerful P2P exchange system.