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

Hierarchically Coordinated Energy Management for A Regional Multi-microgrid Community

Chengquan Ju
Abstract

This paper proposes a novel hierarchically coordinated energy management system (EMS) for a regional community (e.g., residential area, campus, industrial park, etc.) comprising multiple small-scale microgrids (MGs) (e.g., houses, buildings, etc.). It aims to minimize the total operational cost of the MG community and maximize the individual benefit of each MG simultaneously. At the local level inside each MG, with the detailed modeling of various energy resources including photovoltaics (PVs), energy storages (ESs), electric vehicles (EVs) and dispatchable loads, the individual optimization problem is formulated as a mixed-integer linear program (MILP). Local EMSs makes power dispatch decisions for all the controllable units to minimize the operational cost in individual MGs. At the community level, a novel pairing algorithm is proposed to explicitly find the MG pairings with surplus and deficit. The community-level EMS employs the pairing algorithm to determine specific power exchanges among MGs and minimizes the energy transactions with the upstream grid. The operational cost of each individual MG is further reduced by additional economic benefits procured by the community-level EMS. The proposed method has distinguishing advantages on modeling generality, computational complexity and privacy protection, and its performance is verified by the simulation results.

Index Terms:
Energy management, microgrids, hierarchical optimization, energy transaction.

Nomenclature

-A Indices and Sets

Δt\Delta t

Time interval.

tt

Index of time.

i,ji,j

Indices of MG.

kk

Index of controllable appliances.

nn

Index of special ordered set of type 2 (SOS-2).

𝑵𝑮\boldsymbol{N_{G}}

Set of MGs.

𝑬𝑺𝒊\boldsymbol{{ES}^{i}}

Set of Energy Storages (ESs) in MG ii.

𝑬𝑽𝒊\boldsymbol{{EV}^{i}}

Set of Electric Vehicles (EVs) in MG ii.

𝑳𝟏𝒊\boldsymbol{L_{1}^{i}}

Set of type 1 loads in MG ii.

𝑳𝟐𝒊\boldsymbol{L_{2}^{i}}

Set of type 2 loads in MG ii.

𝑵𝒌𝒊\boldsymbol{N_{k}^{i}}

SOS-2 for kkth ES in MG ii.

-B Decision Variables

pM,bi,t,pM,si,tp_{\!M\!,b}^{i,t},p_{\!M\!,s}^{i,t}

Purchasing and selling power of upstream grid.

pC,bij,t,pC,sij,tp_{C,b}^{ij,t},p_{C,s}^{ij,t}

Transmitted power between MG ii and jj.

pk,bi,t,pk,si,tp_{k,b}^{i,t},p_{k,s}^{i,t}

Discharging and charging power of ES (EV).

uMi,tu_{M}^{i,t}

Binary indicator for power from utility grid.

uCij,tu_{C}^{ij,t}

Binary indicator for transmitted power between iith and jjth MG.

δki,t\delta_{k}^{i,t}

Binary indicator for power of ES.

θki,t\theta_{k}^{i,t}

Binary indicator for power of EV.

λki,t\lambda_{k}^{i,t}

Binary indicator for type 1 load.

μki,t\mu_{k}^{i,t}

Binary indicator for type 2 load.

νk,si,t,νk,ei,t\nu_{k,s}^{i,t},\nu_{k,e}^{i,t}

Integral variables to indicate starting and ending time of kkth type 2 load.

αk,ni,t\alpha_{k,n}^{i,t}

Element in SOS-2 𝑵𝒌𝒊\boldsymbol{N_{k}^{i}} of kkth ES.

-C Parameters

Ng{N_{g}}

Number of MGs.

T{T}

Length of time horizon.

cbt,cstc_{b}^{t},c_{s}^{t}

Electricity purchasing and selling price between individual MGs and the upstream grid.

cCtc_{C}^{t}

Electricity transaction price between MGs in the community.

εij\varepsilon_{ij}

Loss factor between MG ii and jj.

PMi¯,PMi¯\overline{P_{M}^{i}},\underline{P_{M}^{i}}

Power limits of utility grid.

pCi,tp_{C}^{i,t}

Aggregation of transmitted power in community.

PCij¯,PCij¯\overline{P_{C}^{ij}},\underline{P_{C}^{ij}}

Transmitted power limits.

Pki,t¯,Pki,t¯\overline{P_{k}^{i,t}},\underline{P_{k}^{i,t}}

ES (EV) power limits.

ζki\zeta_{k}^{i}

ES (EV) charging/discharging efficiency.

Eki,tE_{k}^{i,t}

ES (EV) energy level.

Eki¯,Eki¯\overline{E_{k}^{i}},\underline{E_{k}^{i}}

ES (EV) energy limits.

Eki,depE_{k}^{i,dep}

EV energy requirement at departure.

𝑻𝒌𝒊\boldsymbol{T_{k}^{i}}

Set of Parking time region.

pL1i,tp_{L_{1}}^{i,t}

Power of non-dispatchable loads.

pPVi,tp_{PV}^{i,t}

Power of PV.

pki,tp_{k}^{i,t}

Power of type 1 and 2 loads.

PkiP_{k}^{i}

Total required energy of type 1 and 2 loads.

HkiH_{k}^{i}

Operation durations of kkth type 1 (or 2) load sets.

ck,nic_{k,n}^{i}

ES degradation cost coefficient.

Gk,niG_{k,n}^{i}

Energy level in which ck,ni𝑵𝒌𝒊c_{k,n}^{i}\in\boldsymbol{N_{k}^{i}} .

lix,liyl_{i}^{x},l_{i}^{y}

Coordinates of iith MG.

WW

Weighting matrix of MG community.

wijw_{ij}

Weighting coefficient between MG ii and jj.

-D Functions

fk()f_{k}(\bullet)

ES degradation cost.

F()F(\bullet)

Linearized ES degradation cost.

I Introduction

Microgrid (MG) is generally described as an independent small-scale power system at the downstream of the distribution system. Existing in different forms such as individual houses, commercial/residential buildings and so on [1, 2, 3], MGs include a variety of distributed energy resources (DERs), e.g. photovoltaics (PVs), wind turbines (WT) and microturbines (MT), energy storages (ESs) and electric vehicles (EVs), and can operate both in the islanded mode and in conjunction with the upstream electricity grid depending on different operating requirements [4, 5].

Regional MG community, such as residential area, university campus, industrial park and so on, clusters a group of MGs under the single point of common coupling (PCC) to consolidate system reliability and economy. In normal operational conditions, MG community helps individual MGs reduce transmission losses and enhance system reliability by sharing resources internally [6]. Under extreme circumstances, MG community can operate as an autonomous entity out of the upstream power grid to maintain its integrity and security. Several recent studies have shown significances of MG community on power quality and system reliability improvements [7, 8, 9].

Energy management is the core component to improve energy efficiency, increase economic benefit and maintain operation reliability. Generally, energy management system (EMS) is classified into centralized and decentralized formations by different topology frameworks and control strategies to emphasize specific problems such as energy efficiency, system robustness and so on [10, 11, 12], in which the centralized scheme often requires full information from dispatchable components and to make decisions for each individual entity. However, with the size expansion of the MG community and increasing variety of power electronic components, the scheduling policy on operational strategies may become exponentially complex since intensive computation capability are often required. Inconsistent optimization objectives of different MGs and information security/privacy issues may also be serious concerns that hinder centralized energy management deployment into the MG community.

Several recent studies have focused on various decentralized management schemes for MG community that require multiple entities to cooperate and coordinate in different levels, from various aspects such as cost minimization [13, 14, 15], coalitional transaction [16, 17] and so forth. For example, a control strategy for coordinated operation is proposed in [18] to minimize the operational cost in a distribution system by decomposing decision-making process into multiple stages. A coordinated strategy for optimal energy management in multi-MG systems is presented in [19] by introducing the probabilistic index for cost minimization. Different algorithms for multi-MG coordination have been also investigated [20, 21].

Existing studies have provided profound concepts to coordinated operation for MG community, however, they have limited consideration in several aspects as follows:

1) Optimization objectives of individual MGs may be inconsistent with each other as they are considered as self-interested entities. Various infrastructures of MGs would challenge the implementation of EMS in the sense of complexity on operational strategies.

2) Existing optimization frameworks may fall into the curse of dimensionality, since they usually require intensive computation capability, especially for a large size of MGs community. Convexity issues for large-size problems may also make optimal solutions intangible [22].

3) Requirements for full observability in the centralized EMS and extensive information exchange in the decentralized EMS would introduce MG security and privacy issues.

To overcome the above drawbacks, we propose a hierarchically coordinated EMS model to establish an effective and computationally efficient mechanism of power scheduling for individual MGs as well as energy transactions inside MG community. In contrast to previous existing studies, the main contributions are summarized as follows.

1) A hierarchically coordinated EMS for a regional community comprising multiple small-scale MGs is developed, aiming to minimize the total operational cost and maximize individual benefits simultaneously.

2) In each individual MG, the local EMS is designed based on the detailed modeling of various energy resources including PVs, ESs, EVs and dispatchable loads to decide optimal power dispatches for the operational cost minimization. At the community level, a novel pairing algorithm is proposed to explicitly find appropriate MG pairings with power surplus and deficit. Based on the local scheduling in prior, the community-level EMS employs the pairing algorithm to settle specific power exchanges among MGs, minimizing the total energy transactions with the upstream grid. The individual operational cost is further reduced by additional economic benefits procured by the community-level EMS.

3) The proposed EMS has distinguished advantages on modeling generality, computational efficiency and privacy protection:
    a) Each local optimization problem is formulated as a mixed-integer linear program (MILP), which can be solved by using existing free/commercial solvers in parallel;
    b) Computational speed is improved significantly by the non-iterative coordination strategy; and
    c) No information exchange among local EMSs is required, and communications between the community-level EMS and local EMSs only involve total energy exchanged with individual MGs. Therefore, private information such as detailed scheduling in MGs is well preserved.

The remainder of this paper is organized as follows. In Section II, the overall system structure is presented. The mathematical optimization model of individual MGs is formulated in Section III. Section IV elaborates the pairing algorithm in the community-level EMS and the overall coordination strategy of the MG community. Case studies and simulation results are discussed in Section V, in which the proposed EMS is simulated and compared with several benchmark approaches. At last, Section VI summarizes the conclusion of this paper and the future work is presented.

II Structure of Microgrid Community

The coordinated control and communication architecture of the MG community considered in the study is schematically illustrated in Fig. 1. It is described as a small regional distributed power system comprising a community-level EMS and multiple MGs sited on different locations. The MGs are connected with the transformer to the upstream grid through a common AC bus. The point where all the MGs and the transformer have a common connection is regarded as the PCC. Each MG is locally equipped with PV, ES, EV and different types of loads. The generalized model can be easily modified and utilized by changing these components to specify different system frameworks, e.g. building clusters, residential areas, etc.

It is seen from Fig. 1 that the internal operation of each individual MG are supervised by the local EMS, which only need to satisfy its self-interest. The MG-level EMSs optimize the power scheduling for local controllable units, such as minimization of the operational cost. Microgrids can also sell excess electricity back to the grid when the bidirectional transaction is allowed. On the other side, the community-level EMS aims to manage the operation optimally for the entire community by coordinating individual MGs, so that power efficiency and economic benefits for both individual MGs and the community are maximized simultaneously. To this extent, cyber communication is required by interaction between EMSs in different scales.

Refer to caption
Figure 1: Network topology of a regional MG community.

The dynamic electricity price is determined usually by the system operator from the upstream grid. It is sensitive to locational marginal prices and often announced hours ahead, allowing the decision makers to decide the power setpoints in advance. For all the MGs connected to the PCC, the same price scheme should be received since they are physically connected to the same bus. Typically, there is a difference on the purchasing and selling price at each time period to prevent economic arbitrage. However, concerning on the self-operation status, some MGs may sell excessive electricity back to the grid while some others may purchase to offset energy deficits. For the entire MG community, this phenomenon would lead to an undesirable result in terms of both power and economy efficiency. Frequent transactions between the MG community and the upstream grid would introduce additional power transmission losses; on the other hand, uneconomic operation of the MG community would become an issue due to buying and selling price differences.

To address the problems, the proposed EMS aims to minimize energy transactions with the upstream grid such that power efficiency and economic benefits for both individual MGs and the entire community are maximized simultaneously. Details of the proposed hierarchically coordinated EMS will be elaborated in Section III and IV.

III Local EMS in Individual Microgrid

As a self-interested entity, the EMS in each individual MG aims to determine the optimal scheduling for the local operational cost minimization. It collects all the information including cost functions and various constraints of local facilities and determines input references of the control systems within a finite scheduling time.

III-A Objective Function

Without loss of generality, the individual objective function can be formulated as follows:

mintT{pM,bi,tcbtΔt+pM,si,tcstΔt+j{𝑵𝑮i}(pC,bij,t+pC,sij,t)cCtΔt+kESifk[(pk,bi,tζkipk,si,t)Δt]},i𝑵𝑮\displaystyle\mathop{\min}\sum_{t\in T}{\left\{\begin{array}[]{l}p_{M,b}^{i,t}{c_{b}^{t}}\Delta t+p_{M,s}^{i,t}{c_{s}^{t}}\Delta t\\ +\sum\limits_{j\in\{\boldsymbol{N_{G}}-i\}}{(p_{C,b}^{ij,t}+p_{C,s}^{ij,t}){c_{C}^{t}}\Delta t}\\ +\sum\limits_{k\in E{S^{i}}}{{f_{k}}[(p_{k,b}^{i,t}-\zeta_{k}^{i}p_{k,s}^{i,t})\Delta t]}\end{array}\right\}},~{}i\in\boldsymbol{N_{G}} (4)

Each local EMS aims to minimize the operational cost within the time 𝑻\boldsymbol{T}, which depends on its own operational requirements and is not necessarily correspondent with the community-level EMS. Investment costs of controllable appliances such as EV and PV are not considered, since the proposed method is focused on operational optimization where investment planning is out of this work’s scope.

The first row in (4) represents the electricity cost with the upstream grid. The time-varying dynamic pricing scheme provides economic incentives by bilateral transaction, in which the purchasing price cbtc_{b}^{t} is usually higher than the selling price cstc_{s}^{t} to prevent energy arbitrage. The second row represents the transaction cost by power exchanges in the community, in which the transaction price cCtc_{C}^{t} is predefined as the average of cbtc_{b}^{t} and cstc_{s}^{t}. The last row represents the degradation cost associated with ES. It is known that the degradation process of ES is nonlinearly related with its lifetime and operation mode [23]. To take the degradation cost in a practical fashion, the linearized model is defined from its nonlinear form in [24] by using inclining blocks, as shown in Fig. 2. The ES degradation cost fkf_{k} with special ordered set of type 2 (SOS-2) constraints can be written as follows:

Refer to caption
Figure 2: Piecewise linearized degradation cost of ES.
fk(gki,t)=n𝑵𝒌𝒊αk,ni,tF(Gk,ni)\displaystyle{f_{k}}(g_{k}^{i,t})=\sum\limits_{n\in\boldsymbol{N_{k}^{i}}}{\alpha_{k,n}^{i,t}F(G_{k,n}^{i})} (5)
gki,t=(pk,bi,tζkipk,si,t)Δt=n𝑵𝒌𝒊αk,ni,tGk,ni\displaystyle g_{k}^{i,t}={(p_{k,b}^{i,t}-\zeta_{k}^{i}p_{k,s}^{i,t})\Delta t}=\sum\limits_{n\in\boldsymbol{N_{k}^{i}}}{\alpha_{k,n}^{i,t}G_{k,n}^{i}} (6)
n𝑵𝒌𝒊αk,ni,t=1,αki,t[0,1]\displaystyle\sum\limits_{n\in\boldsymbol{N_{k}^{i}}}{\alpha_{k,n}^{i,t}=1},~{}\alpha_{k}^{i,t}\in[0,1] (7)
F(Gk,ni)=F(Gk,n1i)+ck,n1i(Gk,niGk,n1i),n𝑵𝒌𝒊\{1}\displaystyle F(G_{k,n}^{i}){=}F(G_{k,n-1}^{i}){+}c_{k,n-1}^{i}(G_{k,n}^{i}{-}G_{k,n-1}^{i}),n\in\boldsymbol{N_{k}^{i}}{\backslash}\{1\} (8)
F(Gk,1i)=0\displaystyle F(G_{k,1}^{i})=0 (9)

where αk,ni,t\alpha_{k,n}^{i,t} is the element of kkth ES in 𝑵𝒌𝒊\boldsymbol{N_{k}^{i}} that only the adjacent elements are nonzero. ck,nic_{k,n}^{i} is the degradation cost coefficient of kkth ES, and Gk,niG_{k,n}^{i} is the power level at ck,nic_{k,n}^{i}.

III-B Constraints

The objective function (4) is subject to the various constraints on power balance, energy exchange, ES, EV and loads.

III-B1 Power Balance

The total supply and demand must be always balanced which can be written as follows:

pM,bi,t+pM,si,t+pPVi,t+j{𝑵𝑮i}(pC,bij,t+pC,sij,t)+k𝑬𝑺𝒊(ζkipk,bi,t+pk,si,t)+k𝑬𝑽𝒊(ζkipk,bi,t+pk,si,t)=pL0i,t+k𝑳𝟏𝒊pki,tλki,t+k𝑳𝟐𝒊pki,tλki,t\displaystyle\begin{array}[]{r}p_{M,b}^{i,t}+p_{M,s}^{i,t}+p_{PV}^{i,t}+\sum\limits_{j\in\{\boldsymbol{N_{G}}-i\}}{(p_{C,b}^{ij,t}+p_{C,s}^{ij,t})}\\ +\sum\limits_{k\in\boldsymbol{{ES}^{i}}}{(\zeta_{k}^{i}p_{k,b}^{i,t}+p_{k,s}^{i,t})}+\sum\limits_{k\in\boldsymbol{{EV}^{i}}}{(\zeta_{k}^{i}p_{k,b}^{i,t}+p_{k,s}^{i,t})}\\ =p_{L_{0}}^{i,t}+\sum\limits_{k\in\boldsymbol{L_{1}^{i}}}{p_{k}^{i,t}\lambda_{k}^{i,t}}+\sum\limits_{k\in\boldsymbol{L_{2}^{i}}}{p_{k}^{i,t}\lambda_{k}^{i,t}}\end{array} (13)

The left side in (13) includes purchasing and selling power of the upstream grid, PV power output, transmitted power with other MGs, power of ES and power of EV. The right side includes variables composing three types of loads.

III-B2 Power Exchange

The constraints include power exchange variables to the upstream grid and to other MGs as follows, respectively:

0pM,bi,tpMi¯uMi,t,t𝑻\displaystyle 0\leq p_{M,b}^{i,t}\leq\overline{p_{M}^{i}}u_{M}^{i,t},~{}t\in\boldsymbol{T} (14)
pMi¯(1uMi,t)pM,si,t0,t𝑻\displaystyle\underline{p_{M}^{i}}(1-u_{M}^{i,t})\leq p_{M,s}^{i,t}\leq 0,~{}t\in\boldsymbol{T} (15)
0pC,bij,tpCij¯uCij,t,t𝑻,j𝑵𝑮\{i}\displaystyle 0\leq p_{C,b}^{ij,t}\leq\overline{p_{C}^{ij}}{u_{C}^{ij,t}},~{}t\in\boldsymbol{T},j\in\boldsymbol{N_{G}}\backslash\{i\} (16)
pCij¯(1uCij,t)pC,sij,t0,t𝑻,j𝑵𝑮\{i}\displaystyle\underline{p_{C}^{ij}}(1-u_{C}^{ij,t})\leq p_{C,s}^{ij,t}\leq 0,~{}t\in\boldsymbol{T},j\in\boldsymbol{N_{G}}\backslash\{i\} (17)

where binary variables uMi,tu_{M}^{i,t} and uCij,tu_{C}^{ij,t} enforce the unidirectional power exchange at each time interval.

III-B3 ES and EV

Constraints for ES are presented as follows:

Eki,t+1=Eki,tpk,bi,tΔtζkipk,si,tΔt,t𝑻,k𝑬𝑺𝒊\displaystyle E_{k}^{i,t+1}=E_{k}^{i,t}-p_{k,b}^{i,t}\Delta t-\zeta_{k}^{i}p_{k,s}^{i,t}\Delta t,~{}t\in\boldsymbol{T},k\in\boldsymbol{{ES}^{i}} (18)
Eki¯Eki,tEki¯,t𝑻,k𝑬𝑺𝒊\displaystyle\underline{E_{k}^{i}}\leq E_{k}^{i,t}\leq\overline{E_{k}^{i}},~{}t\in\boldsymbol{T},k\in\boldsymbol{{ES}^{i}} (19)
0pk,bi,tpki,t¯δki,t,t𝑻,k𝑬𝑺𝒊\displaystyle 0\leq p_{k,b}^{i,t}\leq\overline{p_{k}^{i,t}}\delta_{k}^{i,t},~{}t\in\boldsymbol{T},k\in\boldsymbol{{ES}^{i}} (20)
pki,t¯(1δki,t)pk,si,t0,t𝑻,k𝑬𝑺𝒊\displaystyle\underline{p_{k}^{i,t}}(1-\delta_{k}^{i,t})\leq p_{k,s}^{i,t}\leq 0,~{}t\in\boldsymbol{T},k\in\boldsymbol{{ES}^{i}} (21)

(18)-(21) states the state dynamic, energy limits and power limits for ES, respectively.

Constraints for EV are similarly described as follows:

Eki,t+1=Eki,tpk,bi,tΔtζkipk,si,tΔt,t𝑻𝒌𝒊,k𝑬𝑽𝒊\displaystyle E_{k}^{i,t+1}=E_{k}^{i,t}-p_{k,b}^{i,t}\Delta t-\zeta_{k}^{i}p_{k,s}^{i,t}\Delta t,~{}t\in\boldsymbol{T_{k}^{i}},k\in\boldsymbol{{EV}^{i}} (22)
Eki¯Eki,tEki¯,t𝑻𝒌𝒊,k𝑬𝑽𝒊\displaystyle\underline{E_{k}^{i}}\leq E_{k}^{i,t}\leq\overline{E_{k}^{i}},~{}t\in\boldsymbol{T_{k}^{i}},k\in\boldsymbol{{EV}^{i}} (23)
0pk,bi,tpki,t¯θki,t,t𝑻𝒌𝒊,k𝑬𝑽𝒊\displaystyle 0\leq p_{k,b}^{i,t}\leq\overline{p_{k}^{i,t}}\theta_{k}^{i,t},~{}t\in\boldsymbol{T_{k}^{i}},k\in\boldsymbol{{EV}^{i}} (24)
pki,t¯(1θki,t)pk,si,t0,t𝑻𝒌𝒊,k𝑬𝑽𝒊\displaystyle\underline{p_{k}^{i,t}}(1-\theta_{k}^{i,t})\leq p_{k,s}^{i,t}\leq 0,~{}t\in\boldsymbol{T_{k}^{i}},k\in\boldsymbol{{EV}^{i}} (25)
Eki,tEki,dep,t=Tki,k𝑬𝑽𝒊\displaystyle E_{k}^{i,t}\geq E_{k}^{i,dep},~{}t=T_{k}^{i},k\in\boldsymbol{{EV}^{i}} (26)

Differently, the parking time is denoted by 𝑻𝒌𝒊\boldsymbol{T_{k}^{i}} that EV can be scheduled only when parked in MGs. Besides, (26) imposes the minimum energy requirement at departure.

III-B4 Loads

Loads are classified into non-dispatchable and dispatchable loads. Non-dispatchable loads represent fixed electricity consumption that cannot be shifted over time, which are modeled as an aggregated time-dependent parameter pL0i,tp_{L_{0}}^{i,t}. Dispatchable loads represent electrical appliances which can be flexibly scheduled. Based on different operation modes, two types of dispatchable loads are defined. Type 1 loads can be dispatched to several nonconsecutive time intervals, such as washing machines that can do the wash and spin processes in different time periods. They are formulated as follows:

t𝑻pki,tλki,tΔt=Pki,t,k𝑳𝟏𝒊\displaystyle\sum\limits_{t\in\boldsymbol{T}}{p_{k}^{i,t}\lambda_{k}^{i,t}\Delta t}=P_{k}^{i,t},~{}k\in\boldsymbol{L_{1}^{i}} (27)
t𝑻λki,t=Hki,k𝑳𝟏𝒊\displaystyle\sum\limits_{t\in\boldsymbol{T}}{\lambda_{k}^{i,t}}=H_{k}^{i},~{}k\in\boldsymbol{L_{1}^{i}} (28)

where (27) indicates the scheduled operation must meet total energy requirement, and (28) imposes the non-consecutive operational time constraint with the binary variable λki,t\lambda_{k}^{i,t} indicating operational status and the total duration HkiH_{k}^{i}.

Type 2 loads represent appliances such as toasters and dishwashers that must be scheduled consecutively. Their constraints are modeled as follows:

t𝑻pki,tμki,tΔt=Pki,t,k𝑳𝟐𝒊\displaystyle\sum\limits_{t\in\boldsymbol{T}}{p_{k}^{i,t}\mu_{k}^{i,t}\Delta t}=P_{k}^{i,t},~{}k\in\boldsymbol{L_{2}^{i}} (29)
t𝑻μki,t=Hki,k𝑳𝟐𝒊\displaystyle\sum\limits_{t\in\boldsymbol{T}}{\mu_{k}^{i,t}}=H_{k}^{i},~{}k\in\boldsymbol{L_{2}^{i}} (30)
t{𝑻T}νk,si,t=1,νk,si,t{0,1},k𝑳𝟐𝒊\displaystyle\sum\limits_{t\in\{\boldsymbol{T}-T\}}{\nu_{k,s}^{i,t}}=1,~{}\nu_{k,s}^{i,t}\in\left\{{0,1}\right\},~{}k\in\boldsymbol{L_{2}^{i}} (31)
t{𝑻T}νk,ei,t=1,νk,ei,t{0,1},k𝑳𝟐𝒊\displaystyle\sum\limits_{t\in\{\boldsymbol{T}-T\}}{\nu_{k,e}^{i,t}}=-1,~{}\nu_{k,e}^{i,t}\in\left\{{0,-1}\right\},~{}k\in\boldsymbol{L_{2}^{i}} (32)
μki,t+1μki,t=νk,si,t+νk,ei,t,t{𝑻T},k𝑳𝟐𝒊\displaystyle\mu_{k}^{i,t+1}-{\mu_{k}^{i,t}}=\nu_{k,s}^{i,t}+\nu_{k,e}^{i,t},~{}t\in\{\boldsymbol{T}-T\},~{}k\in\boldsymbol{L_{2}^{i}} (33)

where (31)-(33) are additionally imposed with integral variables {νk,si,t,νk,ei,t}\{\nu_{k,s}^{i,t},~{}\nu_{k,e}^{i,t}\} indicating starting and ending time to address the consecutive operation feature.

III-C Overall Formulation

Each individual optimization problem 𝑴𝒊\boldsymbol{M_{i}} for MG ii can be described as follows:

𝐌𝐢\rm\boldsymbol{M_{i}}: for i𝑵𝑮i\in\boldsymbol{N_{G}}:

min:\displaystyle\min:~{}~{}~{} (4)\displaystyle\eqref{eq:objfunction}
subjectto:\displaystyle\mathrm{subject~{}to:~{}~{}~{}} (5)(33)\displaystyle\eqref{eq:deg_1}-\eqref{eq:L2_5}

𝑴𝒊\boldsymbol{M_{i}} is formulated as a MILP which can be effectively solved by many open-source and commercial solvers.

IV Central EMS in Microgrid Community

The community-level EMS aims to determine a pricing mechanism of settling transactions for MGs to further reduce their operating costs. It allocates internal power exchanges among MGs to minimize the energy transactions with the upstream grid. In this section, a pairing algorithm is proposed to explicitly find the MG pairings with least power transmission distances, equivalently to minimize power losses and energy transactions. The coordination strategy is presented to determine specific power exchanges among MGs with surplus and deficit so that the transmission loss is equivalently minimized. Consequently, the individual operational cost is further reduced by additional economic benefits procured by the community-level EMS.

IV-A Pairing Algorithm

The pairing algorithm identifies each distinct pair of MGs with minimal power transmission losses, so that the pattern of exchanging energy inside the MG community can be established. To achieve this target, appropriate weighting coefficients need to be addressed to determine the pairing priority. Since the MG community is particularly regional, electrical distances of MGs are considered to be so close that specific line resistance parameters may not be attained explicitly [25, 26]. Therefore, geographical distances are used instead as weighting coefficients to indirectly reflect transmission losses induced by power exchange among MGs, since they are approximately proportional to line resistances within small regions [27, 28]. The loss factor coefficient εij\varepsilon_{ij} is specified as well to present the linear transmission loss in a practical fashion.

Accordingly, a 2-D Cartesian coordinate system is formulated where the location of MG ii is expressed by its geographical coordinates (lix,liy)(l_{i}^{x},l_{i}^{y}). Hence, the weighting coefficient wijw_{ij} of MGs {i,j}\{i,j\} representing the transmission loss can be expressed by their Euclidean distance as follows:

wij=εij(lixljx)2+(liyljy)2,ij,i,j𝑵𝑮\displaystyle{w_{ij}}=\varepsilon_{ij}\sqrt{{{(l_{i}^{x}-l_{j}^{x})}^{2}}+{{(l_{i}^{y}-l_{j}^{y})}^{2}}},~{}i\neq j,~{}i,j\in\boldsymbol{N_{G}} (34)

Note that wijw_{ij} for MGs with no physical connection can be set as a large positive number MM, and intuitively, wii=M,i𝑵𝑮w_{ii}=M,~{}i\in\boldsymbol{N_{G}} as no self connection exists. The weighting matrix WW of the entire community is expressed as follows:

W=[w11w12w1Ngw21w22w2NgwNg1wNg2wNgNg]\displaystyle W=\left[{\begin{array}[]{*{20}{c}}{{w_{11}}}&{{w_{12}}}&\cdots&{{w_{1{N_{g}}}}}\\ {{w_{21}}}&{{w_{22}}}&\cdots&{{w_{2{N_{g}}}}}\\ \vdots&\vdots&\ddots&\vdots\\ {{w_{{N_{g}}1}}}&{{w_{{N_{g}}2}}}&\cdots&{{w_{{N_{g}}{N_{g}}}}}\end{array}}\right] (39)

It can be easily recognized that WW is Ng×Ng{N_{g}}{\times}{N_{g}} symmetric. Each row ri={wij|j𝑵𝑮}{r_{i}}=\{w_{ij}|j\in\boldsymbol{N_{G}}\} in WW comprises the weighting coefficients of MG ii to other MGs. Next, we prove that there always exists a pairing (wij,wji)(w_{ij},w_{ji}) in WW for the MG community set 𝑵𝑮\boldsymbol{N_{G}}, in which they are of minimal values in their corresponding rows ri{r_{i}} and rj{r_{j}}.

Theorem 1 (Pairing Algorithm).

A MG pairing with minimal weighting coefficients to their corresponding rows in WW can be always found, provided that WW is symmetric.

Proof:

We denote i,j𝑵𝑮i,j\in\boldsymbol{N_{G}} to be the indices of corresponding rows and columns in WW, respectively. The minimum in each row rir_{i}, wiw_{i}, can be expressed as follows:

wi=minri=minj𝑵𝑮wij,i𝑵𝑮\displaystyle{w_{i}}=\min r_{i}=\mathop{\min}\limits_{j\in\boldsymbol{N_{G}}}{w_{ij}},~{}i\in\boldsymbol{N_{G}} (40)

The set 𝑹\boldsymbol{R} including all wiw_{i} can be further presented as:

𝑹={wi|wi=minj𝑵𝑮wij,i𝑵𝑮}={wici|wici=minj𝑵𝑮wij,i𝑵𝑮}\displaystyle\begin{array}[]{l}\boldsymbol{R}=\{{{w_{i}}|{w_{i}}=\mathop{\min}\limits_{j\in\boldsymbol{N_{G}}}w_{ij},~{}i\in\boldsymbol{N_{G}}}\}\\ ~{}~{}=\{{{w_{ic_{i}}}|{w_{ic_{i}}}=\mathop{\min}\limits_{j\in\boldsymbol{N_{G}}}w_{ij},~{}i\in\boldsymbol{N_{G}}}\}\end{array} (43)

where 𝑪={ci|i𝑵𝑮}\boldsymbol{C}=\{c_{i}|i\in\boldsymbol{N_{G}}\} is the column index set of minimum elements.

To prove by contradiction, we make its opposite proposition that such a pairing does not exist for all MGs in 𝑵𝑮\boldsymbol{N_{G}}. This opposite proposition implies that ci𝑪c_{i}\in\boldsymbol{C} are all different since wi𝑹w_{i}\in\boldsymbol{R} are all different.

For symbol simplification, we denote the index set 𝑲\boldsymbol{K} as

𝑲={ki𝑪|k0=1,,ki=cki1,i𝑵𝑮}\displaystyle\boldsymbol{K}=\{k_{i}\in\boldsymbol{C}|k_{0}=1,\cdots,k_{i}=c_{k_{i-1}},~{}i\in\boldsymbol{N_{G}}\} (44)

Since WW is symmetric, in k0{k_{0}}th row, we have:

w1c1=wk0ck0=wck0k0=wk1k0\displaystyle w_{1{c_{1}}}=w_{{k_{0}}{c_{k_{0}}}}=w_{{c_{k_{0}}}{k_{0}}}=w_{{k_{1}}{k_{0}}} (45)

It is known from (44) that wk1ck1w_{{k_{1}}{c_{k_{1}}}} is the minimum in the k1k_{1}th row and k0ck1k_{0}\neq c_{k_{1}}. Therefore, we have:

wk1k0>wk1ck1=wck1k1=wk2k1\displaystyle w_{{k_{1}}{k_{0}}}>w_{{k_{1}}{c_{k_{1}}}}=w_{{c_{k_{1}}}{k_{1}}}=w_{{k_{2}}{k_{1}}} (46)

Sequentially for k𝑲k\in\boldsymbol{K}, the following formation must satisfy:

wk0ck0>wk1ck1>>wkNg1ckNg1=wkNgkNg1\displaystyle w_{{k_{0}}{c_{k_{0}}}}>w_{{k_{1}}{c_{k_{1}}}}>\cdots>w_{{k_{N_{g}-1}}{c_{k_{N_{g}-1}}}}=w_{{k_{N_{g}}}{k_{N_{g}-1}}} (47)

For the last element wkNgkNg1w_{{k_{N_{g}}}{k_{N_{g}-1}}}, we can get:

wkNgkNg1>wkNgckNg\displaystyle w_{{k_{N_{g}}}{k_{N_{g}-1}}}>w_{{k_{N_{g}}}{c_{k_{N_{g}}}}} (48)

Recall that ci𝑪c_{i}\in\boldsymbol{C} are all different, k𝑲\{kNg}k\in\boldsymbol{K}\backslash\{k_{N_{g}}\} are also all different. However, since WW is a Ng×Ng{N_{g}}\times{N_{g}} matrix, 𝑲\boldsymbol{K} must have exactly NgN_{g} elements. Therefore, the following formation must satisfy:

𝑲\{kNg}=𝑲\displaystyle\boldsymbol{K}\backslash\{k_{N_{g}}\}=\boldsymbol{K} (49)

(49) means wkNgckNgw_{{k_{N_{g}}}{c_{k_{N_{g}}}}} is equal to at least one element in the minimum row set 𝑹\boldsymbol{R}:

wkNgckNgR,kNg𝑲\{kNg}\displaystyle w_{{k_{N_{g}}}{c_{k_{N_{g}}}}}\in R,~{}k_{N_{g}}\in\boldsymbol{K}\backslash\{k_{N_{g}}\} (50)

(50) is contradictory to the opposite proposition. Hence, it is proved that such the pairing with minimal values for WW can be always found. ∎

By removing invalid pairings whose connections are not constructed and self-pairings in prior, it is straightforward to determine the MG pairings with minimal transmission losses in the community by using the pairing algorithm. Accordingly, after the minimal value of rows in WW is found, the pairing x,y𝑵𝑮x,y\in\boldsymbol{N_{G}} for WW can be determined by looking into the same values of these minimums as follows:

{x,y}={i,j}|{wij=wji,wij𝑹,i,j𝑵𝑮}\displaystyle\{x,y\}=\{i,j\}|\{w_{ij}=w_{ji},~{}w_{ij}\in\boldsymbol{R},~{}i,j\in\boldsymbol{N_{G}}\} (51)

IV-B Coordination Strategy in Microgrid Community

The pairing algorithm has demonstrated MG pairings with minimal transmission loss can be always located for the entire community. However, such a pairing is regarded valid between two MGs only with different power flow directions. To this extent, the coordination strategy recognizes all the valid pairings of MGs with power surplus and deficits, determines specific values for corresponding energy transactions and simultaneously minimizes the total transaction loss in the MG community. To reach this target, total transmitted power of individual MGs with respect to the community need to be firstly distinguished. An auxiliary variable pCi,tp_{C}^{i,t} for iith MG is introduced as follows:

pCi,t=pM,bi,t+pM,si,t+j𝑵𝑮\{i}(pC,bij,t+pC,sij,t),t𝑻\displaystyle p_{C}^{i,t}=p_{M,b}^{i,t}+p_{M,s}^{i,t}+\sum\limits_{j\in\boldsymbol{N_{G}}\backslash\{i\}}{(p_{C,b}^{ij,t}+p_{C,s}^{ij,t})},~{}t\in\boldsymbol{T} (52)

where pCi,tp_{C}^{i,t} is the summed transmitted power of iith MG to all other MGs in 𝑵𝑮\boldsymbol{N_{G}} and the upstream grid.

It is recognized that pCi,tp_{C}^{i,t} is positive when the iith MG has power surplus and negative with power deficit. Based on the power flow directions, therefore, the corresponding elements in WW can be excluded by the signs of pCi,tp_{C}^{i,t} as follows:

wij=M,ifpCi,t×pCj,t0,i,j𝑵𝑮\displaystyle w_{ij}=M,~{}{\rm{if}}~{}p_{C}^{i,t}\times p_{C}^{j,t}\geq 0,~{}i,j\in\boldsymbol{N_{G}} (53)

where MM is a large positive number.

{pC,bxy,t=pCx,t,pC,sxy,t=0,pC,byx,t=0,pC,syx,t=pCx,t/(1wxy),ifpCx,t>0,|pCx,t|<|(1wxy)pCy,t|pC,bxy,t=(1wxy)pCy,t,pC,sxy,t=0,pC,byx,t=0,pC,syx,t=pCy,t,ifpCx,t>0,|pCx,t|>|(1wxy)pCy,t|pC,bxy,t=0,pC,sxy,t=pCx,t,pC,byx,t=(1wxy)pCx,t,pC,syx,t=0,ifpCx,t<0,|(1wxy)pCx,t|<|pCy,t|pC,bxy,t=0,pC,sxy,t=pCy,t/(1wxy),pC,byx,t=pCy,t,pC,syx,t=0,ifpCx,t<0,|(1wxy)pCx,t|>|pCy,t|,t𝑻\displaystyle\left\{\begin{array}[]{r}p_{C,b}^{xy,t}=p_{C}^{x,t},~{}p_{C,s}^{xy,t}=0,~{}p_{C,b}^{yx,t}=0,~{}p_{C,s}^{yx,t}=-p_{C}^{x,t}/(1-w_{xy}),~{}{\rm if}~{}p_{C}^{x,t}>0,~{}|p_{C}^{x,t}|<|(1-w_{xy})p_{C}^{y,t}|\\ p_{C,b}^{xy,t}=-(1-w_{xy})p_{C}^{y,t},~{}p_{C,s}^{xy,t}=0,p_{C,b}^{yx,t}=0,~{}p_{C,s}^{yx,t}=p_{C}^{y,t},~{}{\rm if}~{}p_{C}^{x,t}>0,~{}|p_{C}^{x,t}|>|(1-w_{xy})p_{C}^{y,t}|\\ p_{C,b}^{xy,t}=0,~{}p_{C,s}^{xy,t}=p_{C}^{x,t},~{}p_{C,b}^{yx,t}=-(1-w_{xy})p_{C}^{x,t},~{}p_{C,s}^{yx,t}=0,~{}{\rm if}~{}p_{C}^{x,t}<0,~{}|(1-w_{xy})p_{C}^{x,t}|<|p_{C}^{y,t}|\\ p_{C,b}^{xy,t}=0,~{}p_{C,s}^{xy,t}=-p_{C}^{y,t}/(1-w_{xy}),~{}p_{C,b}^{yx,t}=p_{C}^{y,t},~{}p_{C,s}^{yx,t}=0,~{}{\rm if}~{}p_{C}^{x,t}<0,~{}|(1-w_{xy})p_{C}^{x,t}|>|p_{C}^{y,t}|\end{array}\right.,~{}t\in\boldsymbol{T} (58)
{pCx,t=0,pCy,t=pCy,t+pCx,t/(1wxy),ifpCx,t>0,|pCx,t|<|(1wxy)pCy,t|pCy,t=pCx,t+(1wxy)pCy,t,pCx,t=0,ifpCx,t>0,|pCx,t|>|(1wxy)pCy,t|pCx,t=0,pCy,t=pCy,t+(1wxy)pCx,t,ifpCx,t<0,|(1wxy)pCx,t|<|pCy,t|pCy,t=pCx,t+pCy,t/(1wxy),pCx,t=0,ifpCx,t<0,|(1wxy)pCx,t|>|pCy,t|,t𝑻\displaystyle\left\{\begin{array}[]{r}p_{C}^{x,t}=0,~{}p_{C}^{y,t}=p_{C}^{y,t}+p_{C}^{x,t}/(1-w_{xy}),~{}{\rm if}~{}p_{C}^{x,t}>0,~{}|p_{C}^{x,t}|<|(1-w_{xy})p_{C}^{y,t}|\\ p_{C}^{y,t}=p_{C}^{x,t}+(1-w_{xy})p_{C}^{y,t},~{}p_{C}^{x,t}=0,~{}{\rm if}~{}p_{C}^{x,t}>0,~{}|p_{C}^{x,t}|>|(1-w_{xy})p_{C}^{y,t}|\\ p_{C}^{x,t}=0,~{}p_{C}^{y,t}=p_{C}^{y,t}+(1-w_{xy})p_{C}^{x,t},~{}{\rm if}~{}p_{C}^{x,t}<0,~{}|(1-w_{xy})p_{C}^{x,t}|<|p_{C}^{y,t}|\\ p_{C}^{y,t}=p_{C}^{x,t}+p_{C}^{y,t}/(1-w_{xy}),~{}p_{C}^{x,t}=0,~{}{\rm if}~{}p_{C}^{x,t}<0,~{}|(1-w_{xy})p_{C}^{x,t}|>|p_{C}^{y,t}|\end{array}\right.,~{}t\in\boldsymbol{T} (63)

After elimination of irrelevant parameters, valid pairings of MGs with different power flow directions can be always established by using the modified coefficient matrix WW in (34), (39) and (53). Based on the optimized dispatch signals transmitted from local EMSs, the community-level EMS can determine the transactions among MGs explicitly.

The community-level EMS executes the pairing algorithm to find MGs in a pairing with minimal weighting coefficients, marked as x,y𝑵𝑮x,y\in\boldsymbol{N_{G}}. Correspondingly, the variables related to exchanged power of MGs x,yx,y need to be updated in the MG level. For all possible scenarios, the transmitted power of MGs x,yx,y are defined by (58), and variables pCx,tp_{C}^{x,t} and pCy,tp_{C}^{y,t} indicating summed transmitted power of MGs x,yx,y respectively are updated by (63) as well.

At last, the weighting matrix WW is updated as follows so that the successfully paired MGs have been excluded:

wij=Mwijri&j𝑵𝑮,ifpCi,t=0,i{x,y}\displaystyle w_{ij}=M~{}\forall w_{ij}\in{r_{i}}~{}{\rm\&}~{}j\in\boldsymbol{N_{G}},~{}{\rm if}~{}p_{C}^{i,t}=0,~{}i\in\{x,y\} (64)
 
1:  for t𝑻t\in\boldsymbol{T},  do
2:     Lower-level EMS for individual MGs:
3:     for MG i𝑵𝑮i\in\boldsymbol{N_{G}},  do
4:        1. Make local PV, load and electricity price forecast in 𝑻\boldsymbol{T}.
5:        2. Solve the local optimization problem 𝑴𝒊\boldsymbol{M_{i}}.
6:        3. Determine the decision variables {pk,bi,t,pk,si,t,uMi,t,δki,t,θki,t,\{p_{k,b}^{i,t},p_{k,s}^{i,t},u_{M}^{i,t},\delta_{k}^{i,t},\theta_{k}^{i,t}, λki,t,μki,t,νk,si,t,νk,ei,t,αk,ni,t}\lambda_{k}^{i,t},\mu_{k}^{i,t},\nu_{k,s}^{i,t},\nu_{k,e}^{i,t},\alpha_{k,n}^{i,t}\} and {uMi,t,uCij,t}\{u_{M}^{i,t},u_{C}^{ij,t}\}.
7:        4. Aggregate pci,tp_{c}^{i,t} according to (52), and transfer {pM,bi,t,\{p_{M,b}^{i,t}, pM,si,t,pC,bij,t,pC,sij,t}p_{M,s}^{i,t},p_{C,b}^{ij,t},p_{C,s}^{ij,t}\} to be decided by the community-level EMS.
8:     end for
9:     Community-level EMS for MG community:
10:     1) Formulate the weighting matrix WW according to (34), (39) and (53).
11:     while (65) is met, do
12:        2) Find the minimum of each row in WW, and determine the specific pairing {x,y}\{x,y\} with the same smallest coefficients according to Theorem 1 and (51).
13:        3) Update {pc,bij,t,pc,sij,t},i,j𝑵𝑮\{p_{c,b}^{ij,t},~{}p_{c,s}^{ij,t}\},~{}i,~{}j{\in}\boldsymbol{N_{G}} by (58).
14:        4) Update aggregated power variables pCi,t,i𝑵𝑮p_{C}^{i,t}\!,i\!\in\!\boldsymbol{N_{G}} by (63).
15:        5) Update the weighting matrix WW by (64).
16:     end while
17:     6) Determine the power exchange variables {pM,bi,t,pM,si,t,pC,bij,t,\{p_{M,b}^{i,t},p_{M,s}^{i,t},p_{C,b}^{ij,t}, pC,sij,t},i𝑵𝑮p_{C,s}^{ij,t}\},~{}i\in\boldsymbol{N_{G}}.
18:  end for  

Figure 3: Algorithm of the hierarchically coordinated EMS.

(64) finishes the first MG pairing, and the community-level EMS starts searching next pairing for the rest of MGs, until any of the total energy surplus of deficit among 𝑵𝑮\boldsymbol{N_{G}} becomes zero. The stopping criterion can be expressed as follows:

i𝑵𝑮j{𝑵𝑮i}pC,bij,t×i𝑵𝑮j{𝑵𝑮i}pC,sij,t=0\displaystyle\sum\limits_{i\in\boldsymbol{N_{G}}}{\sum\limits_{j\in\{\boldsymbol{N_{G}}-i\}}{p_{C,b}^{ij,t}}}\times\sum\limits_{i\in\boldsymbol{N_{G}}}{\sum\limits_{j\in\{\boldsymbol{N_{G}}-i\}}{p_{C,s}^{ij,t}}}=0 (65)

The overall procedure of the proposed EMS is described in Fig. 3. In the beginning of each time period, PV and load forecasts are made locally and the day-ahead electricity price is obtained. For each MG i𝑵𝑮i\in\boldsymbol{N_{G}}, dispatch decisions in the entire scheduling horizon are obtained by solving its own optimization problem in the local EMS individually, and pCi,tp_{C}^{i,t} is calculated by (52). Then for the community-level EMS, WW is re-established based on (34), (39) and (53). Afterwards, the community-level EMS finds the MG pairing for current WW. Procedures of the coordination strategy in the community-level EMS are iterated by (52)–(64) until (65) is met.

IV-C Remarks

It is worth mentioning that the proposed pairing algorithm is not to physically control the power flow from one MG to the other. Rather, it is to settle the energy transactions within different MGs in a hierarchical way. Specifically, the local EMS determines the optimal power dispatch for each individual MG, and all the excessive power will go to the PCC for power exchange. The pairings of power surplus and deficit are then established based on the in-prior local scheduling in the community-level EMS. In this way, each MG can transact with others rather than the upstream grid to save the operating cost. It is important to note that the community-level EMS is not to physically dispatch the power but to settle the energy transactions, and the power surplus and deficit of all the individual MGs are balanced with the upstream grid at the PCC. Also note in Fig. 3 that the community-level EMS has no iterative information exchange with the local EMS since pCi,tp_{C}^{i,t} is only collected once from the corresponding iith local EMS, and that the local EMS can solve the MILP optimization problem in parallel. Such the non-iterative interaction and parallel optimization will improve the computational speed of the proposed EMS over the existing techniques. The verification on computation speed will be provided in Section V.

On the selection of weighting coefficients, as the electrical distances of MGs are close due to the regionally small area, it is usually not feasible to obtain exact line parameters and thus hard to calculate the explicit power losses. It is similarly suggested in [29, 30] that the fixed R/X ratio can be employed approximately in the homogeneous distribution system to calculate the line parameters. On the other hand, since it is only required in Theorem 1 that the weighting coefficient matrix WW is symmetric, the specific line parameters can be readily employed as weighting coefficients for the proposed algorithm without affecting its effectiveness if they are explicitly known beforehand.

V Simulation Results

In this section, the mathematical model of the proposed EMS is demonstrated in MATLAB. The optimization problem is solved using Gurobi [31], in which the local EMS in individual MG solves its own optimization. The community-level EMS settles the power exchanges among MGs by using the coordination strategy with pairing algorithm, so that the total power transactions with the upstream grid is minimized. The simulation is conducted for a 24h scheduling horizon, and the sampling time resolution for the community-level EMS is 0.5h.

TABLE I: Microgrid Characteristics
Microgrid MG1 MG2 MG3 MG4
ES
Capacity(kWh) 8 8 12 12
Max&Min PP(kW) -4/4 -4/4 -4/4 -4/4
Initial SOC(%) 20.9 33.1 33 31
SOC range(%) 17.0-84.1 17.5-83.5 16.9-82.1 18.7-89.0
Efficiency 95% 95% 95% 95%
EV
Capacity (kWh) 16 16 N.A. N.A.
Max&Min PP (kW) -1.44/3.6 -1.44/3.6
Initial SOC(%) 52.63 33.1
Operation periods (h) 0-4.88, 19.09-24 0-7.65,18.93-24
SOC range(%) (%) 15.8-83.7 19.9-81.6
Min depart SOC(%) 51.45 61.58
Efficiency 95% 95%
PV
Capacity (kWp) 2 2 16 16
Unified location
(lx,lyl^{x},l^{y}) (0.12, 0.13) (0.16, 0.79) (0.83, 0.11) (0.09, 0.26)
TABLE II: Parameters of dispatchable loads
Appliance Power(kW) Operating Operation type
periods duration(h)
Washing machine 0.7 0-19,23-24 1 1
Cleaner 0.6 0-4,6,24 4 1
Air conditioner 1.2 0-7,18-24 3 1
Lighting 0.15 6-7,18-23.5 5 1
Oven 1.16 11-13 0.5 1
Toaster 1.2 7-9 0.25 2
Dish washer 1 0-4,9-11,14-17,20-24 1 2
Refer to caption
(a) MG1
Refer to caption
(b) MG2
Refer to caption
(c) MG3
Refer to caption
(d) MG4
Figure 4: PV outputs of MGs.
Refer to caption
(a) MG1
Refer to caption
(b) MG2
Refer to caption
(c) MG3
Refer to caption
(d) MG4
Figure 5: Non-dispatchable loads of MGs.

V-A Case 1: 4-MG Community

In this case study, a MG community with 4 different types of MGs (MG1-MG4) is investigated. MG1 and MG2 are considered as two individual houses with different load patterns. MG3 is an apartment building with 10 households. MG4 is a small-scale MG with high PV penetration, where its renewable output is much larger than the total load. The specifications of 4 MGs are detailed in Table I. For each households in individual houses and apartment, type 1 and type 2 loads are listed in Table II with predefined operation time ranges. The PV profile is based on the solar radiation data from [32], which is depicted in Fig. 4. The non-dispatchable load and electricity price data are based on the average household statistics in 2017 [33] and the hourly market data in Singapore [34], which are shown in Fig. 5 and Fig. 6, respectively. Specifically, to indicate different patterns, the load profile of MG2 is shifted so that it has the peak power consumption in the daytime. The loss factors in the community εij,i,j𝑵𝑮\varepsilon_{ij},~{}i,j\in\boldsymbol{N_{G}} are set to be 0.05.

Refer to caption
Figure 6: Electricity price in 24 hours.

V-A1 Results of Individual Microgrids

The hourly energy dispatch for MG1 and MG2 (houses) is presented in Fig. 7a and Fig. 7b. It is observed that MG1 and MG2 can cover most of electricity demand themselves by PV during daytime. Dispatchable loads are scheduled within off-peak hours due to low electricity price. ES and EV are also charged until the required energy levels are reached at hours with low electricity prices (e.g., at hour 2 and 23). However, ES can effectively respond high price signals in the daytime whereas EV is not involved as it is already departed. Particularly, when the electricity price increases at hour 7, EV in MG2 starts to charge to reduce electricity consumption of the upstream grid.

Refer to caption
(a) MG1
Refer to caption
(b) MG2
Refer to caption
(c) MG3
Refer to caption
(d) MG4
Figure 7: Energy scheduling in different MGs.
Refer to caption
Figure 8: Detailed scheduling of dispatchable loads in MG1.

The scheduling of appliances in MG1 is presented in Fig. 8 for detailed illustration. Most power consumption is distributed among time intervals when electricity prices are at lowest even full scheduling flexibility is provided. On the other side, power consumption of type 2 loads is moved towards hours with higher prices to meet users’ demands. For both types of dispatchable loads, time intervals with lowest prices are always selected by the local EMS.

The scheduling for MG3 (apartment building) is shown in Fig. 7c. Similarly, the load consumption is mostly distributed among time intervals with low electricity price. Both types of dispatchable loads are scheduled within off-peak hours even though type 1 loads have full flexibility during the entire horizon. However, different from MG1 and MG2 (houses), it is necessary for MG3 to buy part of additional power from other MGs with surplus or even from the upstream grid since the demand cannot be fully covered by its own PV output.

The scheduling of MG4 is shown in Fig. 7d, in which this MG owns small non-dispatchable loads. In consequence, the net power is exported to other MGs. On the other hand, power consumption at night is supplied by the local energy storage, the upstream grid and other MGs together since PV is unable to provide any power.

V-A2 Results of Microgrid community

TABLE III: Energy flow results in 24 hours
Time Energy flow (kWh)
(h) 1-2 1-3 1-4 2-3 2-4 3-4
1 0 0 0 0 0 0
2 0 0 0 0 0 0
3 0 0 0 0 0 0
4 0 0 0 0 0 0
5 0 0 0 0 0 0
6 0 0 0 0 0 0
7 0 0 0 0 0 0
8 0 0 0 0 0 0
9 0 0 0 0 -1.0798 -3.3395
10 0 0 0 0 0 -8.8526
11 0 0.1501 0 0 0 -10.4804
12 0 0.3298 0 0 0 -9.0236
13 0 0.2102 0 0 0 -8.8724
14 0 0.5107 0 0 0 -7.2907
15 0 0.3018 0 0 0 -9.1386
16 0 0 -0.5124 0 -0.9727 -3.9986
17 0 0 -0.6501 0 0 0
18 0 0 0 0 0 0
19 0 0 0 0 0 0
20 0 0 0 0 0 0
21 0 0 0 0 0 0
22 0 0 0 0 0 0
23 0 0 0 0 0 0
24 0 0 0 0 0 0

The energy flow within the MG community is detailed in Table III, in which four MGs are abbreviated from 1 to 4, respectively. It is shown that MG1 has the higher priority to export its surplus to MG3 due to a smaller weighting coefficient, even when MG1 and MG2 have excessive power from the PV at daytime. Similarly, when the PV output in MG1 cannot meet all the local loads at hour 17, the higher priority has granted it to acquire additional power from MG4 than MG1 and MG2.

With the implementation of the proposed method, the total operational cost has been not only decreased for each individual MG, but for the entire community, as shown in Table IV. Compared with direct transaction with the upstream grid, the operational cost of each MG has been reduced from 5.109% to 21.544%. On the other hand, by using the coordination strategy, the transaction cost with the upstream grid has been decreased by $8.231 even with additional $1.245 of transmission loss. In consequence, the operational cost in total has been decreased by 9.474%. Therefore, individual MGs can benefit from the proposed EMS by reducing local operational costs, which would potentially attract external MGs for active participation into the community.

TABLE IV: Operation cost of MG community with 4 MGs
Cost ($) MG1 MG2 MG3 MG4 total
original 5.981 6.068 72.233 -10.558 73.724
grid-side 5.496 5.036 56.028 -1.068 65.493
community -0.075 0.560 12.513 -11.753 1.245
total 5.421 5.596 68.542 -12.821 66.737
improvement 9.361% 7.619% 5.109% 21.544% 9.474%
TABLE V: Average operation cost of community with 50 MGs
Cost ($) MG1 MG2 MG3 MG4 total
original 6.083 6.035 71.979 -10.487 548.361
grid-side 5.503 5.040 55.770 -1.059 490.268
community 0.208 0.560 12.306 -10.996 8.036
total 5.711 5.600 68.076 -12.055 498.304
improvement 6.111% 7.201% 5.422% 14.958% 9.129%

V-B Case 2: 50-MG community

A regional MG community with 50 MGs in four types including 20 of MG1, 20 of MG2, 5 of MG3 and 5 of MG4, respectively, is further investigated to validate the scalability of the proposed EMS. Individual MG characteristics follow those of same types in Case 1.

The operational cost results are presented in Table V. It is observed the entire MG community has reduced the operational cost in 24 hours from $548.361 to $490.268, while the total transmission loss is $8.036. In total, the electricity expense has been improved by 9.129%. In addition, the proposed EMS benefits all types of individual MGs with average cost improvements ranging from 5.422% to 14.958%. As a result, the implementation of the proposed EMS may implicitly decrease the electricity price from the upstream grid in turn, since the stress to power congestion at peak hours in the distribution level would be alleviated.

Comparing the result with that in the 4-MG case, it is noted that the ratio of operational result reduction does not necessarily decrease with the increasing size of MG community, since it is closely related on the different MG types and their independent operational states, such as RES outputs, fixed and dispatchable load profiles, electricity prices and so on.

V-C Comparison with Other Methods

Three existing approaches in the literature are conducted for comparison to further evaluate the performance and advantages of the proposed EMS. Firstly, the single-level energy management framework in [35] is adopted as the centralized benchmark in which all the MGs in the community are combined just as one unity. A mathematical model similar in Section III-B is formulated and solved. Secondly, the optimization method proposed in [22] without stochastic processes is utilized in the community level as the two-level EMS benchmark, in which a Lagrangian relaxation based algorithm is used to eliminate power exchange imbalances. Finally, a purely decentralized framework by only using local EMSs is added in which each MG makes transaction directly with the upstream grid, without any communication inside the community.

TABLE VI: Comparative results for 4 MGs
Algorithm Operational cost ($) Computation time (s)
proposed 66.73 1.17
[35] 66.60 36.16
[22] 66.67 22.49
direct transaction 73.72 1.01
TABLE VII: Comparative results for 50 MGs
Algorithm Operational cost ($) Computation time (s)
proposed 498.30 15.06
[35] 497.22 2053.48
[22] 497.96 1378.13
direct transaction 617.41 12.82

Comparative results with existing methods in Case 1 and 2 are presented in Table VI and Table VII, respectively. It is seen in Table VI that the proposed EMS has achieved the optimized operational cost slightly higher by just 0.2% to the best result with [35], whereas the computation time is nearly 19 times faster than the second best result with [22]. It is noted that the operational cost in [35] is the minimum since all the information from individual MGs has been fully collected and gathered into the centralized EMS, which may nevertheless bring serious privacy concerns. Similar privacy problems exist in [22] that information of dispatch signals needs to be exchanged among MGs and with the community-level EMS. On the contrary, private information is well preserved in the proposed EMS, since no communication among local EMSs or with the community-level EMS is required by any means. Communications between the community-level EMS and local EMSs only involve total power exchanges of individual MGs that do not expose any detailed decision making inside MGs.

The benefits on computational speed of the proposed EMS are further revealed with the increasing number of MGs, as shown in Table VII. It is seen that the proposed EMS spends just 15 seconds to the optimized result with a degradation of 0.21%, however it takes nearly half an hour for the centralized method in [35] and 23 minutes for the decentralized approach in [22]. Such the discrepancy on computational efficiency would become more noticeable with size expansion of the MG community, therefore, the proposed EMS has outstanding advantages in view of trade-offs between computation efficiency and solution quality. With this respect, it is noted that the uncertainty related with renewables and loads are not modeled in the proposed method because of its superior performance on computation speed. The proposed EMS is able to be carried out more frequently if uncertain factors are taken into consideration.

VI Conclusion

VI-A Summary

In this paper, a hierarchically coordinated EMS model for multiple small-scale MGs in a regional community is proposed, accounting for minimization of the community-level operational cost and maximization of individual MG-level benefits simultaneously. The local EMSs aim to minimize the individual operational cost, while the community-level EMS determines specific energy transactions in the community by using the pairing algorithm to further reduce individual operational costs. The proposed EMS has been validated by two case studies with different scales. By comparing with existing approaches, simulation results have shown significant advantages of the proposed EMS on modeling generality, computational complexity and privacy security, that the optimization time has been reduced significantly by the non-iterative algorithm, and privacy issues have been eliminated by minimal information exchange.

VI-B Future work

There have been studies addressing uncertainties by implementing stochastic optimization techniques [36, 37, 38], in which uncertainties are usually handled by sampling reduction and uncertainty set in stochastic programming, and then the optimization problems can be solved in multiple stages. Nevertheless, most of the techniques and algorithms mentioned above have been implemented to the centralized energy management framework whereas little application has been reported regarding decentralized energy management. In our future research, it is planned to incorporate uncertainties into the proposed model with distributed stochastic optimization schemes, and develop computationally efficient algorithm for practical application.

Acknowledgment

This research is supported by the National Research Foundation, Prime Minister’s Office, Singapore under the Energy Innovation Research Programme (EIRP) Energy Storage Grant Call and administrated by the Energy Market Authority (NRF2015EWT-EIRP002-007).

References

  • [1] H. Kanchev, D. Lu, F. Colas, V. Lazarov, and B. Francois, “Energy management and operational planning of a microgrid with a pv-based active generator for smart grid applications,” IEEE transactions on industrial electronics, vol. 58, no. 10, pp. 4583–4592, 2011.
  • [2] A. Anvari-Moghaddam, J. M. Guerrero, J. C. Vasquez, H. Monsef, and A. Rahimi-Kian, “Efficient energy management for a grid-tied residential microgrid,” IET Generation, Transmission & Distribution, vol. 11, no. 11, pp. 2752–2761, 2017.
  • [3] N. Liu, Q. Chen, J. Liu, X. Lu, P. Li, J. Lei, and J. Zhang, “A heuristic operation strategy for commercial building microgrids containing evs and pv system,” IEEE Transactions on Industrial Electronics, vol. 62, no. 4, pp. 2560–2570, 2015.
  • [4] X. Liu, P. Wang, and P. C. Loh, “A hybrid AC/DC microgrid and its coordination control,” IEEE Trans. Smart Grid, vol. 2, no. 2, pp. 278–286, 2011.
  • [5] D. E. Olivares, A. Mehrizi-Sani, A. H. Etemadi, C. A. Cañizares, R. Iravani, M. Kazerani, A. H. Hajimiragha, O. Gomis-Bellmunt, M. Saeedifard, R. Palma-Behnke et al., “Trends in microgrid control,” IEEE Trans. Smart Grid, vol. 5, no. 4, pp. 1905–1919, 2014.
  • [6] M. Fathi and H. Bevrani, “Statistical cooperative power dispatching in interconnected microgrids,” IEEE Trans. Softw. Eng., vol. 4, no. 3, pp. 586–593, 2013.
  • [7] W.-Y. Chiu, H. Sun, and H. V. Poor, “A multiobjective approach to multimicrogrid system design,” IEEE Trans. Smart Grid, vol. 6, no. 5, pp. 2263–2272, 2015.
  • [8] W. Zhang, Y. Xu, Z. Dong, and K. P. Wong, “Robust security constrained-optimal power flow using multiple microgrids for corrective control of power systems under uncertainty,” IEEE Trans. Ind. Informat., vol. 13, no. 4, pp. 1704–1713, 2017.
  • [9] S. Chanda and A. K. Srivastava, “Defining and enabling resiliency of electric distribution systems with multiple microgrids,” IEEE Trans. Smart Grid, vol. 7, no. 6, pp. 2859–2868, Nov. 2016.
  • [10] B. Zhao, X. Wang, D. Lin, M. M. Calvin, J. C. Morgan, R. Qin, and C. Wang, “Energy management of multiple microgrids based on a system of systems architecture,” IEEE Trans. Power Syst., vol. 33, no. 6, pp. 6410–6421, 2018.
  • [11] F. Luo, G. Ranzi, S. Wang, and Z. Y. Dong, “Hierarchical energy management system for home microgrids,” IEEE Trans. Smart Grid, 2018.
  • [12] F. Luo, G. Ranzi, C. Wan, Z. Xu, and Z. Y. Dong, “A multistage home energy management system with residential photovoltaic penetration,” IEEE Trans. Ind. Informat., vol. 15, no. 1, pp. 116–126, 2019.
  • [13] N. G. Paterakis, O. Erdinç, I. N. Pappi, A. G. Bakirtzis, and J. P. S. Catalão, “Coordinated operation of a neighborhood of smart households comprising electric vehicles, energy storage and distributed generation,” IEEE Trans. Smart Grid, vol. PP, no. 99, pp. 1–12, 2016.
  • [14] N. Nikmehr and S. N. Ravadanegh, “Optimal power dispatch of multi-microgrids at future smart distribution grids,” IEEE Trans. Smart Grid, vol. 6, no. 4, pp. 1648–1657, Jul. 2015.
  • [15] C. Zhang, Y. Xu, Z. Y. Dong, and K. P. Wong, “Robust coordination of distributed generation and price-based demand response in microgrids,” IEEE Trans. Smart Grid, vol. 9, no. 5, pp. 4236–4247, 2018.
  • [16] J. Ni and Q. Ai, “Economic power transaction using coalitional game strategy in micro-grids,” IET Gener. Transm. Distrib., vol. 10, no. 1, pp. 10–18, 2016.
  • [17] J. Li, Y. Liu, and L. Wu, “Optimal operation for community based multi-party microgrid in grid-connected and islanded modes,” IEEE Trans. Smart Grid, vol. 9, no. 2, pp. 756–765, 2018.
  • [18] Z. Wang, B. Chen, J. Wang, M. M. Begovic, and C. Chen, “Coordinated energy management of networked microgrids in distribution systems,” IEEE Trans. Smart Grid, vol. 6, no. 1, pp. 45–53, 2015.
  • [19] S. A. Arefifar, M. Ordonez, and Y. A.-R. I. Mohamed, “Energy management in multi-microgrid systems-Development and assessment,” IEEE Trans. Power Syst., vol. 32, no. 2, pp. 910–922, 2017.
  • [20] A. Ouammi, H. Dagdougui, L. Dessaint, and R. Sacile, “Coordinated model predictive-based power flows control in a cooperative network of smart microgrids,” IEEE Trans. Smart Grid, vol. 6, no. 5, pp. 2233–2244, 2015.
  • [21] B. Celik, R. Roche, D. Bouquain, and A. Miraoui, “Decentralized neighborhood energy management with coordinated smart home energy sharing,” IEEE Trans. Smart Grid, vol. 9, no. 6, pp. 6387–6397, 2018.
  • [22] D. Papadaskalopoulos, D. Pudjianto, and G. Strbac, “Decentralized coordination of microgrids with flexible demand and energy storage,” IEEE Trans. Sustain. Energy, vol. 5, no. 4, pp. 1406–1414, 2014.
  • [23] S. Drouilhet, B. Johnson, S. Drouilhet, and B. Johnson, “A battery life prediction method for hybrid power applications,” in 35th Aero. Sci.s Meet. and Exhib., 1997, p. 948.
  • [24] C. Ju, P. Wang, L. Goel, and Y. Xu, “A two-layer energy management system for microgrids with hybrid energy storage considering degradation costs,” IEEE Trans. Smart Grid, vol. 9, no. 6, pp. 6047–6057, Nov. 2018.
  • [25] T. Ding, Y. Lin, G. Li, and Z. Bie, “A new model for resilient distribution systems by microgrids formation,” IEEE Trans. Power Syst., 2017.
  • [26] C. Chen, J. Wang, F. Qiu, and D. Zhao, “Resilient distribution system by microgrids formation after natural disasters,” IEEE Trans. Smart Grid, vol. 7, no. 2, pp. 958–966, 2016.
  • [27] M. A. Kashem, V. Ganapathy, G. B. Jasmon, and M. I. Buhari, “A novel method for loss minimization in distribution networks,” in 2000 IEEE Elect. Util. Deregu. and Restr. and Power Techno., 2000, pp. 251–256.
  • [28] R. A. Jabr, R. Singh, and B. C. Pal, “Minimum loss network reconfiguration using mixed-integer convex programming,” IEEE Trans. Power Syst., vol. 27, no. 2, pp. 1106–1115, 2012.
  • [29] K. Turitsyn, P. Sulc, S. Backhaus, and M. Chertkov, “Options for control of reactive power by distributed photovoltaic generators,” Proceedings of the IEEE, vol. 99, no. 6, pp. 1063–1073, 2011.
  • [30] R. A. Jabr, “Linear decision rules for control of reactive power by distributed photovoltaic generators,” IEEE Transactions on Power Systems, vol. 33, no. 2, pp. 2165–2174, 2018.
  • [31] I. Gurobi Optimization, “Gurobi optimizer reference manual,” 2016. [Online]. Available: http://www.gurobi.com
  • [32] “Solar irradiance map,” 2017. [Online]. Available: https://www.solar-repository.sg/solar-irradiance-map
  • [33] “Singapore energy statistics,” 2017. [Online]. Available: https://www.ema.gov.sg/singapore_energy_statistics.aspx
  • [34] “Price Information,” 2017. [Online]. Available: https://www.emcsg.com/marketdata
  • [35] D. E. Olivares, C. A. Canizare, and M. Kazerani, “A centralized energy management system for isolated microgrids,” IEEE Trans. Smart Grid, vol. 5, no. 4, pp. 1864–1875, 2014.
  • [36] W. Hu, P. Wang, and H. B. Gooi, “Toward optimal energy management of microgrids via robust two-stage optimization,” IEEE Trans. Smart Grid, vol. 9, no. 2, pp. 1161–1174, 2018.
  • [37] F. Valencia, D. Sáez, J. Collado, F. Ávila, A. Marquez, and J. J. Espinosa, “Robust energy management system based on interval fuzzy models,” IEEE Trans. Control Syst. Technol., vol. 24, no. 1, pp. 140–157, 2016.
  • [38] A. R. Malekpour and A. Pahwa, “Stochastic networked microgrid energy management with correlated wind generators,” IEEE Trans. Power Syst., vol. 32, no. 5, pp. 3681–3693, 2017.