The present invention relates generally to electric power networks, and more particularly to optimizing power flows in the networks.
An electric power network includes buses connected to transmission lines. The buses are connected to generators and loads. Optimal power flow (OPF) analysis is often used for monitoring and controlling the operation of the network. The power flow depends, in part, on voltage magnitudes and phase angles. Generation amounts and voltage levels on the buses are optimized by minimizing an objective function subject to constraints, such as the magnitudes, phases, power transferred, generator capacity, thermal losses, and the like.
Most conventional OFF optimizations:
Thus, there remains a need to globally optimize an electric power networks in an efficient and expedient manner.
U.S. Pat. No. 6,625,520 describes a system and method for operating an electric power system that calculates optimal power flow and available transfer capability of the electric power system based on the optimal power flow. The system derives data associated with the initial phase angle and maximum electric power value of a generator by calculating mechanical output and electrical output of a generator, including a generator phase angle defined by a time function in a condition that the generator phase angle does not exceed a preset value.
The embodiments of the invention provide a method for globally optimizing a power flow in electric power networks.
A spatial branch and bound (BB) procedure ensures that the globally optimal solution is attained. The BB procedure partitions the feasible region of the power flow problem, specifically 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 minimal lower bound. The SDP uses interior point procedures, which bound the computational complexity.
Electrical Power Network Topology
The network includes buses 10 connected to loads 12 and generators 14. The buses are interconnected by transmission lines 20, also known as branches. Some of the transmission lines can be connected to transformers 22.
The generators generate active power (measured in MW), and reactive power (measured in 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.
The network can be represented by a graph G of nodes 30 connected by edges 31.
Input
Input to the method includes the following:
Output
Output of the method includes complex valued voltages Vi∀iεN at the buses, and active and reactive power levels PiG,QiG∀iεN of the generators.
Global Optimization
For the global optimization, we use a decision function ƒ(PG,QG,V) that depends on active power generation variables PG=(P1G, . . . , P|N|G), reactive power generation variables QG=(Q1G, . . . , Q|N|G), and the complex valued voltages V=(V1, . . . , V|N|) at the buses.
In the preferred embodiment, the form of the function ƒ is quadratic and strictly increasing:
where c indicates constants, with c2i,c1i≧0∀iεN.
We use equality constraints, inequality constraints and bounds on the decision variables to model the limits of feasible operation of the network. We model the physics of the electrical network by the equality constraints
hn(PG,QG,V)=0∀n=1, . . . ,Ne,
where Ne indicates the number of equality constraints.
We model the constraints on the power transferred on the lines and thermal losses ensuring feasible operation as inequality constraints
gn(PG,QG,V)≦0∀n=1, . . . ,Ni,
where Ni indicates the number of inequality constraints.
We also impose constraints on power generation and voltage magnitudes at the buses.
To determine the voltages at the buses and the powers produced by the generators, we solve the following optimization problem to global optimality:
minimize ƒ(PG,QG,V)
subject to hn(PG,QG,V)=0∀n=1, . . . ,Ne
gn(PG,QG,V)≦0∀n=1, . . . ,Ni
PiG,min≦PiG≦PiG,max,QiG,min≦QiG≦QiG,max∀iεN
Vimin≦√{square root over (Re(Vi)2+Im(Vi)2)}{square root over (Re(Vi)2+Im(Vi)2)}≦Vimax∀iεN, (1)
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.
Constraints
In the preferred embodiment, the equality constraints
hn(PG,QG,V)=0∀n=1, . . . ,Ne
are represented as
Power flows on the lines
Power balances at the buses
where Sij=Pij+jQij denotes the complex valued power transferred from bus i to bus j, Sji=Pji+jQij denotes the complex valued power transferred from bus j to bus i, (Vi)* denotes the complex conjugate of the complex valued variable, SiG=PiG+jQiG denotes the complex valued power produced by the generators and SiD=PiD+jQiD denotes the complex valued power demands. The variables representing power flow on the lines are used for convenience.
In the preferred embodiment the inequality constraints
gn(PG,QG,V)=0∀n=1, . . . ,Ni
are represented as
Limit on apparent power transferred on lines
Limit on active power transferred on lines
Limit on thermal loss on lines
Re(Sij+Sji)≦Lijmax∀(i,j)εE
Branch and Bound
As shown in
In this description, the problem is described as a minimization. However, it should be understood, the problem can also be posed as a maximization by reversing the sign of the objective function.
The lower bound for OPF(1) is obtained by solving a semidefinite (SDP) relaxation of the OPF. The SDP that is solved is given by:
minimize F(PG,QG,W)
subject to Hn(PG,QG,W)=0∀n=1, . . . ,Ne
Gn(PG,QG,W)≦0∀n=1, . . . ,Ni
PiG,min≦PiG≦PiG,max∀iεN
QiG,min≦QiG≦QiG,max∀iεN
(Vimin)2≦Tr(MiW)≦(Vimax)2∀iεN
W=0,W is 2|N|×2|N|symmetric matrix (Eq. 2)
where W=0 denotes that matrix W 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 zeros elsewhere.
The matrix W is a relaxation of the outer vector product of the voltage
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,
Lagrangian Dual of the OPF
In another embodiment, the lower bound (L) is obtained by solving the Lagrangian dual of the OPF (1) using a subgradient procedure. Denoting by αi, βi, λij,γij the multipliers for the equality constraints—respectively active power balance at the buses, reactive power balance at the buses, active line power flows, reactive line power flows and further denoting by νi,
The Lagrangian function associated with OPF (Eq. 1) is
where xT denotes the transpose of the vector x. The Lagrangian dual function g(ξ) is defined by
The optimal value of dual function is obtained by
in which ξeq is unrestricted in sign.
The optimal value obtained from Eq. (4) is a lower bound (L) for OPF (Eq. 1). The solution proceeds in two steps: (i) solving (Eq. 3) for some ξ, and (ii) iterating on ξ until (Eq. 4) is solved.
The solution to Lagrangian dual function is decomposed into the following subproblems:
for each generator
for line flows
for voltages
The maximization problem which iterates on ξ is solved using a subgradient procedure as,
ξeqk+1=ξeqk+skgeqk,ξink+1=[ξink+skgink]+
where [ ]+ denotes the projection on to the nonnegative orthant
sk is a step size.
geqk the residual of equality constraints that are dualized
gink denotes the residual of inequality constraints that are dualized.
The maximization problem can also be solved using a bundle method or any other nonsmooth optimization procedure. When the lower and upper bounds for power generation variables and voltage magnitudes are updated as described below, the appropriate values are used in the subproblems (i), (ii) and (iii) describe above.
As shown in
Otherwise, if (U−L), or (U−L)/U or (Ubest−L) is less than some predetermined threshold τ, then the current node is deleted from the BB tree and another node from the BB tree is selected to update and possibly improve the lower and upper bound using the solving steps.
Otherwise as shown in
The BB procedure terminates when there are no more nodes to be processed. In that case, the best upper bounding solution is returned as the globally optimal solution.
The partitioning of the feasible region can be accomplished by rectangular bisection on PGi or QGi as shown in
Additional Constraints
In another embodiment, additional constraints that strengthen the semidefinite programming relaxations are used. The constraints are derived by analyzing the power flow equations. Consider writing the real line flow constraint Pij=Tr(YijW) in terms of the original voltage variables of the buses,
Pij=gij(Re(Vi)2+Im(Vi)2+Im(Vi)2)+gij(Re(Vi)Re(Vj)+Im(Vi)Im(Vj))+bij(Re(Vi)Im(Vj)−Im(Vi)Re(Vj))
where, gij is the line conductance, bij is the line susceptance.
The above equations can be modified when the transmission line includes a transformer. The following description of the constraints also applies to that case. The matrix formulation Pij=Tr(YijW) is obtained essentially by replacing the quadratic terms in the above equality by terms
Re(Vi)2,Im(Vi)2,Re(Vi)Re(Vj),Re(Vi)Im(Vj),Im(Vi)Re(Vj),Im(Vi)Im(Vj)
with respectively the matrix entries
Wii,W(|N|+i)(|N|+i),Wij,Wi(|N|+j),W(|N|+i)j,W(|N|+j)(|N|+j)(|N|+j),
where Wij refers to the element of the matrix W corresponding to row i and column j.
By considering the range of the quadratic terms in the above equation bounds can be derived on the matrix entries. Denoting by
where sup refers to the supremum value (or global maximum) of the objective function and inf refers to the infirnum value (or global minimum) of the objective, function. The values ζg,ijmin,ζg,ijmax are computed analytically as a function of the voltage magnitude bounds. Hence, as the procedure proceeds by partitioning, the feasible region, and the new lower and upper bounds can be computed by resealing. Similarly the range for the other bilinear term in the real power balance equation can be computed as,
Based on the computed quantities the following constraint can be added to semidefinite programming relaxation to strengthen the lower bound that is computed
ζg,ijmin≦Wij+W(|N|+i)(|N|+j)≦ζg,ijmax
ζg,ijmin≦Wi(|N|+j)+W(|N|+i)j≦ζb,ijmax. (Eq. 5)
As described above, the bounds are recomputed when the limits on the voltage magnitudes are modified as the procedure partitions the voltage magnitude constraints on the buses. Constraints of the form describe in (Eq. 5) are derived for every line in the network and added to the semidefinite relaxation.
In another embodiment, the strengthening constraints are obtained by considering a
combination of the quadratic terms. Consider the real power flow constraint and compute bounds as follows.
Using these bounds strengthened bounds constraints on matrix entries are added to the semidefinite programming relaxation as,
ωP,ijmin≦gij(Wij+W(|N|+i)(|N|+j))+bij(Wi(|N|+j)+W(|N|+i)j)≦ωP,ijmax. (Eq. 6)
Similarly, considering the reactive line flow constraints on (i,j) and the combination of quadratic terms that appear, bounds can be computed and constraints can be imposed on the entries of the matrix W. Constraints of the form describe in (Eq. 5) are derived for every line in the network and added to the semidefinite relaxation.
In another embodiment, the strengthening constraints are obtained by considering the entire term on the right hand side of the power flow equations. Consider the real power flow constraint and compute bounds as follows,
Using these bounds, strengthened bounds constraints on matrix entries are added to the semidefinite programming relaxation as,
Similarly, considering the reactive line flow constraints on (i,j) and the real and reactive line flows from (j,i), and the combination of quadratic terms that appear, bounds can be computed and constraints can be imposed on the entries of the matrix W. Constraints of the form describe in (Eq. 5) are derived for every line in the network and added to the semidefinite relaxation.
Method
Variables, constraints, and the BB tree 715 for the network are initialized 710 according to the network topology, components and physical operating conditions, and the like as described above. These are readily available from a provider for a particular network topology and components. The BB tree includes at least a root node.
Nodes in the tree are selected and solved one at the time, until the tree is empty.
Solve 720 for the upper and lower bounds 725 on the OPF problem. The upper bounds are solved using nonlinear programming, and the lower bounds use semi-definite programming.
The lowest upper and lower bound 735 found so far are updated 730 according to the current upper and lower bounds. These are the lowest bounds that are estimated for yet unselected nodes.
Determine 740 if a difference between the lowest upper bound and the lowest lower bound is less than a threshold, and if true, outputting the voltages and the powers 750 for the electric power network as represented by the feasibility region for the selected node.
Otherwise if false, determine whether a difference between the upper bound and the lower bound is greater than the threshold and whether the lower bound is less than the lowest upper bound (minus tolerance), and if this true, partitioning 760 the feasible region of the selected node to generate two nodes for the branch and bound tree by replacing the selected node by the two nodes, and repeat by selecting another node, unless the tree is empty. Otherwise if false, delete the selected node and select another node.
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.
Number | Name | Date | Kind |
---|---|---|---|
6625520 | Chen et al. | Sep 2003 | B1 |
6775597 | Ristanovic et al. | Aug 2004 | B1 |
7277832 | Chiang | Oct 2007 | B2 |
8126685 | Nasle et al. | Feb 2012 | B2 |
20130190938 | Zadeh et al. | Jul 2013 | A1 |
20140032187 | Legbedji et al. | Jan 2014 | A1 |
Number | Date | Country |
---|---|---|
WO2012061674 | May 2012 | WO |
Entry |
---|
J. Lavaei and S. H. Low, “Zero Duality Gap in Optimal Power Flow Problem,” in IEEE Transactions on Power Systems, vol. 27, No. 1, Feb. 2012, p. 92-107. |
J.A. Taylor and F.S. Hover, “Conic Relaxations for Transmission System Planning,” in North American Power Symposium (NAPS), IEEE Aug. 2011, p. 1-4. |
J. Lavaei and S. H. Low, “Zero Dulaity Gap in Optimal Power Flow,” IEEE Transactions on Power Systems, in press. |
S. Bose, D. Gayme, S. Low, and K. M. Chandy, “Quadratically constrained quadratic programs on acyclic graphs with application to power flow,” http://arxiv.org/pdf/1203.5599.pdf, 2012. |
B. Zhang and D. Tse, “Geometry of feasible injection region of power networks,” http://arxiv.org/pdf/1107.1467.pdf, 2011. |
S. Sojoudi and J. Lavaei, “Network topologies guaranteeing zero duality gap for optimal power flow problem,” submitted for publication, 2011. |
D. T. Phan, “Lagrangian Duality and Branch-and-Bound Algorithms for Optimal Power Flow,” Operations Research 60 (2), 275-285, 2012. |
Number | Date | Country | |
---|---|---|---|
20140052301 A1 | Feb 2014 | US |