Comparisonofconvexificated SQCQPand PSOforthe Optimal Operationofthe Transmission System Level
Comparisonofconvexificated SQCQPand PSOforthe Optimal Operationofthe Transmission System Level
net/publication/351844137
CITATIONS READS
0 67
4 authors, including:
Lutz Hofmann
Leibniz Universität Hannover
168 PUBLICATIONS 1,194 CITATIONS
SEE PROFILE
All content following this page was uploaded by Marcel Sarstedt on 25 May 2021.
Abstract
The optimal operation of electrical energy systems by solving a security constrained optimal power flow (SCOPF)
problem is still a challenging research aspect. Especially, for conventional optimization methods like sequential quadratic
constrained quadratic programming (SQCQP) the formulation of the incremental control variables like in-phase and
quadrature voltage controlled transformers in a solver suitable way is complex. Compared to this, the implementation of
these control variables within heuristic approaches like the particle swarm optimization (PSO) is simple but problem
specific adaptations of the classic PSO algorithm are necessary to avoid an unfortunate swarm behavior and local
convergence in bad results. The objective of this paper is to introduce a SQCQP and a modified PSO approach in detail to
solve the SCOPF problem adequately under consideration of flexible incremental in-phase and quadrature transformers
tap sets and to compare and benchmark the results of both approaches for an adapted IEEE 118-bus system. The case-
study shows that both approaches lead to suitable results of the SCOPF with individual advantages of the SQCQP
concerning the quality and the reproducibility of the results while the PSO lead to faster solutions when the complexity
of the investigation scenario increases.
Keywords— Redispatch, Grid Control Optimization, Security Constrained Optimal Power Flow, Sequential Quadratic
Constrained Quadratic Programming, Particle Swarm Optimization
~
Vi Y s,i , j V´j Vj
at the transmission grid level and the identification of
individual advantages (e.g. computation time, quality
of the results). The benchmark scenario is based on an
adaption of the IEEE 118-bus transmission grid regarding Figure 1 T-equivalent circuit of a transformer
German transmission grid characteristic, introduced in
[10]. A MathWorks MATLAB dataset of the grid and the
results of the case study will be accessible at [11] for The electric behavior at the higher voltage level node i
reproducibility reasons. The scenarios for the case-study and the lower voltage level node j is described by the
and the results for the comparison of both approaches are terminal currents (I i , I j ), the terminal voltages (V i ,V j )
presented in section 4. interconnected by the terminal admittance matrix Y i j
within the two-port equation:
Ploss in MW
Ploss in MW
160 189.90 69.69 46.46 160 45.66
so the evaluation of the voltages is not presented again. 200 189.90 11.19Results
Load Flow 47.85 200 TimeFlow
Load in s Results
573
TimeQuadratic
in s - Approximation
12 11
120 tt 120
14 5
2 6
3 t 500
in MW
in MW
160 45.61 69.69
189.90 160
45.61 46.46
45.60 45.66
Plosslosses
Plosslosses
45.62 45.61 45.60
200
4.2 Scenario 2 200
80 Time in
Time in ss
189.90
Load
Quadratic
9-
11.19Results
Flow
11
12
47.85
14
11
80
Approximation
TimeFlow
Load in s Results
573
120 t 4 5 120
6
t 1 2 3 t 500
MW
MW
in Grid
in Grid
In scenario 2 again the SQCQP gives a slightly better 160
40 45.61 45.61 45.60
189.90 69.69 46.46160
40 45.66
Plosslosses
Plosslosses
45.62 45.61 45.60
result then the PSO (∆Ploss = 0.02 MW) in a lower 80 Time in s 189.90
9 11.19
11 1480
47.85 Time in s 573
Time in s - 12 11
120
0 t 4 5 120
6 0
computation time (∆t = 418 s). The scattering of the
Grid
Grid
40 1 2 3 45.61
Iterationstep
4 45.61 5 45.60
6
PSO40
0 250
Iterationstep t
500
SQCQP 45.62 t45.61 45.60
in MW
in MW
160 45.43 63.69
189.90 45.41 46.51
45.41 160 45.43
Plosslosses
Plosslosses
200 45.44 45.41
189.90 45.41
09.76Results
47.78 200 TimeFlow
in s Results
559
80 Time in
Time in ss Load
31-
Flow
43
11 32
24
80 Load
120 Quadratic Approximation 120
t 4 5 6
t 1 2 3 t 500
MW
MW
in Grid
in Grid
160
40 45.43 45.41 45.41
189.90 63.69 46.51 160
40 45.43
Plosslosses
Plosslosses
45.44 45.41 45.41
80 Time in s 189.90
31 09.7643 47.78
32 80 Time in s 559
Time in s - 11 24
120
0 t 4 5 6 120
0
Grid
Grid
40 1 2 3 45.43
Iterationstep
4 45.41 5 45.416 400 250
Iterationstep t
500
Transformer SQCQP 45.44 t45.41 45.41 PSO
in MW
in MW
Plosslosses
Plosslosses
MW
MW
in Grid
in Grid
160
40 44.82 44.81 44.80
189.90 62.90 45.63 160
40 45.02
Plosslosses
Plosslosses
Grid
Grid
40 1 2 3 44.82
Iterationstep
4 44.81 5 44.80
6
PSO40
0 250
Iterationstep t
500
SQCQP 44.82 t44.80 44.79
Grid losses
Grid losses
4.3 Scenario 3
In scenario 3 the additional consideration of the quadrature
voltage control significantly lowers the objective value.
The impact is higher than that of the in-phase voltage
control in scenario 2. This can be reasoned with the
dominating influence of the quadrature voltage control
on the distribution of the active power flows in the grid
PSO and consequently on the losses. The SQCQP reduces the
grid losses more then the PSO (∆Ploss = 0.23 MW), but
needs significantly more time, despite the time limits
Bus voltages vN in p.u. defined in section 3.1. Compared to scenario 2 the
scattering of the PSO results increases slightly with an
0.9 1 1.1 average result of Ploss,av = 45.14 MW and the worst result
Ploss,w = 45.30 MW. In general, both approaches utilize the
Figure 3 Initial and resulting nodal voltages in scenario 1 flexibility potentials of the control variables in the same
way (see Fig. 7). Significant differences only arise for the
1000
1000
800
1000
800
redispatch
600
redispatch
redispatch
800
600
1000
400 with each other regarding the quality of the results and
redispatch
600
400
800
MW
200
the computation time within a case-study of an adapted
MW
400
redispatch
inN MW 200
600
power
0
IEEE 118-bus system. Within the three investigation
NNMW in
power
200
power
4000
-200
pin
-2000
inpMWpp
200
Active
in
-400 SQCQP
PSO
Active
-200
N
-4000
power
-600 PSO
Flexibility
SQCQP limits
pN
Active
-400
-600
-200 Flexibility
PSO limits redispatch and voltage control measures are implemented.
-800 SQCQP
-600 Flexibility limits
Active
-800
-400
-1000
4
PSO
11 15 24 28 35 48 67 73 75 87 91 96 98 103104105 106107110111 112116
In scenario 2 and 3 additional the incremental in-phase and
-800
-1000
-600
4 11 15 24 28 35 48 67 73 75 Bus
87 91number
Flexibility limits
96 98 103104105 106107110111 112116 quadrature voltage control of the transformers are taken
-1000
-800 4 11 15 24 28 35 48 67 73 75 Bus
87 91number
96 98 103104105 106107110111 112116 into account.
-1000 Bus number
500 4 11 15 24 28 35 48 67 73 75 87 91 96 98 103104105 106107110111 112116
500
The results of the case study can be concluded as
400 Bus number
follows: In comparison of the influence on the objective
redispatch
500
400
300
redispatch
redispatch
400
300
500
200
value, it can be seen, that the in-phase voltage control
redispatch
200
400
100
Mvar
redispatch
N Mvar
200
power
100
300 smaller impact on the objective value compared to the
0
NNMvar
power
in
power
100
0
200 reactive and specially the active power redispatch. The
in
-100
qin
power
inqMvar
Reactive
0
-100
q
100
advantages of the voltage controllers are likely to become
qin
-200
Reactive
Reactive
power
-100
-200
N
0
-300 visible, when current and voltage congestions play an
Reactive
q N
-200
-300
-100
-400
important role in the dataset. The results of the scenario 1
Reactive
-300
-400
-200
-500
-400
-500
-300
24 28 73 75
Bus
87
number
90 96 98 116 already show differences and specific advantages of the
24 28 73 75 87 90 96 98 116
-500
-400 24 28 73
Bus number
75 87 90 96 98 116
SQCQP and the PSO in finding an optimal solution
Bus number of the SCOPF: Both algorithms nearly reach the same
p.u.
1.1
-500
voltage
Nodal
24 28 73 75 87 90 96 98 116
p.u.
1.1
vinN p.u.
Bus number
voltage
1.08
voltage
vvNNp.u. in
1.1
1.08
voltage
1.06
in
Nodal
1.08
1.06 0 4 11 15 35 48 53 63 67 91 103 104 105 106 107 110 111 112 time. So the advantages of analytical approaches for
vN invp.u.
N in
1.10 4 11 15 35 48 53 63Bus
67 number
91 103 104 105 106 107 110 111 112
voltage
Nodal
1.06 Bus number continuous functions can be seen. The results of scenario 2,
1.08 60 4 11 15 35 48 53 63Bus
67 number
91 103 104 105 106 107 110 111 112
Bus number
In-phase
nn n
1.06 6
4 that additionally considers incremental in-phase voltage
n set
In-phase
In-phase
2
settap
In-phase
4
2
tap
6
tapntap
20
04
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Transformer
7 8 9 10 11number
tap set
10
4
the gained objective value that can be also identified by
set
set
settap
68
4
2
tap
tap
4
2
tapm
06
Quadrature
Quadrature
tap set
02
-24
convergence of both approaches to nearly the same control
Quadrature
0
-2
-42
variable utilization lead to the assumption that the solution
Quadrature
-2
-4 of the optimization problem has no pareto optimum. In
-60
-4
-6
-2
-8 contrast to scenario 1 and 2 a significant advantage of the
-6
-8 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
-4
0 1 2 3 4Transformer
7 8 9 10 11number
5 6 12 13 14 15 16 17 18 19 20 PSO with respect to computation time arise in scenario 3.
-8
-6 0 1 2 3 4 5 6 Transformer
7 8 9 10 11number
12 13 14 15 16 17 18 19 20 Comparing all scenarios the computation times of the
Figure 7-8 0 Transformer
Utilization of control number in scenario 3
variables
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 PSO are constant because it scales only with the number
Transformer number
of power flow calculations and the performance of the
computer in case of background processes. In contrast
in-phase voltage control and especially for the quadrature to that, the integration of the incremental flexibilities to
voltage control of the transformers. the SQCQP leads to a more complex problem and by
this to an increased computation time (∆t = 3075 s).
It was observed that the SQCQP has stuck in lowering
5 Conclusion and Outlook the MIPgap without finding new solutions, but trying to
increase the lower bound, when considering quadrature
The flexibilities in classical Security Constrained Optimal voltage control. Equivalent or slightly different solutions
Power Flows (SCOPF) are often only represented by of the SCOPF are suspected in this context and this aspect
active and reactive power redispatch and voltage control as well as performance and accuracy improvements of
measures of thermal power plants or aggregated renewable the SQCQP will be part of future research. Similar future
energy resources. Within this paper, incremental in- goals hold for the hyperparameter tuning of the PSO
phase and quadrature voltage controlled transformers are (e.g. swarm size, see Tab. 1) or the introduction of a
considered as additional, mixed-integer control variables. sequential solution process. The optimization approaches
For the solution of this more complex SCOPF problem and investigations are aimed to be extended by network
two different powerful optimal power flow solvers, configurations, flexibility potentials of underlying voltage
namely a Sequential Quadratic Constrained Quadraic levels or costs for redispatch by linking the simulation to a
Programming (SQCQP) approach and a modified particle market simulation.
swarm optimization (PSO), are introduced and compared
6 References [14] B. Zhao, C. Guo, and Y. Cao, “A multiagent-based
particle swarm optimization approach for optimal
[1] J. Carpentier, “Contribution a l’etude du dispatching reactive power dispatch,” IEEE transactions on
economique,” Bulletin de la Societe Francaise des power systems, vol. 20, no. 2, pp. 1070–1078, 2005.
Electriciens, vol. 3, no. 1, 1962. [15] A. Kaviani, H. Baghaee, and G. Riahy, “Optimal
[2] H. W. Dommel and W. F. Tinney, “Optimal Sizing of a Stand-alone Wind/Photovoltaic
power flow solutions,” IEEE Transactions on Power Generation Unit using Particle Swarm Optimization,”
Apparatus and Systems, vol. PAS-87, no. 10, pp. Simulation, vol. 85, pp. 89–99, Feb. 2009.
1866–1876, 1968. [16] T. Sharma, A. Yadav, S. Jamhoria, and R. Chaturvedi,
[3] D. Bienstock and A. Verma, “Strong np-hardness of “Comparative study of methods for optimal
ac power flows feasibility,” 2019. reactive power dispatch,” Electrical and Electronics
[4] S. Frank, I. Steponavice, and S. Rebennack, “Optimal Engineering, vol. 3, no. 3, pp. 53–61, 2014.
power flow: a bibliographic survey,” Energy systems, [17] M. Sarstedt, S. Garske, and L. Hofmann,
2012. “Application of PSO-Methods for the Solution
[5] T. Leveringhaus and L. Hofmann, “Combined of the economic Optimal Reactive Power Dispatch
and optimized redispatch management of multiple Problem,” in 2018 IEEE Electronic Power Grid
congestions and voltage deviations with active and (eGrid), Nov. 2018, pp. 1–6.
reactive power based on ac-ptdfs with distributed [18] M. A. Abido, “Optimal power flow using particle
slack,” in 2015 IEEE Power Energy Society General swarm optimization,” International Journal of
Meeting, 2015, pp. 1–5. Electrical Power & Energy Systems, vol. 24, no. 7,
[6] ——, “Optimal power flow comprising congestions pp. 563–571, 2002.
and voltage management by global quadratic [19] B. Zhao, Q. Jiang, C. Guo, and Y. Cao, A Novel
optimization of active and reactive power,” in 2016 Particle Swarm Optimization Approach for Optimal
IEEE International Conference on Power System Reactive Power Dispatch.
Technology (POWERCON), Sep. 2016, pp. 1–6. [20] J. Kennedy and R. Eberhart, “Particle swarm
[7] T. Leveringhaus, T. Breithaupt, S. Garske, and optimization,” in Proceedings of ICNN’95 -
L. Hofmann, “Modelling of sequential optimal power International Conference on Neural Networks,
flow by piecewise linear convexificated quadratic vol. 4, Nov. 1995, pp. 1942–1948 vol.4.
approximations,” in 2018 International Conference [21] R. Eberhart and J. Kennedy, “A new optimizer using
on Power System Technology (POWERCON), 2018, particle swarm theory,” in MHS’95. Proceedings of
pp. 87–92. the Sixth International Symposium on Micro Machine
[8] T. Leveringhaus and L. Hofmann, “Detailed and Human Science, Oct. 1995, pp. 39–43.
reasoning and derivation of a convexificated [22] G. Coath and S. K. Halgamuge, “A comparison of
quadratic approximation approach for the constraint-handling methods for the application of
security constrained optimal power flow,” in particle swarm optimization to constrained nonlinear
2020 International Conference on Smart Grids and optimization problems,” in The 2003 Congress on
Energy Systems (SGES), 2020. Evolutionary Computation, 2003. CEC’03., vol. 4.
[9] M. Sarstedt, L. Kluß, J. Gerster, T. Meldau, IEEE, 2003, pp. 2419–2425.
and L. Hofmann, “Survey and comparison of [23] A. W. Mohemmed and M. Y. Alias, “Particle Swarm
optimization-based aggregation methods for the Optimization for Constrained and Multiobjective
determination of the flexibility potentials at vertical Problems: A Brief Review,” p. 5.
system interconnections,” Energies, 2021.
[24] K. E. Parsopoulos and M. N. Vrahatis, “Particle
[10] H. Barrios, A. Roehder, H. Natemeyer, and Swarm Optimization Method for Constrained
A. Schnettler, “A benchmark case for network Optimization Problems,” p. 7.
expansion methods,” in IEEE PowerTech, 2015.
[25] J. F. Schutte, J. A. Reinbolt, B. J. Fregly, R. T. Haftka,
[11] M. Sarstedt, N. Majumdar, C. Blaufuß, and and A. D. George, “Parallel global optimization with
L. Hofmann, “Dataset: Multi-voltage-level electric the particle swarm algorithm,” International Journal
power system data sets,” 2020. for Numerical Methods in Engineering, vol. 61,
[12] J. Holzer, C. Coffrin, C. DeMarco, R. Duthu, no. 13, pp. 2296–2315, Dec. 2004.
S. Elbert, S. Greene, O. Kuchar, B. Lesieutre, H. Li, [26] J. Polprasert, W. Ongsakul, and V. N. Dieu, “Optimal
W. K. Mak, H. Mittelmann, R. O’Neill, T. Overbye, Reactive Power Dispatch Using Improved Pseudo-
A. Tbaileh, P. V. Hentenryck, A. Veeramany, and gradient Search Particle Swarm Optimization,”
J. Wert, “Grid Optimization Competition Challenge Electric Power Components and Systems, vol. 44,
2 Problem Formulation,” p. 79. no. 5, pp. 518–532, Mar. 2016.
[13] J. Zhu, Optimal Power Flow. John Wiley Sons, Ltd,
2015, ch. 8, pp. 297–364.