The present invention relates generally to power grids, and more particularly to optimizing power flows in the power grids.
The Optimal Power Flow (OPF) problem for a power grid having alternating current (AC) circuits concerns the problem of determining bus voltages and generator power levels to minimize a cost function representing an operation of the power grid. The cost functions can include generator cost, resistive losses or tertiary voltage control. The minimization of the cost function is subject to OPF constrains that can include the AC power flow constraints, bounds on power generation, bounds on bus voltage magnitudes, bounds on thermal losses, and limits on power transfer on lines.
The conventional methods relax the OPF to find a solution using, e.g., the second order cone programming (SOCP). See, e.g., U.S. 2012/0150504. However, such approach provides optimal solution only under satisfaction of sufficient conditions for the relaxations. The sufficient conditions, e.g., rank condition, only hold under restrictive assumptions on the network topology and constraints on the OPF. Thus, the conventional methods are not suitable for analyzing OPF for arbitrarily structures of the power grid. In addition, the above methods provide no recourse when sufficient conditions for relaxation are not satisfied.
Thus, there remains a need to globally optimize electric power grids of various structures and configurations. In addition, when the power grid includes various storage devices, there is a need to optimize the power grid considering multiple time periods of optimization.
Some embodiments of the invention are based on a realization that OPF problem can be solved based on the spatial branch and bound framework with lower bounds on the optimal objective function value calculated by solving a semi-definite programming (SDP) relaxation of the OPF. Those embodiments are based on a recognition that search space of the solutions and constraints of the OPF problem can be partitioned using structure and characteristics of the elements of the power grid, and thus the branch and bound framework can be utilized to search for the global minimum.
In addition, some embodiments are based on a realization that SDP relaxation of the OPF or portions of the OPF should be used for determining the lower bounds on the optimal objective function. Usually, the branch and bound methods are implemented using linear under-approximation of the optimized function, because such approximation can be efficiently performed. However, the embodiments recognized that in the context of the power flow analysis of the power grid, the linear under-approximation of the cost function representing the power flow is inefficient due to the shallow structure of the cost function. Hence, it was realized that despite of complexity of the SDP over the linear under-approximation, the usage of the SDP approximation in the context of the power grids is advantageous.
Some embodiments of the invention are based on an additional realization that the branch and bound method should be implemented such that a search for the lowest lower and upper bound in a nested region can use, as a starting point, the result of the search in the region from which the nested region was partitioned according to the branch and bound principles. This realization is based in part on the recognition that the structure of the power grid has patterns or similarities repeated over the span of the grid. Thus, the result of the search in one region can be used to speed up the search over a different region.
Unfortunately, the widely used implementation of the SDP using interior point methods cannot accept the input specified by the previous search. Accordingly, various embodiments modify the SDP using various methods able to accept such input. For example, one embodiment uses the Lagrangian dual subgradient method to implement the SDP.
Another embodiment uses alternating direction method of multipliers (ADMM) method. Specifically, the usage of the ADMM method for SDP relaxation in a current iteration of the branch and bound method allows reusing the outputs of the previous iteration of the branch and bound method to accelerate the convergence of the method.
The resulting modifications of the branch and bound method allows to significantly increase the computational efficiency of the OPF problem. For example, some embodiments of the invention solve the OPF problems that cannot be solved using conventional approaches due to lack of memory to fit within a single processor. This efficiency allows using the embodiments to solve multi-period optimal power flow (MOPF) problems to global optimality. The multi-period version of the OPF is time coupled due to the integration of storage systems into the power grid, and ramp constraints on the generators.
Accordingly, some embodiments of the invention provide a method for globally optimizing a power flow in electric power grids during multiple time periods of operation. A spatial branch and bound (BB) procedure ensures that a globally optimal solution is attained. The BB procedure partitions the feasible region of the power flow problem, e.g., by partitioning the bound on generation variables and also constraints on voltage magnitudes, which speeds up convergence. A lower bound on the optimal solution is determined by semi-definite programming (SDP), which provides a maximal lower bound.
To accommodate large problems arising from several periods, the solution of the SDP in some embodiments of the invention includes (i) decoupling the time-coupling constraints by dualization with an augmented lagrangian formulation, (ii) solving SDP problems corresponding to individual time-steps and (iii) applying an alternating direction method of multipliers applied to converge the time-decoupled constraints.
Also, in some embodiments, the solution of the SDP corresponding to each time-step includes (i) performing a clique decomposition of the graph associated with the power grid, and (ii) applying an alternating direction method of multipliers to the augmented lagrangian formulation of the dual problem.
Accordingly, one embodiment discloses a method for determining a power flow of a power grid. The method includes optimizing, using a processor, an objective function representing an operation of the power grid using a spatial branch and bound (BB) framework for determining iteratively upper and lower bounds of the objective function, wherein the lower bounds are determined using a semi-definite programming (SDP) relaxation of an optimal power flow (OPF) problem.
Another embodiment discloses a method for solving an optimal power flow (OPF) problem optimizing an objective function representing an operation of a power grid. The method includes splitting iteratively a feasible region of the OPF problem into a nested tree of regions corresponding to a branch and bound (BB) tree, wherein the nested tree of regions includes at least a first region and a second region nested in the first region; determining an upper bound of the OPF problem in the second region; determining a lower bound of the OPF problem in the second region using a semi-definite programming (SDP) relaxation of the OPF problem, wherein a solution of the OPF problem corresponding to a lower bound of the first region is an input to the SDP relaxation; updating a lowest upper bound of the BB tree with the upper bound of the second region, if the upper bound of the second region is less than the lowest upper bound of the BB tree; updating a lowest lower bound of the BB tree with the lower bound of the second region, if the lower bound of the second region is greater than the lowest lower bound of the BB tree and the lower bound of the second region is lower than the lowest lower bound of other regions of the nested tree; updating the lowest lower bound of the BB tree with the lowest lower bound of other regions, if the lower bound of the second region is greater than the lowest lower bound of the BB tree and the lower bound of the second region is greater than the lowest lower bound of the other regions; and determining the optimal power flow based on the lowest upper bound of the second region if a difference between the lowest upper bound and the lowest lower bound of the second region is less than a threshold. The steps of the method are performed by a processor.
Yet another embodiment discloses a system for solving an optimal power flow (OPF) problem optimizing an objective function representing an operation of a power grid, comprising a processor for optimizing an objective function representing an operation of the power grid using a spatial branch and bound (BB) framework for determining iteratively upper and lower bounds of the objective function, wherein the lower bounds are determined using a semi-definite programming (SDP) relaxation of an optimal power flow (OPF) problem, wherein a solution of the OPF problem corresponding to a lower bound of a first region is an input to the SDP relaxation for a second region.
Electrical Power Network Topology and Representative Graph
The power grid includes buses 10 locally connected to loads (L) 12 and generators (G) 14. The buses are interconnected by transmission lines 20, also known as branches (B). Some of the transmission lines can be connected to transformers (T) 22. The topology and/or structure of the power grid can be represented by a graph G of nodes 30 representing, e.g., generators and connected loads). The nodes in the graph are connected by edges 31 representing transmission lines.
The generators supply active power (measured in, e.g., Mega Watts (MW)), and reactive power (measured in Mega Volt Ampere Reactive (MVar)). The loads consume the power. The power is defined by voltage magnitude and phase angle.
The parameters for the optimization include, but are not limited to, an admittance matrix based on the branch impedance and bus fixed shunt admittance, and the flow capacity ratings, i.e., the maximal total power flow constrained by thermal ratings.
Accordingly, the method of
Branch and bound (BB) is a method for finding optimal solutions of various optimization problems and includes of an iterative enumeration of all candidate solutions, where large subsets of fruitless candidates are discarded by using upper 253 and lower 257 bounds of the quantity being optimized.
According to the BB framework, if the lower bound for some tree node (set of candidates) A is greater than the upper bound for some other node B, then A may be safely discarded from the search. This step is called pruning, and is usually implemented by maintaining a global variable m (shared among all nodes of the tree) that records the minimum upper bound seen among all subregions examined so far. Any node whose lower bound is greater than m can be discarded.
Hence, various embodiment of the invention determine 250 iteratively upper 253 and lower 257 bounds of the objective function. In addition, in one embodiment, the lower bounds on the optimal objective function are determined using a semi-definite programming (SDP) 255 relaxation of an optimal power flow (OPF) problem. Usually, the branch and bound methods are implemented using linear under-approximation of the optimized function, because solution of such approximation can be efficiently performed. However, the embodiments recognized that in the context of the power flow analysis of the power grid, the linear under-approximation of the cost function representing the power flow is inefficient due to the over approximation of the feasible region that results from linear approximations. Hence, it was realized that despite of solution complexity of the SDP over the linear under-approximation, the usage of the SDP approximation in the context of the power grids is advantageous.
In some embodiments, the input 210 the optimization 20 includes one or combination of the following.
1) A graph G(N,E) with a set of N nodes connected by a set of E edges (i,j).
2) An admittance of the lines yij=gij+jbij(i,j)εE, where g represents conductance of the line, b represents susceptance (imaginary part of the admittance) of the line with j=√{square root over (−1)}.
3) Constraints on active power PiG,min,PiG,maxiεN that can be produced by the generators, and the reactive power QiG,min,QiG,max∀iεN that can be produced by the generators.
4) Constraints Sijmax,Pijmax∀(i,j)εE on apparent and active power transferred on the lines.
5) Limits Vimin,Vimax ∀iεN on voltage magnitudes at the buses.
6) Constraints Lijmax∀(i,j)εE on thermal losses on the lines.
The output 230 of the optimization performed at times t=1, . . . , T can include one or combination of complex valued voltages Vi(t)∀iεN at the buses, active and reactive power levels PiG(t),QiG (t)∀iεN of the generators, and energy storage device state-of-charge levels Bi(t)∀iεN. Example devices include, but are not limited to batteries, transformers, capacitors, inductors, and step voltage regulators.
The global optimization uses a decision function ƒ(PG,QG,V,B) that depends on active power generation variables PG=(PG (1), . . . , PG(T)), PG(t)=P1G(t), . . . , P|N|G(t)) reactive power generation variables QG=(QG(1), . . . , QG(T)), QG(t)=(Q1G(t), . . . , (t),Q|N|G(t)), complex valued voltages V=(V(1), . . . , V(T)), V(t)=(V1(t), . . . , V|N|(t)), and battery state-of-charge levels B=(B(1), . . . , B(T)), B(t)=(B1(t), . . . , B|N|(t)) at the buses.
The bounding procedure 320 of the BB framework determines the upper and the lower bounds of the objective function in at least some regions including the first and the second regions. Some embodiments of the invention are based on an additional realization that the branch and bound method should be implemented such that a search for the lowest lower and upper bound in a nested region can use, as a starting point, the result of the search in the region from which the nested region was partitioned according to the branch and bound principles. This realization is based in part on the recognition that the structure of the power grid has patterns or similarities repeated over the span of the grid. Thus, the result of the search in one region can be used to speed up the search over a different region. Accordingly, one embodiment uses a solution of the OPF problem corresponding to the lower bound of the first region as an input to the SDP relaxation for determining the lower bound of the second region.
According to the BB framework, the method updates 330 a lowest upper bound of the BB tree with an upper bound of the second region, if the upper bound is less than the lowest upper bound of the BB tree, and updates 340 a lowest lower bound of the BB tree with a lower bound of the region, if the lower bound is greater than the lowest lower bound of the BB tree and lower than the lower bounds of other regions of the nested tree. In some embodiments, the method also updates the lowest lower bound of the BB tree with the lowest lower bound of other regions, if the lower bound of the region is greater than the lowest lower bound of the BB tree and greater than the lowest lower bound of the other regions.
The power flow is determined 350 based on the lowest upper bound of the BB tree if a difference between the lowest upper bound and the lowest lower bound of the BB tree is less than a threshold.
Example of the Branch and Bound Solution
At each node of the BB tree, an upper bounding problem is solved 620 to obtain the upper bound (U) and a lower bounding problem is solved to obtain the lower bound (L) as shown in
The BB methods updates 625 the lowest upper bound (Ubest), if U<Ubest and updates the lowest lower bound (Lbest) based on the nodes in the tree that are to be analyzed and lower bound obtained for the current node (L). For nodes in BB tree that have not been solved, an estimate of the lower bound is used. This is typically the lower bound value of the parent node from which it was derived.
If lower bound and upper bound (U−L), or (U−L)/U 630 or (Ubest−L) 635 is less than some predetermined threshold τ, then the current node is deleted from the BB tree 645. If not, the feasible region of the current node is partitioned and two nodes are added to the list of unexplored nodes in the BB tree 640. Next, the lowest lower bound Lbest is updated 650 based on the unexplored nodes in the tree.
If (Ubest−Lbest), or optionally (Ubest−Lbest)/Ubest, is less than some predetermined threshold τ 655, then the BB method terminates with the current lowest upper bounding solution 660. Otherwise another node from the BB tree 615 is selected to update/improve the lower and upper bound using the solving steps.
For instance, after the solution of the upper and lower bounding problems for root node R, Ubest is set to U. Further, (U−L), and (U−L)/U and (Ubest−L) are all larger than the predetermined threshold T. In this case, global optimum cannot be determined from R and as shown in
After a node has been processed but the termination conditions for BB have not been satisfied and there exist nodes that are yet unanalyzed the BB procedure proceeds by selecting one of the unanalyzed nodes and calculating the upper and lower bounds for the particular specification of the feasible region.
For instance, suppose the region R2 is selected to be analyzed and upper and lower bounding problems are solved to obtain U2,L2 respectively as shown in
The node R1 is explored and the upper and lower bounding problems are solved to obtain U1,L1 respectively as shown in
Suppose R3 is selected to be explored from the list of unexplored nodes and the upper, lower bounds be computed for R3 as respectively U3,L3 as shown in
The node R4 is explored and upper, lower bounds U4,L4 are obtained for the feasible region corresponding to R4 as shown in
In other words, if there is an optimality gap, then the feasible region is partitioned into two sub-regions, over which the BB procedure is repeated. Nodes are deleted (in branch and bound terms “fathomed” X) when the lower bound L is greater than the current best upper bound. The BB procedure terminates when all nodes have been processed. In that case, the best upper bounding solution is returned as the globally optimal solution.
Multi-Period Optimal Power Flow
In some embodiments, the power grid includes at least one storage system, and the objective function represents the operation of the power grid over time. In those embodiments the OPF is a multi-period optimal power flow (MOPF) problem.
The multi-period version of the OPF is a time coupled version of the optimal power flow problem. The generators typically have ramp constraints that limit the amount by which limits the change in power generated over successive time instances. Consequently, an optimized solution can only be obtained if multiple time-periods are taken into account simultaneously ensuring future fluctuations in load can appropriately accommodated for given the limits in the ramping of generators. Also, power grids these days are closely integrated with renewable energy sources such as wind and solar energy. Energy storage is necessary to allow effective use of such renewables since they are intermittent. Storage works to match the periods of availability of these sources with the demands. Again, the optimization problem needs to account for multiple time-periods since the benefit of supplying power from storage at the present time must be weighed against possible more efficient use of the energy in storage device at future time instances. Thus, integration of storage into the power grid and inclusion of ramp constraints on the generators results in MOPF problems.
In one embodiment, the form of the function ƒ is quadratic and strictly increasing:
where c indicates constants, with c2i,c1i≧0∀iεN.
The equality constraints, inequality constraints and bounds on the decision variables are used to model the limits of feasible operation of the network. The operation of the electrical network by the equality constraints is
h
n(PG(t),QG(t),V(t),B(t))=0∀n=1, . . . ,Ne,t=1, . . . ,T,
where Ne indicates the number of equality constraints.
The constraints on the power transferred on the lines and thermal losses ensuring feasible operation are modeled as inequality constraints
g
n(PG(t),QG(t),V(t),B(t))<0∀n=1, . . . ,Ni,t=1, . . . ,T,
where Ni indicates the number of inequality constraints.
To determine the voltages at the buses and the powers produced by the generators, some embodiments solve the following optimization problem to global optimality:
where Re(Vi),Im(Vi) denote the real and imaginary parts of the complex voltage Vi, respectively, and hn represents equality constraints and gn represents equality constraints.
Multi-Period Optimal Power Flow—Constraints
In one embodiment, the equality constraints
h
n(PG(t),QG(t),V(t),B(t))=0∀n=1, . . . , Ne,t=1, . . . ,T
are represented as
Power Flows on the Lines
Power Balances at the Buses
Battery Dynamics
B,(t+1)=Bi(t)+ηRi(t)Δt∀iεN
B
i(0)=Bi0
where Sij(t)=Pij(t)+jQij(t) denotes the complex valued power transferred from bus i to bus j at time instant t, Sji(t)=Pji(t)+jQji(t) denotes the complex valued power transferred from bus j to bus i at time instant t, (Vi(t))* denotes the complex conjugate of the complex valued variable, SiG(t)=PiG(t)+jQiG(t) denotes the complex valued power produced by the generators at time instant t, SiD(t)=PiD(t)+jQiD(t) denotes the complex valued power demands, Ri(t) is the active power used to charge the battery connected to bus i at time instant t, Bi0 is the initial state-of-charge of the battery connected to bus i, η is the storage efficiency of the battery, and Δt is the duration of the time period. The variables representing power flow on the lines are used for convenience.
In one embodiment for time period t=1, . . . ,T, the inequality constraints
g
n(PG,QG,V)=0∀n=1, . . . ,Ni,t=1, . . . ,T
are represented as follows,
Limit on Active Power Transferred on Lines
Limit on Thermal Loss on Lines
P
ij(t)+Pji(t)≦Lijmax∀(i,j)εE
Limit of Power Generation
P
i
G,min
≦P
i
G(t)≦PiG,max,QiG,min≦QiG,max∀iεN
Limit on Voltage Magnitude
V
i
min≦√{square root over (Re(Vi(t))2+Im(Vi(t))2)}{square root over (Re(Vi(t))2+Im(Vi(t))2)}≦Vimax∀iεN
Limit on State-of-Charge of Batteries
B
i
min
≦B
i(t)≦Bimax∀iεN
Limit on Rate of Charge or Discharge of Batteries
R
i
min
≦R
i(t)≦Bimax∀iεN
and for time periods t=1, . . . , T−1
Ramp Limit on Generator Power Generation
ΔPimin≦PiG(t+1)−PiG(t)≦ΔPimax∀iεN
ΔQimin≦QiG(t+1)−QiG(t)≦ΔQimax∀iεN
Semidefinite Program Based Lower Bound
In various embodiments, the lower bound for OPF is determined by solving the SDP relaxation of the OPF. In one embodiment, the SDP is given by:
minimize F(PG,QG,W,B)
subject to Hn(PG(t),QG(t),W(t),B(t))=0∀n=1, . . . ,Ne,t=1, . . . ,T
to G
n(PG(t),QG(t),W(t),B(t))≦0∀n=1, . . . ,Ni,t=1, . . . ,T
(Vimin)2≦Tr(MiW(t))≦(Vimax)2∀iεN,t=1, . . . ,T
W(t)=0,W(t) is 2|N|×2|N|symmetricmatrix
B
i(t+1)=Bi(t)+ηRi(t)Δt ∀iεN,t=1, . . . ,T
ΔPimin≦PiG(t+1)−PiG(t)≦ΔPimax∀iεN,t=1, . . . ,T−1
ΔQimin≦QiG(t+1)−QiG(t)≦ΔQimax∀iεN,t=1, . . . ,T−1, (2)
where W(t)=0 denotes that matrix W(t) must be positive semidefinite, the matrix operator Tr( ) is defined as
and the matrix Mi is defined as
where ζi denotes a vector of size |N| with a 1 at the i-th component and zero elsewhere.
The matrix W(t) is a relaxation of the outer vector product of the voltage variable vector,
In the preferred embodiment, the objective function is,
The equality constraints in the semidefinite relaxation (Eq. 2) are written as,
where, the matrices Yij, Yji, Yi,
Alternating Direction Method of Multipliers
Some embodiments use the alternating direction method of multipliers (ADMM) for determining the lower bounds. Specifically, the usage of the ADMM method for SDP relaxation in a current iteration of the branch and bound method allows reusing the outputs of the previous iteration of the branch and bound method to accelerate the convergence of the method. The objective function of the OPF problem is typically quadratic in the real power from generators. The use of the ADMM for solving such SDP relaxations does not scale well when general quadratic terms are present. This embodiment is based on the realization that the number of generators in the typical power grid is small compared to the buses and the quadratic terms do not involve any cross terms. Thus, the quadratic cost in the context of ADMM for SDP for OPF problem can be handled efficiently.
ADMM Based Lower Bound
The SDP relaxations of the multi-period optimal power flow problem tend to be large scale problems. Therefore, some embodiments of the invention use decomposition methods to solve the problems effectively. For example, some embodiments take advantage from the recognition that the computational efficiency of the ADMM method can be improved by decomposing the semidefinite constraint in the SDP into semidefinite constraints on smaller blocks based on the electrical network. This approach allows accelerating the computation and further increases the efficiency of the branch and bound method.
For decoupling the constraint involving Bi(t), introduce {circumflex over (B)}i(t),
{circumflex over (B)}
i(2)=Bi(1)+ηRi(1)Δt
{circumflex over (B)}
i(t+1)=Bi(t)+ηRi(t)Δt,t=2, . . . ,T−1
B
i(T+1)=Bi(T)+ηRi(t)Δt
{circumflex over (B)}
i(t)=
B
i(t)=
Observe that these constraints are identical to those in (2).
For decoupling the constraint involving PiG(t), introduce {circumflex over (P)}iG(t),
t=2, . . . , T−1 and rewrite the ramp constraints on PiG(t) as,
ΔPimin≦{circumflex over (P)}iG(t+1)−PiG(t)≦ΔPimax,t=1, . . . ,T−1
{circumflex over (P)}
i
G(t)=
P
i
G(t)=
Observe that these constraints are identical to those in (2).
For decoupling the constraint involving QiG(t), introduce {circumflex over (Q)}iG(t),
ΔQimin≦{circumflex over (Q)}iG(t+1)−QiG(t)≦ΔQimax,t=1, . . . ,T−1
{circumflex over (Q)}
i
G(t)=
Q
i
G(t)=
The second step includes dualizing the constraints involving
{circumflex over (B)}(t)=(B1(t), . . . , B|N|(t)),{circumflex over (B)}=({circumflex over (B)}(2), . . . ,{circumflex over (B)}(T))
B
{circumflex over (P)}
G(t)=({circumflex over (P)}1G(t), . . . ,P|N|G(t)),{circumflex over (P)}G=({circumflex over (P)}G(2), . . . ,{circumflex over (P)}G(T−1))
G(t)=(
{circumflex over (Q)}
G(t)=({circumflex over (Q)}1G(t), . . . ,{circumflex over (Q)}|N|G(t)),{circumflex over (Q)}G=({circumflex over (Q)}G(2), . . . ,{circumflex over (Q)}G(T−1))
G(t)=(
The dual augmented Lagrangian objective function is:
where, τi,1(t), τi,2(t) is the multiplier for the constraints in equation (3) involving
τ1(t)=(τ1,1(t), . . . ,τ|N|,1(t)),τ2(t)=(τ1,2(t), . . . , τ|N|,2(t))
τ1=(τ1(2), . . . , τ1(T)),τ2=(τ2(2), . . . , τ2(T)),τ=(τ1,τ2),
and νi,1(t),νi,2 (t) are the multipliers for the constraints in equation (4) involving
ν1(t)=(ν1,1(t), . . . ,ν|N|,1(t)),ν2(t)=(ν1,2(t), . . . ,ν|N|,2(t))
ν1=(ν1(2), . . . ,ν1(T)),ν2=(ν2(2), . . . ,ν2(T)),ν=(ν1,ν2),
and σi,1(t), σi,2 (t) are the multipliers the constraints in equation (5) involving
σ1(t)=(σ1,1(t), . . . ,σ|N|,1(t)),σ2(t)=(σ1,2(t), . . . ,σ|N|,2(t))
σ1=(σ1(2), . . . ,σ1(T)),σ2=(σ2(2), . . . ,σ2(T)),σ=(σ1,σ2),
The resulting minimization problem for given values of multipliers τ,ν, σ is,
In optimization problem (7) the constraints do not involve coupling between the variables across time steps. The coupling across time-steps still exists in the objective function through the quadratic terms introduced in the augmented Lagrangian formulation, which is resolved using the ADMM.
The ADMM proceeds by:
1) Select values for τ0,ν0,σ0 and (
2) For l=1,2,3, . . . do
τi,1l+1(t)=τi,1l(t)+ρ({circumflex over (B)}il+1(t)−
τi,2l+1(t)=τi,2l(t)+ρ(Bil+1(t)−
νi,1l+1(t)=νi,1l(t)+ρ(({circumflex over (P)}G)il+1(t)−(
νi,2l+1(t)=νi,2l(t)+ρ((PG)il+1(t)−(PG)il+1(t)),t=2, . . . ,T
σi,1l+1(t)=σi,1l(t)+ρ(({circumflex over (Q)}G)il+1(t)−(
σi,2l+1(t)=σi,2l(t)+ρ((QG)il+1(t)−(
The steps 2a.-2c. are repeated until convergence criterion in step 2d is satisfied. Step 1 still involves solving a considerably large SDP for a single time-step. The next section shows how this computation can also be made efficient using the ADMM.
ADMM for Single Time-Step Optimal Power Flow
The single time-step problem resulting from time decoupling described in previous section results in the following SDP can be succinctly represented as:
where Hq is a positive definite matrix.
The size of the semidefinite matrix W is twice the number of nodes in the electrical network and the size of the constraints is on the order of the number of nodes and edges in the power grid. This can be computationally expensive for large grids when using interior point algorithms. To alleviate the computational burden, the ADMM method is considered to solve the SDP.
In the preferred embodiment the ADMM method can be applied directly to the formulation in (8). The augmented lagrangian formulation is,
where α>0 is a scalar parameter, zi are multipliers for equality constraints wl=xl, zq are multipliers for equality constraints wq=xq, Z is the multiplier matrix for the equality constraints W=Z. In the above, ∥·∥ is the vector 2-norm and ∥·∥F is the Frobenius norm for matrices.
The steps of the ADMM algorithm applied to the formulation in (9) are:
The solution of the optimization problem in Step 2a. can be computationally expensive in general but in the context of optimal power flow problems the number of generators in the power grid is typically small. Hence, the computational cost of this step can be reduced considerably and this realization is the key to solving (9) efficiently. A significant advantage of using the ADMM algorithm is that if a good initial guess is available for the problem (8) then the algorithm converges quickly. Such a behavior cannot be expected for interior point algorithms for semidefinite programs. This property is commonly called as warm-starting and is important especially when semidefinite programs are to be solved as part of a branch and bound algorithm as described earlier. The warm-starting property of the ADMM allows to improve the overall computational efficiency of the branch-and-bound process.
In another embodiment, the standard lagrangian dual of the semidefinite program in (8) can be constructed and the ADMM algorithm can be applied to the resulting dual.
Chordal Graphs and Maximal Clique Decomposition
The set of edges includes edges from a node to itself, that is (i,i)⊂E∀iεN. The electrical networks do not contain such self loops and have been included only for presentation. A graph G(N,E) is said to be a clique if the graph has all possible edges between the nodes in the graph. Further, a graph G(N,E) is said to be chordal if for every cycle in the graph with four or more nodes there exists an edge between two non-adjacent vertices in the cycle.
Given a graph that is not chordal, the following algorithm describes how to obtain a graph with additional edges so that the resulting graph is chordal. Such a graph is also called the chordal extension of a graph. The chordal extension of a graph can be obtained by following algorithm:
It is a well known result in graph theory that every chordal graph can be decomposed a set of maximal cliques where maximality is defined by the non-existence of another clique in the given graph that strictly contains it. That is, given a chordal graph G(N,E) there exists C1, . . . , Cl where Cr⊂N∀r=1, . . . ,l, N=C1∪ . . . ∪Cl and Cr×Cr⊂E. The maximal cliques of a graph can be obtained as follows:
Ck∀ k = 1, ... ,l − 1 then
Exploiting Structure in the Solution of the Single Time-Step Optimal Power Flow
The computationally demanding task in the ADMM algorithm presented for (9) is the eigenvalue decomposition that is involved in the solution of the optimization problem for Xk+1 in Step 2b. To address this computational bottleneck the graph of the electrical network can be exploited. The graph G(N,E) induced by the typical electrical network is sparse in the sense that there does not exist an electrical line between every pair of buses in the network. This sparsity can be exploited to decompose the positive semidefinite constraint in (9) which is on a matrix of size 2|N|×2|N| into a number of positive semidefinite constraint of smaller sized matrices. This also allows the eigenvalue step computation to be parallelized and allows speeding up of the algorithm. The process of decomposition is described below.
Given, the graph of the electrical network G(N,E), let C1, . . . , Cl denote a maximal clique decomposition satisfying Cr⊂N∀r=1, . . . , l, N=C1 ∪ . . . ∪Cl and Cr×Cr ⊂E. Using this maximal clique decomposition the single-time step optimal power flow problem in (8) can be written as:
The positive semidefinite constraint is posed on a number of smaller sized matrices as opposed to the large matrix as in (8). Further, since matrix A only has nonzero entries for (i,j)εE we can eliminate the variables W to obtain a semidefinite program only the variables {Wr}r=1l, wq, wl which will be similar to the problem in (8) and the ADMM algorithm described previously can be applied.
In another embodiment the standard lagrangian dual of the semidefinite program in (10) can be constructed and the ADMM algorithm described earlier can be applied to the dual instead of (10).
Upper Bound—Based Sufficient Condition
The upper bound based sufficient condition is used to verify if the obtained solution is a globally optimal solution. This is possible in the case of MOPF since it is an instance of a quadratically constrained quadratic program. Suppose the optimization problem (1) is solved using a nonlinear programming solver. Let PG,*(t),QG,*(t),V*(t)B*(t))i=1, . . . T be the solution obtained and let (λne,*(t))n=1, . . . ,Ne,t=1, . . . T, (λni,*(t))n=1, . . . ,Ni,i=1, . . . , T be the multipliers for the equality hn and inequality constraints gn respectively. The sufficient condition can be stated as follows.
The solution to the upper bounding problem is also a globally optimal solution if the matrix defined by the hessian of the lagrangian defined in (11) is positive semidefinite. In other words, this amount to checking if
is positive semidefinite where, ∇2ƒ, ∇2hn, ∇2gn denote the hessian of the functions ƒ, hn, gn. This check involves simply performing an eigenvalue decomposition and can be accomplished with much fewer computations than solving an SDP problem
Lower Bound—Based Sufficient Condition
The sufficient condition for the lower bound to be a globally optimal solution is to simply check if in the solution to (2), the matrices w(t) have rank less than or equal to 2. This again is a simple check that can be performed quickly. If the rank some of the matrices W(t) are 1, in other words, W(t)=ω1(t)w1(t)w1(t)r where ω1(t), w1(t) is the nonzero eigenvalue and its eigenvector respectively. Then, solution to the upper ounding problem can be obtained as, V(t)=√{square root over (ω1(t))}w1(t). If the rank of some of the matrices W(t) are 2, in other words, W(t)=ωi(t)w1(t)w1(t)r+ω2(t)w2(t)w2(t)T where ω1(t), ω2(t) are the two non-zero eigenvalues and w1(t), w2(t) are its corresponding eigenvectors. Then, the solution to the upper bounding problem can be obtained as V(t)=(√{square root over (ω1(t))}+√{square root over (ω2(t)))}w1(t).
Although the invention has been described by way of examples of preferred embodiments, it is to be understood that various other adaptations and modifications can be made within the spirit and scope of the invention. Therefore, it is the object of the appended claims to cover all such variations and modifications as come within the true spirit and scope of the invention.