48
 Power Flow Analysis Dr. Federico Milano E-mail:  [email protected] Department of Electrical Engineering University of Castilla - La Mancha Spain Ciudad Real, Spring 2013 Introduction - 1

03_ieat_powerflow

Embed Size (px)

DESCRIPTION

Power flow

Citation preview

  • Power Flow Analysis

    Dr. Federico Milano

    E-mail: [email protected]

    Department of Electrical Engineering

    University of Castilla - La Mancha

    Spain

    Ciudad Real, Spring 2013 Introduction - 1

  • Contents

    Power Flow Problem

    Power Flow Solvers

    Ciudad Real, Spring 2013 Introduction - 2

  • Power Flow Problem

    Ciudad Real, Spring 2013 Power Flow Problem - 1

  • Background (I)

    A classical problem of circuit theory is to find all branch currents and all node voltages

    of an assigned circuit.

    Typical input data are generator voltages as well as the impedances of all branches.

    If all impedances are constant, the resulting set of equations that describe the circuit is

    linear.

    Ciudad Real, Spring 2013 Power Flow Problem - 2

  • Example 1 (I)

    Classical circuit problem.

    ++

    +

    0

    1 2

    3v1 v2

    v3

    i1 i2

    i3

    jx12

    jx13 jx23

    z3

    Ciudad Real, Spring 2013 Power Flow Problem - 3

  • Example 1 (II)

    Using the branch current method, one has:

    0 =v1 v2jx12

    +v1 v3jx13

    i1 (1)

    0 =v2 v1jx12

    +v2 v3jx23

    i2

    0 =v3 v1jx13

    +v3 v2jx23

    i3

    Ciudad Real, Spring 2013 Power Flow Problem - 4

  • Example 1 (III)

    In vector form:

    i1

    i2

    0

    =

    Y + I3

    0

    0

    1/z3

    v1

    v2

    v3

    = Y totv (2)

    Ciudad Real, Spring 2013 Power Flow Problem - 5

  • Example 1 (IV)

    where I3 is a 3 3 identity matrix and Y is the so-called admittance matrix:

    Y =

    1/jx12 + 1/jx13 1/jx12 1/jx13

    1/jx12 1/jx12 + 1/jx23 1/jx23

    1/jx13 1/jx23 1/jx13 + 1/jx23

    (3)

    Ciudad Real, Spring 2013 Power Flow Problem - 6

  • Background (II)

    The power flow problem is conceptually the same problem as solving a steady-state ac

    circuit.

    The only, though substantial, difference is the set of input data.

    Loads are expressed in terms of consumed active and reactive powers (PQ load) and

    generators are defined in terms of constant voltage magnitude and active power

    injection (PV generator ).

    Hence, the power flow problem is nonlinear.

    Ciudad Real, Spring 2013 Power Flow Problem - 7

  • Example 2 (I)

    Classical power flow problem.

    1 2

    3

    v1 v2

    v3

    jx12

    jx13 jx23

    s1 s2

    s3

    Ciudad Real, Spring 2013 Power Flow Problem - 8

  • Example 2 (II)

    The power flow problem is formulated in order to determine unknown voltage

    magnitudes and angles.

    0 =v2v1x12

    sin(2 1) p2 (4)

    0 =v3v1x13

    sin(3 1) +v3v2x23

    sin(3 2) p3

    0 =v23x13

    +v23x23

    v3v1x13

    cos(3 1)v3v2x23

    cos(3 2) q3

    where the unknowns are v3, 3 and 2.

    Ciudad Real, Spring 2013 Power Flow Problem - 9

  • Rationales Behind Power Flow Problem Formulation

    Loads at high voltage level are modelled as constant PQ due to under-load tap

    changers.

    Generators are modelled as PV due to turbine and voltage regulators.

    Transmission lines and transformers are generally modelled as lumped pi-circuits with

    constant parameters.

    Observe that one bus has to be the phase angel reference. Typically, one generator is

    used as slack bus.

    The distributed slack bus model is more physical.

    Ciudad Real, Spring 2013 Power Flow Problem - 10

  • General Formulation of the Power Flow Problem (I)

    The vector of currents injected at each node is:

    i = Y v (5)

    which leads to write the power flow problem as the complex power injections at buses:

    s = V i

    = V Y

    v (6)

    where V = diag(v1, v2, . . . , vnb) and nb is the number of network buses.

    Ciudad Real, Spring 2013 Power Flow Problem - 11

  • General Formulation of the Power Flow Problem (II)

    Rewriting (6):

    0 = s V Y

    v (7)

    Or, more in general:

    0 = g(y) (8)

    where y and partameters per bus type are:

    Bus type Variables Data

    Slack generator p, q v,

    PV generator q, p, v

    PQ load v, p, q

    Ciudad Real, Spring 2013 Power Flow Problem - 12

  • Relevant Issues of the Power Flow Problem

    The origins of the formulation of the power flow problem and the solution based on the

    Newtons method date back to the late sixties.

    Since then, a huge variety of studies have been presented about the solution of the

    power flow problem, addressing:

    Starting initial guess

    Computational efficiency

    Ill-conditioned cases

    Robustness

    Multiple solutions

    Unsolvable cases

    Ciudad Real, Spring 2013 Power Flow Problem - 13

  • Taxonomy of the Power Flow Problem

    It is relevant to classify the power flow problems into the following categories:

    Well-conditioned case

    Ill-conditioned case

    Bifurcation point

    Non-physical solution

    Unsolvable case

    Ciudad Real, Spring 2013 Power Flow Problem - 14

  • Well-conditioned case

    The power flow solution exists and is reachable using a flat initial guess (e.g., all load

    voltage magnitudes equal to 1 and all bus voltage angles equal to 0) and a standard

    Newtons method.

    This case is the most common situation.

    Ciudad Real, Spring 2013 Power Flow Problem - 15

  • Ill-conditioned case

    The solution of the power flow problem does exist, but standard solvers fail to get this

    solution starting from a flat initial guess.

    This situation is due to the fact that the region of attraction of the power flow solution is

    narrow or far from the initial guess.

    In this case, the failure of standard power flow procedure is due to the instability of the

    numerical method, not of the power flow equations.

    Robust power flow methods have proved to be efficacious for solving ill-conditioned

    cases.

    Ciudad Real, Spring 2013 Power Flow Problem - 16

  • Bifurcation Point

    The solution of the power flow exists but it is either a saddle-node bifurcation or a

    limit-induced bifurcation.

    Saddle-node bifurcations are associated with the maximum loading condition of a

    system. The solution cannot be obtained using standard or robust power flow

    methods, since the power flow Jacobian matrix is singular at the solution point.

    Limited-induced bifurcations are associated with a physical limit of the system, such

    as the shortage of generator reactive power. The solution point is typically a

    well-conditioned case and does not show convergence issues.

    Ciudad Real, Spring 2013 Power Flow Problem - 17

  • Non-physical Solution

    Solutions that cannot be accepted since some variable is out of its technical limits.

    Typically these solution are characterized by very low voltage levels.

    These solutions are also known as: extraneous, false, lower, or unstable.

    Ciudad Real, Spring 2013 Power Flow Problem - 18

  • Unsolvable Case

    The solution of the power flow problem does not exist.

    Typically, the issue is that the loading level of the network is too high.

    As in the case of the bifurcation points, a continuation method or an optimal power flow

    problem allows defining the maximum loading level that the system can supply.

    Ciudad Real, Spring 2013 Power Flow Problem - 19

  • Power Flow Solvers

    Ciudad Real, Spring 2013 Power Flow Solvers - 1

  • Solution Methods (I)

    Methods that do not require the computation of the Jacobian matrix of g:

    Jacobis method.

    Gauss-Seidels method.

    Methods that require the computation of the Jacobian matrix of g:

    Newtons (or Newton-Raphsons) method.

    Robust Newtons methods.

    Ciudad Real, Spring 2013 Power Flow Solvers - 2

  • Solution Methods (II)

    Methods that simplify the Jacobian matrix of g:

    Inexact and dishonest Newtons methods.

    Fast decoupled power flow.

    Methods that simplify g:

    DC power flow model.

    Ciudad Real, Spring 2013 Power Flow Solvers - 3

  • Newton-Raphsons Method (I)

    The i-th iteration of the classical Newtons method for (8) is as follows:

    y(i) = [g(i)y]1g(i) (9)

    y(i+1) = y(i) +y(i)

    where g(i) = g(y(i)), g(i)y = gy(y

    (i)), and gy= T

    yg is the Jacobian matrix of

    the power flow equations.

    Ciudad Real, Spring 2013 Power Flow Solvers - 4

  • Newton-Raphsons Method (II)

    The geometrical interpretation of the Newtons method is well-known. For the actual

    value y(i), one computes the tangent of g(i) as:

    (y) = g(i) + g(i)y(y y(i)) (10)

    Imposing (y) = 0 yields the value y(i+1) defined in (9).

    Ciudad Real, Spring 2013 Power Flow Solvers - 5

  • Geometrical Interpretation of the Newton-Raphsons Method

    Ciudad Real, Spring 2013 Power Flow Solvers - 6

  • (a)(b)

    (c) (d)

    y

    yy

    y

    gy

    gy

    gy

    gy

    gy

    gy

    gy

    g(y)

    g(y)g(y)

    g(y)

    Ciudad Real, Spring 2013 Power Flow Solvers - 6

  • Robust Newtons Method (I)

    There are idiosyncratic cases for which the Newtons technique fails to converge.

    A variety of robust variations of the basic Newtons method have been proposed in the

    literature for solving ill-conditioned cases.

    The majority of these techniques mainly consist in modifying the first equation of (9) as

    follows:

    y(i) = [g(i)y]1g(i) (11)

    where is a factor that improves the convergence properties of the iterative process.

    Ciudad Real, Spring 2013 Power Flow Solvers - 7

  • Robust Newtons Method (II)

    If is the result of an optimization process, is called optimal multiplier (e.g.,

    Iwamotos method).

    It is important not to confuse ill-conditioned cases with those that are unsolvable since

    the solution does not exist.

    Robust solvers are useful in case of ill-conditioned systems but do not generally work

    well for unsolvable cases.

    Unsolvable cases are better tackled using the continuation power flow technique.

    Ciudad Real, Spring 2013 Power Flow Solvers - 8

  • Geometrical Interpretation of the Robust Newtons Method

    (a) (b)

    y ygy

    gy gy

    gy

    g(y) g(y)

    Ciudad Real, Spring 2013 Power Flow Solvers - 9

  • Main Issue of the Newtons Method

    One of the most relevant drawbacks of the Newtons method is the need of factorizing

    the full Jacobian matrix at each iteration.

    From the computational point of view, the factorization of a matrix is an orderN3

    operation, i.e., the computational weight increases with the cube of the sizeN of the

    matrix.

    The computational effort can be reduced toN1.5 if using sparse matrices techniques,

    which allows saving a considerable time for large systems (e.g., thousands of buses).

    However, the Jacobian matrix factorization remains the most critical issue of the

    Newtons method (about 85% of the total CPU time for networks with thousands of

    buses).

    Ciudad Real, Spring 2013 Power Flow Solvers - 10

  • Inexact and Dishonest Newtons Method

    Inexact methods aim to approximate the factorization of the Jacobian matrix.

    A family of inexact methods are based on the Generalized Minimal Residual (GMRES)

    method.

    The GMRES is a particular case of Krylovs subspace. The main issue is to properly

    pre-conditioning the Jacobian matrix.

    Dishonest methods compute the Jacobian matrix factorization only the first one or two

    iterations and then use the previous factorization for the remaining iterations.

    Ciudad Real, Spring 2013 Power Flow Solvers - 11

  • Geometrical Interpretation of the Dishonest Newtons Method

    (a) (b)

    y

    y

    gy

    gy

    g(y) g(y)

    Ciudad Real, Spring 2013 Power Flow Solvers - 12

  • Fast Decoupled Power Flow (FDPF)

    The FDPF is a particular case of dishonest Newtons method.

    The Jacobian matrix is approximated so that it becomes block diagonal and all

    non-zero elements are constant. Hence only one factorization is needed.

    The FDPF requires much more iterations than the NR method but proved to be more

    robust.

    Ciudad Real, Spring 2013 Power Flow Solvers - 13

  • Comparison of Power Flow Solution Methods (I)

    Newton Jacobi Gauss-Seidel

    Bus # Iter. # time [s] Iter. # time [s] Iter. # time [s]

    14 4 0.0050 76 0.0217 56 0.0288

    118 5 0.0287 580 0.505 388 2.738

    1228 5 0.210 454 5.120 224 112.4

    11856 4 3.15 340 399.0 173 9112

    Ciudad Real, Spring 2013 Power Flow Solvers - 14

  • Comparison of Power Flow Solution Methods (II)

    GMRES Dishonest FDPF

    Bus # Iter. # time [s] Iter. # time [s] Iter. # time [s]

    14 4 0.4339 7 0.0040 6 0.0053

    118 7 53.53 15 0.0183 6 0.0117

    1228 n.a. n.a. 26 0.207 12 0.160

    11856 n.a. n.a. 10 3.820 5 5.174

    Ciudad Real, Spring 2013 Power Flow Solvers - 15

  • Region of Attraction (I)

    A key issue of any iterative technique is the initial guess.

    The only way to know if a given initial guess is adequate for obtaining a solution y0 of

    the power flow problem is to determine the region of attraction of y0. At this regard,

    the initial guess can be of three types:

    The initial guess is inside the region of attraction of the solution y0 and the

    numerical method converges.

    The initial guess is outside the region of attraction of the solution y0. Numerical

    methods typically diverge if one starts with such initial guess.

    Although the initial guess is within the region of attraction, the numerical method

    diverges.

    Ciudad Real, Spring 2013 Power Flow Solvers - 16

  • Example 3 (I)

    Consider the following simple 2-bus system.

    1 2

    z = 0.01 + j0.1 pu

    v1 = 1.0 + j0 pu s2 = 0.9 + j0.6 pu

    Ciudad Real, Spring 2013 Power Flow Solvers - 17

  • Example 3 (II)

    Region of attraction of the Newtons method for a 2-bus system.

    Ciudad Real, Spring 2013 Power Flow Solvers - 18

  • Ciudad Real, Spring 2013 Power Flow Solvers - 18

  • Region of Attraction (II)

    Different methods have different region of attractions.

    Unfortunately defining the region of attraction is extremely costly.

    In practice it is virtually impossible to define the region of attraction for a real-world

    system.

    Robust methods are thus required.

    Ciudad Real, Spring 2013 Power Flow Solvers - 19

  • How Many Power Flow Solution Do Exists? (I)

    Since the power flow equations are basically quadratic equations, the number of real

    solutions increases as the bus number increases.

    For the two-bus system of Example 3, the solutions are two, both real.

    For big networks, the number of real solutions is unkown a priori.

    Ciudad Real, Spring 2013 Power Flow Solvers - 20

  • How Many Power Flow Solution Do Exists? (II)

    A simple method to find all solutions is using the continuation power flow (CPF)

    analysis.

    However, to use the CPF, one solution has to be found before being able to apply such

    method.

    Ciudad Real, Spring 2013 Power Flow Solvers - 21

  • Exam

    ple

    4(I

    )

    LetconsidertheIEEE14-bussystem.

    G

    G

    G

    C

    C

    C

    C

    C1

    2

    3

    4

    4

    5

    67

    7

    8

    8

    9

    9

    10

    11

    12

    13

    14

    Generators

    Synchronous

    Compensators

    Transform

    erEquivalent

    ThreeWinding

    CiudadReal,Spring2013

    PowerFlowSolvers

    -22

  • Example 4 (II)

    All real power flow solutions of the IEEE 14-bus system.

    Bus Sol. #1 Sol. #2 Sol. #3 Sol. #4

    h vh h vh h vh h vh h

    1 1.0600 0.0000 1.0600 0.0000 1.0600 0.0000 1.0600 0.0000

    2 1.0450 -0.0869 1.0450 -0.2329 1.0450 -0.2291 1.0450 -0.1506

    3 1.0100 -0.2220 1.0100 -0.5447 1.0100 -0.5578 1.0100 -0.3439

    4 1.0186 -0.1802 0.6202 -0.4833 0.5588 -0.4720 0.9306 -0.3199

    5 1.0203 -0.1533 0.5340 -0.3756 0.4903 -0.2834 0.9436 -0.2966

    6 1.0700 -0.2482 1.0700 -2.8782 1.0700 -3.1994 1.0700 -0.6762

    7 1.0620 -0.2333 0.6120 -1.0675 0.5756 -1.4094 0.8851 -0.4953

    8 1.0900 -0.2333 1.0900 -1.0675 1.0900 -1.4094 1.0900 -0.4953

    9 1.0564 -0.2609 0.4017 -1.5433 0.4500 -1.9780 0.7352 -0.6144

    10 1.0513 -0.2636 0.4077 -2.0123 0.4620 -2.3752 0.7841 -0.6338

    11 1.0571 -0.2582 0.6756 -2.6346 0.7043 -2.9451 0.9198 -0.6576

    12 1.0552 -0.2631 0.9427 -2.9136 0.9860 -3.1992 0.9389 -0.7138

    13 1.0504 -0.2646 0.8225 -2.8861 0.9224 -3.1533 0.8142 -0.6870

    14 1.0358 -0.2799 -0.0628 -0.0597 0.5177 -2.7767 -0.0356 1.7273

    Ciudad Real, Spring 2013 Power Flow Solvers - 23

  • Example 4 (III)

    Solution of the full CPF analysis for the voltage at bus 14.

    Ciudad Real, Spring 2013 Power Flow Solvers - 24

  • Ciudad Real, Spring 2013 Power Flow Solvers - 24