scieee AI-readable full text Open interactive document viewer

Event-triggered partitioning for non-centralized predictive-control-based economic dispatch of interconnected microgrids

Ananduta, Wayan Wicak,Ocampo-Martínez, Carlos

Abstract

A non-centralized model predictive control (MPC) scheme for solving an economic dispatch problem of electrical networks is proposed in this paper. The scheme consists of two parts. The first part is an event-triggered repartitioning method that splits the network into a fixed number of non-overlapping sub-systems (microgrids). The objective of the repartitioning procedure is to obtain self-sufficient microgrids, i.e., those that can meet their local loads using their own generation units. However, since the algorithm does not guarantee that all the resulting microgrids are self-sufficient, the microgrids that are not self-sufficient must then form a coalition with some of their neighboring microgrids. This process becomes the second part of the scheme. By performing the coalition formation, we can decompose the economic dispatch problem of the network into coalition-based sub-problems such that each subproblem is feasible. Furthermore, we also show that the solution obtained by solving the coalition-based sub-problems is a feasible but sub-optimal solution to the centralized problem. Additionally, some numerical simulations are also carried out to show the effectiveness of the proposed method.

Full text

Event-triggered Partitioning for Non-centralized Predictive-Control-based Economic Dispatch of Interconnected Microgrids ? Wicak Ananduta a, Carlos Ocampo-Martinez b aDelft Center for Systems and Control, Delft University of Technology bAutomatic Control Department, Universitat Polit`ecnica de Catalunya, Institut de Robotica i Informatica Industrial (CSIC-UPC) Abstract A non-centralized model predictive control (MPC) scheme for solving an economic dispatch problem of electrical networks is proposed in this paper. The scheme consists of two parts. The first part is an event-triggered repartitioning method that splits the network into a fixed number of non-overlapping sub-systems (microgrids). The objective of the repartitioning procedure is to obtain self-sufficient microgrids, i.e., those that can meet their local loads using their own generation units. However, since the algorithm does not guarantee that all the resulting microgrids are self-sufficient, the microgrids that are not self-sufficient must then form a coalition with some of their neighboring microgrids. This process becomes the second part of the scheme. By performing the coalition formation, we can decompose the economic dispatch problem of the network into coalition-based sub-problems such that each subproblem is feasible. Furthermore, we also show that the solution obtained by solving the coalition-based sub-problems is a feasible but sub-optimal solution to the centralized problem. Additionally, some numerical simulations are also carried out to show the effectiveness of the proposed method. Key words: complex system management, large-scale complex systems, system partitioning, control of networks, decentralisation, real time simulation and dispatching, non-centralized MPC 1 Introduction Based on the current trend and development, future electrical energy networks would have a high number of distributed generation and storage units. In the energy management level, a non-centralized control scheme has been considered to be more suitable than the conventional centralized one, due to the ability to deal with high computational requirement, flexibility, reliability and scalability of the non-centralized scheme Molzahn et al. (2017); Morstyn et al. (2018). On the other hand, non-dispatchable generation units introduce additional uncertainty on top of the already uncertain loads. At the same time, storage units have slow dynamics that must be taken into account when solving the economic dispatch problem. In this regard, model predictive control (MPC) framework, accounting with the receding horizon principle, has been proposed to be implemented as ?This paper was not presented at any IFAC meeting. Corresponding author W. Ananduta. Email addresses: [email protected] (Wicak Ananduta), [email protected] (Carlos Ocampo-Martinez). a control scheme to the energy management of such energy systems Baker et al. (2016); Wang et al. (2015). As discussed in Parisio et al. (2017); Zhu and Hug (2014); Mehmood et al. (2021), the MPC framework allows us to handle components with dynamics, constraints (of physical and operational nature), and uncertainties better than traditional economic dispatch schemes. We consider an energy management problem of networks with distributed generation and storage units. In particular, we solve an MPC-based economic dispatch problem with a non-centralized scheme. We consider the microgrid framework discussed in Schwaegerl and Tao (2013) in which an energy network is partitioned into a group of interconnected microgrids Arefifar et al. (2012). Each microgrid is a cluster of storage units, distributed generation units, and loads. Furthermore, depending on the physical connection, it can also exchange power with the other microgrids and the main grid. More importantly, each microgrid is an independent entity that can manage itself, i.e., it has its own local controller. Therefore, in a non-centralized scheme, these microgrids cooperatively solve the economic dispatch problem of the network. 14 June 2021 A typical non-centralized approach to solving such problems is by using a distributed optimization algorithm Baker et al. (2016); Wang et al. (2015); Kraning et al. (2014); Braun et al. (2016); Guo et al. (2016) (see Molzahn et al. (2017); Morstyn et al. (2018) for a survey). Such algorithms are usually iterative and require high information flow, i.e., at each iteration, each local controller must exchange information with its neighbors. In this paper, we propose an alternative non-centralized scheme with low information flow. There are two main ingredients of the approach that we propose. The first ingredient is a proper partitioning of the network and the second ingredient is the formulation of coalition-based sub-problems, which requires a coalition formation algorithm. In the first part of the method, we (re)-partition the network into a fixed number of microgrids. The objective of the repartitioning scheme is to obtain self-sufficient and efficient microgrids. Roughly speaking, we consider that a microgrid is self-sufficient when it can provide its loads using its local distributed generation units. When this goal is achieved, each microgrid does not need to rely on the other microgrids, implying a local economic dispatch problem can be solved by the controller of each microgrid. In addition, the efficiency criterion is in line with the objective of the economic dispatch problem. Therefore, we propose a repartitioning procedure that has low computational burden and is performed in a distributed manner. The proposed repartitioning algorithm is closely related to the methods presented in Ananduta and Ocampo-Martinez (2019); Ananduta et al. (2019); Barreiro-Gomez et al. (2019). The main idea of the repartitioning procedure is to move some nodes from one partition to another in order to improve the cost that has been defined. Differently, in our scheme, we consider an event-triggered mechanism, i.e., the network is only repartitioned when the event at which at least one microgrid that is not self-sufficient occurs. To the best of our knowledge, an event-triggered repartitioning scheme has not been proposed in the literature so far. Note that most system partitioning methods that have been proposed, e.g., Fj¨allstr¨om (1998); Guo et al. (2016); Barreiro-Gomez et al. (2017); Ocampo-Martinez et al. (2011), are intended to be implemented offline prior to the operation of the system and in a centralized fashion, whereas this paper shows how online repartitioning can be exploited to design a non-centralized control scheme and might be performed in a distributed fashion. In the second part of the method, we decompose the economic dispatch problem into coalition-based subproblems. Since the repartitioning procedure does not guarantee that the resulting microgrids are selfsufficient, each microgrid that is not self-sufficient is grouped together with some of its neighbors to form a self-sufficient coalition. In this regard, we propose a coalition formation procedure, which is also carried out in a distributed manner and has a similar idea as the repartitioning scheme. Furthermore, coalition-based economic dispatch sub-problems are formulated. These problems are solved by the local controllers of the microgrids in order to obtain a feasible but possibly suboptimal solution to the centralized economic dispatch problem. We note that the coalition-based economic dispatch approach is inspired by the coalitional control framework Fele et al. (2017); Muros et al. (2017). To summarize, the main contribution of this paper is a novel non-centralized economic dispatch method for systems of interconnected microgrids. The methodology has less intensive communication flows compared to typical distributed optimization methods, thus suitable with online optimization of the MPC framework. To that end, the methodology combines an event-triggered repartitioning approach with the aim of producing selfsufficient and efficient microgrids and a procedure to form self-sufficient coalitions of microgrids to solve the economic dispatch problem. This paper also provides the analysis of the proposed methodology, including the outcomes of the repartitioning and coalition formation algorithms, as well as an upper bound for the suboptimality of the proposed scheme. The methodology that we present in this paper is an extension of that in Ananduta and Ocampo-Martinez (2019), where a periodical repartitioning scheme for a fully decentralized scheme is proposed. Additionally, a feasibility issue, which arises from microgrids that are not self-sufficient and can be found when using the scheme in Ananduta and Ocampo- Martinez (2019), is solved by the coalition-based approach proposed in this paper. Note that due to the space limitation, the proofs of some propositions are available in Ananduta and Ocampo-Martinez (2020). Notation The sets of real numbers and integers are denoted by R and Z, respectively. Moreover, for a∈R,R≥adenotes all real numbers in the set {b:b≥a, b ∈R}. A similar definition can be used for Z≥aand the strict inequality case. The set cardinality is denoted by | · |.Finally, discrete-time instants are denoted by the subscript k. 2 Problem formulation Let a distribution power network be represented by the undirected and connected graph G= (N,E), where the set of busses is denoted by N={1,2, . . . , n}and the set of edges that connect the busses is denoted by E, i.e., E={(i, j) : i, j ∈ N} ⊆ N × N. Furthermore, the set of neighbor busses of bus iis denoted by Ni, i.e., Ni={j: (i, j)∈ E}. Each bus imight contain an aggregate load (power demand), dispatchable or nondispatchable distributed generation units, and energy storage devices. Each of these components has operational constraints, which are assumed to be polyhedral and compact. Furthermore, each bus i∈ N also considers power balance equations that must be satisfied at each 2 time step k, as follows: ug i,k +ust i,k +um i,k +X j∈Ni vj i,k −di,k = 0,(1) vj i,k +vi j,k = 0,∀j∈ Ni,(2) where ug i,k ∈R,ust i,k ∈R, and um i,k ∈R≥0denote the power generated from dispatchable unit, delivered from/to storage unit, and imported from the main grid if connected, respectively. Furthermore, di,k ∈Rdenotes the difference between uncertain loads and the power generated from non-dispatchable units, which is also uncertain. Additionally, vj i,k ∈Rdenotes the power transferred to/from the neighbor bus j∈ Ni. Equation (1) can be considered as a local power balance, whereas (2) couples two neighboring busses. The variable di,k is considered to be uncertain and its disturbance is bounded, i.e., di,k =ˆ di,k +wd i,k,∀i∈ N ,(3) |wd i,k| ≤ ¯wd i,∀i∈ N,(4) where ˆ di,k denotes the forecast of di,k whereas wd i,k ∈R and ¯wd i∈Rrepresent the disturbance/uncertainty and its bound, which is assumed to be known, for simplicity, as this work does not focus on handling uncertainties. A stochastic method such as the one presented in Ananduta et al. (2020) can be considered as an extension. To state the MPC-based economic dispatch problem, define the vectors of decision variables of each bus i∈ N, which correspond to active components, by ui,k = [ust i,k ug i,k um i,k]∈R3and vi,k = [vj i,k]> i∈Ni∈R|Ni|. Furthermore, an economic quadratic cost function is considered as follows: Ji,k(ui,k,vi,k) = u> i,kRiui,k +v> i,kQivi,k,(5) where Riand Qiare positive definite diagonal matrices of suitable dimensions. Therefore, the optimization problem behind an MPC-based economic dispatch is stated as follows: min {{(ui,`,vi,`)}i∈N }k+h−1 `=kX i∈N k+h−1 X `=k Ji,`(ui,`,vi,`) (6a) s.t. (ui,`,vi,`)∈ Pi,∀i∈ N,(6b) vj i,` +vi j,` = 0,∀j∈ Ni,∀i∈ N,(6c) for all `∈ {k, . . . , k +h−1}, where h∈Z≥1denotes the prediction horizon. The set Pi⊂R3+|Ni|, for each i∈ N, is assumed to be a compact polyhedral set such that (1), (3), and (4) as well as the operational constraints of the active components hold. We refer to Ananduta and Ocampo-Martinez (2019) for a more detailed description of such operational constraints. Repartitioning Solve coalition-based economic dispatch (Algorithm 2) All microgrid self-sufficient? No Yes Reset coalition Coalition formation (Algorithm 3) Fig. 1. Flowchart of the overall proposed scheme at each time step k. Assumption 1 For each k∈Z≥0, a feasible set of Problem (6) exists. Remark 2 Assumption 1 is considered in order to ensure that the proposed scheme obtains a solution. In practice, the satisfaction of this assumption is achieved either if the network is connected with the main grid, which is usually assumed as an infinite source of power, or if the total power that can be generated by the distributed generators is sufficiently larger than the loads within the network. In this paper, we solve Problem (6) in a non-centralized fashion, where there exists mlocal controllers. Thus, the network must be partitioned into msub-systems, each of which is assigned to a local controller. Then, the controllers cooperatively solve Problem (6). To that end, Problem (6), which has coupling constraints (6c), must be decomposed. Our main idea is to decompose Problem (6) into a number of sub-problems, not larger than m, such that each sub-problem can be solved independently. As we will show in the next sections, the independence of each sub-problem depends on the self-sufficiency of the microgrids, i.e., the ability to meet local load using local production. Therefore, we propose an event-triggered repartitioning and coalition formation procedures to obtain self-sufficient partitions. A flow diagram that summarizes the overall method is shown in Figure 1. 3 Event-triggered repartitioning scheme Since the loads in the network vary over time, the network might need to be repartitioned to maintain the level of self-sufficiency. In this section, first we state the repartitioning problem. Afterward, we present the repartitioning process, which includes when and how the repartitioning must be performed. 3.1 Repartitioning Problem Formulation Prior to presenting the methodology that we propose, we establish some definitions that will be used throughout the remainder of the paper. Definition 3 (Non-overlapping partition) The set M={M1,M2,...,Mm}defines mnon-overlapping partitions of graph G= (N,E)if Sm p=1 Mp=Nand Mp∩ Mq=∅, for any Mp,Mq∈Mand p6=q. Definition 4 (Local imbalance) The local power imbalance of a subset of nodes M⊆Nat any k≥0, de- 3 noted by ∆im M,k, is defined as ∆im M,k =X i∈M (−¯ug i+di,k),(7) where ¯ug idenotes the maximum capacity of dispatchable generation units, whereas di,k follows (3) and (4). 2 Definition 5 (Self-sufficiency) A subset of nodes M⊆Nat any k≥0is self-sufficient if it has non-positive local imbalance at any step along the prediction horizon h, i.e., ∆im M,` ≤0,for all `∈ {k, k + 1, . . . , k +h−1}. 2 Definition 6 (Imbalance cost) The imbalance cost of microgrid Mp,k ∈Mkat any k≥0, denoted by Jim p,k, is defined as Jim p,k =Pk+h−1 `=kmax 0,∆im Mp,k,`,where ∆im Mp,k,` is defined based on (7). 2 Definition 7 (Efficiency cost) The efficiency cost of microgrid Mp,k ∈Mkat any k≥0, is defined as follows: Jef p,k = min {{ui,`}i∈Mp,k }k+h−1 `=k k+h−1 X `=kX i∈Mp,k Ji,` +J i,` s.t.(ui,`,vi,`)∈ Pi,∀i∈ Mp,k, vj i,` +vi j,` = 0,∀j∈ Ni∩ Mp,k,∀i∈ Mp,k, ∀`∈ {k,...,k+h−1}, where J i,` adds extra cost on the power transferred between one node to its neighbors that do not belong to the same microgrid in order to minimize the dependency on the neighbor microgrids and is defined by J i,` =Pj∈Ni\Mp,k cet i(pt ij,`)2,where cet i∈R≥0is the extra per-unit cost of transferring power. 2 Now, we state the repartitioning problem that will be solved supposing that the network is triggered to perform the repartitioning. First, assume that the network is initially partitioned into mnon-overlapping microgrids and denote the set of initial partition at k= 0 by M0={M1,0,M2,0,...,Mm,0}. Thus, for some time instants, at which the system must perform repartitioning, the optimization problem that must be solved is stated as follows: min Mk m X p=1 Jπ(Mp,k) s.t. M(0) k=Mk−1, Mp,k ∈Mkis non-overlapping and connected. (8) The cost function Jπ(Mp,k) is defined by Jπ(Mp,k) = αJim p,k +Jef p,k,(9) where αis the tuning parameter to determine the tradeoff between both imbalance and efficiency costs (see discussion in Section 5). Moreover, the subgraph formed by each microgrid must be connected. This constraint is imposed to avoid decoupling among the nodes within each microgrid. Furthermore, M(0) kdenotes the initial partition at time step k, which is equal to the partition at the previous time step, Mk−1. In addition, Assumption 8, which is related to the initial partition M0, is considered. Assumption 8 The initial partition M0is nonoverlapping with connected microgrids. 3.2 Repartitioning Process The repartitioning process consists of two main steps. The first step is to determine whether the system must perform the repartitioning and the second step is to actually perform the repartitioning. The event that triggers a repartitioning process is the existence of a microgrid that is not self-sufficient (c.f. Definition 5). In this regard, the triggering mechanism is provided in Algorithm 1. Algorithm 1 (Triggering mechanism) (1) For each microgrid Mp,k−1∈Mk−1, evaluate its self-sufficiency at k, based on Definition 5. (2) If a microgrid is not self-sufficient, raise a flag to start repartitioning procedure. Otherwise wait until all microgrids perform step 1. (3) If the flag to start the repartitioning procedure is not raised, then keep the current partition, i.e., Mk= Mk−1. 2 Now, we discuss the repartitioning process, where the controllers cooperatively solve Problem (8). We propose an iterative local improvement algorithm that can be performed in a distributed and synchronous manner. Consider the initial partition M(0) k. Moreover, denote the iteration number by superscript (r) and the set of boundary busses of microgrid Mp,k, i.e., busses that are connected (coupled) to at least one bus that belongs to another microgrid by Mc p,k ={i: (i, j)∈ E, i ∈ Mp,k, j ∈ N\Mp,k}. Then, the repartitioning procedure is stated in Algorithm 2. Note that Algorithm 2 can be stopped when it reaches a predefined maximum number of iteration ¯r. Algorithm 2 (Repartitioning procedure) Suppose that microgrid M(r) p,k is chosen to propose a node that will be moved at the rth iteration. Then, the steps at each iteration are described below: (1) Microgrid M(r) p,k computes Jπ(M(r) p,k), which is the local cost function at the rth iteration, based on (9). 4 (2) Microgrid M(r) p,k computes a node that will be offered to be moved, denoted by θp, as follows: θp∈arg min θ∈Mθ(r) p,k Jπ(M(r) p,k\{θ}),(10) where Mθ(r) p,k ⊆ Mc(r) p,k is a subset of boundary busses that do not disconnect microgrid M(r) p,k when removed, i.e., the graph form by M(r) p,k\{θ}, for θ∈ Mθ(r) p,k , is connected. The node θpis randomly selected from the set of minimizers of (10). (3) Microgrid M(r) p,k computes the local cost difference if θpis moved out from microgrid M(r) p,k, i.e., ∆Jπ(r) p=Jπ(M(r) p,k\{θp})−Jπ(M(r) p,k).(11) (4) Microgrid M(r) p,k shares the information of θpand ∆Jπ(r) pto the related neighboring microgrids M(r) q,k ∈ N0 θp={Mq,k : (θp, j)∈ E, j ∈Mq,k,Mq,k 6=M(r) p,k}. (5) All neighbors M(r) q,k ∈ N0 θpcompute the expected total cost difference if θpis moved from microgrid M(r) p,k to microgrid M(r) q,k, as follows: ∆Jπ(r) t,q =Jπ(M(r) q,k ∪ {θp})−Jπ(M(r) q,k)+∆Jπ(r) p, (12) and send the information of ∆Jπ(r) t,q to microgrid M(r) p,k. (6) Microgrid M(r) p,k selects the neighbor that will receive θpas follows: q?∈arg minq∈N 0 θp∆Jπ(r) t,q ,where q?is randomly chosen from the set of minimizers. (7) If ∆Jπ(r) t,q?≤0, then the partition is updated as follows: M(r+1) p,k =M(r) p,k\{θp},M(r+1) q?,k =M(r) q?,k ∪ {θp}.Otherwise, the algorithm jumps to the next iteration, r+ 1. 2 Proposition 9 Let Assumption 8 hold. At any time instant at which the repartitioning process is triggered, the output of Algorithm 2 is a non-overlapping partition with connected microgrids and converges to a local minimum. 4 Coalition-based economic dispatch scheme In this section, the non-centralized economic dispatch scheme based on the previously explained repartitioning approach is discussed. We let each self-sufficient microgrid to solve its local economic dispatch problem and does not allow this microgrid to exchange power with its neighbors. Therefore, by imposing an additional constraint, self-sufficient microgrids do not need to communicate with its neighbors to dispatch its components. However, a fully decentralized method can only be performed if all microgrids are self-sufficient. For any microgrid that is not self-sufficient, its local economic dispatch problem might be infeasible since local power production is not enough to meet the load. Since the repartitioning outcome does not guarantee the self-sufficiency of each microgrid, then the microgrids that are not selfsufficient form a coalition with some other microgrids such that the resulting economic dispatch problem that must be solved by that coalition is feasible. Note that in general, Problem (6) might actually have feasible solutions that require high power exchange, implying it might be impossible to partition the network into selfsufficient microgrids. 4.1 Coalition formation In order to describe the coalition formation procedure, denote by Cp,k and Dp,k the set of nodes and the set of microgrids that belong to coalition p, respectively. We assign one pair (Cp,k,Dp,k) to each microgrid Mp,k to keep tracking the nodes and neighboring microgrids with which it forms a coalition. The coalition formation mechanism is described in Algorithm 3. Algorithm 3 (Coalition formation procedure) Each microgrid Mp,k defines C(0) p,k =Mp,k and D(0) p,k ={Mp,k}. While r < m −1, do: (1) Each microgrid Mp,k evaluates whether its coalition is self-sufficient based on Definition 5, i.e., whether ∆im C(r) p,k,` ≤0,∀`∈ {k,...,k+h−1},hold true. (2) If coalition C(r) p,k is self-sufficient, then microgrid Mp,k waits for commands until r=m−1. (3) Otherwise, microgrid Mp,k initiates a coalition merger by sending ∆im C(r) p,k,`, for all `∈ {k, . . . , k +h−1}, to the microgrids that do not belong to coalition C(r) p,k but they have physical connections with at least one bus in coalition C(r) p,k, i.e., Mq,k ∈ Nc p,k ={Mq,k : (i, j)∈ E, i ∈ C(r) p,k, j ∈ Mq,k,C(r) q,k "C(r) p,k}. Note that if Nc p,k =∅, then Mp,k waits for commands until r=m−1. (4) For each neighbor Mq,k ∈ N c p,k, if it is not communicating with another microgrid, then it computes Jcim q=Pk+h−1 `=kmax 0,∆im C(r) q,k,` + ∆im C(r) p,k,`.Otherwise, Jcim q=∞. Then, it sends back Jcim qto coalition C(r) p,k. (5) Based on Jcim q, microgrid Mp,k chooses the neighbor that it will merge with as a coalition, as follows: q?∈arg min Mq,k∈N c p,k Jcim qs.t. Jcim q<∞. (6) Update the coalition sets, i.e., C(r+1) ξ,k =C(r) ξ,k ∪ C(r) q?,k 5 and D(r+1) ξ,k =D(r) ξ,k ∪D(r) q?,k, for all Mξ,k ∈ D(r) p,k and C(r+1) ξ,k =C(r) ξ,k ∪ C(r) p,k and D(r+1) ξ,k =D(r) ξ,k ∪ D(r) p,k, for all Mξ,k ∈ D(r) q?,k. (7) r←r+ 1 and go back to step 1. 2 Proposition 10 By performing Algorithm 3, either all resulting coalitions C(m−1) p,k , for p= 1, . . . , m, are selfsufficient or all coalitions are merged, i.e., C(m−1) p,k =N, for p= 1, . . . , m. 2 4.2 Non-centralized economic dispatch In this section, we outline the proposed scheme to solve Problem (6) based on the coalitions that have been formed. Note that when all microgrids Mp,k, p = 1, . . . , m, are self-sufficient, the coalitions are reset as in the initialization of Algorithm 3, i.e., Cp,k =Mp,k, for p= 1, . . . , m. First, we reformulate Problem (6) as shown in Proposition 11. Proposition 11 Suppose that, at time instant k, the network is partitioned into mnon-overlapping microgrids, defined by Mk={M1,k,M2,k,...,Mm,k}. Furthermore, the coalitions of microgrids, denoted by Cp,k, for p= 1, . . . , m, are formed based on Algorithm 3. Then, Problem (6) is equivalent to min {{(ui,`,vi,`)}i∈N }k+h−1 `=k m X p=1 X i∈Mp,k k+h−1 X `=k Ji,`(ui,`,vi,`) s.t.(ui,`,vi,`)∈ Pi,∀i∈ Cp,k,(13a) vj i,` +vi j,` = 0,∀j∈ Ni∩ Cp,k,∀i∈ Cp,k, (13b) vj i,` +vi j,` = 0,∀j∈ Ni\Cp,k,∀i∈ Cp,k,(13c) for all Cp,k, where p= 1, . . . , m, and all `∈ {k, . . . , k + h−1}. 2 Remark 12 For each coalition Cp,k,(13a) and (13b) are local constraints. Particularly for the constraints in (13b), some of them might involve two different microgrids. Meanwhile, (13c) are coupling constraints with other coalitions. 2 By decomposing Problem (13), we formulate the decentralized MPC-based economic dispatch problem that must be solved at each coalition Cp,k, for p= 1, . . . , m, as follows: min {{(ui,`,vi,`)}i∈Cp,k }k+h−1 `=kX i∈Cp,k k+h−1 X `=k Ji,`(ui,`,vi,`) s.t. (ui,`,vi,`)∈ Pi,(14a) vj i,` +vi j,` = 0,∀j∈ Ni∩ Cp,k,(14b) vj i,` = 0,∀j∈ Ni\Cp,k,(14c) for all i∈ Cp,k and `∈ {k, . . . , k +h−1}. Note that if microgrids Mp,k and Mq,k belong to the same coalition, i.e., Cp,k =Cq,k, then they must cooperatively solve the same problem in a distributed manner. Additionally, if all microgrids are merged as one coalition, then a fully distributed scheme (with neighbor-to-neighbor communication) is applied to the network. Furthermore, as formally stated in Propositions 13 and 14, Problem (14), for any coalition, has a solution and the solution to Problem (14) is feasible for the original problem (6). Proposition 13 Suppose that Assumption 1 holds and let the coalitions Cp,k, for p= 1, . . . , m, are formed by using Algorithm 3. Then, there exists a unique solution to Problem (14), for each coalition Cp,k, where p∈ {1, . . . , m}. 2 Proposition 14 Let (u? i,`,v? i,`), for all `∈ {k,...,k+ h−1}and i∈ Cp,k, be the solution to Problem (14), for all coalitions Cp,k, where p= 1, . . . , m. Then, they are also a feasible solution to Problem (6). 2 Finally, we note that due to the following coupling constraints in Problem (14), vj i,` +vi j,` = 0,∀j∈ Ni∩ Cp,k\Mp,k,(15) for all i∈ Cp,k and `∈ {k,...,k+h−1}(c.f. Remark 12), a distributed Lagrangian approach, where the coupling constraints (15) are dualized, can be implemented to solve Problem (14). In this regard, a distributed dualascent algorithm, such as that presented in Ananduta et al. (2020), can be applied to solve Problem (14), in which more than one microgrid is involved. Note that, different distributed algorithms, e.g., Wang et al. (2015); Kraning et al. (2014); Baker et al. (2016), can also be chosen instead. Thus, we assume that the optimal solution to Problem (14) can be computed in a distributed manner. 5 Sub-optimality and communication trade-off In this section, we discuss the sub-optimality and communication trade-off of the proposed scheme. First, we show an estimation of the sub-optimality level achieved by the scheme. To that end, we state the collection of the optimization problems (14), for all coalitions Cp,k, p = 1, . . . , m, as follows: min {{(ui,`,vi,`)}i∈N }k+h−1 `=kX i∈N k+h−1 X `=k Ji,`(ui,`,vi,`) s.t. (14a), (14b), and (14c), ∀p∈ {1, . . . , m}, (16) for all `∈ {k,...,k+h−1}. Denote the optimal value of Problem (16) by J? k. Note that J? krepresents the cost function value of Problem (6) computed by the proposed scheme. Furthermore, denote by Jo kthe optimal value 6 of Problem (6) and define the sub-optimality measure as the difference between the cost function value computed using the proposed scheme and the optimal value of Problem (6), denoted by ∆Jk, i.e., ∆Jk=J? k−Jo k.(17) Proposition 15 Let J? kand Jo kbe the optimal values of Problems (16) and (6) at time k, respectively. Furthermore, let Jb kdenote the optimal value of the following optimization problem: min {{(ui,`,vi,`)}i∈N }k+h−1 `=kX i∈N k+h−1 X `=k Ji,`(ui,`,vi,`) s.t.(14a) and (14b) ∀p∈ {1, . . . , m}. (18) Then, the following estimate on the suboptimality measure ∆Jk, defined in (17), holds: ∆Jk≤J? k−Jb k.(19) Remark 16 Consider the case when Cp,k =N, for p= 1, . . . , m. In this case, for any i∈ N, all neighbors of node i, i.e., j∈ Ni, belong to the same coalition as that of node i. Thus, in (14c),Ni\Cp,k =∅. This fact implies that Problem (16) is equivalent to Problem (6) and Problem (18), implying ∆Jk= 0 and J? k−Jb k= 0. Additionally, Problem (18) can be decomposed into msub-problems, each of which can be assigned to each coalition. 2 Now, we discuss the communication cost of the proposed scheme. Algorithms 2 and 3 require information exchange among the controllers. The total size of data exchanged throughout the process in Algorithms 2 and 3 is O(m) per iteration. In comparison with existing methods that are based on distributed optimization algorithms, e.g., Baker et al. (2016); Wang et al. (2015); Kraning et al. (2014); Braun et al. (2016); Guo et al. (2016), the proposed scheme reduces the number of neighbors with which each agent must communicate since each agent only needs to communicate with a subset of neighbors that belong to the same coalition. This fact implies the reduction of communication flows. Moreover, the coalition-based problem (14) is relatively smaller than the network problem (6), thus intuitively a solution to (14) can be computed faster than a solution to (6) using the same distributed iterative algorithm. 6 Case study We consider the PG&E 69-bus distribution network, as shown in Fig. 2 where dispatchable, solar-based distributed generation, and storage units are added to the network. The simulation time is one day with the sampling time of 15 minutes, implying 96 time steps. Furthermore, the prediction horizon (h) is set to be 8 time steps, and the weight on the cost of the repartitioning 1 27 59 69 36 39 28 35 3 4 8 9 11 12 42 54 40 41 55 56 57 58 Agent 1 19 Agent 3 Agent 4 Agent 5 Agent 7 Agent 8 Agent 6 Agent 2 Fig. 2. The topology of the PG&E 69-bus distribution system and its 8-agent initial partition Arefifar et al. (2012). Squares indicate the distributed generation units, i.e., and 2 represent a renewable generation unit and a dispatchabale generator, whereas crosses, ×, indicate the storages. 0 10 20 30 40 50 60 70 80 90 100 0 2 4 6 8 0 10 20 30 40 50 60 70 80 90 100 0 2 4 6 8 Fig. 3. The evolution of coalitions formed. problem is set as α= 104. The initial partition of the network is based on one of the partitioning results in Arefifar et al. (2012). How the microgrids form coalitions throughout the simulation can be seen in Figure 3. We can observe that during the peak hours 57 ≤k≤80, coalitions must be formed and, even at a certain period, all microgrids must join as one coalition, whereas during the off-peak hours, self-sufficient microgrids can be formed. Figure 4 shows the stage costs for all time steps and the sub-optimality of the proposed scheme. 7 Conclusion and future work We develop a non-centralized MPC-based economic dispatch scheme for systems of interconnected microgrids. The approach consists of an event-triggered repartitioning method with the aim of maintaining self-sufficiency of each microgrid and decomposing the centralized economic dispatch problem into coalition-based subproblems in order to compute a feasible but possibly sub-optimal decisions. The main advantage of the approach is a low communication burden. 7 0 10 20 30 40 50 60 70 80 90 100 0 5 10 15 107 0 10 20 30 40 50 60 70 80 90 100 0 100 200 300 % Fig. 4. Top plot shows the cost values computed using the proposed scheme, J? k, (solid line), by solving Problem (6) centrally as the benchmark Jo k, (dashed-dotted line), and the lower bound, Jb k(dashed line). Bottom plot shows the suboptimality of the proposed scheme and its upper bound. Acknowledgements This work has received funding from the European Union’s Horizon 2020 research and innovation programme under the Marie Sk lodowska-Curie grant agreement No 675318 (INCITE). Appendix A Proof of Proposition 9 Define by κthe time instant at which the repartitioning process is triggered, i.e., there exists at least one microgrid in Mκthat is not self-sufficient. Let κ0be the first (smallest) repartitioning instant. Notice that the initial partition M(0) κ, at any repartitioning instant κ > κ0, equals to the solution of Algorithm 2 at the previous repartitioning instant. Therefore, if at κ0the assertion holds, then it also holds for any repartitioning instants. Hence, now we only need to evaluate the outcome of the repartitioning process at κ0. Since the system is not repartitioned when k < κ0, the initial partition at κ0, M(0) κ0=M0, is non-overlapping with connected microgrids due to Assumption 8. Moreover, at any iteration of the repartitioning procedure, the node proposed to be moved is selected from Mθ(r) p,κ0, which is the set of boundary nodes that do not cause the disconnection of the associated microgrid when removed (see (10)). At the end of the iteration, either one node is moved from one microgrid to another or no node is moved. These facts imply that, at the end of any iteration, M(r) κ0re- mains non-overlapping and the connectivity of each microgrid is maintained. Now, we show the convergence of the repartitioning solution. To this end, let the total cost at the beginning of iteration rat any κbe denoted by Jπ(r) t=Pm q=1 Jπ(Mq,κ). The convergence is proved by showing that the evolution of the total cost is nonincreasing. Suppose that θpis moved from microgrid p to microgrid q?. Therefore, we have Jπ(r+1) t−Jπ(r) t=Jπ(M(r+1) p,κ )−Jπ(M(r) p,κ) +Jπ(M(r+1) q?,κ )−Jπ(M(r) q?,κ) = ∆Jπ(r) t,q?≤0. The first equality follows from the fact that only the local costs of microgrids pand q?change after iteration r. The second equality follows from (11) and (12), and the inequality comes from the condition imposed in step 7 of Algorithm 2, where θpis not moved if ∆Jπ(r) t,q?>0. When no node is moved, Jπ(r+1) t−Jπ(r) t= 0. 2 B Proof of Proposition 10 At each iteration r < m −1, the evaluation in step 1 has two mutually exclusive outcomes: (1) All coalitions Cp,k, for p= 1, . . . , m, are selfsufficient. (2) There exist some coalitions that are not selfsufficient. In case 1, we have that C(m−1) p,` =C(r) p,k, for all p= 1, . . . , m, since the coalitions do not change from the rth iteration until the (m−1)th iteration. Note that when all microgrids Mp,k ∈Mkare self-sufficient, then C(0) p,k, for all p= 1, . . . , m, are self-sufficient. Therefore, this case is also included here. In case 2, according to steps 3-6, at least one of the coalitions that are not self-sufficient will be merged with one of its neighboring coalitions at the next iteration r+1. Since the number of initial coalitions is finite (m), then if case 2 keeps occurring, all coalitions will be merged, i.e., Cp,k =N, for all p= 1, . . . , m, at a finite number of iterations. Otherwise, case 1 will occur. Furthermore, in case 2, the minimum number of coalitions that can perform steps 3-6 (merging with one of its neighboring coalitions) is one. If, for r≥1, only one coalition merges with one of its neighbors, then it requires m−1 iterations to merge all coalitions. 2 C Proof of Proposition 13 Since the cost function is strictly convex, the uniqueness of the solution is guaranteed provided that the feasible set is nonempty. Therefore, we only need to show that Problem (14), for any Cp,k, has a non-empty feasible set. Consider the outcome of Algorithm 3 (c.f. Proposition 10). If Algorithm 3 results in one coalition over the whole network, i.e., Cp,k =N, for p= 1, . . . , m, then it implies that all microgrids must solve the centralized economic dispatch problem (13) cooperatively. Therefore, in this case, for any Cp,k, Problem (14) is equal to Problem (13). Due to Assumption 1, feasible solutions to Problem 8 (13) exist. Otherwise, Algorithm 3 results in at least two different self-sufficient coalitions. In this case, each coalition is self-sufficient for the whole prediction horizon {k,...,k+h−1}(c.f. Proposition 10). In other words, the worst-case uncertain imbalance between loads and non-dispatchable generation can be met cooperatively by the distributed generation units within the coalition. Therefore, there exists a non-empty subset of feasible solution of Problem (13) such that (14c), for all Cp,k, where p= 1, . . . , m, hold, implying the existence of a non-empty feasible set of Problem (14). 2 D Proof of Proposition 14 In Proposition 11, we show that Problem (13) is equivalent with Problem (6), therefore we only need to show that (u? i,`,v? i,`), for all `∈ {k,...,k+h−1},i∈ Cp,k, and p= 1, . . . , m, is a feasible solution to Problem (13). Note that Problem (14) is obtained by decomposing Problem (13). The constraints (13a)-(13b) are decomposed for each coalition and considered as (14a)-(14b) in Problem (14). Since (u? i,`,v? i,`), for all `∈ {k,...,k+h−1}and i∈ Cp,k, satisfy the constraints (14a)-(14b), they also satisfy (13a)-(13b). Finally, for any Cp,k, by (14c), we know that vj? i,` =vi? j,` = 0, for all j∈ Ni\Cp,k,i∈ Cp,k, and `∈ {k,...,k +h−1}. From this fact, we obtain that vj? i,` +vi? j,` = 0 for all j∈ Ni\Cp,k i∈ Cp,k, and `∈ {k, . . . , k +h−1}, implying the satisfaction of the constraints in (13c). 2 References Ananduta, W., Maestre, J. M., Ocampo-Martinez, C. and Ishii, H. (2020). Resilient distributed model predictive control for energy management of interconnected microgrids, Optimal Control Applications and Methods 41(1): 146–169. Ananduta, W. and Ocampo-Martinez, C. (2019). Decentralized energy management of power networks with distributed generation using periodical self-sufficient repartitioning approach, Proceedings of the American Control Conference, pp. 3230–3235. Ananduta, W. and Ocampo-Martinez, C. (2020). Eventtriggered partitioning for non-centralized predictivecontrol-based economic dispatch of interconnected microgrids: Technical report. arXiv:2007.07786. Ananduta, W., Pippia, T., Ocampo-Martinez, C., Sijs, J. and De Schutter, B. (2019). Online partitioning method for decentralized control of linear switching large-scale systems, Journal of the Franklin Institute 356(6): 3290–3313. Arefifar, S. A., Mohamed, Y. A. R. I. and El-Fouly, T. H. M. (2012). Supply-adequacy-based optimal construction of microgrids in smart distribution systems, IEEE Transactions on Smart Grid 3(3): 1491–1502. Baker, K., Guo, J., Hug, G. and Li, X. (2016). Distributed MPC for efficient coordination of storage and renewable energy sources across control areas, IEEE Transactions on Smart Grid 7(2): 992–1001. Barreiro-Gomez, J., Ocampo-Martinez, C. and Quijano, N. (2017). Partitioning for large-scale systems: A sequential distributed MPC design, IFAC-PapersOnLine 50(1): 8838–8843. Barreiro-Gomez, J., Ocampo-Martinez, C. and Quijano, N. (2019). Time-varying partitioning for predictive control design: Density-games approach, Journal of Process Control 75: 1–14. Braun, P., Gr¨une, L., Kellett, C. M., Weller, S. R. and Worthmann, K. (2016). A distributed optimization algorithm for the predictive control of smart grids, IEEE Transactions on Automatic Control 61(12): 3898–3911. Fele, F., Maestre, J. M. and Camacho, E. F. (2017). Coalitional control: Cooperative game theory and control, IEEE Control Systems Magazine 37(1): 53–69. Fj¨allstr¨om, P.-O. (1998). Algorithms for graph partitioning: A survey, Link¨oping Electronic Articles in Computer and Information Science 3(10). Guo, F., Wen, C., Mao, J. and Song, Y. (2016). Distributed economic dispatch for smart grids with random wind power, IEEE Transactions on Smart Grid 7(3): 1572–1583. Kraning, M., Chu, E., Lavaei, J. and Boyd, S. (2014). Dynamic network energy management via proximal message passing, Foundations and Trends in Optimization 1(2): 73– 126. Mehmood, F., Khan, B., Ali, S. M. and Rossiter, J. A. (2021). Distributed mpc for economic dispatch and intermittence control of renewable based autonomous microgrid, Electric Power Systems Research 195: 107131. Molzahn, D. K., D¨orfler, F., Sandberg, H., Low, S. H., Chakrabarti, S., Baldick, R. and Lavaei, J. (2017). A survey of distributed optimization and control algorithms for electric power systems, IEEE Transactions on Smart Grid 8(6): 2941–2962. Morstyn, T., Hredzak, B. and Agelidis, V. G. (2018). Control strategies for microgrids with distributed energy storage systems: An overview, IEEE Transactions on Smart Grid 9(4): 3652–3666. Muros, F. J., Maestre, J. M., Algaba, E., Alamo, T. and Camacho, E. F. (2017). Networked control design for coalitional schemes using game-theoretic methods, Automatica 78: 320–332. Ocampo-Martinez, C., Bovo, S. and Puig, V. (2011). Partitioning approach oriented to the decentralised predictive control of large-scale systems, Journal of Process Control 21(5): 775–786. Parisio, A., Wiezorek, C., Kynt¨aj¨a, T., Elo, J., Strunz, K. and Johansson, K. H. (2017). Cooperative MPC-based energy management for networked microgrids, IEEE Transactions on Smart Grid 8(6): 3066–3074. Schwaegerl, C. and Tao, L. (2013). The Microgrids Concept, John Wiley & Sons, Ltd, chapter 1, pp. 1–24. Wang, T., O’Neill, D. and Kamath, H. (2015). Dynamic control and optimization of distributed energy resources in a microgrid, IEEE Transactions on Smart Grid 6(6): 2884– 2894. Zhu, D. and Hug, G. (2014). Decomposed stochastic model predictive control for optimal dispatch of storage and generation, IEEE Transactions on Smart Grid 5(4): 2044– 2053. 9