5
Sched Gen Sched Load P + jQ Li Li P + jQ Gi Gi P + jQ Ti Ti Bus N Bus 1 Bus 2 Bus i REF NETWORK AS DEFINED BY LINES, XFMRS, SHUNT CAPS, REACTORS Y BUS V i ~ + - I i ~ NEWTON-RAPHSON LOAD FLOW FORMULATION Dr. Bruce Mork EE 5200 - Fall 2014 At a given bus i in the system, there can exist: Fixed P and Q injection consisting of : < Scheduled generation that injects P G i into the bus. < A fixed load of P L i + jQ L i (an injection of - P L i - jQ L i ) P and Q flowing into bus from the network (all part of [Y BUS ]): < Transmission lines - short, medium, long; single-circuit, double-circuit where mutual coupling is neglected, or double-circuit with mutual coupling effects. < Transformers - 2-winding or 3-winding; fixed ratio, LTC, or Phase-Shifting. < Shunt reactors: Y = 1/(jωL) = - jB REACT < Shunt capacitor banks: Y = jωC = jB CAP < A voltage-dependent load represented as a shunt admittance: Y LOAD = G + jB. Important things to note: < The scheduled generation P G i is dictated by the system dispatch center via SCADA. The generator’s governor is given a “set point” and holds P G i constant within a close tolerance. Also, the generator’s exciter holds the bus voltage V i at a constant magnitude (its angle δ i is not directly controlled and is an unknown). < The fixed load P L i + jQ L i represents the aggregate load supplied to local consumers. In planning studies, this is usually a worst-case projection of what planners think the load will be 5 or 10 or more years into the future. < P T i and Q T i are the total P and Q flowing INTO the transmission grid defined by [Y BUS ]. This includes the effects of shunt capacitor banks and reactors.

NRLF

Embed Size (px)

DESCRIPTION

NRLF

Citation preview

  • SchedGen

    SchedLoad

    P + jQLi Li

    P + jQGi Gi

    P + jQTi Ti

    Bus N

    Bus 1

    Bus 2Bus i

    REF

    NETWORK AS DEFINED BY

    LINES, XFMRS, SHUNT CAPS, REACTORS

    YBUSVi~+

    -

    I i~

    NEWTON-RAPHSON LOAD FLOW FORMULATIONDr. Bruce Mork

    EE 5200 - Fall 2014

    At a given bus i in the system, there can exist:

    Fixed P and Q injection consisting of:< Scheduled generation that injects PG i into the bus.< A fixed load of PL i + jQL i (an injection of - PL i - jQL i )

    P and Q flowing into bus from the network (all part of [YBUS]):< Transmission lines - short, medium, long; single-circuit, double-circuit where

    mutual coupling is neglected, or double-circuit with mutual coupling effects. < Transformers - 2-winding or 3-winding; fixed ratio, LTC, or Phase-Shifting. < Shunt reactors: Y = 1/(jL) = - jBREACT < Shunt capacitor banks: Y = jC = jBCAP < A voltage-dependent load represented as a shunt admittance: YLOAD = G + jB.

    Important things to note:< The scheduled generation PG i is dictated by the system dispatch center via

    SCADA. The generators governor is given a set point and holds PG i constantwithin a close tolerance. Also, the generators exciter holds the bus voltage V iat a constant magnitude (its angle i is not directly controlled and is anunknown).

    < The fixed load PL i + jQL i represents the aggregate load supplied to localconsumers. In planning studies, this is usually a worst-case projection of whatplanners think the load will be 5 or 10 or more years into the future.

    < PT i and QT i are the total P and Q flowing INTO the transmission grid definedby [YBUS]. This includes the effects of shunt capacitor banks and reactors.

  • P P P PINTO BUS i Gi Li T i 0Q Q Q QINTO BUS i Gi Li T i 0

    When forming equations, it is extremely important to establish a reference directionfor the flow of P, Q, and current. This is clearly labeled on the sketch on thepreceding page. Recall that the current is the net current injected into the~Iinetwork at bus i by the generator and load (this is the same injected current thatoccurs in the equation [YBUS][V] = [I] ). Bus voltages are measured with respect to thesame reference that [YBUS] is referred to. Notations:

    The voltages and currents we are dealing with are RMS phasor values. In theequations we develop, it is necessary to refer to their magnitudes and angles. Forexample, the voltage at bus k with respect to reference is:

    RMS phasor value: or Vk or Vk /k~Vk

    RMS magnitude: or just Angle of : k~Vk Vk ~Vk

    We also need to refer to individual elements of [YBUS]. The entry in the i,j position isa complex number with a magnitude of and an angle of yi j yi j i jThe Setup:

    At each bus, there are just three components to the P and Q being injected. If wefollow the development of Heydts book, we will consider the summation of P and Qinto a given bus i (refer to the figure on the previous page and be sure to get thesigns right). When the system is in equilibrium the total P and total Q flowing into thebus will be zero.

    Observe that PT i and QT i are functions of the bus voltages, while PL i and QL i and PG iare constants. Q G i is a slack variable (more on it later). Note that these twoequations together make up the nonlinear function F(,V) = 0 which will be solved withNewton-Raphson iteration. (i.e. initial guesses for the unknown Vs and s are madeand an iteration is performed that drives the Vs and s toward values that makeF(,V) = 0). When the iteration has converged, we know all of the bus voltages in thesystem and thus can calculate all P and Q flows through transmission lines andtransformers.

  • PQ P P V P P VQ Q V Q Q V P P VQ Q Vim

    im

    i T i i T im m

    i T i i T im m

    i T im m

    i T im m

    ( , ) ( , )

    ( , ) ( , )

    ( , )( , )

    ~ ~I y Vi i j jj

    N

    1

    S P jQ V I V y VTi T i T i i i i i j jj

    N

    ~ ~ ~ ~**

    1

    P V y VTi i i j j i j i jj

    N

    cos( )

    1

    Q V y VTi i i j j i j i jj

    N

    sin( )

    1

    F V P P P P V y VP i IN i INTO BUS i Gi Li i i j j i j i jj

    N

    , ,( , ) cos( ) 1

    0

    F V Q Q Q Q V y VQ i IN i INTO BUS i Gi Li i i j j i j i jj

    N

    , ,( , ) sin( ) 1

    0

    P P V y Vim i im i j jm im jm i jj

    N

    cos( )

    1

    Q Q V y Vim i im i j jm im jm i jj

    N

    sin( )

    1

    In order to calculate PT i and QT i we must first know the value of , which can be~Ii

    found by multiplying row i of [YBUS] times the bus voltage vector. In the form of asummation, it is:

    The complex power flowing into the network at this point is thus

    Resolving it into its real and imaginary components,

    Thus, the total P and Q flowing into bus i for a converged solution is

    Heydt lumps load and generation together: P i = PG i - PL i and Q i = QG i - QL i and refersto them as specified active and reactive powers. The mismatches P i and Q i aredefined as the difference between the specified P and Q (flowing into the bus fromthe load and generator) and the P and Q flowing out of the bus and into the network. At equilibrium (when loadflow has converged) the mismatches are, within a toleranceof , equal to zero. However, during the iteration, the mismatches are nonzero andare a function of the present values of and V. At iteration step m,

    The complete expressions for the mismatches at iteration step m are thus given as:

  • JP

    V y ViiIN i

    ii i j j i jji

    N

    i j11

    , sin ( )

    JP

    VV y i ki kIN i

    ki k i k i k ik1

    , sin ( )

    JPV

    y V V yiiIN i

    ii j j i j

    ji

    N

    i j i i i i i2 21

    , cos( ) cos( )

    J VPQ

    J JJ J V

    PQ

    1 23 4

    P PVQ Q

    VV

    PQ

    IN IN

    IN IN

    Note that Heydt has a sign error in the way that he defines P and Q (see p.149),but then recovers from it by tagging a minus sign on [J] (see p.150). The completeformulation for the loadflow is thus in the form

    P is the column vector of P mismatches at all buses except the slack bus. Q is thecolumn vector of Q mismatches at all load buses (Q is a slack variable at all generatorbuses and at the slack bus and so these buses are not included). [J] is the Jacobianmatrix containing the partial derivatives of the expressions for P and Q flowing intoeach bus. These partial derivatives fall into 4 categories and [J] is often partitionedinto 4 submatrices described as follows:

    or

    The partials can be obtained from the equations for PIN and QIN . They are listed inequations (4.38) through (4.45) in your text.

    For the main diagonal terms of J1 note that when j = i, i - j = 0 and the partial is 0.

    For the off-diagonal terms of J1, only one of the terms of the summation has a non-zero partial derivative:

    For the main diagonal terms of J2, j = i so which leads to V V Vi j i 2

  • JPV

    V y i ki kIN i

    ki i k i k i k2

    , cos( )

    JQ

    V y ViiIN i

    ii i j j i jji

    N

    i j31

    , cos( )

    JQ

    V V y i ki kIN i

    ki k i k i k i k3

    , cos( )

    JQV

    y V V yiiIN i

    ii j j i j

    ji

    N

    i j i i i i i4 21

    , sin ( ) sin( )

    JQV

    V y i ki kIN i

    ki i k i k i k4

    , sin ( )

    V V V

    m m m

    1

    For off-diagonal terms of J2,

    For main diagonal terms of J3 (note sign error in equation 4.42):

    For off-diagonal terms of J3:

    For main diagonal terms of J4:

    Finally, for off-diagonal terms of J4:

    All terms in the Jacobian and in the mismatch vector are evaluated using presentvalues of V and . The column vector for V is then solved. Typically this is doneusing sparse matrix data structures and some type of in situ LU factorization. Thevalues of and V used in the present iteration are then updated:

    Convergence is usually determined by monitoring the mismatch vector. The norm ofthe mismatch vector could be used as a convergence measure but usually is not.Testing for | Pi | # at all PQ and PV busses, and testing for | Qi | # at all PQbuses is done. Choosing = 0.001 per unit is common. Typically, the Q mismatches aregreater than P mismatches so convergence often depends on Q. If the precision ofthe loadflow study is not of primary concern, the convergence tolerance for Q issometimes relaxed to 10 or else the condition is modified to be | Qi2 | # .