ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign 9/2/ Lecture 4: Newton-Raphson Power Flow
Announcements No class next Monday (labor day) Homework 1 due next Wednesday, in class A reference book on linear algebra: The Matrix Cookbook ook.pdf ook.pdf 2
Newton-Raphson Method 3 To solve a set of nonlinear equations denoted by N-R proceeds by iterative linearization
Power Flow Variables 4
N-R Power Flow Solution 5
Power Flow Formulation 6
Jacobian Matrix 7
Power Flow Jacobian 8
Power Flow Jacobian, cont’d 9
Two Bus Newton-Raphson Example 10
Two Bus Example, cont’d 11
Two Bus Example, cont’d
Two Bus Example, First Iteration 13
Two Bus Example, Convergence 14
Two Bus Solved Values Once the voltage angle and magnitude at bus 2 are known we can calculate all the other system values, such as the line flows and the generator reactive power output PowerWorld Case Name: Bus2_Intro 15
Two Bus Case, Low Voltage Solution 16
Low Voltage Solution, cont'd Low voltage solution 17
Practical Power Flow Software Most commercial software packages have built in defaults to prevent convergence to low voltage solutions. – One approach is to automatically change the load model from constant power to constant current or constant impedance when the load bus voltage gets too low – In PowerWorld these defaults can be modified on the Tools, Simulator Options, Advanced Options page; note you also need to disable the “Initialize from Flat Start Values” option – The PowerWorld case Bus2_Intro_Low is set solved to the low voltage solution – Initial bus voltages can be set using the Bus Information Dialog 18
NR Initialization A textbook starting solution for the NR is to use “flat start” values in which all the angles are set to the slack bus angle, all the PQ bus voltages are set to 1.0, and all the PV bus voltages are set to their PV setpoint values This approach usually works for small systems It seldom works for large systems. The usual approach for solving large systems is to start with an existing solution, modify it, then hope it converges – If not make the modification smaller – More robust methods are possible, but convergence is certainly not guaranteed!! 19
PV Buses 20
Three Bus PV Case Example 21
Modeling Voltage Dependent Load 22
Voltage Dependent Load Example 23
Voltage Dependent Load, cont'd 24
Voltage Dependent Load, cont'd With constant impedance load the MW/Mvar load at bus 2 varies with the square of the bus 2 voltage magnitude. This if the voltage level is less than 1.0, the load is lower than 200/100 MW/Mvar PowerWorld Case Name: Bus2_Intro_Z 25
Generator Reactive Power Limits 26
Generator Reactive Limits, cont'd 27
Switching Bus Status 28 How do we want to code up the N-R algorithm?
400 MVA 15 kV 400 MVA 15/345 kV T1 T2 800 MVA 345/15 kV 800 MVA 15 kV 520 MVA 80 MW40 Mvar 280 Mvar800 MW Line kV Line 2Line kV 100 mi 345 kV 200 mi 50 mi Single-line diagram The N-R Power Flow: 5-bus Example This five bus example is taken from Chapter 6 of Power System Analysis and Design by Glover, Sarma, and Overbye, 5 th Edition,
BusType V per unit degrees P G per unit Q G per unit P L per unit Q L per unit Q Gmax per unit Q Gmin per unit 1Swing1.00 00 2Load 3Constant voltage 1.05 5.2 Load 0000 5 0000 Table 1. Bus input data Bus-to- Bus R’ per unit X’ per unit G’ per unit B’ per unit Maximum MVA per unit Table 2. Line input data The N-R Power Flow: 5-bus Example 30
Bus-to- Bus R per unit X per unit G c per unit B m per unit Maximum MVA per unit Maximum TAP Setting per unit — — Table 3. Transformer input data BusInput DataUnknowns 1 V 1 = 1.0, 1 = 0 P 1, Q 1 2P 2 = P G2 -P L2 = -8 Q 2 = Q G2 -Q L2 = -2.8 V 2, 2 3V 3 = 1.05 P 3 = P G3 -P L3 = 4.4 Q 3, 3 4P 4 = 0, Q 4 = 0 V 4, 4 5P 5 = 0, Q 5 = 0 V 5, 5 Table 4. Input data and unknowns The N-R Power Flow: 5-bus Example 31
Five Bus Case Ybus PowerWorld Case Name: Bus5_GSO 32
Ybus Calculation Details Elements of Y bus connected to bus 2 33
Here are the Initial Bus Mismatches 34
And the Initial Power Flow Jacobian 35
And the Hand Calculation Details 36
Five Bus Power System Solved 37
Quasi-Newton Power Flow Methods 38
Dishonest Newton Method 39
Dishonest N-R Example, cont’d We pay a price in increased iterations, but with decreased computation per iteration 40
Numerical differentiation 41
Secant Method 42 Fig. 3.8 of Crow’s book, 3 rd edition