Professional Documents
Culture Documents
Kar2017 PDF
Kar2017 PDF
Rabi Shankar Kar, Zhixin Miao, Miao Zhang and Lingling Fan
Department of Electrical Engineering
University of South Florida at Tampa, FL 33620
Email: zmiao@usf.edu
Abstract—The objective of the paper is to implement al- Reference [5] demonstrated consensus ADMM and proximal
ternative direction method of multipliers (ADMM) to solve a Jacobian ADMM for DC OPF and SOCP relaxation of AC
nonconvex alternating current optimal power flow (AC OPF) OPF.
problem. There is no guarantee of convergence for ADMM
when it is applied to a nonconvex optimization problem. In Another type of relaxation is semidefinite programming
this article, we not only present the procedure of consensus (SDP) relaxation. In [6], [7], SDP relaxation is applied on
ADMM implementation on an AC OPF problem for IEEE 14-bus a nonlinear state estimation problem. ADMM is then applied
system but also present the results related to ADMM parameters to solve the convex relaxation problems. The state estimation
and convergence. The solutions from MATPOWER and ADMM problem has a different objective function than the AC OPF
implementation are also compared.
Index Terms—AC OPF; ADMM; Fmincon
problem. It does not have the inequality constraints imposed
but has the equality constraints that describe each bus’s power
injection.
I. I NTRODUCTION
The objective of this paper is to present how to implement
AC OPF is a nonlinear and nonconvex optimization prob- ADMM for nonconvex AC OPF. Though this topic has been
lem. The decision variables include generators’ real and reac- addressed in [2], the reference paper does not present a
tive power outputs and voltage magnitude and angle at each tutorial approach of implementation. In addition, information
bus. The objective function is usually the generation cost exchange among subsystems is not straightforward.
and the constraints include equality constraints that describe Our contributions include a tutorial presentation to show
power injection relationship with voltage phasor and inequality how to separate the grid into subsystems and overlapping
constraints that describe generator limits, voltage limits, and areas, and how to implement consensus ADMM to find the
line flow limits. solution.
Alternating direction method of multipliers (ADMM) is a The rest of the paper is organized as follows. Section II
simple powerful technique suited to solve distributed convex describes the details about the ADMM algorithm. Section III
optimization. In ADMM, we divide the main system into describes about the implementation of consensus ADMM for
different sub-system called as area, and each area is coor- an AC OPF problem using IEEE 14-bus system as an example
dinated to find the final optimized solution. It is a attempt system. In Section IV, case studies are presented. Section V
to blend the benefits of Dual Decomposition method and concludes the paper.
Augmented Lagrangian Methods for constraints optimization
II. ADMM A LGORITHM
in ADMM algorithm. The detail description on dual decom-
position and Augmented Lagrangian is discussed in [1]. In A. Standard ADMM
ADMM, there are different algorithms, e.g., Gauss-Seidal, ADMM is an algorithm to solve distributed optimization
consensus ADMM, and proximal Jacobian ADMM. problem. Consider an optimization problem statement which
ADMM has been applied to solve AC OPF problems [2]– has an objective function consists of the sum of G1 (xx) and
[5]. In distributed AC OPF, the entire power grid is separated G2 (zz):
into multiple regions and each region solves its own opti-
mization problem with the inputs from the other region. The
min G1 (xx) + G2 (zz) (1)
output from each region is used for updating until convergence. x ∈c1 ,zz∈c2
For nonconvex optimization problems, there is no guaranteed s.t. A x = z
convergence for ADMM. Reference [2] describes ADMM
implementation for nonconvex AC OPF problems and it shows The augmented Lagrangian equation is defined as:
that convergence only occurs under certain conditions. ρ
Lρ (xx, z , λ ) = G1 (xx) + G2 (zz) + λ T (A Ax − z k22 (2)
Ax − z ) + kA
To have guaranteed convergence, AC OPF problems are first 2
relaxed to have convex optimization problems. In [3], second- where ρ > 0 is called the penalty parameter. The augmented
order cone program (SOCP) relaxation is applied to relax the Lagrangian method is developed in part to bring robustness
AC OPF problem for a distribution network. Such relaxation is to the dual ascent method, and in particular, to yield conver-
exact under milder assumptions for distribution tree networks. gence without assumptions of strict convexity or finiteness of
ADMM is then applied to solve the SOCP relaxation problem. objective function G [1], [2].
To search the optimal point, it is performed via an alternat- III. ADMM F ORMULATION FOR AC OPF
ing procedure which starts from initial values z 0 and λ 0 , and In this section, we will present the ADMM formulation for
iteratively updated according to eq. (3) until convergence. an AC OPF problem related to the IEEE 14-Bus system. The
distribution topology of IEEE 14-Bus is shown in Fig. 1. Each
x k+1 = argmin λ k )T (A
G1 (xx) + G2 (zzk ) + (λ Ax − z k ) bus has their own load. There are three transformers between
x ∈c1
ρ Bus 5 and 6, Bus 4 and 9, Bus 4 and 7, respectively. Five
+ kA Ax − z k k22 (3a) generators are connected on Bus 1, 2, 3, 6 and 8, respectively.
2
z k+1 = argmin G1 (xxk+1 ) + G2 (zz) + (λλ k )T (A
Ax k+1 − z ) 13
z ∈c2 AREA B
ρ
+ kA Ax k+1 − z k22 (3b) 12 14
2
λ k+1 = λ k + ρ(A Ax k+1 − z k+1 ) (3c) 11
10
9
Finally, the ADMM iteration should converge to the follow- 6
G4
ing results. G1
GS
GS
7
G5
GS
Consensus Area 8
Axk − zk
1
0 4
m
Pi (V, θ ) = ∑ ViV j (Gi j cos(θi − θ j ) + Bi j sin(θi − θ j )) (8b)
ρ j=1
Lρ (xx1 , . . . , x m , z , λ ) = ∑ fi (xxi ) + λ Ti (xxi − z ) + kxxi − z k22 N
i=1 | 2
{z
Lρ,i
} Qi (V, θ ) = ∑ ViV j (Gi j sin(θi − θ j ) − Bi j cos(θi − θ j )) (8c)
j=1
(6)
Thus, the common global variable z is solved by collabo- where Ii is derived by Yi, j and V j in (9), G is the bus con-
rative filtering in (7). ductance matrix, Gi j = Re(Yi j ) and, B is the bus susceptance
matrix, Bi j = Im(Yi j ) and Y is the bus admittance matrix.
x k+1
i = argmin Lρ,i (xxi , λ ki , z k ), i = 1, · · · , m (7a)
xi Ii = ∑ Yi, j ·V j (9)
m
1 j
z k+1 = ∑ x k+1 (7b)
m i=1 i The AC OPF problem can be formulated as a minimization
of the summation of individual polynomial cost functions fPgi
λ k+1
i = λ ki + ρ(xxk+1
i − z k+1 ), i = 1, · · · , m (7c)
and fQgi of real and reactive power generation, respectively,
For details refer to [1], [5]. for each generator on the following buses (1, 2, 3, 6, 8), shown
in (10).
In this paper, we will adopt consensus ADMM to solve a
The optimization variables x in (11) consists of 5×1 vectors
nonconvex AC OPF problem. Each area only need to handle
of generator real and reactive power generations Pg and Qg ,
its own objective function and constraints for a given global
and 14 × 1 vectors of voltage magnitudes V and angles θ .
z k . All the areas update their decision variables in parallel till
convergence. min ∑ fP (Pgi ) + fQ (Qgi ), (10)
x
• Area B:
Pg
Qg – Its own buses: 6-14.
x=
V
(11) – Boundary Buses: 4 and 5.
– Branches: 6-11, 6-12, 6-13, 7-8, 7-9, 9-10, 9-14, 10-
θ
11, 12-13, 13-14, 5-6, 4-7, 4-9.
s.t. Pgi ≤ Pgi ≤ Pgi (12a) • Consensus Area:
To illustrate convergence of the consensus ADMM, the Remarks: We have demonstrated the performance of
norm of the error kxik − zk k was calculated and the dual ADMM for nonconvex AC OPF. Depending on the penalty
0.5 100 1.02
Pg1 V4
Voltage
Pg2 V5
Pg
A 0 50 1
λ
Pg3 V6
Pg6 V7
-0.5 0 Pg8 0.98 V9
5 10 15 20 5 10 15 20 5 10 15 20
Iterations (k) Iterations (k) Iterations
0.5 50 0.05
Qg1 θ4
Qg2
Qg
B
0 0 0 θ5
θ
λ
Qg3
θ6
Qg6
-0.5 -50 Qg8 -0.05 θ7
5 10 15 20 5 10 15 20 5 10 15 20 θ
9
Iterations (k) Iterations (k) Iterations
5 200 1.05
Pg1 V4
Voltage
Pg Pg2 V5
λA
0 100 1
Pg3 V6
Pg6 V7
-5 0 Pg8 0.95 V9
10 20 30 40 5 10 15 20 25 30 35 40 10 20 30 40
Iterations (k) Iterations (k) Iterations
5 50 0.1
Qg1 θ4
Qg2
Qg
λB
0 0 0 θ5
θ
Qg3
θ6
Qg6
-5 -50 Qg8 -0.1 θ7
10 20 30 40 5 10 15 20 25 30 35 40 10 20 30 θ 940
Iterations (k) Iterations (k) Iterations
50 1 1.1
Pg1 V4
Voltage
Pg2 V5
Pg
λA
0 0 1.05
Pg3 V6
Pg6 V7
-50 -1 Pg8 1 V9
5 10 15 20 25 30 35 5 10 15 20 25 30 5 10 15 20 25 30 35
Iterations (k) Iterations (k) Iterations
100 50 0.1
Qg1 θ4
Qg2
Qg
B
0 0 0 θ5
θ
λ
Qg3
θ6
Qg6
-100 -50 Qg8 -0.1 θ7
5 10 15 20 25 30 35 5 10 15 20 25 30 5 10 15 20 25 30 θ 9 35
Iterations (k) Iterations (k) Iterations
Pg2 V5
Pg
100 1.05
λA
0 Pg3 V6
Pg6 V7
-5 0 Pg8 1 V9
5 10 15 20 25 30 35 5 10 15 20 25 30 5 10 15 20 25 30 35
Iterations (k) Iterations (k) Iterations
4
×10 50 0.1
5
Qg1 θ4
Qg2
Qg
0 0 θ5
λB
0 Qg3
θ
Qg6 6