Hierarchically Coordinated Energy Management for A Regional Multi-microgrid Community
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
-
Time interval.
-
Index of time.
-
Indices of MG.
-
Index of controllable appliances.
-
Index of special ordered set of type 2 (SOS-2).
-
Set of MGs.
-
Set of Energy Storages (ESs) in MG .
-
Set of Electric Vehicles (EVs) in MG .
-
Set of type 1 loads in MG .
-
Set of type 2 loads in MG .
-
SOS-2 for th ES in MG .
-B Decision Variables
-
Purchasing and selling power of upstream grid.
-
Transmitted power between MG and .
-
Discharging and charging power of ES (EV).
-
Binary indicator for power from utility grid.
-
Binary indicator for transmitted power between th and th MG.
-
Binary indicator for power of ES.
-
Binary indicator for power of EV.
-
Binary indicator for type 1 load.
-
Binary indicator for type 2 load.
-
Integral variables to indicate starting and ending time of th type 2 load.
-
Element in SOS-2 of th ES.
-C Parameters
-
Number of MGs.
-
Length of time horizon.
-
Electricity purchasing and selling price between individual MGs and the upstream grid.
-
Electricity transaction price between MGs in the community.
-
Loss factor between MG and .
-
Power limits of utility grid.
-
Aggregation of transmitted power in community.
-
Transmitted power limits.
-
ES (EV) power limits.
-
ES (EV) charging/discharging efficiency.
-
ES (EV) energy level.
-
ES (EV) energy limits.
-
EV energy requirement at departure.
-
Set of Parking time region.
-
Power of non-dispatchable loads.
-
Power of PV.
-
Power of type 1 and 2 loads.
-
Total required energy of type 1 and 2 loads.
-
Operation durations of th type 1 (or 2) load sets.
-
ES degradation cost coefficient.
-
Energy level in which .
-
Coordinates of th MG.
-
Weighting matrix of MG community.
-
Weighting coefficient between MG and .
-D Functions
-
ES degradation cost.
-
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.

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:
(4) |
Each local EMS aims to minimize the operational cost within the time , 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 is usually higher than the selling price to prevent energy arbitrage. The second row represents the transaction cost by power exchanges in the community, in which the transaction price is predefined as the average of and . 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 with special ordered set of type 2 (SOS-2) constraints can be written as follows:

(5) | |||
(6) | |||
(7) | |||
(8) | |||
(9) |
where is the element of th ES in that only the adjacent elements are nonzero. is the degradation cost coefficient of th ES, and is the power level at .
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:
(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:
(14) | |||
(15) | |||
(16) | |||
(17) |
where binary variables and enforce the unidirectional power exchange at each time interval.
III-B3 ES and EV
Constraints for ES are presented as follows:
(18) | |||
(19) | |||
(20) | |||
(21) |
(18)-(21) states the state dynamic, energy limits and power limits for ES, respectively.
Constraints for EV are similarly described as follows:
(22) | |||
(23) | |||
(24) | |||
(25) | |||
(26) |
Differently, the parking time is denoted by 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 . 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:
(27) | |||
(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 indicating operational status and the total duration .
Type 2 loads represent appliances such as toasters and dishwashers that must be scheduled consecutively. Their constraints are modeled as follows:
(29) | |||
(30) | |||
(31) | |||
(32) | |||
(33) |
where (31)-(33) are additionally imposed with integral variables indicating starting and ending time to address the consecutive operation feature.
III-C Overall Formulation
Each individual optimization problem for MG can be described as follows:
: for :
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 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 is expressed by its geographical coordinates . Hence, the weighting coefficient of MGs representing the transmission loss can be expressed by their Euclidean distance as follows:
(34) |
Note that for MGs with no physical connection can be set as a large positive number , and intuitively, as no self connection exists. The weighting matrix of the entire community is expressed as follows:
(39) |
It can be easily recognized that is symmetric. Each row in comprises the weighting coefficients of MG to other MGs. Next, we prove that there always exists a pairing in for the MG community set , in which they are of minimal values in their corresponding rows and .
Theorem 1 (Pairing Algorithm).
A MG pairing with minimal weighting coefficients to their corresponding rows in can be always found, provided that is symmetric.
Proof:
We denote to be the indices of corresponding rows and columns in , respectively. The minimum in each row , , can be expressed as follows:
(40) |
The set including all can be further presented as:
(43) |
where 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 . This opposite proposition implies that are all different since are all different.
For symbol simplification, we denote the index set as
(44) |
Since is symmetric, in th row, we have:
(45) |
It is known from (44) that is the minimum in the th row and . Therefore, we have:
(46) |
Sequentially for , the following formation must satisfy:
(47) |
For the last element , we can get:
(48) |
Recall that are all different, are also all different. However, since is a matrix, must have exactly elements. Therefore, the following formation must satisfy:
(49) |
(49) means is equal to at least one element in the minimum row set :
(50) |
(50) is contradictory to the opposite proposition. Hence, it is proved that such the pairing with minimal values for 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 is found, the pairing for can be determined by looking into the same values of these minimums as follows:
(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 for th MG is introduced as follows:
(52) |
where is the summed transmitted power of th MG to all other MGs in and the upstream grid.
It is recognized that is positive when the th MG has power surplus and negative with power deficit. Based on the power flow directions, therefore, the corresponding elements in can be excluded by the signs of as follows:
(53) |
where is a large positive number.
(58) | |||
(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 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 . Correspondingly, the variables related to exchanged power of MGs need to be updated in the MG level. For all possible scenarios, the transmitted power of MGs are defined by (58), and variables and indicating summed transmitted power of MGs respectively are updated by (63) as well.
At last, the weighting matrix is updated as follows so that the successfully paired MGs have been excluded:
(64) |
(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 becomes zero. The stopping criterion can be expressed as follows:
(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 , dispatch decisions in the entire scheduling horizon are obtained by solving its own optimization problem in the local EMS individually, and is calculated by (52). Then for the community-level EMS, is re-established based on (34), (39) and (53). Afterwards, the community-level EMS finds the MG pairing for current . 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 is only collected once from the corresponding th 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 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.
Microgrid | MG1 | MG2 | MG3 | MG4 |
ES | ||||
Capacity(kWh) | 8 | 8 | 12 | 12 |
Max&Min (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 (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 | ||||
() | (0.12, 0.13) | (0.16, 0.79) | (0.83, 0.11) | (0.09, 0.26) |
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 |








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 are set to be 0.05.

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.





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
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.
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% |
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.
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.