## 2 Related Work  
Prosumer-based energy sharing and management methods, as shown in the literature, are mainly focused on studying prosumer behavior as well as building smart energy markets and prosumer communities. [PERSON] et al. [PERSON] et al. (2013) conducted a survey which described the general feeling and awareness about the benefits and challenges associated with interaction of prosumers with other grid players. This survey demonstrated the willingness of the prosumers to discuss and coordinate with other prosumers and form prosumer groups. In addition, it was shown that prosumers were willing to communicate with the grid and to be part of efforts directed to achieve green energy, which, is very encouraging for the research community. Game theory is a promising optimization method relevant to an environment involving multiple competing players (users, prosumers etc.). [PERSON] et al. [PERSON] et al. (2014) present a game-theoretic mechanism for managing the interaction of various energy market players including prosumers. A game-theory based framework is proposed and the performance is evaluated using numerical methods. The references in this work provide various other examples of game-theory based prosumer management techniques. Multi-agent system approach provides flexibility in scenarios requiring distributed management. [PERSON] and [PERSON] and [PERSON] (2015) propose a multi-agent system architecture for prosumer management. The dependence of various prosumers on the level of integration and automation, based on existing information and communication systems, is identified. A decision support mechanism makes this approach beneficial from the market success viewpoint. Cost optimization is an integral part of any energy management system. [PERSON] et al. [PERSON] et al. (2016) classify various prosumer operational modes and propose different optimization strategies. A comparison with pure consumer and pure producer model is also presented. [PERSON] et al. [PERSON] et al. (2017) present an energy management system (EMS)-based prosumer management idea. The EMS schedules energy flow for clusters of participating prosumers both in islanded and cooperative mode. The smart energy market can play an important role in optimizing prosumer energy transactions and creating balance in demand and supply. For instance, [PERSON] (2018) presents an energy market-based architecture that provides DSM involving domestic and commercial prosumers. The distributed approach in the architecture provides intelligent participation in energy management by all the stakeholders. Another example is shown by [PERSON] et al. [PERSON] et al. (2019) where a multi-stage demand-supply balancing mechanism optimizes the combinations of available generators and demands. The mechanism allows distributed generators (including those on prosumer premise) to be incorporated in overall supply in order to achieve the desired balance. Figure 1: Three major roles of a prosumer. Another realistic approach is to organize the prosumers into different communities. [PERSON] et al. (2016) present a prosumer energy management platform based on dynamic community creation and organization. Aggregator companies are at the center of this idea. While such a dynamic system results in efficient energy management, individual prosumers have to depend heavily on the aggregator companies. [PERSON] et al. (2016), present an approach which manages prosumers in a smart grid environment, which deals with the prosumers management based on goal oriented prosumer communities. An architecture has been proposed using three processes: community formation, its growth, and overall management. [PERSON] et al. (2016), describe four challenges related to goal oriented prosumer community groups for smart grid. The challenges, along with the proposed strategies are given in Table 1.  
Any energy management system will suffer if the consumers/prosumers behavior is not taken into account. [PERSON] et al.