Artigo Acesso aberto Revisado por pares

Peer‐to‐peer decentralized energy trading in industrial town considering central shared energy storage using alternating direction method of multipliers algorithm

2022; Institution of Engineering and Technology; Volume: 16; Issue: 12 Linguagem: Inglês

10.1049/rpg2.12490

ISSN

1752-1424

Autores

Ali Aminlou, Behnam Mohammadi‐Ivatloo, Kazem Zare, Reza Razzaghi, Amjad Anvari‐Moghaddam,

Tópico(s)

Electric Vehicles and Infrastructure

Resumo

IET Renewable Power GenerationVolume 16, Issue 12 p. 2579-2589 ORIGINAL RESEARCHOpen Access Peer-to-peer decentralized energy trading in industrial town considering central shared energy storage using alternating direction method of multipliers algorithm Ali Aminlou, Ali Aminlou orcid.org/0000-0001-8437-6539 Faculty of Electrical and Computer Engineering, University of Tabriz, Tabriz, IranSearch for more papers by this authorBehnam Mohammadi-Ivatloo, Corresponding Author Behnam Mohammadi-Ivatloo Mohammadi@ieee.org orcid.org/0000-0002-0255-8353 Faculty of Electrical and Computer Engineering, University of Tabriz, Tabriz, Iran Correspondence Behnam Mohammadi-Ivatloo, Faculty of Electrical and Computer Engineering, University of Tabriz, Tabriz 5166616471, Iran. Email: Mohammadi@ieee.orgSearch for more papers by this authorKazem Zare, Kazem Zare orcid.org/0000-0003-4729-1741 Faculty of Electrical and Computer Engineering, University of Tabriz, Tabriz, IranSearch for more papers by this authorReza Razzaghi, Reza Razzaghi Department of Electrical and Computer Systems Engineering, Monash University, Melbourne, AustraliaSearch for more papers by this authorAmjad Anvari-Moghaddam, Amjad Anvari-Moghaddam Department of Energy (AAU Energy), Aalborg University, Aalborg, DenmarkSearch for more papers by this author Ali Aminlou, Ali Aminlou orcid.org/0000-0001-8437-6539 Faculty of Electrical and Computer Engineering, University of Tabriz, Tabriz, IranSearch for more papers by this authorBehnam Mohammadi-Ivatloo, Corresponding Author Behnam Mohammadi-Ivatloo Mohammadi@ieee.org orcid.org/0000-0002-0255-8353 Faculty of Electrical and Computer Engineering, University of Tabriz, Tabriz, Iran Correspondence Behnam Mohammadi-Ivatloo, Faculty of Electrical and Computer Engineering, University of Tabriz, Tabriz 5166616471, Iran. Email: Mohammadi@ieee.orgSearch for more papers by this authorKazem Zare, Kazem Zare orcid.org/0000-0003-4729-1741 Faculty of Electrical and Computer Engineering, University of Tabriz, Tabriz, IranSearch for more papers by this authorReza Razzaghi, Reza Razzaghi Department of Electrical and Computer Systems Engineering, Monash University, Melbourne, AustraliaSearch for more papers by this authorAmjad Anvari-Moghaddam, Amjad Anvari-Moghaddam Department of Energy (AAU Energy), Aalborg University, Aalborg, DenmarkSearch for more papers by this author First published: 16 May 2022 https://doi.org/10.1049/rpg2.12490Citations: 2AboutSectionsPDF ToolsRequest permissionExport citationAdd to favoritesTrack citation ShareShare Give accessShare full text accessShare full-text accessPlease review our Terms and Conditions of Use and check box below to share full-text version of article.I have read and accept the Wiley Online Library Terms and Conditions of UseShareable LinkUse the link below to share a full-text version of this article with your friends and colleagues. Learn more.Copy URL Share a linkShare onFacebookTwitterLinkedInRedditWechat Abstract Distributed energy resources are being progressively deployed by industry. The penetration of distributed generation in low voltage (LV) networks can position traditional consumers as market participants. With the improvements in communication networks and the introduction of new energy markets, these prosumers are incentivized to sell their excess production to other industries by participating in peer-to-peer (P2P) energy markets. This market paves the way for developing new technologies such as a shared battery energy storage system (SBESS). In this paper, a central storage unit rents its capacity for the prosumers to reduce the overall peak-load of the microgrid. Each user requests the required SBESS capacity and calculates the best charging and discharging times to reduce their cost. To this end, this paper organized a P2P energy trading paradigm with the presence of SBESS. The optimization problem was simulated and solved using the alternating direction method of multipliers (ADMM) algorithm. Results demonstrate how combining features of P2P energy trading and SBESS can save up to 29% for the industrial town. 1 INTRODUCTION Conventional power systems have undergone fundamental changes mainly driven by the penetration of new technologies such as distributed energy resources (DERs) and energy storage systems (ESS) [1]. In modern power systems, photovoltaics (PV) energy is one of the most low-cost energy resources among various types of DERs. It is generally perceived that PVs will become the most economical form of electric energy across the world [2, 3]. Furthermore, some government supporting programs make a suitable opportunity for the industrial and residential units to install PV systems. With the presence of this local generation, new markets are emerging. Consumers with PV generation become a prosumer that can be both a consumer and a producer. Hence, these prosumers can sell their surplus production to the upstream grid or to other units. Subsequently, the conventional market should be upgraded and organized to manage this kind of energy transaction. It is expected that the smart home market size will reach $53.45 billion by 2022 [4]. A conventional energy market is a platform that allows consumers, on the one side, and producers, on the other side, to trade electricity. In this traditional market, energy flows from large producers to micro and macro consumers [5]. However, in the new energy market with prosumers, energy flow can change frequently. Advances in the communication technologies between prosumers have enabled peer-to-peer (P2P) energy trading among interconnected peers [6]. In this paper, units that participate in a P2P market are named peers. The feasibility of employing P2P trading in a microgrid empowers the peers to increase income for DER producers and reduce the cost for consumers due to the difference between the selling and buying price of the grid and the P2P market [7]. In the P2P market, similar to other market architecture, several types of energy technologies such as rooftop PV and battery energy storage system (BESS) can be employed [8]. Furthermore, peers can participate in demand response (DR) programs which are an effective tool to limit electricity consumption at peak times [9]. One of the most effective technologies to facilitate energy trading in a local energy market is the ESS. The presence of ESS allows prosumers to take full advantage of renewable energy resources (RESs) [10]. Also, using the ESS in industrial premises helps to reduce the peak demand and participate in the DR programs. And this possibility reduces the electrical bill of the customers [11]. Batteries are one of the best storage devices in terms of cost and safety in industrial environments. But, besides their advantages, all kinds of ESS, including batteries, can generate noise and heat [12], which can limit their application in particular industry sites. As a solution, using a central shared ESS has been proposed recently. A central shared battery energy storage (SBESS) is a relatively large facility that contains a considerable number of batteries that are integrated into a specific location. This equipment is established with an initial investment of microgrid. The initial investment returns with the revenue that is received by capacity allocation. SBESS can allocate its capacity for participants in the P2P market by receiving a rental fee. This integrated facility allows the customers to remove the small-size storage from their sites. These integrated facilities can reduce the overall cost of maintenance and investment [12-15]. The authors in [16] prove that employing shared energy storage can save the participant cost up to 13.82% rather than using individual energy storage. This facility is located next to industrial towns and rents its capacity to industrial units under conditions that will be examined in this paper. P2P energy trading schemes at the distribution level offer promising potential to reduce transmission losses, improve system reliability, decrease the backup electric infrastructure and reduce the overall cost of peers. Also, in this concept, DERs can perfectly be restrained while reducing the total peak demand. But individual peer's behaviour affected the performance of the P2P market and increased the complexity. Accordingly, many optimization frameworks and market architectures have emerged to manage energy transactions of multiple peers [17, 18]. In this paper, a decentralized architecture is proposed for P2P trading. In a decentralized architecture, peers can take control actions to manage their storage, energy production and consumption. However, in centralized architectures, some entities can take direct control of some appliances [19]. The P2P market description that is proposed in this paper is based on the cooperative behaviour of peers within a microgrid. All peers cooperate with each other without any competitive strategy for the goal of minimizing the costs of the microgrid [20]. Nowadays, new communication technologies like blockchain and distributed ledger make decentralized approaches available, transparent, and secure [21]. Due to the consensus mechanism in blockchain, the honesty of the P2P transactions data record can be ensured without a third party [22]. But this innovation brings new challenges to the power system to solve the optimization problem. Recent studies have employed several approaches to solve a P2P problem. These algorithms should be flexible enough to solve a decentralized P2P market problem. The game theory approach is one of the methods that used in several papers for modelling the P2P market. For example, [23-25] employed the framework of a cooperative game to obtain energy transactions in a centralized optimization problem. Furthermore, the authors in [26] presented a model of cooperative game to maximize social welfare. In this study, prosumers are considered as followers, and the retailer is placed as a leader in a bi-level framework. In [27], the upstream grid controls the peak demand period price under the Stackelberg game to reduce the total demand of the participants. In [28], a stochastic day-ahead scheduling model is proposed with full clean energy generation to maximize economic benefits. In [29], an information gap decision theory (IGDT)/stochastic hybrid technique is employed to model the uncertainties. This paper proposed a model of the transactive energy market with 100% RESs. The authors of [30, 31] addressed the continuous double auction (CDA) as a market mechanism to enable interactions among the P2P energy trading. There are several ways to encourage peers to cooperate with the upstream network and participate in programs like peak-shifting. For example, [32] employed a hierarchical incentive mechanism to encourage peers to follow the smart contracts. In [33], the authors used parametric optimization in cooperative multi-microgrids to consider the willingness of other peers for trading in the P2P market. In [34], the authors presented a competitive decentralized P2P market in the presence of prosumers and retailers. This study employed a primal-dual sub-gradient method to clear the market. Furthermore, the multi-objective framework can be employed for minimizing the overall cost in the P2P market [35]. But, in the multi-objective framework, the system operator has direct control over the peers and decides how to participate in the P2P market. This paper employed the ADMM algorithm for solving P2P optimization problems in a microgrid of interconnected peers. Recently, the ADMM algorithm has been extensively used to solve distributed optimization problems [36-39]. ADMM algorithm devised as an iterative method in which, large global problem decomposed to the sub-problems and solution find with coordination of local sub-problems. It is a form of a decomposition-coordination procedure in which the coordination and iterations of sub-problem provide a global optimal solution [40]. As described above, a centralized approach requires the peer's information to solve the P2P market. However, employing the ADMM algorithm limits the information exchange between peers. Hence, the energy exchange information is enough for updating the algorithm multipliers [41, 42]. Furthermore, in a centralized market, the power system (leader) decides on a price of energy [27], but in a decentralized market, peers solve a separate optimization problem for obtaining their own energy management pattern. Therefore, in decentralized market peers decide on the energy selling price in the P2P market. The recent studies in this matter prove the effectiveness of the ADMM algorithm in P2P markets. For example, [43] presented a cooperative P2P market framework by using the ADMM algorithm, and this paper also considered the costs of the reactive power for participants. In the following, [44] analyzed the strategic bidding of market participants in ADMM-based P2P market-clearing to maximize social welfare. Also, [45] used the ADMM algorithm for the dynamic pricing strategy in the P2P market that, in this case, no central coordinator exists. The authors in [46] employed the ADMM algorithm in day-ahead scheduling of multi-energy microgrids under a robust optimization model. This paper also used power-to-hydrogen technology to refuel fuel cell vehicles. This paper proposes an interconnected network of peers in a large industrial town that are participating in a P2P market. Every peer can participate in this P2P market and sell surplus energy to other peers or meet the demand by buying energy from other peers. It should be noted that peers can exchange energy with the upstream grid despite participating in the P2P market. Various units with different load profiles like industrial and office buildings can participate in the P2P market. Peers can have PV systems and can shift a part of their load from peak to off-peak times to save money or sell it in the P2P market. Also, this paper focuses on peers transactions and does not consider the role of network constraints in P2P energy trading. The ADMM algorithm is compatible with the proposed model of the P2P market. In this market, participants decide and act individually. In the ADMM algorithm, decomposed sub-problems are solved individually. Also, this algorithm needs a limited amount of information about other sub-problems, which can preserve the participants’ privacy. Furthermore, the dual variable in the algorithm can be interpreted as the price of energy in each iteration. The main contributions of this paper are as follows: An ADMM algorithm is employed in which each peer locally solves a sub-problem and optimizes its own energy trades. Then, peers iteratively exchange a limited amount of information with each other to cooperate in cost minimization of the whole microgrid. SBESS facilities are considered for industrial towns to maximize the utilization of RESs. The capacity allocation problem has been solved with the ADMM algorithm. In this method, data exchange between peers is minimum. In each iteration, the storage allocation price is calculated by the storage manager and the results enounce to the peers that are participating in the market. Shiftable loads are enabled in this market to give more flexibility to the peers to participate in the market. The organization of this paper is the following: ADMM-based optimal scheduling of P2P energy trading and SBESS model with related objective function (OF) and constraints are illustrated in Section 2. Section 3 is dedicated to demonstrating the ability of the proposed method and simulation results. Finally, this paper's conclusion is brought in Section 4. 2 PROBLEM FORMULATION Figure 1 illustrates the conceptual scheme of the P2P market studied in this paper. In this model, if two prosumers are inter-connected with the energy and communication network infrastructure, they can make P2P energy exchange between each other. By growing the number of participants, the P2P energy trading market will emerge. Most of the time, the P2P selling price is lower than the upstream grid price. Therefore, peers can save money by joining the P2P market and buying energy from other customers. Producers can share their excess energy in the P2P market and earn extra revenue because the purchase price in this market is often higher than the upstream network price. FIGURE 1Open in figure viewerPowerPoint The scheme of interconnected distributed P2P energy trading network in an industrial town with the presence of PV and SBESS. P2P, peer-to-peer; PV, photovoltaics; SBESS, shared battery energy storage system In this work, all customers are equipped with bidirectional meters that measure the energy exchange between a peer and the upstream grid or other peers. Some of the customers are equipped with a rooftop solar system. Moreover, in this industrial town, SBESS are installed to increase the utilization of renewable generation and to help prosumers with shifting their loads. This paper develops an optimization model for P2P energy trading by employing the ADMM algorithm. The OF of this paper is to minimize the overall cost of an industrial town by finding the optimal energy trading decision. This paper considers the selling and purchase prices of the upstream grid are predetermined and prices scheduled based on the time of use (TOU). The billing process for every individual customer can be explained as follows. Billing of each customer is calculated individually at every time interval, in such a way that the customer is responsible for the scheduling of their own account. Every peer, while trying to reduce the total cost of microgrid, also consider their own cost and decide to meet the demand from which kind of several energy sources. Every peer in every time period has complete freedom to participate in the P2P market. The ADMM algorithm and its decomposability let to solve the optimization problem individually for each peer. Therefore, each peer can decide based on the condition, which consists of price, load, and PV generation, to participate in the market or not. Also, they decide about charging and discharging the ESS that is allocated from the shared energy storage. Finally, every peer shares the energy exchange information to update the multiplier of the ADMM algorithm. This study considers T = { 1 , 2 , … , t end } $T = \{ 1,2, \ldots ,{t_{{\rm{end}}}}\} $ the set of time intervals with each duration of Δ t = 1 h $\Delta \,t = 1\,h$ and N = { 1 , 2 , … , n end } $N = \{ 1,2, \ldots ,{n_{{\rm{end}}}}\} $ the set of P2P market participants. As described above, the decentralized procedure employed the ADMM algorithm to solve the distributed problem. This algorithm iteratively solves the optimization problem. After the problem is solved at each iteration, the energy exchange between the peers is considered a parameter. In the following, this energy exchange report is dispensed into the P2P market. Then, the data is used for updating the multiplier of the ADMM algorithm in the next iteration. 2.1 Objective function O b j = min ∑ t ∈ T ∑ i ∈ N P B t E B _ G r i d i t − P S t E S _ G r i d i t \begin{equation}Obj = \min \sum_{t \in T} {\sum_{i \in N} {\left(P_B^tE_{B\_Grid{\rm{ i}}}^t - P_S^tE_{S\_Grid{\rm{ i}}}^t\right)} } \end{equation} (1) The OF (1) minimizes the energy exchange cost between the microgrid and upstream grid. So, all peers participating in the P2P market are cooperating to achieve this goal. 2.2 Constraints E Buy _ P 2 P i , j t = E Sell _ P 2 P j , i t ∀ t ∈ T , i ≠ j , i , j ∈ N \begin{equation}E_{{\rm{Buy\_P2P }}i,j}^t = E_{{\rm{Sell\_P2P }}j,i}^t\quad\forall t \in T, i \ne j,i,j \in N\end{equation} (2) E DER i t + E B _ Grid i t + ∑ j ∈ N j ≠ i E Buy _ P 2 P i , j t + E SBES _ Dch i t + E SL i t = E Load i t + E S _ Grid i t + ∑ j ∈ N j ≠ i E Sell _ P 2 P i , j t + E SBES _ Ch i t ∀ t ∈ T , i ∈ N \begin{eqnarray} && E_{{\rm{DER }}i}^t + E_{{\rm{B\_Grid }}i}^t + \sum_{ j \in N\hfill\atop j \ne i\hfill} {E_{{\rm{Buy\_P2P }}i,j}^t} + E_{{\rm{SBES\_Dch }}i}^t + E_{{\rm{SL }}i}^t\nonumber\\ &&\quad =\, E_{{\rm{Load }}i}^t + E_{{\rm{S\_Grid }}i}^t + \sum_{ j \in N\hfill\atop j \ne i\hfill} {E_{{\rm{Sell\_P2P }}i,j}^t}\nonumber\\ &&\qquad +\, E_{{\rm{SBES\_Ch }}i}^t\quad \forall t \in T{\rm{,}}\;i \in N \end{eqnarray} (3) E B _ Grid i t ≥ 0 , E S _ Grid i t ≥ 0 ∀ t ∈ T , i ∈ N \begin{equation}E_{{\rm{B\_Grid }}i}^t \ge {\rm{0 , }}E_{{\rm{S\_Grid }}i}^t \ge {\rm{0 }}\quad\forall t \in T, i \in N\end{equation} (4) E Buy _ P 2 P i , j t ≥ 0 , E Sell _ P 2 P i , j t ≥ 0 ∀ t ∈ T , i ≠ j , i , j ∈ N \begin{equation}E_{{\rm{Buy\_P2P }}i,j}^t \ge 0, E_{{\rm{Sell\_P2P }}i,j}^t \ge 0\quad\forall t \in T, i \ne j, i,j \in N\end{equation} (5) E B _ Grid i t + ∑ j ∈ N j ≠ i E Buy _ P 2 P i , j t ≤ u B i t E Buy i max ∀ t ∈ T , i ∈ N \begin{equation}E_{{\rm{B\_Grid }}i}^t + \sum_{ j \in N\hfill\atop j \ne i\hfill} {E_{{\rm{Buy\_P2P }}i,j}^t} \le u_{{\rm{B }}i}^tE_{{\rm{Buy }}i}^{\max }\quad\forall t \in T, i \in N\end{equation} (6) E S _ Grid i t + ∑ j ∈ N j ≠ i E Sell _ P 2 P i , j t ≤ u S i t E Sell i max ∀ t ∈ T , i ∈ N \begin{equation}E_{{\rm{S\_Grid }}i}^t + \sum_{ j \in N\hfill\atop j \ne i\hfill} {E_{{\rm{Sell\_P2P }}i,j}^t} \le u_{{\rm{S }}i}^tE_{{\rm{Sell }}i}^{\max }\quad\forall t \in T, i \in N\end{equation} (7) u S i t + u B i t ≤ 1 u S i t , u B i t ∈ 0 , 1 ∀ t ∈ T , i ∈ N \begin{equation}u_{{\rm{S }}i}^t + u_{{\rm{B }}i}^t \le 1u_{{\rm{S }}i}^t,u_{{\rm{B }}i}^t \in \left\{ {0,1} \right\}\quad\forall t \in T,i \in N\end{equation} (8) S O C i t = S O C i t − 1 + η Ch E SBES _ Ch i t − 1 η Dch E SBES _ Dch i t ∀ t ∈ T , i ∈ N \begin{equation} \def\eqcellsep{&}\begin{array}{l} SOC_i^t = SOC_i^{t - 1} + {\eta _{{\rm{Ch}}}}E_{{\rm{SBES\_Ch }}i}^t - \left( {\frac{1}{{{\eta _{{\rm{Dch}}}}}}} \right)E_{{\rm{SBES\_Dch }}i}^t\\ \qquad\forall t \in T,i \in N \end{array} \end{equation} (9) S O C i Min ≤ S O C i t ≤ S O C i req ∀ t ∈ T , i ∈ N \begin{equation}SOC_{i}^{{\rm{Min}}} \le SOC_{i}^t \le SOC_{i}^{{\rm{req}}}\quad\forall t \in T, i \in N\end{equation} (10) ∑ i ∈ N S O C i req ≤ S O C SES Max \begin{equation}\sum_{i \in N} {SOC_{i}^{{\rm{req}}} \le SOC_{{\rm{SES}}}^{{\rm{Max}}}} \end{equation} (11) S O C SBES t = S O C SBES i n i if t = 0 \begin{equation}SOC_{{\rm{ SBES}}}^t = SOC_{{\rm{SBES}}}^{ini}{\rm{ if }}\quad t = 0\end{equation} (12) 0 ≤ E SBES _ Ch i t ≤ I Ch i t E SBES _ Ch i Max ∀ t ∈ T , i ∈ N \begin{equation}0 \le E_{{\rm{SBES\_Ch }}i}^t \le I_{{\rm{Ch }}i}^tE_{{\rm{SBES\_Ch }}i}^{{\rm{Max}}}\quad\forall t \in T, i \in N\end{equation} (13) 0 ≤ E SBES _ Dch i t ≤ I Dch i t E SBES _ Dch i Max ∀ t ∈ T , i ∈ N \begin{equation}0 \le E_{{\rm{SBES\_Dch }}i}^t \le I_{{\rm{Dch }}i}^tE_{{\rm{SBES\_Dch }}i}^{{\rm{Max}}}\quad\forall t \in T, i \in N\end{equation} (14) I Dch i t + I ch i t ≤ 1 I Dch i t , I ch i t ∈ 0 , 1 ∀ t ∈ T , i ∈ N j \begin{equation}I_{{\rm{Dch }}i}^t{\rm{ + }}I_{{\rm{ch }}i}^t \le {\rm{1 }}I_{{\rm{Dch }}i}^t{\rm{,}}I_{{\rm{ch }}i}^t \in \left\{ {0,1} \right\}\quad\forall t \in T, i \in Nj\end{equation} (15) 0 ≤ E SL i t ≤ E SL i Min ∀ t ∈ T , i ∈ N \begin{equation}0 \le E_{{\rm{SL }}i}^t \le E_{{\rm{SL }}i}^{{\rm{Min}}}\quad\forall t \in T, i \in N\end{equation} (16) ∑ t ∈ T E SL i t = 0 ∀ i ∈ N \begin{equation}\sum_{t \in T} {E_{{\rm{SL }}i}^t = 0}\quad \forall i \in N\end{equation} (17) Constraint (2) shows the balance between the energy that the customer j sold to i and the energy that customer i bought from. In fact, this constraint is an energy transaction bridge that enables the P2P energy trading between the peers. Constraints (3)–(5) show that energy trading variables are non-negative and ensure the energy balance for the ith prosumer at each time interval. Constraints (6)–(8) are utilized to limit energy transactions and prevent arbitrage. So, peers cannot benefit from buying and selling energy at the same time. The SBESS model is described by (9)–(15). In this model, central SBESS facilities do not participate in the market. They just sell the capacity to the prosumers. The central SBESS decides about the capacity price. The customer's sent capacity demand to the SBESS facilities depends on the price. After the customers have purchased their capacity, in other words, it can be said that the customers have installed a virtual capacity in their unit. Customers can send their charging and discharging profiles to central storage. The stored virtual energy at each time interval is shown in (9) and it is obtained by applying changes due to charging and discharging to the stored energy at the previous time interval. It should be noted that every peer's charging and discharging profile is different from others, and this kind of energy storage sharing can help to reduce the congestion in the distribution grid. In the following, the constraint (10) limits the SOC of virtual capacity between the requested capacity and the minimum limit of SOC. Constraint (11) ensures that the sum of all requested capacities does not exceed the installed central range. Also constraints (12)–(15) specify the initial SOC of central shared storage and prevent simultaneous charge and discharge by each peer. As shown in (16)–(17), peers can participate in DR programs and transfer their specific load like dishwashers in the scheduling period to reduce the energy cost. This paper assumes that customers can shift 30% of the forecasted load from the peak time to off-peak. 2.3 ADMM implementation on P2P energy trading The ADMM algorithm is a distributed approach to solve decentralized optimization iteratively. At any iteration, energy transaction data in the previous iteration is shared between the peers. This data includes P2P trading and upstream grid transactions. We consider the calculated energy transaction data in each iteration as a parameter that is not included in decision variables and they are signified by a hat in the formulation. The aforementioned data updates the ADMM multipliers. By employing the ADMM algorithm on this model, the OF (1) is decomposed by the augmented Lagrangian methods for each prosumer i. The augmented Lagrangian includes the OF (1) and constraint (2) that it makes peers interdependent. As shown in (18), the augmented OF for each customer i at each iteration v is obtained by adding the squared norm of the aforementioned interconnecting constraint multiplied by the penalty parameter ρP2P. Obj i v = min ∑ t ∈ T P B t E B _ Grid i v , t − P S t E S _ Grid i v , t + ∑ j ∈ N j ≠ i λ j , i v , t E Buy _ P 2 P i , j v , t − λ i , j v , t ∑ j ∈ N j ≠ i E Sell _ P 2 P i , j v , t + ρ P 2 P , i v , t 2 ∑ j ∈ N j ≠ i E Buy _ P 2 P i , j t − E ̂ Sell _ P 2 P j , i t 2 + ∑ j ∈ N j ≠ i E Sell _ P 2 P i , j t − E ̂ Buy _ P 2 P j , i t 2 ∀ i ∈ N \begin{eqnarray} \def\eqcellsep{&}\begin{array}{l} {\rm{Obj}}_i^v = \min \sum_{t \in T} {\left[ \def\eqcellsep{&}\begin{array}{l} P_{\rm{B}}^tE_{{\rm{B\_Grid }}i}^{v,t} - P_{\rm{S}}^tE_{{\rm{S\_Grid }}i}^{v,t}\\[15pt] +\,\displaystyle\sum_{\mathop {j \in N}\limits_{j \ne i} } {\lambda _{j,i}^{v,t}E_{{\rm{Buy\_P2P }}i,j}^{v,t}} - \lambda _{i,j}^{v,t}\displaystyle\sum_{\mathop {j \in N}\limits_{j \ne i} } {E_{{\rm{Sell\_P2P }}i,j}^{v,t}} \\[15pt] +\, \dfrac{{\rho _{{\rm{P2P}},i}^{v,t}}}{2}\left[ {\displaystyle\sum_{\mathop {j \in N}\limits_{j \ne i} } {{{\left( {E_{{\rm{Buy\_P2P }}i,j}^t - \widehat E_{{\rm{Sell\_P2P }}j,i}^t} \right)}^2} } } \right.\\[15pt] \left. +\, {\displaystyle\sum_{\mathop {j \in N}\limits_{j \ne i} } {{{\left( {E_{{\rm{Sell\_P2P }}i,j}^t - \widehat E_{{\rm{Buy\_P2P }}j,i}^t} \right)}^2}} } \right] \end{array} \right]} \\[15pt] \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \forall i \in N \end{array} \nonumber\\\end{eqnarray} (18) The second part of the decomposed OF is named the penalty value. As the process converges, the penalty value decreases to zero, so the final OF for the entire system is expressed as follows: Obj = ∑ i ∈ N Obj i v \begin{equation}{\rm{Obj = }}\sum_{i \in N} {{\rm{Obj}}_i^v} \end{equation} (19) λ i , j v + 1 , t = λ i , j v , t + ρ P 2 P , i v , t ∑ j ∈ N j ≠ i E Buy _ P 2 P j , i v , t − ∑ j ∈ N j ≠ i E Sell _ P 2 P i , j v , t ∀ t ∈ T , i ∈ N \begin{eqnarray} \def\eqcellsep{&}\begin{array}{l} \lambda _{i,j}^{v + 1,t} = \lambda _{i,j}^{v,t} + \rho _{{\rm{P2P}},i}^{v,t}\left[ {\displaystyle\sum_{ j \in N\hfill\atop j \ne i\hfill} {E_{{\rm{Buy\_P2P }}j,i}^{v,t} - \displaystyle\sum_{ j \in N\hfill\atop j \ne i\hfill} {E_{{\rm{Sell\_P2P }}i,j}^{v,t}} } } \right]\\[20pt] \hspace*{83pt}\forall t \in T, i \in N \end{array} \nonumber\\ \end{eqnarray} (20) Constraint (3)–(17) that is described above is involved in the distributed optimization problem. Consequently, all peers solve their optimization problem and they get the outcomes, then they update the ADMM multiplier via (20). So, in the incoming iteration, the optimization problem is solved with new ADMM multipliers. To show the convergen

Referência(s)