This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

An Energy Sharing Mechanism Achieving the Same Flexibility as Centralized Dispatch

Yue Chen, Wei Wei, Han Wang, Quan Zhou, and João P. S. Catalão
Abstract

Deploying distributed renewable energy at the demand side is an important measure to implement a sustainable society. However, the massive small solar and wind generation units are beyond the control of a central operator. To encourage users to participate in energy management and reduce the dependence on dispatchable resources, a peer-to-peer energy sharing scheme is proposed which releases the flexibility at the demand side. Every user makes decision individually considering only local constraints; the microgrid operator announces the sharing prices subjective to the coupling constraints without knowing users’ local constraints. This can help protect privacy. We prove that the proposed mechanism can achieve the same disutility and flexibility as centralized dispatch, and develop an effective modified best-response based algorithm for reaching the market equilibrium. The concept of “absorbable region” is presented to measure the operating flexibility under the proposed energy sharing mechanism. A linear programming based polyhedral projection algorithm is developed to compute that region. Case studies validate the theoretical results and show that the proposed method is scalable.

Index Terms:
distributed renewable energy, uncertainty, flexibility, absorbable region, energy sharing mechanism.

Nomenclature

-A Indices, Sets, and Functions

ii\in\mathcal{I}

Consumer ii in set \mathcal{I}.

j𝒥j\in\mathcal{J}

Prosumer jj in set 𝒥\mathcal{J}.

ll\in\mathcal{L}

Line ll in set \mathcal{L}.

fk(.)f_{k}(.)

Disutility function of user k𝒥k\in\mathcal{I}\cup\mathcal{J}.

D^k\hat{D}_{k}

Local constraint for user k𝒥k\in\mathcal{I}\cup\mathcal{J}.

𝒫~\tilde{\mathcal{P}}

Coupling constraint for all users.

WcDW_{c}^{D}

Absorbable region under centralized dispatch.

WsDW_{s}^{D}

Absorbable region under energy sharing.

-B Parameters

II

Number of consumers.

JJ

Number of prosumers.

difd_{i}^{f}

Fixed demand of consumer ii\in\mathcal{I}.

djfd_{j}^{f}

Fixed demand of prosumer j𝒥j\in\mathcal{J}.

aa

Sharing market sensitivity.

πklw,πkld\pi_{kl}^{w},\pi_{kl}^{d}

Line flow distribution factors.

FlF_{l}

Power flow limit of line ll\in\mathcal{L}.

-C Decision Variables

did_{i}

Elastic demand of consumer ii\in\mathcal{I}.

djd_{j}

Elastic demand of prosumer j𝒥j\in\mathcal{J}.

wjw_{j}

Renewable output of prosumer j𝒥j\in\mathcal{J}.

pkoutp_{k}^{out}

Net demand of user k𝒥k\in\mathcal{I}\cup\mathcal{J}.

qkq_{k}

Sharing amount of user k𝒥k\in\mathcal{I}\cup\mathcal{J}.

λk\lambda_{k}

Sharing price of user k𝒥k\in\mathcal{I}\cup\mathcal{J}.

bkb_{k}

Bid of user k𝒥k\in\mathcal{I}\cup\mathcal{J}.

I Introduction

The penetration of distributed renewable generation has been growing rapidly in recent decades [1], which helps pave the way towards a green and sustainable smart grid. However, the inherent volatility and intermittency of wind and solar power also threaten the security of power system energy management [2]. How to maintain system reliability under a high share of renewable energy becomes a crucial topic. Related research can be roughly classified into two categories: one aims to come up with an optimal and reliable operating strategy given the uncertainty model of renewable output, such as samples [3] or an uncertainty set [4]. Typical techniques include stochastic optimization [3, 5], robust optimization [6, 4], and distributionally robust optimization [7, 8]. The other endeavors to quantify the system’s ability to accommodate renewable energy, by the region-based geometric method [9] or various metrics [10].

For the region-based approaches, a pioneering one is the do-not-exceed limit (DNEL) proposed in [9]. The DNEL refers to the minimum and maximum output levels of renewable energy within which the system constraints can be satisfied. The DNEL given by an optimization model maximizing the weighted total renewable output variation range is then embedded into a flexible dispatch model. Three alternative approaches were developed to derive dispatch strategies. Extensive works have been carried out to further improve the DNEL based dispatch method by taking into account historical data [11, 12], corrective topology control [13, 14], and different kinds of supporting sets [15]. Another well-known concept is the dispatchable region [16], which contains a set of renewable output scenarios under which the DC power flow model has at least one feasible solution. It was further extended to AC power flow models [17], and multi-energy systems [18].

The above works provide profound techniques for evaluating the system’s flexibility under a centralized manner. It means all generators and users are controlled by a central operator. However, with the prevalence of distributed energy resources, the number of participants increases dramatically and their locations become more dispersed. In such circumstances, the centralized approach is difficult to implement. For one reason, massive participants add up to the difficulty of data acquisition and privacy protection [19]; for example, the cost coefficients, preference, and capacity limits are known only to each user but not the operator. For another, the consumption of each user is beyond the control of a central authority.

To overcome the obstacle of centralized operation, various market mechanisms were designed to manage massive participants in a distributed manner [20, 21]. Coalitional game-based approaches were used for coordinating distributed storages [22] and microgrids [23]. A trading mechanism with Shapley value was presented in [24] and compared with three classic mechanisms, i.e., bill sharing, mid-market rate, and supply-demand ratio. This Shapley value can be estimated by a coalitional stratified random sampling method [25]. The scalability of prosumers’ cooperative game was improved by K-means clustering [26]. A Nash bargaining model was adopted in [27] to address the charge sharing among electric vehicles. For non-cooperative game-based approaches, distributed peer-to-peer energy exchange was modeled as a generalized Nash game in [28] whose set of variational equilibria coincides with the set of social optimum. A generalized demand function based energy sharing mechanism was proposed in [29] with proofs of several properties of its equilibrium. A practical bidding algorithm was given in [30]. A decentralized algorithm was proposed in [31] to provide renewable predictions to consumers in a virtual power plant (VPP) with the condition of its convergence. The above works investigate the strategic behaviors of participants and the market equilibrium, but the flexibility of a certain market mechanism in accommodating renewable energy has not been well explored yet.

To this end, this paper proposes an energy sharing scheme and quantifies its flexibility. The contributions are two-fold:

1) Mechanism Design. A mechanism that coordinates the peer-to-peer energy sharing among massive users is presented. Each user makes a decision subject to its local constraints, and the operator decides the energy sharing prices solely according to the system-wide coupling constraint without users’ private data. The sharing market can be described by a generalized Nash game. The existence of a generalized Nash equilibrium (GNE) which can achieve social optimum is proved. We also develop a modified best-response based algorithm for reaching the sharing market equilibrium with proof of its convergence.

2) Flexibility Characterization. We generalize the concept of “dispatchable region” in [16] under centralized dispatch to the “absorbable region” under any given scheme to characterize the flexibility of the proposed energy sharing mechanism geometrically. We prove that the absorbable region under energy sharing is exactly the same as that under centralized dispatch, meaning that the system’s flexibility is retained. A linear programming based polyhedral projection algorithm is developed to generate the absorbable region.

The rest of this paper is organized as follows. A peer-to-peer energy sharing mechanism is proposed in Section II and the existence and efficiency of its equilibrium are proved; A modified best-response based algorithm is developed to reach the sharing market equilibrium. To quantify the flexibility of energy sharing, the concept of “dispatchable region” under centralized operation is extended to the “absorbable region” in Section III, and a linear programming based polyhedron projection algorithm is established to compute that region. Case studies in Section IV validate the theoretical outcomes. Conclusions are drawn in Section V.

II Energy Sharing Mechanism

To deal with the practical issues in centralized operation, an energy sharing mechanism for managing massive users is developed in this section. The users in the sharing market play a generalized Nash game. We prove that the market equilibrium always exists and is socially optimal. A modified best-response based algorithm is presented to reach the market equilibrium, and its convergence condition is given.

II-A Problem description

We consider the optimal dispatch of a group of massive users, including consumers indexed by i:={1,2,,I}i\in\mathcal{I}:=\{1,2,...,I\} and prosumers indexed by j𝒥:={1,2,,J}j\in\mathcal{J}:=\{1,2,...,J\}, in a stand-alone microgrid. Consumer ii’s fixed demand is difd_{i}^{f} and its elastic demand is did_{i}. Each prosumer j𝒥j\in\mathcal{J} is equipped with renewable units whose total output is wjw_{j}. Its fixed demand is djfd_{j}^{f} and elastic demand is djd_{j}. In this paper, we consider a specific type of demand response, where users can adjust their demand to minimize their disutility as in [32, 33]. Under a centralized manner, the microgrid operator solves problem (1) to maintain power balancing with the lowest total user disutility.

mindk,k𝒥\displaystyle\mathop{\min}_{d_{k},\forall k\in\mathcal{I}\cup\mathcal{J}}~{} k𝒥fk(dk)\displaystyle\sum\nolimits_{k\in\mathcal{I}\cup\mathcal{J}}f_{k}(d_{k}) (1a)
s.t. k𝒥pkout=0\displaystyle\sum\nolimits_{k\in\mathcal{I}\cup\mathcal{J}}p_{k}^{out}=0 (1b)
pkout={dkf+dk,kdkf+dkwk,k𝒥:λk\displaystyle p_{k}^{out}=\left\{\begin{aligned} &d_{k}^{f}+d_{k},\forall k\in\mathcal{I}\\ &d_{k}^{f}+d_{k}-w_{k},\forall k\in\mathcal{J}\end{aligned}\right.:\lambda_{k} (1c)
dk𝒟^k,k𝒥\displaystyle d_{k}\in\hat{\mathcal{D}}_{k},\forall k\in\mathcal{I}\cup\mathcal{J} (1d)
pout𝒫~\displaystyle p^{out}\in\tilde{\mathcal{P}} (1e)

Here, fk(dk)f_{k}(d_{k}) characterizes the disutility of user k𝒥k\in\mathcal{I}\cup\mathcal{J} caused by adjusting its elastic demand, which is a strictly convex and twice differentiable function. Constraints (1b) and (1c) represent the power balancing between the total output of renewable units and the total demand. Constraint (1d) is the local feasible set of each user k𝒥k\in\mathcal{I}\cup\mathcal{J}, e.g., the range limit for each responsive load, represented by a closed convex set 𝒟^k\hat{\mathcal{D}}_{k}. Constraint (1e) collects the global coupling constraints, e.g., the network power flow limit, for the net demand (defined in (1c)), represented by a closed convex set 𝒫~\tilde{\mathcal{P}}.

Throughout the paper, we assume

A1. {d:s.t.(1b)(1e)are satisfied.}\{d:\mbox{s.t.}\;\eqref{eq:central.2}-\eqref{eq:central.5}\;\mbox{are satisfied.}\}\neq\emptyset.

The centralized dispatch performs well in some rural or isolated microgrids, where the operator can get all the information needed for operation. Nevertheless, with the growing scale of microgrids and power sector decentralization, the marketization of microgrid has become a prevalent trend [34]. Under this circumstance, how to protect users’ information privacy and reduce the possible market power exploitation due to information asymmetry is getting increasingly important. To be specific, in problem (1), we assume that the operator knows all related constraints, but in practice, the 𝒟^k\hat{\mathcal{D}}_{k}, the disutility function fk(.)f_{k}(.), and fixed demand dkfd_{k}^{f} are usually private information only available to user k𝒥k\in\mathcal{I}\cup\mathcal{J}. Asking for such information may jeopardize users’ privacy. The user may even have the incentive to misrepresent this information to lower its disutility. Besides, each user kk may not have access to the coupling constraint 𝒫~\tilde{\mathcal{P}}, which is known to the operator only. Thus, the centralized model (1) will encounter some challenges for microgrid management in practice, and a new approach that can perform with local information and reduce the impact of information asymmetry is desired.

Remark: We further distinguish three similar expressions related to the information structure, i.e. information privacy, information asymmetry, and information scarcity, for a better understanding. By saying information privacy, we mean that some information is available to a specific party while other parties cannot get access to it. The concept of information asymmetry stems from contract theory and economics. Though it also refers to the case where different parties have different information, it highlights more on the situation that the party with more information may misrepresent their private information to gain more profit, resulting in an imbalance market power or even a market failure [35]. For example, in order to solve problem (1), the central coordinator needs to collect information about fk(.)f_{k}(.) for all k𝒥k\in\mathcal{I}\cup\mathcal{J}, which are private to users. Therefore, the user may deliberately misreport these data so as to lower its disutility. An example of how this asymmetric information structure may influence the outcomes of the system is given in Section IV-A. Information scarcity indicates that a party does not know other parties’ strategies, the only information it has access to is the outcome [36]. In this paper, we assume that all users and the microgrid operator know others’ strategies when making their own decisions.

II-B Mechanism design

Refer to caption
Figure 1: Sketch of the energy sharing market.

To solve problem (1), the microgrid operator needs to know D^k\hat{D}_{k}, fk(dk)f_{k}(d_{k}) and dkfd_{k}^{f}, which could vary among different end-users [37]. Therefore, the centralized operation may be impracticable due to the privacy protection requirement and possible speculative behavior under information asymmetry. To overcome these problems, a peer-to-peer energy sharing mechanism is proposed: Each user k𝒥k\in\mathcal{I}\cup\mathcal{J} determines its own demand dkd_{k}, and meanwhile, can share energy qkq_{k} with other prosumers at a price λk\lambda_{k} to maintain self-power balancing. Instead of deciding on the λk\lambda_{k} or qkq_{k} directly, each user offers a bid bkb_{k} to the operator considering its local constraint D^k\hat{D}_{k}. With all bk,k𝒥b_{k},\forall k\in\mathcal{I}\cup\mathcal{J}, the microgrid operator clears the sharing market subject to the coupling constraint 𝒫~\tilde{\mathcal{P}} and determines the price λk,k𝒥\lambda_{k},\forall k\in\mathcal{I}\cup\mathcal{J}; the transactive energy qk:=aλk+bkq_{k}:=-a\lambda_{k}+b_{k} is transferred via the power network, where a>0a>0 represents the sharing market sensitivity. When qk>0q_{k}>0 user kk buys energy from the market, and when qk<0q_{k}<0 it sells. A sketch of the energy sharing market is provided in Fig.1.

Under the above settings, the mathematical model of the energy sharing scheme is presented. The optimization problem of each user k𝒥k\in\mathcal{I}\cup\mathcal{J} is:

mindk,bk\displaystyle\mathop{\min}_{d_{k},b_{k}}~{} fk(dk)+λk(aλk+bk)\displaystyle f_{k}(d_{k})+\lambda_{k}(-a\lambda_{k}+b_{k}) (2a)
s.t. {aλk+bk=dkf+dk,kwkaλk+bk=dkf+dk,k𝒥\displaystyle\left\{\begin{aligned} &-a\lambda_{k}+b_{k}=d_{k}^{f}+d_{k},~{}\forall k\in\mathcal{I}\\ &w_{k}-a\lambda_{k}+b_{k}=d_{k}^{f}+d_{k},~{}\forall k\in\mathcal{J}\end{aligned}\right. (2b)
dk𝒟^k\displaystyle d_{k}\in\hat{\mathcal{D}}_{k} (2c)

where fk(dk)f_{k}(d_{k}) is its disutility in monetary terms, and λk(aλk+bk)\lambda_{k}(-a\lambda_{k}+b_{k}) is its payment to the energy sharing market (or revenue when this term is negative). Constraint (2b) is the power balancing condition, and (2c) is the local limit. Note that when making a decision, each user k𝒥k\in\mathcal{I}\cup\mathcal{J} needs not know the coupling constraint 𝒫~\tilde{\mathcal{P}}. We will prove latter in Proposition 1 that the energy sharing prices λk,k𝒥\lambda_{k},\forall k\in\mathcal{I}\cup\mathcal{J} equal to the dual variables of (1b) at the optimal point, which is also the value of locational marginal prices [38]. When there are massive users, if we change the bkb_{k} of one user, the λk,k𝒥\lambda_{k},\forall k\in\mathcal{I}\cup\mathcal{J} obtained by solving (3) will remain nearly unchanged. Therefore, the impact of each bkb_{k} on λk\lambda_{k} is negligible, and in problem (2) λk\lambda_{k} is seen as an exogenously given constant. This is a common assumption in economics [39].

Given all users’ bids bk,k𝒥b_{k},\forall k\in\mathcal{I}\cup\mathcal{J}, the microgrid operator solves the following problem to clear the sharing market and determine the energy sharing prices.

minλk,k𝒥\displaystyle\mathop{\min}_{\lambda_{k},\forall k\in\mathcal{I}\cup\mathcal{J}}~{} k𝒥λk2\displaystyle\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}\lambda_{k}^{2} (3a)
s.t. k𝒥(aλk+bk)=0\displaystyle\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}(-a\lambda_{k}+b_{k})=0 (3b)
(aλ+b)𝒫~\displaystyle(-a\lambda+b)\in\tilde{\mathcal{P}} (3c)

First, the sharing market needs to be cleared, which means the energy bought equals the energy sold. Therefore, we have k𝒥qk=0\sum\nolimits_{k\in\mathcal{I}\cup\mathcal{J}}q_{k}=0 in condition (3b). Secondly, the transactive energy qk,k𝒥q_{k},\forall k\in\mathcal{I}\cup\mathcal{J} will be transferred via network, and should meet the network constraints (3c). The objective function aims to enhance market fairness by minimizing the variance of energy sharing prices, i.e.

k𝒥(λk1Ik𝒥λk)2=k𝒥(λk1aIk𝒥bk)2\displaystyle\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}\left(\lambda_{k}-\frac{1}{I}\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}\lambda_{k}\right)^{2}=\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}\left(\lambda_{k}-\frac{1}{aI}\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}b_{k}\right)^{2}
=\displaystyle=~{} k𝒥λk21a2I(k𝒥bk)2\displaystyle\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}\lambda_{k}^{2}-\frac{1}{a^{2}I}\left(\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}b_{k}\right)^{2} (4)

which is equivalent to minimizing (3a) since the second term in (II-B) is a constant. Moreover, if all network constraints in (3c) are not binding, it degenerates to the case without network constraints in [30] with a unified price λ\lambda given by λ=k𝒥bk/(aI)\lambda=\sum\nolimits_{k\in\mathcal{I}\cup\mathcal{J}}b_{k}/(aI). After clearing the market, the microgrid operator returns the price λk\lambda_{k} back to each user; then the user will adjust its bid according to (2) and submit it to the operator again. This happens until convergence. We will prove later in Proposition 1 that the market outcome at equilibrium satisfies all local constraints 𝒟^k\hat{\mathcal{D}}_{k} spontaneously. During the market clearing process, local constraints 𝒟^k\hat{\mathcal{D}}_{k} are not exposed to the operator, which is one advantage of our mechanism.

Thinking of the microgrid operator as a special participant, problem (2) for all kk in 𝒥\mathcal{I}\cup\mathcal{J} and (3) constitute a generalized Nash game [40]. The game consists of the following elements:

1) a set of players 𝒦\mathcal{K}, including II consumers indexed by k=1,,Ik=1,...,I, JJ prosumers indexed by k=(I+1),,(I+J)k=(I+1),...,(I+J) and a microgrid operator indexed by k=I+J+1k=I+J+1;

2) action sets 𝒳k(λk):={(dk,bk)|(2b)(2c)are satisfied.}\mathcal{X}_{k}(\lambda_{k}):=\{(d_{k},b_{k})|\;\eqref{eq:sharing-pro.2}-\eqref{eq:sharing-pro.3}\;\mbox{are satisfied}.\} for all k=1,,(I+J)k=1,...,(I+J), 𝒳I+J+1(d,b):={λ|(3b)(3c)are satisfied.}\mathcal{X}_{I+J+1}(d,b):=\{\lambda|\;\eqref{eq:sharing-oper.2}-\eqref{eq:sharing-oper.3}\;\mbox{are satisfied}.\}, and action space 𝒳=k𝒳k\mathcal{X}=\prod_{k}\mathcal{X}_{k};

3) cost functions Γk(λk):=fk(dk)+λk(aλk+bk)\Gamma_{k}(\lambda_{k}):=f_{k}(d_{k})+\lambda_{k}(-a\lambda_{k}+b_{k}) for all k=1,,(I+J)k=1,...,(I+J), and ΓI+J+1:=k𝒥λk2\Gamma_{I+J+1}:=\sum_{k\in\mathcal{I}\cup\mathcal{J}}\lambda_{k}^{2}.

The strategies of each user k𝒥k\in\mathcal{I}\cup\mathcal{J} are its elastic demand dkd_{k} and bid bkb_{k}; the strategy of the microgrid operator is the sharing prices λk,k𝒥\lambda_{k},\forall k\in\mathcal{I}\cup\mathcal{J}. When making their decisions, the operator only needs to know the bids bk,k𝒥b_{k},\forall k\in\mathcal{I}\cup\mathcal{J} submitted by users; Each user only needs to know the price λk\lambda_{k} given by the operator. Under a market environment, it is reasonable to assume that the microgrid operator can get these bids and the users can get the prices [41]. Since the transferred information, i.e. the bids bkb_{k} and prices λk\lambda_{k}, are scalar numbers instead of complex messages, the communication is efficient. For simplicity, we use 𝒢(w)={𝒦,𝒳,Γ}\mathcal{G}(w)=\{\mathcal{K},\mathcal{X},\Gamma\} to denote the sharing game in an abstract form. Then we define a generalized Nash equilibrium (GNE) as below.

Definition 1.

(Generalized Nash Equilibrium) A profile (d,b,λ)𝒳(d^{*},b^{*},\lambda^{*})\in\mathcal{X} is a generalized Nash equilibrium (GNE) of the energy sharing game 𝒢(w)={𝒦,𝒳,Γ}\mathcal{G}(w)=\{\mathcal{K},\mathcal{X},\Gamma\} if

(dk,bk)=argmindk,bk{Γk(λk),(dk,bk)𝒳k(λk)}\displaystyle(d_{k}^{*},b_{k}^{*})=\mbox{argmin}_{d_{k},b_{k}}\;\{\Gamma_{k}(\lambda_{k}^{*}),\forall(d_{k},b_{k})\in\mathcal{X}_{k}(\lambda_{k}^{*})\} (5)

holds for k=1,,(I+J)k=1,...,(I+J), and

λ=argminλ{ΓI+J+1,λ𝒳I+J+1(d,b)}\displaystyle\lambda^{*}=\mbox{argmin}_{\lambda}\;\{\Gamma_{I+J+1},\forall\lambda\in\mathcal{X}_{I+J+1}(d^{*},b^{*})\} (6)

Different from a standard Nash game, in 𝒢(w)={𝒦,𝒳,Γ}\mathcal{G}(w)=\{\mathcal{K},\mathcal{X},\Gamma\}, every player’s action set depends on other players’ strategies. For example, the action set for user k=1,,(I+J)k=1,...,(I+J), the 𝒳k\mathcal{X}_{k}, depends on the operator’s strategy λk\lambda_{k}; the action set for the operator, the 𝒳I+J+1\mathcal{X}_{I+J+1}, depends on all prosumers’ strategies bb. This complicated coupling makes it difficult to search for and analyze the equilibrium.

II-C Properties of the GNE

The proposed energy sharing market can be used in commercial and industrial microgrids [34], campus microgrids [42], and community microgrids [43]. In the following, we discuss its performance. Proposition 1 shows the existence of a market equilibrium with social optimal disutility, while the system’s flexibility will be quantified in Section III.

Proposition 1.

The game 𝒢(w)={𝒦,𝒳,Γ}\mathcal{G}(w)=\{\mathcal{K},\mathcal{X},\Gamma\} has at least one GNE. Moreover, the triplet (d,b,λ)(d^{*},b^{*},\lambda^{*}) is an GNE if and only if dd^{*} is the unique optimal solution of (1), and λk,k𝒥\lambda_{k}^{*},\forall k\in\mathcal{I}\cup\mathcal{J} equal the corresponding dual variables, with bk=dkf+dk+aλkb_{k}^{*}=d_{k}^{f}+d_{k}^{*}+a\lambda_{k}^{*} for all kk in \mathcal{I}, bk=dkf+dkwk+aλkb_{k}^{*}=d_{k}^{f}+d_{k}^{*}-w_{k}+a\lambda_{k}^{*} for all kk in 𝒥\mathcal{J}.

The proof of Proposition 1 can be found in Appendix -A. It shows the equivalence of the GNE of 𝒢\mathcal{G} and the optimal solution of problem (1), indicating that the proposed energy sharing mechanism is economically efficient: the GNE (d,b,λ)(d^{*},b^{*},\lambda^{*}) for accommodating ww has the lowest social total disutility k𝒥fk(dk)\sum_{k\in\mathcal{I}\cup\mathcal{J}}f_{k}(d_{k}^{*}).

Remark on relevant works: While both this paper and [44] provide a centralized counterpart for computing the market equilibrium, the problems considered and model configurations are different. Reference [44] investigated a case where different agents (price-setting agent, producer, and consumer) have different information on the probability distribution of renewable uncertainty. Even in the equilibrium problem (2) of [44], there is still such kind of information asymmetry. In this paper, we consider a case where different agents have access to different constraint sets. To ensure information privacy, an energy sharing mechanism is proposed, resulting in an equilibrium problem where each agent (microgrid operator or user) makes decisions according to its private information, which is known exactly to it. Reference [45] proposes a proximal minimization based algorithm to deal with the distributed constrained optimization. The constraint XiX_{i} is imposed on each local participant ii; each agent receives information only from its out-neighbours. In this paper, we take into account the coupling constraints 𝒫~\tilde{\mathcal{P}} which is imposed on all users. Besides, instead of exchanging information with neighbors, user only communicates with the microgrid operator.

Remark on possible extensions: (i) Although the above analyses are based on the example of massive users in a stand-alone microgrid, the proposed model and mechanism can be extended to various cases with the main properties remained. For example, if we allow dkd_{k} to be negative, the model can incorporate the case with electricity market. To be specific, when dk>0d_{k}>0 at the optimal point (or GNE), it means user k𝒥k\in\mathcal{I}\cup\mathcal{J} adjusts its elastic demand to dkd_{k} or when dkd_{k} exceeds the upper bound of elastic demand, it also sells electricity to the power market; when dk<0d_{k}<0 at the optimal point (or GNE), the user kk adjusts its elastic demand to zero, and besides buys dk-d_{k} from the power market. (ii) Although there might be some complex units with nonconvex constraints in the microgrid, our approach can still be applied via some convex relaxation techniques, such as those for AC power flow models [46, 47] and for storage-like devices [48].

II-D Modified best-response based algorithm

We prove that the GNE under the proposed mechanism has an appealing property. How to reach such an equilibrium is another important issue. In this paper, a modified best-response (BR) based algorithm (Algorithm 1) is developed. We choose the BR based algorithm as it is one of the most fundamental method in game theory [49]. This approach iteratively solves user’s problem (2) or the modified market clearing problem (3) with a modified objective function (7) given other players’ strategies until convergence.

Input: parameters aa, dkf,k𝒥d_{k}^{f},\forall k\in\mathcal{I}\cup\mathcal{J}, wk,k𝒥w_{k},\forall k\in\mathcal{J}, disutility functions fk(.),k𝒥f_{k}(.),\forall k\in\mathcal{I}\cup\mathcal{J}
Output: generalized Nash equilibrium (d,b,λ)(d^{*},b^{*},\lambda^{*})
1 Initialization: n=0n=0, b0=0b^{0}=0;
2 repeat
3       Operator:
4      given all bids bkn,k𝒥b_{k}^{n},\forall k\in\mathcal{I}\cup\mathcal{J}, solve problem (3) with a modified objective function:
minλk,k𝒥k𝒥λk2+k𝒥(λkλkn)2\displaystyle\mathop{\min}_{\lambda_{k},\forall k\in\mathcal{I}\cup\mathcal{J}}\sum\limits_{\forall k\in\mathcal{I}\cup\mathcal{J}}\lambda_{k}^{2}+\sum\limits_{\forall k\in\mathcal{I}\cup\mathcal{J}}(\lambda_{k}-\lambda_{k}^{n})^{2} (7)
to update the price λkn+1,k𝒥\lambda_{k}^{n+1},\forall k\in\mathcal{I}\cup\mathcal{J}.
5      for User k𝒥k\in\mathcal{I}\cup\mathcal{J} do
6             given λkn+1\lambda_{k}^{n+1}, solves problem (2) to get dkn+1d_{k}^{n+1} and bkn+1b_{k}^{n+1}.
7       end for
8      
9      Iteration: n++n++
10until |bnbn1|ϵ|b^{n}-b^{n-1}|\leq\epsilon;
Algorithm 1 Modified Best-Response

The modified objective function (7) in Algorithm 1 can smooth the fluctuation of market prices during the bidding process. The value of the market sensitivity aa will influence the performance of the modified BR based algorithm. We prove in Appendix -B that when Condition C1 holds, the bidding process converges.

C1. The Hessian Matrix of k𝒥fk(dk)12ak𝒥(dk+Dk)2\sum\nolimits_{k\in\mathcal{I}\cup\mathcal{J}}f_{k}(d_{k})-\frac{1}{2a}\sum\nolimits_{k\in\mathcal{I}\cup\mathcal{J}}(d_{k}+D_{k})^{2} is definite, where Dk=dkf,kD_{k}=d_{k}^{f},\forall k\in\mathcal{I}, Dk=dkfwk,k𝒥D_{k}=d_{k}^{f}-w_{k},\forall k\in\mathcal{J}.

Condition C1 can be equivalently written as 1/a<min{2fk/dk2,k𝒥}1/a<\mathop{\min}\{\partial^{2}f_{k}/\partial d_{k}^{2},\forall k\in\mathcal{I}\cup\mathcal{J}\}. Specially, if the disutility function is quadratic, i.e. fk(dk)=αk1(dk)2+αk2(dk)f_{k}(d_{k})=\alpha_{k}^{1}(d_{k})^{2}+\alpha_{k}^{2}(d_{k}) with given constants αk1,αk2>0\alpha_{k}^{1},\alpha_{k}^{2}>0, Condition C1 holds if and only if a>max{12αk1,k𝒥}a>\mathop{\max}\{\frac{1}{2\alpha_{k}^{1}},\forall k\in\mathcal{I}\cup\mathcal{J}\}. We try to give an economic interpretation of Condition C1 in Fig. 2. fk/dk\partial f_{k}/\partial d_{k} is the marginal disutility of user k𝒥k\in\mathcal{I}\cup\mathcal{J} and can be regarded as the supply curve of load adjustment, where 2fk/dk2\partial^{2}f_{k}/\partial d_{k}^{2} is the slope of this supply curve. The demand for load adjustment comes from the sharing market, and since qk=aλk+bkq_{k}=-a\lambda_{k}+b_{k}, the slope of demand curve is 1/a-1/a. From Fig. 2, we can find that the bidding process converges if and only if 2fk/dk2>1/a,k𝒥\partial^{2}f_{k}/\partial d_{k}^{2}>1/a,\forall k\in\mathcal{I}\cup\mathcal{J}, which is also known as the cobweb model in economics. Furthermore, When aa is small (1/a1/a is large), the sharing price responses more quickly to the changing bids, and therefore, the algorithm can reach the equilibrium faster.

Refer to caption
Figure 2: Economic intuition behind Condition C1.

III Flexibility under Energy Sharing

In this section, we show that energy sharing has the same flexibility as centralized dispatch. The “absorbable region” is proposed to characterize the flexibility.

III-A Dispatchable region of centralized operation

In the centralized operation problem (1), the renewable outputs wj,j𝒥w_{j},\forall j\in\mathcal{J} are volatile and uncertain. In real-time, the microgrid operator adjusts the dk,k𝒥d_{k},\forall k\in\mathcal{I}\cup\mathcal{J} to ensure supply-demand balance. One critical issue is the system’s ability to accommodate uncertainty, which can be quantified by the “dispatchable region” proposed in [16].

Refer to caption
Figure 3: Illustrative diagram of the dispatchable region.
Definition 2.

(Dispatchable Region [16]) The dispatchable region under centralized operation is a set of renewable outputs such that at least one feasible dispatch solution exists:

WcD={w|d:(1b)(1e)are satisfied.}W_{c}^{D}=\{w|\;\exists~{}d:\eqref{eq:central.2}-\eqref{eq:central.5}\;\mbox{are satisfied}.\}

Depicting the flexibility of a power grid under centralized operation with the dispatchable region has been widely studied [50, 51]. An illustrative diagram is given in Fig. 3. The horizontal axis of the figure is the uncertain factor ww, and the vertical axis is the elastic demand dd. The light purple region is the feasible region of problem (1) characterized by constraints (1b)-(1e). Projecting it onto the horizontal axis we can obtain a range of ww, the “dispatchable region” WcDW_{c}^{D}. For any given point w0w^{0} within WcDW_{c}^{D}, we can always find a corresponding feasible range for dd, i.e. [d0,d1][d^{0},d^{1}]. The operator minimizes the objective function k𝒥fk(dk)\sum\nolimits_{k\in\mathcal{I}\cup\mathcal{J}}f_{k}(d_{k}) over [d0,d1][d^{0},d^{1}] at the red point.

In recent years, innovative approaches emerge for running the power system in a smarter and more scalable way, which calls for methods to quantify the flexibility under those approaches. In this paper, we generalize the conventional dispatchable region to the “absorbable region” under any certain schemes for characterizing the flexibility under our energy sharing mechanism.

III-B Absorbable Region Under Energy Sharing

The dispatchable region is a useful tool in describing the system’s flexibility but limited to centralized operation. First, we raise the concept of “absorbable region” which generalizes the “dispatchable region” for flexibility evaluation.

Definition 3.

(Absorbable Region) The absorbable region of a microgrid under a certain scheme is a set of renewable outputs such that at least one feasible strategy exists under that scheme.

The “absorbable region” differs and improves from the “dispatchable region” in two ways: Firstly, it is designed for any given scheme instead of just the centralized operation. Secondly, the renewable output is “absorbable” if and only if there exists a strategy, which could not only be a dispatch order but also a market equilibrium: When the “certain scheme” refers to centralized operation, the absorbable region degenerates to the dispatchable region. If under “certain scheme” every user makes decision individually, then the renewable output is absorbable when there is a feasible self-sufficient strategy, i.e. (wkdkf)D^k,k𝒥(w_{k}-d_{k}^{f})\in\hat{D}_{k},\forall k\in\mathcal{J}. When the “certain scheme” refers to a market mechanism, “absorbable” is equivalent to the existence of a market equilibrium. Specially, the absorbable region under the proposed energy sharing mechanism is given by

WsD={w|an GNE(d,b,λ)for the game𝒢(w)exists.}\displaystyle W_{s}^{D}=\{w\;|\;\mbox{an GNE}\;(d^{*},b^{*},\lambda^{*})\;\mbox{for the game}\;\mathcal{G}(w)\;\mbox{exists}.\}

The proposed absorbable region can accommodate various scenarios, however, it may also encounter complicated situations, such as conflicting interests among stakeholders and time or spatial coupling constraints. Though fruitful works have been conducted for computing the dispatchable region under centralized operation, the proposed methods cannot be applied directly to the characterization of the absorbable region in general cases due to the above complexity. In the following, we show that our proposed energy sharing mechanism is flexibility-retained, which facilities the computation of its absorbable region:

According to Proposition 1, given a ww, if problem (1) is feasible, meaning that wWcDw\in W_{c}^{D}, then we can always construct a GNE for the game 𝒢(w)\mathcal{G}(w), so that wWsDw\in W_{s}^{D}. Conversely, if wWsDw\in W_{s}^{D}, i.e. there exists a GNE for the game 𝒢(w)\mathcal{G}(w), then the dd^{*} is exactly the optimal solution (of course also a feasible one) of the problem (1), indicating wWcDw\in W_{c}^{D}. Thus, we have WcD=WsDW_{c}^{D}=W_{s}^{D}. The proposed energy sharing mechanism can achieve the same flexibility as the centralized dispatch. We can use the simpler equivalent model (1) for computing the absorbable region of the proposed energy sharing mechanism.

III-C Linear programming based projection algorithm

Here, we use a common power system model with capacity constraints (𝒟^k\hat{\mathcal{D}}_{k} is chosen as [d¯k,d¯k][\underline{d}_{k},\overline{d}_{k}]) and network constraints (𝒫~\tilde{\mathcal{P}} is chosen as the DC power flow limits) as an example. In such a case, constraints (1b)-(1e) are

k𝒥wk=k𝒥dk+k𝒥dkf\displaystyle\sum\limits_{k\in\mathcal{J}}w_{k}=\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}d_{k}+\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}d_{k}^{f} (8a)
d¯kdkd¯k,k𝒥\displaystyle\underline{d}_{k}\leq d_{k}\leq\overline{d}_{k},~{}\forall k\in\mathcal{I}\cup\mathcal{J} (8b)
Flk𝒥πklwwkk𝒥πkld(dkf+dk)Fl,l\displaystyle-F_{l}\leq\sum\limits_{k\in\mathcal{J}}\pi_{kl}^{w}w_{k}-\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}\pi_{kl}^{d}(d_{k}^{f}+d_{k})\leq F_{l},\forall l\in\mathcal{L} (8c)

where \mathcal{L} is the set of lines, FlF_{l} is the power flow limit for line ll\in\mathcal{L}, and πklw,πkld\pi_{kl}^{w},\pi_{kl}^{d} are the line flow distribution factors. Since all constraints in (8) are linear, it can be represented in a compact form:

ψ(w)={d|Ad+Bwc}\displaystyle\psi(w)=\{d~{}|~{}Ad+Bw\leq c\} (9)

Here, dd is a collection of dk,k𝒥d_{k},\forall k\in\mathcal{I}\cup\mathcal{J}, and ww is a collection of wk,k𝒥w_{k},\forall k\in\mathcal{J}. According to Proposition 1, the absorbable region is defined as

WsD=WcD={w|ψ(w)}\displaystyle W_{s}^{D}=W_{c}^{D}=\{w~{}|~{}\psi(w)\neq\emptyset\} (10)

For a given ww, we can check whether ψ(w)\psi(w) is empty by the following problem:

mind,z\displaystyle\mathop{\min}_{d,z}~{} 1Tz\displaystyle 1^{T}z (11a)
s.t. AdIzcBw:u\displaystyle Ad-Iz\leq c-Bw:u (11b)
z0\displaystyle z\geq 0 (11c)

where zz is a slack variable and uu is the dual variable. It is easy to see that ψ(w)\psi(w)\neq\emptyset if and only if the optimal value of (11) is zero. The dual problem of the linear program (11) is

maxu\displaystyle\mathop{\max}_{u}~{} uT(cBw)\displaystyle u^{T}(c-Bw) (12a)
s.t. ATu=0,1u0\displaystyle A^{T}u=0,~{}-1\leq u\leq 0 (12b)

Denote 𝒰:={u|ATu=0,1u0}\mathcal{U}:=\{u~{}|~{}A^{T}u=0,-1\leq u\leq 0\}, then ψ(w)\psi(w)\neq\emptyset is equivalently to

uT(cBw)0,u𝒰\displaystyle u^{T}(c-Bw)\leq 0,\forall u\in\mathcal{U} (13)

The set 𝒰\mathcal{U} is a closed convex set, so the above condition can be further simplified to

uT(cBw)0,uvert(𝒰)\displaystyle u^{T}(c-Bw)\leq 0,\forall u\in\mbox{vert}(\mathcal{U}) (14)

Consider ww as the variable, polyhedron (14) is the condition which ww must meet in order to ensure the non-emptiness of ψ(w)\psi(w), i.e.:

WsD={w|uT(cBw)0,uvert(𝒰)}W_{s}^{D}=\{w~{}|~{}u^{T}(c-Bw)\leq 0,\forall u\in\mbox{vert}(\mathcal{U})\} (15)

Though WsDW_{s}^{D} can be represented as an explicit polyhedron, it is still difficult to locate all the vertices of 𝒰\mathcal{U} with a high-dimension. The projection algorithm (Algorithm 2) is developed to generate the absorbable region WsDW_{s}^{D} efficiently, in order to exhibit that the distributed method possesses the same flexibility as the centralized method. This projection algorithm is not actually executed in the market clearing procedure and consumes real-time computational resources.

Input: initial set Wtemp={w|w0}W_{temp}=\{w|~{}w\geq 0\}
Output: output dispatchable region WsDW_{s}^{D}
1 Update vert(WtempW_{temp});
2 for wvertw\in\mbox{vert}(Wtemp)W_{temp}) do
3       solve problem
maxuuT(cBw)s.t.u𝒰\mathop{\max}_{u}~{}u^{T}(c-Bw)~{}~{}\mbox{s.t.}~{}u\in\mathcal{U}
and denote the optimal solution as uu^{*}, the optimal value as rr^{*}. Let rmax=max{rmax,r}r_{max}=\mathop{\max}\{r_{max},r^{*}\} and update umaxu_{max} as the corresponding uu^{*}.
4 end for
5if rmax=0r_{max}=0 then
6       let WsD=WtempW_{s}^{D}=W_{temp};
7      
8else
9       add a cutting plane (umax)TBw(umax)Tc(u_{max})^{T}Bw\geq(u_{max})^{T}c in WtempW_{temp};
10       go to 1;
11      
12 end if
Algorithm 2 Linear Programming Based Projection

The intuition behind Algorithm 2 is as follows. We know that wWsDw\in W_{s}^{D} if and only if (14) holds; wWsDw\notin W_{s}^{D} indicates that (umax)T(cBw)>0(u_{max})^{T}(c-Bw)>0 for some umaxvert(𝒰)u_{max}\in\mbox{vert}(\mathcal{U}). Therefore, we first initiate a large enough polyhedron WtempW_{temp} which contains WsDW^{D}_{s}, and then test if (13) is met by solving the linear program in step 3. If not, the hyperplane

(umax)Tc=(umax)TBw\displaystyle(u_{max})^{T}c=(u_{max})^{T}Bw (16)

gives the boundary of WsDW_{s}^{D}, which is added to WtempW_{temp}. The algorithm converges once (13) is met. Algorithm 2 is more efficient than the mixed-integer programming based algorithm in [16] and does not need a big-M parameter.

Remark on convergence of Algorithm 2: The convergence criteria of Algorithm 2 is that (13) is met for all ww in WsDW_{s}^{D}. The region WsDW_{s}^{D} is a polyhedron with a finite number of plane faces and the closed-form in (15) based on enumerating the vertices of 𝒰\mathcal{U}. However, when the dimension of 𝒰\mathcal{U} is high, it is challenging to list all its extreme points. Actually, most of these extreme points only exert redundant constraints in WsDW_{s}^{D} which can be removed. Algorithm 2 avoids these redundant constraints by adaptively selecting the vertices in 𝒰\mathcal{U} and adds a hyperplane to give the boundary of WsDW_{s}^{D} in each iteration. Since there are a finite number of vertices of 𝒰\mathcal{U}, the algorithm can always converge. When there are many constraints in the problem (8), the polyhedron WsDW_{s}^{D} is likely to have many facets, and thus needs more iterations to characterize. Nonetheless, as the procedures in the Algorithm 2 only require solving linear programs, the algorithm is efficient.

IV Case Studies

Numerical examples are tested to validate the theoretical results and show the effectiveness of the proposed algorithm.

IV-A Simple case with two groups of prosumers

First, we verify Proposition 1 by a simple example with two groups of prosumers. The first group consists of prosumers k𝒥1={1,,100}k\in\mathcal{J}_{1}=\{1,...,100\}, and the second group consists of prosumers k𝒥2={101,,200}k\in\mathcal{J}_{2}=\{101,...,200\}. Each group is made up of identical prosumers. We adopt quadratic disutility functions fk(dk):=αk1(dk)2+αk2dk,k𝒥1𝒥2f_{k}(d_{k}):=\alpha_{k}^{1}(d_{k})^{2}+\alpha_{k}^{2}d_{k},\forall k\in\mathcal{J}_{1}\cup\mathcal{J}_{2} with the parameters given in Table I. Two groups of prosumers are connected by a line whose flow limit is 10kW10\;\mbox{kW}. The sensitivity aa is set to 1 kW/$. The modified best response based algorithm is used for reaching the GNE, and the changes of energy sharing prices and elastic demands are plotted in Fig. 4.

TABLE I: Parameters of prosumers
Prosumer αk1\alpha_{k}^{1} αk2\alpha_{k}^{2} wkw_{k} dkfd_{k}^{f} dkd_{k}
group ($/kW2\$/\mbox{kW}^{2}) ($/kW\$/\mbox{kW}) (kW) (kW) (kW)
1 0.30 0.42 1.25 1.00 [0.2,0.5]
2 0.60 0.72 1.75 1.30 [0.1,0.6]
Refer to caption
Figure 4: Sharing prices and optimal strategies in each iteration.

From Fig. 4 we can find that both the energy prices and prosumers’ strategies converge. At GNE, we have d1=0.35kWd_{1}=0.35\mbox{kW} and d2=0.35kWd_{2}=0.35\mbox{kW}, which equals the optimal solution of problem (1) with the same parameters. So the proposed energy sharing mechanism achieves social optimum.

We further reveal the impact of information asymmetry by testing how the misrepresentation of αk1\alpha_{k}^{1} and αk2\alpha_{k}^{2} will influence the users’ disutilities and social total disutility. We change α11\alpha_{1}^{1} and α12\alpha_{1}^{2} from 0.2 to 4 times of their original values α¯11=0.30$/kW2\bar{\alpha}_{1}^{1}=0.30\mbox{\$/kW}^{2}, α¯12=0.42$/kW\bar{\alpha}_{1}^{2}=0.42\mbox{\$/kW}, and test the case under Fl=10kWF_{l}=10\mbox{kW} and Fl=50kWF_{l}=50\mbox{kW}, respectively. Results are shown in Fig. 5. From (a) and (c), we can find that under centralized scheme, user 1 can lower its disutility by reporting larger cost coefficients so that it would be asked to adjust less by the operator. While user 1 can take the advantage of asymmetric information, both user 2’s disutility and the total disutility increase dramatically. When it comes to the proposed energy sharing market: in (b), though user 1 can still obtain a lowest disutility by reporting 1.6α¯111.6\bar{\alpha}_{1}^{1} and 1.6α¯121.6\bar{\alpha}_{1}^{2}, the total disutility remains unchanged; in (d), user 1 has no incentive to misreport because its lowest disutility is with α¯11\bar{\alpha}_{1}^{1} and α¯12\bar{\alpha}_{1}^{2}. The impact of information asymmetry on the total disutility can be lessened via the proposed energy sharing scheme.

Refer to caption
Figure 5: Impact of information asymmetry.

IV-B Five-bus system for flexibility characterization

Next, the effectiveness of Algorithm 2 for computing the absorbable region is tested via a five-bus system, whose topology and parameters are given in Fig. 6. There are three elastic demands, whose range is marked in red; the power flow limits are in blue; the fixed demands are in green. We randomly choose renewable output scenarios (w1,w2)(w_{1},w_{2}), and mark those with which the problem (1) is feasible (thus (w1,w2)WsD(w_{1},w_{2})\in W_{s}^{D}) in Fig. 7(a). The one provided by Algorithm 2 is shown in Fig. 7(b). Both regions are exactly the same, demonstrating that Algorithm 2 can successfully identify the boundary of the actual absorbable region. Any renewable output profile (w1,w2)(w_{1},w_{2}) inside the grey region is absorbable.

Refer to caption
Figure 6: Topology and parameters of the five-bus system.
Refer to caption
Figure 7: Absorbable region: actual (a) v.s. generated by Algorithm 2 (b).

Let w1=250w_{1}=250 kW, w2=400w_{2}=400 kW, and a=100a=100 kW/$, the sequence of the elastic demands generated by Algorithm 1 is shown in Fig. 8(a), and we project it onto d1d2d_{1}-d_{2}, d1d3d_{1}-d_{3} and d2d3d_{2}-d_{3} planes, respectively, and get Fig. 8(b)-(d). Again, the optimal strategies of three elastic demands converge to d1=2.26d_{1}=2.26 kW, d2=2.03d_{2}=2.03 kW and d3=1.46d_{3}=1.46 kW, which coincide with the optimal dispatch in (1). Another two renewable output scenarios are tested with results in Fig. 9. For the renewable outputs inside the absorbable region, a GNE exists and can be reached by the modified BR based method.

Refer to caption
Figure 8: Sequence of elastic demands during iterations in the five-bus system.
Refer to caption
Figure 9: Results under two scenarios for the five-bus system.

IV-C Practicability of the proposed mechanism and algorithm

A larger case with a modified 38-bus microgrid [52] and a modified 69-bus microgrid [53] are tested to show the scalability of our method. The topology of the test systems are in Fig. 10 and Fig. 11, respectively, with other parameters in [54]. Algorithm 2 is used to generate the absorbable region. The result for 38-bus system is presented in Fig. 12 together with some intermediate results. At the beginning, a large enough box that contains the absorbable region is used as the initial polyhedron; then the points outside the absorbable region are gradually removed by the cutting planes in each iteration. We then generate the absorbable region of the 69-bus system with the flow limits equal to FlF_{l} and 2Fl2F_{l}, respectively, as shown in Fig. 13. We check that the output absorbable regions are the same as the actual ones, which validates the proposed method. With looser flow limits, the absorbable region enlarges.

Refer to caption
Figure 10: Topology of the 38-bus test system.
Refer to caption
Figure 11: Topology of the 69-bus test system.
Refer to caption
Figure 12: Results when applying Algorithm 2 to the 38-bus system.
Refer to caption
Figure 13: Absorbable region under different power flow limits.

We choose two wind output scenarios within the above obtained absorbable region for 38-bus system, and let w=[1.6,1.6,1.5]w=[1.6,1.6,1.5] (p.u.) and w=[1.0,1.0,2.1]w=[1.0,1.0,2.1] (p.u.), respectively. The change of prosumers’ strategies on elastic demands are recorded in Fig. 14. Under both cases, prosumers’ strategies converge within 10 iterations. In addition, the output strategies are [0.50,0.20,0.35][0.50,0.20,0.35] (p.u.) and [0.17,0.14,0.13][0.17,0.14,0.13] (p.u.), which is the optimal solution of problem (1). Similarly, for the 69-bus system, let w=[300,450,400]w=[300,450,400] kW, the change of end users’ strategies when implementing the modified BR algorithm is given in Fig. 15, and all of them converge in 40 iterations.

Refer to caption
Figure 14: Results under two scenarios for the 38-bus test system.
Refer to caption
Figure 15: Change of users’ strategies for the 69-bus test system.

We list the time needed for reaching equilibrium for the simple case in Section IV.A, the five-bus case in Section IV.B, and the 38-bus and 69-bus cases in Section IV.C in TABLE II. We can find that all cases converge within 300 seconds, while the scale of the system and the number of consumers/prosumers do not matter much. Our proposed energy sharing mechanism focuses on the real-time market [55], which will be conducted hourly. Therefore, the time cost of the algorithm is acceptable for its implementation.

TABLE II: Computational time (s) for different cases.
Case Simple 5-bus with 5-bus with 5-bus with 38-bus with 38-bus with 38-bus with 38-bus with
case w=[200,400]w=[200,400] w=[250,450]w=[250,450] w=[300,600]w=[300,600] w=[1.6,1.6,1.5]w=[1.6,1.6,1.5] w=[1.0,1.0,2.1]w=[1.0,1.0,2.1] w=[300,450,400]w=[300,450,400] w=[400,350,300]w=[400,350,300]
Time 24.85 238.32 65.85 47.55 23.61 32.20 143.14 132.83

IV-D Factors influencing the performance of algorithms

First, we test the impact of aa on the performance of the modified BR algorithm by the 69-bus system. Here, Condition C1 is satisfied when a>3.84a>3.84. Let aa equals to 0.1, 0.5, 1, 5, and 10, respectively, and the changes of user’s demand and the sharing price over iterations are plotted in Fig. 16 (take the user at bus 32 as an example). We can find that, with a smaller aa, the modified best response algorithm converges faster; however, when aa is too small, oscillation may occur. Moreover, when a=0.5a=0.5 or 1, though Condition C1 is not met, the algorithm still converges, meaning that it is a sufficient but not necessary condition. Under all aa, our algorithm reaches equilibrium within 180 seconds.

Refer to caption
Figure 16: Change of strategy and price under different aa.

We then test the performance of Algorithm 2 using the 38-bus and 69-bus cases with different settings in TABLE III, where FlF_{l} refers to the original flow limit. Generally, it takes a longer time and more iteration to output the absorbable region when the system constraints are more stringent. But under all cases, the algorithm terminates in less than a minute, which is acceptable for online use.

TABLE III: Performance of Algorithm 2 under different settings.
Setting Case 38 with FlF_{l} Case 38 with 2Fl2F_{l} Case 38 with 4Fl4F_{l}
Iteration 31 20 15
Time (s) 46.16 34.29 26.60
Setting Case 69 with FlF_{l} Case 69 with 2Fl2F_{l} Case 69 with 4Fl4F_{l}
Iteration 36 19 9
Time (s) 49.69 27.27 19.17

V Conclusion

With the mushrooming of distributed renewable energy at the demand side, new energy management schemes with explicit characterization on flexibility are in great need. This paper proposes an energy sharing mechanism that encourages energy exchange among end-users. A generalized Nash game model is proposed to formulate the equilibrium of the sharing market. The energy transaction is coordinated via price signals which meet the requirement of information privacy. We prove that the generalized Nash equilibrium achieves social optimum, and leads to the same flexibility as the centralized dispatch in the sense of the absorbable region. The linear programming based projection algorithm can efficiently generate the boundaries of the absorbable region. Future research may use more accurate power flow models and consider multiple periods and temporal correlations.

References

  • [1] K. Rahbar, C. C. Chai, and R. Zhang, “Energy cooperation optimization in microgrids with renewable energy integration,” IEEE Transactions on Smart Grid, vol. 9, no. 2, pp. 1482–1493, 2016.
  • [2] D. Eltigani and S. Masri, “Challenges of integrating renewable energy sources to smart grids: A review,” Renewable and Sustainable Energy Reviews, vol. 52, pp. 770–780, 2015.
  • [3] H. Shuai, J. Fang, X. Ai, Y. Tang, J. Wen, and H. He, “Stochastic optimization of economic dispatch for microgrid based on approximate dynamic programming,” IEEE Transactions on Smart Grid, vol. 10, no. 3, pp. 2440–2452, 2018.
  • [4] H. Lei, S. Huang, Y. Liu, and T. Zhang, “Robust optimization for microgrid defense resource planning and allocation against multi-period attacks,” IEEE Transactions on Smart Grid, vol. 10, no. 5, pp. 5841–5850, 2019.
  • [5] X. Xu, Z. Yan, M. Shahidehpour, Z. Li, M. Yan, and X. Kong, “Data-driven risk-averse two-stage optimal stochastic scheduling of energy and reserve with correlated wind power,” IEEE Transactions on Sustainable Energy, vol. 11, no. 1, pp. 436–447, 2019.
  • [6] L. Moretti, E. Martelli, and G. Manzolini, “An efficient robust optimization model for the unit commitment and dispatch of multi-energy systems and microgrids,” Applied Energy, vol. 261, p. 113859, 2020.
  • [7] A. Hajebrahimi, I. Kamwa, E. Delage, and M. Abdelaziz, “Adaptive distributionally robust optimization for electricity and electrified transportation planning,” IEEE Transactions on Smart Grid, 2020.
  • [8] Y. Chen, W. Wei, F. Liu, and S. Mei, “Distributionally robust hydro-thermal-wind economic dispatch,” Applied Energy, vol. 173, pp. 511–519, 2016.
  • [9] J. Zhao, T. Zheng, and E. Litvinov, “Variable resource dispatch through do-not-exceed limit,” IEEE Transactions on Power Systems, vol. 30, no. 2, pp. 820–828, 2014.
  • [10] ——, “A unified framework for defining and measuring flexibility in power system,” IEEE Transactions on Power Systems, vol. 31, no. 1, pp. 339–347, 2015.
  • [11] Z. Li, F. Qiu, and J. Wang, “Data-driven real-time power dispatch for maximizing variable renewable generation,” Applied Energy, vol. 170, pp. 304–313, 2016.
  • [12] F. Qiu, Z. Li, and J. Wang, “A data-driven approach to improve wind dispatchability,” IEEE Transactions on Power Systems, vol. 32, no. 1, pp. 421–429, 2016.
  • [13] A. S. Korad and K. W. Hedman, “Zonal do-not-exceed limits with robust corrective topology control,” Electric Power Systems Research, vol. 129, pp. 235–242, 2015.
  • [14] ——, “Enhancement of do-not-exceed limits with robust corrective topology control,” IEEE Transactions on Power Systems, vol. 31, no. 3, pp. 1889–1899, 2015.
  • [15] H. Ma, R. Jiang, and Z. Yan, “Distributionally robust co-optimization of power dispatch and oo-not-exceed limits,” IEEE Transactions on Power Systems, 2020.
  • [16] W. Wei, F. Liu, and S. Mei, “Dispatchable region of the variable wind generation,” IEEE Transactions on Power Systems, vol. 30, no. 5, pp. 2755–2765, 2014.
  • [17] Y. Liu, Z. Li, Q. Wu, and H. Zhang, “Real-time dispatchable region of renewable generation constrained by the reactive power and voltage profiles in AC power networks,” CSEE Journal of Power and Energy Systems, 2019.
  • [18] S. Chen, Z. Wei, G. Sun, W. Wei, and D. Wang, “Convex hull based robust security region for electricity-gas integrated energy systems,” IEEE Transactions on Power Systems, vol. 34, no. 3, pp. 1740–1748, 2018.
  • [19] Y. Chen, W. Wei, F. Liu, M. Shafie-khah, S. Mei, and J. P. Catalão, “Optimal contracts of energy mix in a retail market under asymmetric information,” Energy, vol. 165, pp. 634–650, 2018.
  • [20] Z. Wang, F. Liu, Z. Ma, Y. Chen, M. Jia, W. Wei, and Q. Wu, “Distributed generalized nash equilibrium seeking for energy sharing games in prosumers.” IEEE Transactions on Power Systems, 2021.
  • [21] Y. Chen, W. Wei, F. Liu, Q. Wu, and S. Mei, “Analyzing and validating the economic efficiency of managing a cluster of energy hubs in multi-carrier energy systems,” Applied energy, vol. 230, pp. 403–416, 2018.
  • [22] P. Chakraborty, E. Baeyens, K. Poolla, P. P. Khargonekar, and P. Varaiya, “Sharing storage in a smart grid: A coalitional game approach,” IEEE Transactions on Smart Grid, vol. 10, no. 4, pp. 4379–4390, 2018.
  • [23] J. Mei, C. Chen, J. Wang, and J. L. Kirtley, “Coalitional game theory based local power exchange algorithm for networked microgrids,” Applied energy, vol. 239, pp. 133–141, 2019.
  • [24] C. Long, Y. Zhou, and J. Wu, “A game theoretic approach for peer to peer energy trading,” Energy Procedia, vol. 159, pp. 454–459, 2019.
  • [25] L. Han, T. Morstyn, and M. McCulloch, “Estimation of the Shapley value of a peer-to-peer energy sharing game using coalitional stratified random sampling,” arXiv preprint arXiv:1903.11047, 2019.
  • [26] L. Han, T. Morstyn, C. Crozier, and M. McCulloch, “Improving the scalability of a prosumer cooperative game with k-means clustering,” in 2019 IEEE Milan PowerTech.   IEEE, 2019, pp. 1–6.
  • [27] P. Dutta and A. Boulanger, “Game theoretic approach to offering participation incentives for electric vehicle-to-vehicle charge sharing,” in 2014 IEEE Transportation Electrification Conference and Expo (ITEC).   IEEE, 2014, pp. 1–5.
  • [28] H. Le Cadre, P. Jacquot, C. Wan, and C. Alasseur, “Peer-to-peer electricity market analysis: From variational to generalized Nash equilibrium,” European Journal of Operational Research, vol. 282, no. 2, pp. 753–771, 2020.
  • [29] Y. Chen, S. Mei, F. Zhou, S. H. Low, W. Wei, and F. Liu, “An energy sharing game with generalized demand bidding: Model and properties,” IEEE Transactions on Smart Grid, vol. 11, no. 3, pp. 2055–2066, 2020.
  • [30] Y. Chen, C. Zhao, S. H. Low, and S. Mei, “Approaching prosumer social optimum via energy sharing with proof of convergence,” IEEE Transactions on Smart Grid, 2020.
  • [31] Y. Chen, T. Li, C. Zhao, and W. Wei, “Decentralized provision of renewable predictions within a virtual power plant,” IEEE Transactions on Power Systems, 2020.
  • [32] N. Li, L. Chen, and S. H. Low, “Optimal demand response based on utility maximization in power networks,” in 2011 IEEE power and energy society general meeting.   IEEE, 2011, pp. 1–8.
  • [33] P. Samadi, H. Mohsenian-Rad, R. Schober, and V. W. Wong, “Advanced demand side management for the future smart grid using mechanism design,” IEEE Transactions on Smart Grid, vol. 3, no. 3, pp. 1170–1180, 2012.
  • [34] A. Aram, “Microgrid market in the usa,” Hitachi Rev., vol. 66, no. 5, pp. 454–455, 2017.
  • [35] J.-J. Laffont and D. Martimort, The theory of incentives: the principal-agent model.   Princeton university press, 2009.
  • [36] A. Nioche, B. Garcia, G. Lefebvre, T. Boraud, N. P. Rougier, and S. Bourgeois-Gironde, “Coordination over a unique medium of exchange under information scarcity,” Palgrave Communications, vol. 5, no. 1, pp. 1–11, 2019.
  • [37] Z. Yang, R. Wu, J. Yang, K. Long, and P. You, “Economical operation of microgrid with various devices via distributed optimization,” IEEE Transactions on Smart Grid, vol. 7, no. 2, pp. 857–867, 2015.
  • [38] F. C. Schweppe, M. C. Caramanis, R. D. Tabors, and R. E. Bohn, Spot pricing of electricity.   Springer Science & Business Media, 2013.
  • [39] S. Landsburg, Price theory and applications.   Cengage Learning, 2013.
  • [40] F. Facchinei and C. Kanzow, “Generalized Nash equilibrium problems,” Annals of Operations Research, vol. 175, no. 1, pp. 177–211, 2010.
  • [41] A. K. David and F. Wen, “Strategic bidding in competitive electricity markets: a literature survey,” in 2000 Power Engineering Society Summer Meeting (Cat. No. 00CH37134), vol. 4.   IEEE, 2000, pp. 2168–2173.
  • [42] L. Hadjidemetriou, L. Zacharia, E. Kyriakides, B. Azzopardi, S. Azzopardi, R. Mikalauskiene, S. Al-Agtash, M. Al-hashem, A. Tsolakis, D. Ioannidis et al., “Design factors for developing a university campus microgrid,” in 2018 IEEE International Energy Conference (ENERGYCON).   IEEE, 2018, pp. 1–6.
  • [43] C. Long, J. Wu, C. Zhang, L. Thomas, M. Cheng, and N. Jenkins, “Peer-to-peer energy trading in a community microgrid,” in 2017 IEEE power & energy society general meeting.   IEEE, 2017, pp. 1–5.
  • [44] V. Dvorkin Jr, J. Kazempour, and P. Pinson, “Electricity market equilibrium under information asymmetry,” Operations Research Letters, vol. 47, no. 6, pp. 521–526, 2019.
  • [45] K. Margellos, A. Falsone, S. Garatti, and M. Prandini, “Distributed constrained optimization and consensus in uncertain networks via proximal minimization,” IEEE Transactions on Automatic Control, vol. 63, no. 5, pp. 1372–1387, 2017.
  • [46] M. Farivar and S. H. Low, “Branch flow model: Relaxations and convexification—part I,” IEEE Transactions on Power Systems, vol. 28, no. 3, pp. 2554–2564, 2013.
  • [47] L. Gan and S. H. Low, “Convex relaxations and linear approximation for optimal power flow in multiphase radial networks,” in 2014 Power Systems Computation Conference.   IEEE, 2014, pp. 1–9.
  • [48] Z. Li, Q. Guo, H. Sun, and J. Wang, “Storage-like devices in load leveling: Complementarity constraints and a new and exact relaxation method,” Applied Energy, vol. 151, pp. 13–22, 2015.
  • [49] J. F. Nash et al., “Equilibrium points in n-person games,” Proceedings of the national academy of sciences, vol. 36, no. 1, pp. 48–49, 1950.
  • [50] W. Wei, F. Liu, and S. Mei, “Real-time dispatchability of bulk power systems with volatile renewable generations,” IEEE Transactions on Sustainable Energy, vol. 6, no. 3, pp. 738–747, 2015.
  • [51] C. Wan, J. Lin, W. Guo, and Y. Song, “Maximum uncertainty boundary of volatile distributed generation in active distribution network,” IEEE Transactions on Smart Grid, vol. 9, no. 4, pp. 2930–2942, 2016.
  • [52] D. Singh, D. Singh, and K. Verma, “Multiobjective optimization for DG planning with load models,” IEEE transactions on power systems, vol. 24, no. 1, pp. 427–436, 2009.
  • [53] A. F. A. KADIR, A. Mohamed, H. Shareef, and M. Z. C. WANIK, “Optimal placement and sizing of distributed generations in distribution systems for minimizing losses and THD_v using evolutionary programming,” Turkish Journal of Electrical Engineering & Computer Sciences, vol. 21, no. Sup. 2, pp. 2269–2282, 2013.
  • [54] [Online] Available:, https://sites.google.com/site/yuechenthu/data-sheet.
  • [55] W. Pei, Y. Du, W. Deng, K. Sheng, H. Xiao, and H. Qu, “Optimal bidding strategy and intramarket mechanism of microgrid aggregator in real-time balancing market,” IEEE Transactions on Industrial Informatics, vol. 12, no. 2, pp. 587–596, 2016.
  • [56] D. Kinderlehrer and G. Stampacchia, An introduction to variational inequalities and their applications.   SIAM, 2000.
  • [57] N. Angelia, Lecture Notes for Convex Optimization [Online] Available:, http://www.ifp.illinois.edu/~angelia/L5_exist_optimality.pdf.
  • [58] M. Patriksson, Nonlinear programming and variational inequality problems: a unified approach.   Springer Science & Business Media, 2013, vol. 23.
  • [59] P. Combettes, “Fejér-monotonicity in convex optimization,” Encyclopedia of Optimization, vol. 2, pp. 106–114, 2001.

-A Proof of Proposition 1

Denote pkout:=aλk+bkp_{k}^{out}:=-a\lambda_{k}+b_{k}, and let 𝒴\mathcal{Y} be the feasible region of pkout,k𝒥p^{out}_{k},\forall k\in\mathcal{I}\cup\mathcal{J} characterized by (3b) and (3c) (or (1b) and (1e)). Obviously, 𝒴\mathcal{Y} is also a closed convex set.

Then problem (3) can be equivalently written as

minpkout,k𝒥\displaystyle\mathop{\min}_{p_{k}^{out},\forall k\in\mathcal{I}\cup\mathcal{J}}~{} k𝒥(pkoutbk)2\displaystyle\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}(p_{k}^{out}-b_{k})^{2} (A.1a)
s.t. k𝒥pkout=0;pout𝒫~\displaystyle\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}p_{k}^{out}=0;p^{out}\in\tilde{\mathcal{P}} (A.1b)

Suppose (d,b,λ)(d^{*},b^{*},\lambda^{*}) is a GNE of the game 𝒢(w)\mathcal{G}(w), then for problem (2) we have

fk(dk)fk(dk)+(dkdk)λk0,d𝒟^k,k𝒥\displaystyle f_{k}(d_{k})-f_{k}(d_{k}^{*})+(d_{k}-d_{k}^{*})\lambda_{k}^{*}\geq 0,\forall d\in\hat{\mathcal{D}}_{k},\forall k\in\mathcal{I}\cup\mathcal{J} (A.2)

Note that bkb_{k} is eliminated by substituting constraint (2b) into the objective function (2a). For problem (3) we have

k𝒥(pkoutpkout)(pkoutbk)0,pout𝒴\displaystyle\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}(p_{k}^{out}-p_{k}^{out*})(p_{k}^{out*}-b_{k}^{*})\geq 0,\forall p^{out}\in\mathcal{Y} (A.3)

For problem (1), its Lagrangian function is

L(d,pout,λ)=\displaystyle L(d,p^{out},\lambda)=~{} k𝒥fk(dk)+kλk(dkf+dkpkout)\displaystyle\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}f_{k}(d_{k})+\sum\limits_{k\in\mathcal{I}}\lambda_{k}(d_{k}^{f}+d_{k}-p_{k}^{out})
+k𝒥λk(dkf+dkwkpkout)\displaystyle+\sum\limits_{k\in\mathcal{J}}\lambda_{k}(d_{k}^{f}+d_{k}-w_{k}-p_{k}^{out}) (A.4)

which is defined on Ω:=k𝒥𝒟^k×𝒴×(I+J)\Omega:=\prod_{k\in\mathcal{I}\cup\mathcal{J}}\hat{\mathcal{D}}_{k}\times\mathcal{Y}\times\mathbbm{R}^{(I+J)}. Let (d^,p^out,λ^)(\hat{d},\hat{p}^{out},\hat{\lambda}) be a saddle point of the Lagrangian function, then (d^,p^out,λ^)Ω(\hat{d},\hat{p}^{out},\hat{\lambda})\in\Omega and it satisfies (d,pout,λ)Ω\forall(d,p^{out},\lambda)\in\Omega [56]:

[fk(dk)fk(d^k)+(dkd^k)λ^k]\displaystyle\left[f_{k}(d_{k})-f_{k}(\hat{d}_{k})+(d_{k}-\hat{d}_{k})\hat{\lambda}_{k}\right] 0,k𝒥\displaystyle~{}\geq 0,\forall k\in\mathcal{I}\cup\mathcal{J} (A.5a)
k𝒥(pkoutp^kout)(λ^k)\displaystyle-\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}(p_{k}^{out}-\hat{p}_{k}^{out})(\hat{\lambda}_{k}) 0\displaystyle~{}\geq 0 (A.5b)
k(λkλ^k)(dkf+d^kp^kout)\displaystyle\sum\limits_{k\in\mathcal{I}}(\lambda_{k}-\hat{\lambda}_{k})(d_{k}^{f}+\hat{d}_{k}-\hat{p}_{k}^{out})
+k𝒥(λkλ^k)(dkf+d^kwkp^kout)\displaystyle+\sum\limits_{k\in\mathcal{J}}(\lambda_{k}-\hat{\lambda}_{k})(d_{k}^{f}+\hat{d}_{k}-w_{k}-\hat{p}_{k}^{out}) 0\displaystyle~{}\leq 0 (A.5c)

Existence. When Assumption A1 holds, suppose d^\hat{d} is the optimal solution of (1) and λ^\hat{\lambda} is the corresponding dual variable. Let d=d^d^{*}=\hat{d}, λ=λ^\lambda^{*}=\hat{\lambda}, pkout=dkf+d^kp_{k}^{out*}=d_{k}^{f}+\hat{d}_{k} for all kk in \mathcal{I}, pkout=dkf+d^kwkp_{k}^{out*}=d_{k}^{f}+\hat{d}_{k}-w_{k} for all kk in 𝒥\mathcal{J}, and bk=aλ^k+pkout,k𝒥b_{k}^{*}=a\hat{\lambda}_{k}+p^{out*}_{k},\forall k\in\mathcal{I}\cup\mathcal{J}, then it is easy to check that (A.2) and (A.3) are met. Thus, we have constructed a GNE (d,b,λ)(d^{*},b^{*},\lambda^{*}).

Uniqueness. Given a GNE (d,b,λ)(d^{*},b^{*},\lambda^{*}), when kk\in\mathcal{I}, we have bk=dkf+dk+aλkb_{k}^{*}=d_{k}^{f}+d_{k}^{*}+a\lambda_{k}^{*}; when k𝒥k\in\mathcal{J}, we have bk=dkf+dkwk+aλkb_{k}^{*}=d_{k}^{f}+d_{k}^{*}-w_{k}+a\lambda_{k}^{*}. Let d^=d\hat{d}=d^{*}, λ^=λ\hat{\lambda}=\lambda^{*}, and p^out=aλ+b\hat{p}^{out}=-a\lambda^{*}+b^{*}, then it is easy to check that (d^,p^out,λ^)(\hat{d},\hat{p}^{out},\hat{\lambda}) satisfies (A.5), so d^\hat{d} is the optimal solution of (1) and λ^\hat{\lambda} is the corresponding dual variable. Since the objective function is strictly convex, and the constraint sets D^k,k𝒥\hat{D}_{k},\forall k\in\mathcal{I}\cup\mathcal{J} and 𝒫~\tilde{\mathcal{P}} are all closed convex sets, problem (1) has a unique solution [57], so d^\hat{d} is unique.

-B Convergence of Modified Best-Response based Algorithm

Let qk:=aλk+bkq_{k}:=-a\lambda_{k}+b_{k} for all k𝒥k\in\mathcal{I}\cup\mathcal{J}. At the nn-th iteration, given bnb^{n}, the microgrid operator’s problem is equivalent to

qn+1=\displaystyle q^{n+1}=~{} argmin{θ1(q)(bn)Tqa\displaystyle\mbox{argmin}\{\theta_{1}(q)-\frac{(b^{n})^{T}q}{a}
+|qqn+bn1bn|22a|q𝒬}\displaystyle+\frac{|q-q^{n}+b^{n-1}-b^{n}|^{2}}{2a}|~{}q\in\mathcal{Q}\} (B.1a)
λn+1=\displaystyle\lambda^{n+1}=~{} 1a(bnqn+1)\displaystyle\frac{1}{a}(b^{n}-q^{n+1}) (B.1b)

where θ1(q):=12ak𝒥qk2\theta_{1}(q):=\frac{1}{2a}\sum\nolimits_{k\in\mathcal{I}\cup\mathcal{J}}q_{k}^{2} and

𝒬:={q|s.t.k𝒥qk=0,q𝒫~}\mathcal{Q}:=\left\{q~{}|~{}\mbox{s.t.}~{}\sum\nolimits_{k\in\mathcal{I}\cup\mathcal{J}}q_{k}=0,q\in\tilde{\mathcal{P}}\right\}

. The users’ problems (2) are equivalent to:

dn+1=\displaystyle d^{n+1}=~{} argmin{θ2(d)+(bn)Tda\displaystyle\mbox{argmin}\{\theta_{2}(d)+\frac{(b^{n})^{T}d}{a}
+|qn+1dD|22a|dk𝒥𝒟^k}\displaystyle+\frac{|q^{n+1}-d-D|^{2}}{2a}|d\in\cup_{k\in\mathcal{I}\cup\mathcal{J}}\hat{\mathcal{D}}_{k}\} (B.2a)
bn+1=\displaystyle b^{n+1}=~{} bnqn+1+dn+1+D\displaystyle b^{n}-q^{n+1}+d^{n+1}+D (B.2b)

where θ2(p):=k𝒥fk(dk)12ak𝒥(dk+Dk)2\theta_{2}(p):=\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}f_{k}(d_{k})-\frac{1}{2a}\sum\limits_{k\in\mathcal{I}\cup\mathcal{J}}(d_{k}+D_{k})^{2}, Dk=dkf,kD_{k}=d_{k}^{f},\forall k\in\mathcal{I}, Dk=dkf,k𝒥D_{k}=d_{k}^{f},\forall k\in\mathcal{J}.

If Condition C1 holds, both θ1(q)\theta_{1}(q) and θ2(d)\theta_{2}(d) are convex, and the following function has a unique saddle point (q,d,b)(q^{*},d^{*},b^{*}).

θ1(q)+θ2(d)bT(qdD)a\displaystyle\theta_{1}(q)+\theta_{2}(d)-\frac{b^{T}(q-d-D)}{a} (B.3)

By variational inequality technique [58] together with (B.1b) and (B.2b), (B.1a) is equivalent to for all q𝒬q\in\mathcal{Q}:

θ1(q)θ1(qn+1)+(qqn+1)T{1abn+1+1a(dn+1dn)}0\displaystyle\theta_{1}(q)-\theta_{1}(q^{n+1})+(q-q^{n+1})^{T}\left\{-\frac{1}{a}b^{n+1}+\frac{1}{a}(d^{n+1}-d^{n})\right\}\geq 0 (B.4)

Similarly, user’s problem is equivalent to for all dk𝒥𝒟^kd\in\cup_{k\in\mathcal{I}\cup\mathcal{J}}\hat{\mathcal{D}}_{k}:

θ2(d)θ2(dn+1)+(ddn+1)T{1abn1a(qn+1dn+1D)}0\displaystyle\theta_{2}(d)-\theta_{2}(d^{n+1})+(d-d^{n+1})^{T}\left\{\frac{1}{a}b^{n}-\frac{1}{a}(q^{n+1}-d^{n+1}-D)\right\}\geq 0 (B.5)

Let t:=(q,d)t:=(q,d) and θ(t):=θ1(q)+θ2(d)\theta(t):=\theta_{1}(q)+\theta_{2}(d), (B.4)-(B.5) implies

θ(t)θ(tn+1)+(qqn+1ddn+1bbn+1)T\displaystyle\theta(t)-\theta(t^{n+1})+\left(\begin{array}[]{c}q-q^{n+1}\\ d-d^{n+1}\\ b-b^{n+1}\\ \end{array}\right)^{T}\cdot~{} (B.9)
{(bn+1/abn+1/aqn+1dn+1D)+(𝐈/a𝐈/a0)(dndn+1)\displaystyle\left\{\left(\begin{array}[]{c}-b^{n+1}/a\\ b^{n+1}/a\\ q^{n+1}\!-\!d^{n+1}\!-\!D\\ \end{array}\right)+\left(\begin{array}[]{c}-\mathbf{I}/a\\ \mathbf{I}/a\\ 0\\ \end{array}\right)(d^{n}-d^{n+1})\right.~{} (B.16)
+(00𝐈/a00𝐈/a)(dn+1dnbn+1bn)}\displaystyle\left.+\left(\begin{array}[]{cc}0&0\\ {\mathbf{I}/a}&0\\ 0&\mathbf{I}/a\\ \end{array}\right)\left(\begin{array}[]{c}d^{n+1}-d^{n}\\ b^{n+1}-b^{n}\\ \end{array}\right)\right\}~{} 0\displaystyle\geq 0 (B.22)

Let w:=(q,d,b)𝒬×k𝒥𝒟^k×||×|𝒥|w:=(q,d,b)\in\mathcal{Q}\times\cup_{k\in\mathcal{I}\cup\mathcal{J}}\hat{\mathcal{D}}_{k}\times\mathbb{R}^{|\mathcal{I}|\times|\mathcal{J}|} and define a mapping F(w):=(b/a,b/a,qdD)F(w):=(-b/a,b/a,q-d-D), which is indeed monotone. Then we have

θ(tn+1)θ(t)+(wn+1w)TF(wn+1)\displaystyle\theta(t^{n+1})-\theta(t^{*})+(w^{n+1}-w^{*})^{T}F(w^{n+1})
\displaystyle\geq~{} θ(tn+1)θ(t)+(wn+1w)TF(w)0\displaystyle\theta(t^{n+1})-\theta(t^{*})+(w^{n+1}-w^{*})^{T}F(w^{*}){\geq 0}

Therefore, we have

(ddn+1bbn+1)T(𝐈/a00𝐈/a)(dn+1dnbn+1bn)\displaystyle\left(\begin{array}[]{c}d^{*}-d^{n+1}\\ b^{*}-b^{n+1}\\ \end{array}\right)^{T}\left(\begin{array}[]{cc}\mathbf{I}/a&0\\ 0&\mathbf{I}/a\\ \end{array}\right)\left(\begin{array}[]{c}d^{n+1}-d^{n}\\ b^{n+1}-b^{n}\\ \end{array}\right) (B.29)
\displaystyle\geq~{} (wn+1w)T(𝐈/a𝐈/a0)(dndn+1)\displaystyle(w^{n+1}-w^{*})^{T}\left(\begin{array}[]{c}-\mathbf{I}/a\\ \mathbf{I}/a\\ 0\\ \end{array}\right)(d^{n}-d^{n+1}) (B.33)
=\displaystyle=~{} 1a(bn+1bn)T(dndn+1)0\displaystyle\frac{1}{a}(b^{n+1}-b^{n})^{T}(d^{n}-d^{n+1})\geq 0 (B.34)

Note that the last inequality is because of (B.5). We could get

|dndbnb|2\displaystyle\bigg{|}\begin{array}[]{c}d^{n}-d^{*}\\ b^{n}-b^{*}\\ \end{array}\bigg{|}^{2}\geq~{} |dn+1dbn+1b|2+|dndn+1bnbn+1|2\displaystyle\bigg{|}\begin{array}[]{c}d^{n+1}-d^{*}\\ b^{n+1}-b^{*}\\ \end{array}\bigg{|}^{2}+\bigg{|}\begin{array}[]{c}d^{n}-d^{n+1}\\ b^{n}-b^{n+1}\\ \end{array}\bigg{|}^{2} (B.41)

The sequence {(dn,bn)}\{(d^{n},b^{n})\} is Féjer monontone [59], with |(dnd)T,(bnb)T|2|(d^{n}-d^{*})^{T},(b^{n}-b^{*})^{T}|^{2} decreasing in each iteration nn by |(dndn+1)T,(bnbn+1)T|2|(d^{n}-d^{n+1})^{T},(b^{n}-b^{n+1})^{T}|^{2}. As a result, the sequence {|(dnd)T,(bnb)T|2}\{|(d^{n}-d^{*})^{T},(b^{n}-b^{*})^{T}|^{2}\} converges and sequences {dn}\{d^{n}\} and {bn}\{b^{n}\} are bounded. With (B.41), the sequence {dn}\{d^{n}\} ({bn}\{b^{n}\}) only has one cluster point. According to (B.5) we can get dndd^{n}\to d^{*} and bnbb^{n}\to b^{*}. With (B.1) we know qnqq^{n}\to q^{*} and λnλ\lambda^{n}\to\lambda^{*}