The present invention generally relates to optimal power flow and more specifically to a closed form iterative processes for solving for optimal power flow in an unbalanced network.
An incredible amount of infrastructure is relied upon to transport electricity from power stations, where the majority of electricity is currently generated, to individual homes. Power stations can generate electricity in a number of ways including using fossil fuels or using renewable sources of energy such as solar, wind, and hydroelectric sources. Once electricity is generated it travels along transmission lines to substations. Substations typically do not generate electricity, but can change the voltage level of the electricity as well as provide protection to other grid infrastructure during faults and outages. From here, the electricity travels over distribution lines to bring electricity to individual homes. The infrastructure used to transport electricity through the power grid can be viewed as a graph comprised of nodes and lines. The power stations, substations, and any end user can be considered nodes within the graph. Transmission and distribution lines connecting these nodes can be represented by lines.
Distributed power generation, electricity generation at the point where it is consumed, is on the rise with the increased use of residential solar panels and is fundamentally changing the path electricity takes to many user's homes. The term “smart grid” describes a new approach to power distribution which leverages advanced technology to track and manage the distribution of electricity. A smart grid applies upgrades to existing power grid infrastructure including the addition of more renewable energy sources, advanced smart meters that digitally record power usage in real time, and bidirectional energy flow that enables the generation and storage of energy in additional locations along the electrical grid.
Node controllers and power distribution networks in accordance with embodiments of the invention enable distributed power control on an unbalanced network. One embodiment includes anode controller, comprising: a network interface; a processor; a memory containing: a distributed power control application; a plurality of node operating parameters describing the operating parameter of a node in an unbalanced network; and a plurality of node operating parameters describing operating parameters for a set of at least one node selected from the group consisting of an ancestor node and at least one child node; wherein the processor is configured by the distributed power control application to: send node operating parameters to nodes in the set of at least one node; receive operating parameters from the nodes in the set of at least one node; calculate a plurality of updated node operating parameters using an iterative process to determine the updated node operating parameters using the node operating parameters that describe the operating parameters of the node, and the operating parameters of the set of at least one node, where each iteration in the iterative process involves evaluation of a subproblem; and adjust the node operating parameters.
In a further embodiment, the subproblem further comprises a closed form solution.
In another embodiment, the subproblem further comprises an eigen-decomposition.
In a still further embodiment, the iterative process further comprises an alternating direction method of multipliers (ADMM) process.
In still another embodiment, the ADMM process further comprises an x-update process, wherein the x-update process comprises minimizing an augmented Lagrangian for an augmented Relaxed Optimal Power Flow (ROPF) expression.
In a yet further embodiment, the x-update process is subject to the following constraints:
where H is a hermitian matrix, i is the node, v, l, S, and s are constraints, is a set of hermitian matrices, and φ is a phase of the unbalanced network.
In yet another embodiment, the ADMM process further comprises a y-update process, where the y-update process comprises minimizing an augmented Lagrangian for an augmented Relaxed Optimal Power Flow (ROPF) expression.
In a further embodiment again, the y-update process is subject to the following constraints:
where G and N are matrices, i is the node, j is the child node, Ai is the ancestor node, Ci is the set of child nodes, and v, l, S, and s are constraints.
In another embodiment again, the ADMM process further comprises a Lagrange multiplier update process, where the Lagrange multiplier expression comprises a set of Lagrange multipliers.
In a further additional embodiment, each Lagrange multiplier in the set of Lagrange multipliers is evaluated by the processor using the following expression:
λk+1=λk+ρ(xk+1−yk+1)
where λ is a Lagrange multiplier in the set of Lagrange multipliers, k is a current iteration, k+1 is a next iteration, ρ is a constant, and x−y is a constraint.
In still yet another embodiment, the updated node operating parameters are further calculated using the node operating parameters that describe a set of operating parameters of at least one node selected from the group consisting of an ancestor node of the ancestor node and at least one child node of the at least one child node.
In another additional embodiment, the node operating parameters include power injection, voltage, branch current to the ancestor node, and branch power flow to the ancestor node.
In a still yet further embodiment, a power distribution network, comprising: one or more centralized computing systems; a communications network; a plurality of node controllers, wherein each node controller in the plurality of node controllers contains: a network interface; a node processor; and a memory containing: a distributed power control application; a plurality of node operating parameters describing the operating parameters of a node in an unbalanced network; and a plurality of node operating parameters describing operating parameters for a set of at least one node selected from the group consisting of an ancestor node and at least one child node; wherein the node processor is configured by the distributed power control application to: send node operating parameters to nodes in the set of at least one node; receive operating parameters from the nodes in the set of at least one node; calculate a plurality of updated node operating parameters using an iterative process to determine the updated node operating parameters using the node operating parameters that describe the operating parameters of the node, and the operating parameters of the nodes in the set of at least one node, where each iteration in the iterative process involves evaluation of a subproblem; and adjust the node operating parameters.
In still yet another embodiment, the subproblem further comprises a closed form solution.
In a still further embodiment again, the subproblem further comprises an eigen-decomposition.
In still another embodiment again, the iterative process is part of a distributed process for achieving Optimal Power Flow (OPF) that is simplified using a convex relaxation.
Another further embodiment of the method of the invention includes: the convex relaxation is a semidefinite program (SDP).
Still another further embodiment of the method of the invention includes: the node controllers are modeled in the centralized computing system as an unbalanced radial network.
In a further embodiment again, the iterative process further comprises an alternating direction method of multipliers (ADMM) process.
In a further embodiment again, the ADMM process further comprises an x-update process, wherein the x-update process comprises minimizing an augmented Lagrangian for an augmented Relaxed Optimal Power Flow (ROPF) expression.
In another embodiment again, the x-update process is subject to the following constraints:
where H is a hermitian matrix, i is the node, v, l, S, and s are constraints, is a set of hermitian matrices, and φ is a phase of the unbalanced network.
In a further additional embodiment, the ADMM process further comprises a y-update process, where the y-update process comprises minimizing an augmented Lagrangian for an augmented Relaxed Optimal Power Flow (ROPF) expression.
In another additional embodiment, the y-update process is subject to the following constraints:
where G and N are matrices, i is the node, j is the child node, Ai is the ancestor node, Ci is the set of child nodes, and v, l, S, and s are constraints.
In a still yet further embodiment, the ADMM process further comprises a Lagrange multiplier update process, where the Lagrange multiplier expression comprises a set of Lagrange multipliers.
In still yet another embodiment, each Lagrange multiplier in the set of Lagrange multipliers is evaluated by the processor using the following expression:
λk+1=λk+ρ(xk+1−yk+1)
where λ is a Lagrange multiplier in the set of Lagrange multipliers, k is a current iteration, k+1 is a next iteration, ρ is a constant, and x-y is a constraint.
In a still further embodiment again, the updated node operating parameters are further calculated using the node operating parameters that describe a set of operating parameters of at least one node selected from the group consisting of an ancestor node of the ancestor node and at least one child node of the at least one child node.
In still another embodiment again, the node operating parameters include power injection, voltage, branch current to the ancestor node, and branch power flow to the ancestor node.
Turning now to the drawings, systems and methods for distributed control of power distribution systems configured as an unbalanced radial networks in accordance with embodiments of the invention are illustrated. Radial networks have a tree topology where each node is connected to a single unique ancestor and a set of unique children and radial networks are commonly utilized in modeling the distribution side of the power grid. In many embodiments, processing nodes are distributed throughout the power distribution network that control power load, distributed power generation, and remote battery storage. In several embodiments, the processing nodes control the operational parameters of aspects of the power distribution network in an effort to achieve what is often referred to as Optimal Power Flow (OPF). Achieving OPF involves optimizing the operation of a power system with respect to one or more objectives. These objectives can include (but are not limited to) minimizing the amount of power lost during the transmission of power to a user, minimizing the cost of generating the power needed for the system, and/or seeking to optimize other general operational constraints.
In a number of embodiments, the processing nodes within the power distribution network perform centralized, distributed, or hybrid processes that coordinate the control of the power distribution network. Centralized processes can use a centralized processing unit to calculate optimal power flow of all nodes within the network. Distributed processes can be based upon messages passed between the processing node and its ancestor and/or child nodes within the radial network. Hybrid processes use a combination of centralized and distributed process steps. In several embodiments, individual processing nodes determine the voltage, power injection, current, and/or impedance of a given power load, distributed power generation, or remote battery storage within the power distribution network by performing a closed form calculation using information received by power and/or child nodes. In many embodiments, the specific calculation utilized by the processing nodes is selected based upon a distributed solution for optimal power flow of the power distribution network obtained using alternating direction method of multiplies (ADMM).
In various embodiments, an ADMM process can reduce an optimal power flow problem to either a closed form solution or an eigen-decomposition of a hermitian matrix of a small size. Use of an expression that can either be closed form or an eigen-decomposition of a hermitian matrix obtained in the manner described below can be particularly advantageous relative to techniques for performing distributed control of a power distribution network to achieve OPF requiring the use of an iterative optimization process at each processing node. Specifically, performing a single set of calculations to obtain the control parameters as opposed to repeatedly iterating a set of calculations to obtain the control parameters can be significantly more computationally efficient and can enable the power distribution network to adapt to changes with much lower latency. Additional computational efficiencies may be obtained by a conic relaxation of the distribution network, for example by using a second order cone program (SOCP) relaxation.
Systems and methods for performing distributed control of unbalanced radial power distribution networks to achieve OPF and solutions to the distributed unbalanced OPF problem that can be utilized in the implementation of such systems and methods in accordance with embodiments of the invention are discussed further below.
A power distribution network in accordance with an embodiment of the invention is shown in
In the discussions to follow, networks that distribute power in a multiphase unbalanced manner will be referred to as multiphase networks. Single phase and multiphase balanced networks will be referred to as single phase networks.
The power generator 102 can represent a power source including those using fossil fuels, nuclear, solar, wind, or hydroelectric power. Substation 106 changes the voltage of the electricity for more efficient power distribution. Solar panels 114 are distributed power generation sources, and can generate power to supply the home as well as generate additional power for the power grid. House battery 116 can store excess electricity from the solar panels to power the home when solar energy is unavailable, or store electricity from the power grid to use at a later time. Substations 106, large storage batteries 108, homes 112, solar panels 114, house batteries 116, and electric cars 118 can all be considered to be nodes within the power distribution network and the distribution lines 110 can be considered to be lines within the power distribution network. In combination, the nodes and lines form a radial network. In many embodiments, node controllers are located at nodes throughout the network to control the operating parameters of different nodes to achieve OPF. The type of control utilized can depend on the specifics of the network and may include distributed, centralized, and/or hybrid power control. Although many different systems are described above with reference to
Nodes utilizing node controllers connected to a communication network in accordance with an embodiment of the invention are shown in
A node controller in accordance with an embodiment of the invention is shown in
Node controllers in accordance with many embodiments of the invention utilize processes that control nodes in a manner that attempts to achieve OPF in a computationally efficient manner. In order to do this, a closed form expression has been developed enabling calculations to preform at each node concurrently. The term ‘closed form expression’ refers to a calculation that can be performed in a finite number of operations. Overall the closed form solution for OPF can be more computationally efficient and predictable to compute than the use of an iterative process by a node controller to determine operating parameters. Various models can be used to develop a closed form solution that can be utilized to achieve OPF in a distributed manner.
The branch flow model (BFM) and the bus injection model (BIM) can be used for solving the OPF problem. The BFM focuses on the current and power in the branches of the model, and the BIM focuses of current, voltage, and power injection at the nodes of the model. Although the BFM and the BIM are generated with different sets of equations and variables, they produce related solutions since they are both modeled based on Kirchhoffs laws. The process utilized by the processing nodes in accordance with various embodiments of the invention utilizes calculations determined by the BFM. Many network shapes can be used to construct the BFM, such as a radial network. In certain cases the structure of a radial network can simplify the computations of the power equations in the OPF problem. Additionally, a convex relaxation of the model can further simplify the calculations. An approach to solve OPF of an unbalanced network in a distributed manner using a semidefinite program (SDP) relaxation is described in detail below. As can readily be appreciated, any of a variety of techniques that can be utilized to solve the OPF in a distributed closed form manner can be utilized as the basis for configuring node controllers as appropriate to the requirements of specific applications in accordance with various embodiments of the invention. Therefore, the inventions described herein should not be considered to be limited to the specific closed form expressions discussed below.
Node controllers in accordance with many embodiments of the invention utilize processes that control nodes in a manner that attempts to achieve OPF in a computationally efficient manner. In order to do this, a closed form expression has been developed enabling calculations to performed at each node concurrently. The term ‘closed form expression’ refers to a calculation that can be performed in a finite number of operations. Overall the closed form solution for OPF can be more computationally efficient and predictable to compute than the use of an iterative process by a node controller to determine operating parameters. Various models can be used to develop a closed form solution that can be utilized to achieve OPF in a distributed manner.
The branch flow model (BFM) and the bus injection model (BIM) can be used for solving the OPF problem. The BFM focuses on the current and power in the branches of the model, and the BIM focuses of current, voltage, and power injection at the nodes of the model. Although the BFM and the BIM are generated with different sets of equations and variables, they produce related solutions since they are both modeled based on Kirchhoffs laws. The process utilized by the processing nodes in accordance with various embodiments of the invention utilizes calculations determined by the BFM. Many network shapes can be used to construct the BFM, such as a radial network. In certain cases the structure of a radial network can simplify the computations of the power equations in the OPF problem. Additionally, a convex relaxation of the model can further simplify the calculations. An approach to solve OPF in a distributed closed form manner using a second order cone program (SOCP) conic relaxation is described in detail below. As can readily be appreciated, any of a variety of techniques that can be utilized to solve the OPF in a distributed closed form manner can be utilized as the basis for configuring node controllers as appropriate to the requirements of specific applications in accordance with various embodiments of the invention. Therefore, the inventions described herein should not be considered to be limited to the specific closed form expressions discussed below.
A radial network in accordance with an embodiment of the invention is shown in
The relationship between nodes and operating parameters in a BFM is discussed in accordance with an embodiment of the invention is shown in
The OPF problem on unbalanced radial distribution networks will be described in greater detail below. In many embodiments OPF can be solved though SDP relaxation. In many embodiments, the set of complex numbers can be denoted with , the set of set of n-dimensional complex numbers can be denoted with n, and the set of m×n complex matrix can be denoted with m×n. The set of hermitian (positive semidefinite) matrix can be denoted by (+). The hermitian transpose of a vector (matrix) x can be denoted by xH. The trace of a square matrix xεn×n can be denoted by tr(x):=Σi=1nxii. The inner product of two matrices (vectors) x,yεm×n can be denoted by x,y:=Re(tr(xHy)). In several embodiments, the Frobenius (Euclidean) norm of a matrix (vector) xεm×n can be defined as ∥x∥2:=√{square root over (x,x)}. Diag(x)εn×1 can denote the vector composed of x's diagonal elements when given xεn×n
In several embodiments, a distribution network can be modeled by a directed tree graph :=(,E) where :={0, . . . , n} represents the set of buses (nodes) and E represents the set of distribution lines connecting the buses (nodes) in . The root of the tree can be indexed by 0 and in several embodiments, +:=\{0} can denote the other buses (nodes). For each bus (node) i, there can be a unique ancestor Ai, and a set of children buses (nodes) which can be denoted by Ci. In various embodiments the graph orientation where every line points towards the root can be adopted. Each directed line connects a bus (node) i and its unique ancestor Ai. Hence, the lines can be labeled by E:={1, . . . , n} where each iεE denotes a line from i to Ai. Note that E=+ and + can be used to represent the lines set for convenience.
In many embodiments, a, b, c can denote the three phases of the network. For each bus (node) iε, Φi⊂ {a,b,c} can denote the set of phases. In a typical distribution network, the set of phases for bus (node) i is a subset of the phases of its parent and superset of the phases of its children. i.e. Φi ⊂ΦA
In many embodiments, given a radial network , the branch flow model for unbalanced network can be defined by:
where i (vA
In several embodiments, given a vector (v,s,l,S) that satisfies (3), it can be proved that the bus (node) voltages Vi and branch currents Ii can be uniquely determined if the network is a tree. Hence this model (3) can be equivalent to a full unbalanced AC power flow model.
In many embodiments, the OPF problem seeks to optimize certain objectives. e.g. total power loss or generation cost, subject to unbalanced power flow equations (3) and various operational constraints. An objective function of the following form can be considered:
For instance, to minimize total line loss, set φεΦi, iε,
ƒiφ(siφ)=piφ. (5)
or in other various embodiments, to minimize generation cost, set iε,
where αiφ,βiφ>0 depend on the load type on bus (node) i, e.g. αiφ=0 and βiφ=0 for bus (node) i where there is no generator and for generator bus (node) i, the corresponding αiφ, βiφ depends on the characteristic of the generator.
In many embodiments, for each bus (node) iε, there can be two operational constraints on each phase φεΦi. First, the power injection siφ is constrained to be in an injection region iφ, i.e.
s
i
φεiφ for φεΦi and iε (7)
The feasible power injection region iφ can be determined by the controllable loads attached to phase φ on bus (node) i. Second, the voltage magnitude can be maintained within a prescribed region. Note that the diagonal element of vi describes the voltage magnitude square on each phase φεΦi. Thus the constraints can be written as
v
i
φ
≦v
i
φφ
≦
i
φ
iε
(8)
where viφφ denotes the φth diagonal element of vi. Typically the voltage magnitude at substation buses (nodes) is assumed to be fixed at a prescribed value. i.e. v0φ=
To summarize, in many embodiments the OPF problem for unbalanced radial distribution networks can be:
The OPF problem (9) can be nonconvex due to the rank constraint (3d). In several embodiments, an SDP relaxation for (9) can be obtained by removing the rank constraint (3d), resulting in a semidefinite program (SDP):
In many embodiments, the relaxation ROPF (10) provides a lower bound for the original OPF problem (9) since the original feasible set is enlarged. The relaxation can be called exact if every optimal solution of ROPF satisfies the rank constraint (3d) and hence can also be optimal for the original OPF problem. Distributed processes to solve optimal power flow in an unbalanced network are described below.
An overview of a process for solving for optimal power flow in an unbalanced radial network utilizing a distributed solution is illustrated in
An overview of the ADMM process to solve for OPF, where each distributed calculation involves evaluation of either closed form solutions or an eigen-distribution of a hermitian matrix is illustrated in
In many embodiments, it can be assumed that the SPD relaxation is exact. A distributed process that solves the ROPF problem follows. A distributed process for a broad class of optimization problems can be developed through alternating direction method of multipliers (ADMM). The process can be applied to the ROPF problem, and it can be shown that the optimization subproblems can be solved efficiently either through closed form solutions or eigen-decomposition of a 6×6 matrix.
ADMM blends the decomposability of dual decomposition with the superior convergence properties of the method of multipliers. It can solve optimization problems of the form:
where ƒ(x),g(y) are convex functions and x,y are convex sets. Let λ denote the Lagrange multiplier for the constraint x=y. Then the augmented Lagrangian is defined as
where ρ≧0 is a constant. When ρ=0, the augmented Lagrangian degenerates to the standard Lagrangian. At each iteration k, ADMM consists of the iterations:
Specifically, at each iteration, ADMM first updates x based on (13a), then updates y based on (13b), and after that updates the multiplier λ based on (13c). Compared to dual decomposition. ADMM is guaranteed to converge to an optimal solution under less restrictive conditions. Let
r
k
:=∥x
k
−y
k∥2 (14a)
s
k
:=ρ∥y
k
−y
k−1∥2, (14b)
which can be viewed as the residuals for primal and dual feasibility, respectively. They converge to 0 at optimality and are usually used as metrics of convergence in the experiment.
Referring back to
The below discussion provides a detailed explanation of the manner in which closed form solutions or eigen-decomposition of a 6×6 matrix solution can be developed for subproblems that can be solved by individual node controllers to achieve a distributed solution to achieve OPF in a radial power distribution network. The manner in which the solutions outlined in the above discussion can be utilized to implement processes that are executed in node controllers in accordance with various embodiments of the invention is discussed further below.
In many embodiments, the above ADMM process can be generalized such that the optimization subproblems can be solved efficiently for the ROPF problem. Instead of using the quadratic penalty term ρ/2∥x−y∥22 in (12), a more general quadratic penalty term can be used: ∥x−y∥Λ2, where ∥x−y∥Λ2:=(x−y)HΛ(x−y) and Λ is a positive diagonal matrix. In many embodiments the augmented Lagrangian becomes
The convergence result can carry over directly to this general case.
A distributed ADMM process for a broad class of optimization problems can be developed, of which the ROPF problem can be a special case. Consider the following optimization problem:
where for each iε, xi can be a complex vector, ƒi(xi) can be a convex function, ir can be a convex set, and Aij (jεNi, iε) can be matrices with appropriate dimensions. In many embodiments, a broad class of graphical optimization problems (including ROPF) can be formulated as (16). Each node iε can be associated with some local variables stacked as xi, which belongs to an intersection of Ri+1 local feasible sets ir and has a cost objective function ƒi(xi). Variables in node i can be coupled with variables from their neighbor nodes in Ni through linear constraints (16c). The objective can then be to solve a minimal total cost across all the nodes.
In various embodiments, a distributed process that solves (16) can be developed such that each node i solves its own subproblem and only exchanges information with its neighbor nodes Ni. In order to transform (16) into the form of ADMM (11), two sets of variables x and y can be used. In many embodiments, two sets of slack variables can be utilized:
where x and y represent the two groups of variables in ADMM. Note that the consensus constraints (17d) and (17e) can force all the duplicates xir and yij to be the same. Thus its solution xi0 can also be optimal to the original problem (16). (17) can fall into the general ADMM form (11), where (17b) corresponds to y, (17c) corresponds to x, and (17d) and (17e) are the consensus constraints that relates x and y.
Following the ADMM procedure, the consensus constraints can be relaxed (17d) and (17e), whose Lagrangian multipliers are denoted by λir and μij, respectively. The generalized augmented Lagrangian then can be written as
where the parameter Λir and Mij depend on the process describe further below.
In several embodiments, it can be shown that both the x-update (13a) and y-update (13b) can be solved in a distributed manner, i.e. both of them can be decomposed into local subproblems that can be solved in parallel by each node i with only neighborhood communications.
A set of local variables can be defined for each node i, denoted by i, which includes its own duplicates xir and the associated multiplier λir for 0≦r≦Ri, and the “observations” yji of variables from its neighbor Ni and the associated multiplier μji, i.e.
i
:={x
ir,λir|0≦r≦Ri}∪{yji,μji|jεNi}. (19)
It can be shown how each node i can update {xir|0≦r≦Ri} in the x-update and {yji|jεNi} in the y-update.
In the x-update at each iteration k, the optimization subproblem that updates xk+1 can be
where the constraint x is the Cartesian product of ir, i.e.
x:=iεr=0R
The objective can be written as a sum of local objectives as shown below
where the last term is independent of x and
In many embodiments, the problem (20) in the x-update can be written explicitly as
where both the objective and constraint are separable for 0≦r≦Ri and iε. Thus it can be decomposed into Σiε(Ri+1) independent problems that can be solved in parallel. There are Ri+1 problems associated with each node i and the rth (0≦r≦Ri) one can be simply written as
whose solution is the new update of variables xir for node i. In the above problem, the constants yijk,μijkεj are not local to i and stored in i's neighbors jεNi. Therefore, each node i needs to collect (yij,μij) from all of its neighbors prior to solving (23). The message exchanges are illustrated in
In the y-update, the optimization problem that updates yk+1 can be
where the constraint set y can be represented as a Cartesian product of || disjoint sets, i.e.
The objective can be written as a sum of local objectives as below.
where the last term is independent of y and
In various embodiments, the problem (24) in the y-update can be written explicitly as
which can be decomposed into || subproblems and the subproblem for node i is
whose solution is the new update of {yji|jεNi}εi. In (25), the constants xj0εj are stored in i's neighbor jεNi. Hence, each node i needs to collect xj0 from all of its neighbor prior to solving (25). The message exchanges in the y-update is illustrated in
The problem (25) can be solved with closed form solution. The real and imaginary part of the variables {yji|jεNi} can be stacked in a vector with appropriate dimensions and can denoted as {tilde over (y)}. Then (25) can take the following form:
where M is a positive diagonal matrix, Ã is a full row rank real matrix, and c is a real vector. M, c, A are derived from (25). There exists a closed form expression for (26) given by
{tilde over (y)}=(M−1ÃT(ÃM−1ÃT)−1ÃM−1−M−1)c. (27)
In summary, the original problem (16) is decomposed into local subproblems that can be solved in a distributed manner using ADMM. At each iteration, each node i solves (23) in the x-update and (26) in the y-update. There exists a closed form solution to the subproblem (26) in the y-update as shown in (27), and hence whether the original problem (16) can be solved efficiently in a distributed manner depends on the existence of efficient solutions to the subproblems (23) in the x-update, which depends on the realization of both the objectives ƒi(xi) and the constraint sets ir.
Next, it can be shown the ROPF problem (10) is a special case of (16), and hence can be solved in a distributed manner using the above method. In particular, it can be shown that the corresponding subproblems in the x-update can be solved efficiently.
In various embodiments, the SDP relaxation can be assumed to be exact. A distributed algorithm for solving ROPF (10) can be derived. Using the ADMM based process developed above, the global ROPF problem can be decomposed into local subproblems that can be solved in a distributed manner with only neighborhood communication. Note that the subproblems in the y-update for each node i can always be solved with closed form solution, and therefore an efficient solution for the for the subproblems (23) in the x-update for the ROPF problem is needed. In particular, a sufficient condition can be provided for the existence of efficient solutions to all the optimization subproblems. Compared with existing methods that use generic iterative optimization solver to solve each subproblem, the computation time is improved by more than 100 times.
The ROPF problem defined in (10) can be written explicitly as
Then (28) can take the form of (16) with Ri=1 for all iε, where (28b)-(28c) correspond to (16c) and (28d)-(28f) correspond to (16d). A sufficient condition for the existence of an efficient solution to (23) can be proven.
Recall that there is always a closed form solution to the optimization subproblem (25) in the y-update, if the objective function ƒiφ (sφ) and injection region iφ satisfy the sufficient conditions, and all the subproblems can be solved efficiently.
Following the procedure described above, two sets of slack variables can be introduced: xir and yij. Then the counterpart of (17) can be
where superscript (•)(x) and (•)(y) can be put on each variable to denote whether the variable is updated in the x-update or y-update step. Note that each node i does not need full information of its neighbor. In many embodiments each node i, only voltage information vA
On the other hand, only xi0 needs to hold all the variables and it suffices for xi1 to only have a duplicate of vi, i.e.
As a result, xir, yii in (32g) and xi0, yij in (32h) may not consist of the same components. Notations can be abused in both (32g) and (32h), which are composed of components that appear in both items, i.e.
Let λ denote the Lagrangian multiplier for (32g) and μ the Lagrangian multiplier for (32g). The detailed mapping between constraints and those multipliers are illustrated in
where Hi0(xi0) is defined in (21) and for our application. ∥xi0−yij∥M
By using (34), Hi(1)(Si0(x), li0(x), vi0(x)), which is defined below, can be written as the Euclidean distance of two Hermitian matrix. In many embodiments this can be a key reason that can lead to an efficient process.
Therefore, Hi0(xi0) can be further decomposed as
In various embodiments, the last step in (35) can be obtained using square completion and the variables labeled with hat are some constants.
Hence, the objective (33a) in (42) can be decomposed into two parts, where the first part H(1)(Si0(x), li0(x), vi0(x)) involves variables (Si0(x), li0(x), vi0(x)) and the second part H(2)(si0(x)) involves si0(x). Note that the constraint (42a)-(42a) can also be separated into two independent constraints. Variables (Si0(x), li0(x), vi0(x)) only depend on (42a) and si0(x) depends on (42a). Then (42) can be decomposed into two subproblems, where the first one (36) solves the optimal (Si0(x), li0(x), vi0(x)) and the second one (37) solves the optimal si0(x). The first subproblem can be written explicitly as
which can be solved using eigen-decomposition of a 6×6 matrix. In various embodiments:
Then (36) can be written abbreviately as
which can be solved efficiently using eigen-decomposition. The second problem is
Recall that if ƒi(si0(x))=ΣφεΦ
min ƒiφ((si0φ)(x))
over (si0φ)(x)εiφ, (38)
which takes the same form as a closed form expression and thus can be solved with closed form solution based on the assumptions.
For the problem (43) that updates xi1, which consists of only one component vi1(x), it can be written explicitly as
min Hi1(xi1)
over xi1={vi1(x)}
s.t. v
i
φ≦(vi1φφ)(x)≦
where Hi1(xi1) is defined in (21) and for many embodiments of the present invention, ∥xir−yii∥Λ
∥xir−yii∥Λ
Then the closed form solution is given as:
To summarize, the subproblems in the x-update for each bus (node) i can be solved either through a closed form solution or a eigen-decomposition of a 6×6 matrix.
In the y-update, the subproblem solved by each node i takes the form of (25) and can be written explicitly as
which has a closed form solution given in (27).
Finally, the initialization and stopping criteria for the process can be specified. A good initialization usually reduces the number of iterations for convergence. In various embodiments, the following initialization can be used. The auxiliary variables {Vi|iε} and {Ii|iεE} can first be initialized, which represent the complex nodal voltage and branch current, respectively. Then these auxiliary variables can be used to initialize the variables in (32). Intuitively, the above initialization procedure can be interpreted as finding a solution assuming zero impedance on all the lines. The procedure is formally stated in in
For the stopping criteria, there is no general rule for ADMM based processes and stopping criteria usually hinge on the particular problem. It can be argued that a reasonable stopping criteria is that both the primal residual rk defined in (14a) and the dual residual sk defined in (14b) are below 10−4√{square root over (||)}. Various embodiments of the present invention adopt criteria and the empirical results show that the solution is accurate enough. The pseudocode for a complete process in accordance with many embodiments of the invention are illustrated in
The scalability of the distributed process can be demonstrated by testing it on the standard IEEE test feeders. To show the efficiency of an implementation of the process in accordance with an embodiment of the invention, the computation time of solving the subproblems in both the x and y-update with off-the-shelf solver (CVX) can also be compared. A simulated process in accordance with several embodiments of the invention can be run on networks of different topology to understand the factors that affect the convergence rate. The simulated process is implemented in Python and run on a Macbook pro 2014 with i5 dual core processor.
The IEEE 13, 34, 37, 123 bus (node) distribution systems can test a simulated process. In a simulation of the present invention, all the networks are unbalanced three phase networks. The substation is modeled as a fixed voltage bus (node) (1 p.u.) with infinite power injection capability. The other buses (nodes) are modeled as load buses (nodes) whose voltage magnitude at each phase can vary within [0.95, 1.05] p.u. and power injections are specified in the test feeder. There is no controllable device in the original IEEE test feeders, and hence the OPF problem degenerates to a power flow problem. To demonstrate the effectiveness of the process, all the capacitors can be replaced with inverters, whose reactive power injection ranges from 0 to the maximum ratings specified by the original capacitors. The objective is to minimize power loss across the network, namely ƒiφ(siφ)=piφ for φεΦi and iε.
In various simulations, the focus can be the time of convergence (ToC) for the distributed process. Furthermore, the process is simulated on a single machine. To roughly estimate the ToC (excluding communication overhead) if the process is run on multiple machines in a distributed manner, the total time by can be divided by the number of buses (nodes).
Moreover, the advantage of using a process in accordance with an embodiment of the invention can be shown by comparing the computation time of solving the subproblems between off-the-shelf solver (CVX) and a simulated process in accordance with various embodiments of the invention. In particular, the average computation time of solving the subproblem in both the x and y update can be compared. In the x-update, the average time required to solve the subproblem (40) is 9.8×10−5 s for a simulated process but 0.13 s for CVX. In the y-update, the average time required to solve the subproblems (42)-(43) are 3.7×10−3 s for our algorithm but 0.45 s for CVX. Thus, each ADMM iteration takes about 3.8×10−3 s for a simulated process in accordance with many embodiments of the invention but 5.8×10−1 s for using an iterative algorithm, a more than 100× speedup.
A distributed process in accordance with an embodiment of the invention can dramatically reduce the computation time within each iteration as described above. The time of convergence (ToC) can be determined by both the computation time required within each iteration and the number of iterations. The number of iterations, namely the rate of convergence can be simulated.
Rate of convergence can be determined by many different factors. In several embodiments of the present invention, the rate of convergence from two factors, network size N, and diameter D can be considered, i.e. given the termination criteria similar to pseudocode for a distributed OPF process as illustrated in
To illustrate the impact of network size N and diameter D on the rate of convergence, the process of two extreme cases can be simulated: 1) Line network as illustrated in
Although the present invention has been described in certain specific aspects, many additional modifications and variations would be apparent to those skilled in the art. It is therefore to be understood that the present invention can be practiced otherwise than specifically described without departing from the scope and spirit of the present invention. Thus, embodiments of the present invention should be considered in all respects as illustrative and not restrictive. Accordingly, the scope of the invention should be determined not by the embodiments illustrated, but by the appended claims and their equivalents.
The present invention claims priority to U.S. Provisional Patent Application Serial No. 62/150,411 entitled “Distributed Algorithm for Optimal Power Flow Problem on a Radial Network” to Peng et al., filed Apr. 21, 2015. The disclosure of U.S. Provisional Patent Application Ser. No. 62/150,411 is herein incorporated by reference in its entirety.
This invention was made with government support under DE-AR0000226/T-106986 & DE-AR0000226/T-107186 awarded by the Department of Energy. The government has certain rights in the invention.
Number | Date | Country | |
---|---|---|---|
62150411 | Apr 2015 | US |