Vous êtes sur la page 1sur 8

# 6/8/2017 Power Flow - Open Electrical

Power Flow
From Open Electrical

Contents
1 Introduction
2 Historical Context
3 Per Unit Representation
4 Single Phase Representation
5 Nodal Representation
7 Calculated Bus Power Injections
8 Classical Formulation of the Power Flow Problem
8.1 Types of Buses
8.2 Power Mismatch Vector
8.3 General Solution Procedure
8.4 Iteration Methods
9 References
10 Related Topics

Introduction
The objective of the power flow (or load flow) calculation is to determine the steady-state operating conditions of
an electrical network. The power flow problem is formulated such that at each bus in the network, the following
four variables are solved so as to fully define the power flows in the network:

## Bus voltage magnitude, V

Bus voltage angle,
Active power injected into (or consumed at) the bus, P
Reactive power injected into (or consumed at) the bus, Q

## In the simplest case of AC power transmission between two

buses connected by a line (as shown in Figure 1), the complex
AC power flow at the receiving end bus can be calculated as
follows:

S r = Vr I

## Similarly, the power flow at the sending end bus is:

Figure 1. AC power transmission between two buses

S s = Vs I

where Vs = Vs e
j
1
is the voltage and phase angle at the sending end

j
2

## Z is the complex impedance of the line.

V V
https://wiki.openelectrical.org/index.php?title=Power_Flow 1/8
6/8/2017 Power Flow - Open Electrical

Vs Vr
I = is the current phasor
Z

In power flow calculations, it is generally more convenient to represent impedances as admittances, i.e.
1
Y = Z so that the current phasors are calculated by multiplication rather than complex division:

I = Y (Vs Vr )

The equations for the two bus system above form the basis of the power flow calculations. In this article, these
equations are extended to larger systems of arbitrary size and topology.

Historical Context
Power flow calculations evolved from the planning departments of
electricity utilities in the early 20th century, where they were (and still
are) used to simulate the effects of network augmentations, different
load scenarios, network configurations, etc. Early power flows were
solved by AC network analyzers (http://en.wikipedia.org/wiki/Networ
k_analyzer_%28AC_power%29) (or calculating boards), which were
analog computers containing resistors, inductors and capacitors
calibrated to be a miniature scale equivalent of the actual electrical
network. For large systems, these network analysers took up the space
of entire rooms. As they were physical in nature, the network analysers
needed to be re-wired for each different configuration, augmentation
or scenario to be studied.

Starting with the seminal paper by Ward and Hale in 1956 [1], the use
of digital computers would enable power flow calculations to be
performed faster and in a more flexible manner. The iterative method
proposed by Ward and Hale (which became known as the Gauss-
Seidel method) was straightforward to implement, but exhibited poor
convergence characteristics.

In 1961, Van Ness and Griffin [2] introduced Newton's method for Westinghouse network analyser circa 1950
solving power flows (which later became known as the Newton-
Raphson method), which had more favourable characteristics but was
limited to smaller networks due to computer memory requirements. In their 1967 paper, Tinney and Hart [3]
exploited the sparsity properties of the Ybus matrix (and by extension, the Jacobian matrix) and in conjunction
with numerical techniques such as triangular factorisation and optimal ordering, were able to make the Newton-
Raphson algorithm practical for solving large networks using the computing resources available at the time.

In 1974, Stott and Alsac [4] recognised that in many practical networks there was decoupling between 1) active
power and voltage and 2) reactive power and phase angle. The proposed an algorithm (the fast decoupled load
flow) that significantly reduced the computational requirements to construct the Jacobian matrix and therefore led
to large gains in computational speed (although at the expense of a little accuracy).

## Per Unit Representation

https://wiki.openelectrical.org/index.php?title=Power_Flow 2/8
6/8/2017 Power Flow - Open Electrical

To simplify the calculation of admittances / impedances across different voltage levels, it is convenient to use a
per-unit representation of the network. By default, most power flow programs use a system-wide MVA base of
100MVA.

## Single Phase Representation

In the basic power flow formulation, three-phase systems are represented in single-phase form, based on the
assumption that the system is perfectly balanced (e.g. loads and generation are balanced, transmission lines are
fully transposed, etc). This assumption holds relatively well for high voltage transmission systems, but begins to
break down at smaller scales (e.g. low voltage distribution level), where a full three-phase power flow formulation
is necessary.

## Using a single-phase representation is convenient as it allows impedances to be formulated as single complex

quantities (R + jX) rather than a 3x3 matrix of mutually coupled impedances in a full three-phase representation.
Voltages in the single-phase formulation are usually referenced to earth.

Nodal Representation
The electrical network needs to be represented in such a way so that the quantities of interest (e.g. voltage, power
flows, etc) can be solved using either nodal analysis (http://en.wikipedia.org/wiki/Nodal_analysis) or mesh
analysis (http://en.wikipedia.org/wiki/Mesh_analysis) approaches. The nodal method is the standard approach for
power flow calculations for several reasons: 1) busbars in the system can be easily translated into nodes, 2) the
admittance matrix (without mutual couplings) can be built from inspection, and 3) the nodal method can exploit
the sparsity of the admittance matrix.

For example, consider the simple system below consisting of three buses (numbered 1, 2 and 3), two generators
(G1 and G2), a load (L2) and a shunt capacitor (C2) connected via transmission lines:

## Figure 2. Simple three bus system

In the nodal representation, the buses are represented as nodes, the generators and load are represented as current
injections while the shunt capacitor and lines are represented as admittances:

https://wiki.openelectrical.org/index.php?title=Power_Flow 3/8
6/8/2017 Power Flow - Open Electrical

## Figure 3. Single-phase nodal representation of three bus system

Note that the line at the bottom represents the reference node, usually taken to be an earth reference. All node
voltages are expressed with respect to this reference node.

## From Kirchhoff's current law (http://en.wikipedia.org/wiki/Kirchhoff%27s_circuit_laws#Kirchhoff.27s_current_la

w_.28KCL.29), we can see that the injected currents must equal the sum of the branch currents leaving the node.
For example, at node 1:

I 1 = I 12 + I 13

## = (y12 + y13 )V1 y12 V2 y13 V3

Similarly, at node 2:

I 2 = I C 2 + I 21 + I 23

## = (y12 + y22 + y23 )V2 y12 V1 y23 V3

Note the negative sign for the current I 2 indicating that it is a load and current is leaving the bus as opposed to
being injected. Note also the effect of the shunt capacitor, which appears as a self-admittance (y22 ).

The general formulation for the current injection at node k of an n-node system is:

n n

I k = ( yki ) Vk yki Vi

i=1 i=1k

## = Ykk Vk + Yki Vi ... Equ. (1)

i=1k

https://wiki.openelectrical.org/index.php?title=Power_Flow 4/8
6/8/2017 Power Flow - Open Electrical

We saw in Equation 1 above an expression for the current injection at an arbitrary bus in terms of admittances and
bus voltages. The current injections for every bus in the network can be calculated using this equation and can be
expressed in matrix form as follows:

## Y11 Y12 Y1n

I1 V1

I2 Y21 Y21 V2
=

In Vn
Yn1 Yn1

Or in compact form:

I = [Y ]V

where I is the vector of bus current injections (positive values are injections, negative values are consumptions)

## V is the vector of bus voltage phasors

[Y ] is the bus admittance matrix (more on this below)

The bus admittance (or Ybus) matrix is one of the fundamental building blocks of power system simulations,
describing both the topology and admittances / impedances of an electrical network. The diagonal elements of the
Ybus matrix are referred to as self-admittances and the off-diagonal elements are mutual admittances.

The Ybus matrix can be constructed from inspection when there are no mutual couplings between branches. The
procedure for building the Ybus matrix from inspection follows on readily from Equation 1:

1. Self-admittances (diagonal elements): at bus k are the sum of all branch admittances connected to the bus
n

Ykk = yki

i=1

2. Mutual admittances (off-diagonal elements): between buses k and i are the negative sum of branch
admittances connected between buses k and i:
n

Yki = yki

i=1k

## y12 + y13 y12 y13

[Y ] = y12 y12 + y22 + y23 y23

y13 y23 y12 + y23

The Ybus matrix is a square and symmetric n n matrix with complex values. Normally, it is also very sparse (h
ttp://en.wikipedia.org/wiki/Sparse_matrix) since most practical networks are not densely interconnected and thus
have few non-zero branch admittance values.

https://wiki.openelectrical.org/index.php?title=Power_Flow 5/8
6/8/2017 Power Flow - Open Electrical

Note that the Ybus matrix is non-singular (http://en.wikipedia.org/wiki/Invertible_matrix) only if there are shunt
admittances connected (e.g. the shunt capacitor y22 in our three-bus example above). This is easily proved by
noticing that without shunt admittances, each row and column of the Ybus matrix sums to zero (i.e. it is a zero-sum
matrix) and therefore does not have full rank (http://en.wikipedia.org/wiki/Rank_%28linear_algebra%29) and is
not invertible.

## Calculated Bus Power Injections

The power flow problem is most commonly formulated using power injections rather than current injections.
Complex power injections at bus k can be calculated from current injections as follows:

S k = P + jQ = Vk I

k
... Equ. (2)

Given the voltages Vk = V on each bus and the Ybus matrix [Y ] , the bus power injections (i.e. net active
and reactive power flows for the kth bus) can be calculated in rectangular coordinates as follows:
n

i=1
n

i=1

## Classical Formulation of the Power Flow Problem

It was noted earlier that at each bus, four variables (V , , P and Q ) are required to be known to fully define the
power flows in the system. To solve the power flow problem, two of the four variables need to be specified (i.e.
known) a priori for each bus and the power flow calculation solves for the other two. Typically, power injections at
the buses are known (e.g. measured or estimated loads or dispatched generation at the bus) and are therefore
normally specified. As a result, the bus voltages and angles are generally the unknown variables to be solved.

Therefore in the classical formulation, the power flow problem is constructed as a set of non-linear algebraic
power equations for the unknown variables in the system (bus voltage magnitudes and angles). The aim of the
power flow calculation is to arrive at values for bus voltages and angles such that the the mismatch error between
the specified and calculated power injections at each bus are within a pre-specified error tolerance.

Types of Buses

As discussed earlier, two variables of the four bus variables need to be specified at each bus. The two specified
variables do not have to be the same for every bus, which leads to the definition of the following common bus
types:

(1) Swing (or slack) bus [SW]: since network losses are not known a priori, a swing bus is required where
the voltage is specified, but the active power injected into the bus is unknown. The swing bus is usually
designated as the voltage reference for the system. In practice, the swing bus would be analogous to a large
generator responsible for load-frequency control or the point of common coupling to a larger external grid.
Specified variables: V ,

https://wiki.openelectrical.org/index.php?title=Power_Flow 6/8
6/8/2017 Power Flow - Open Electrical

(2) Voltage controlled bus [PV]: in the PV bus, the active power injected into the bus is specified along
with the voltage magnitude. PV buses are typically used to represent generators where the active power
injected is the generator dispatch power and an automatic voltage regulator controls the bus voltage
magnitude to a specified value. PV buses can also be used for reactive power support devices which control
the bus voltage to a specified value e.g. SVCs, synchronous condensers, STATCOMs, etc (in such cases, the
P active power injected is zero). Specified variables: P , V

(3) Constant power bus [PQ]: in the PQ bus, the active and reactive power injected into (or consumed at)
the bus is specified. PQ buses are typically used to represent constant power loads (e.g. residential,
industrial, etc), where it is assumed that the active and reactive power injections are not affected by small
variations in bus voltages (at steady state). Specified variables: P , Q

## Power Mismatch Vector

The power mismatch vector is defined as a vector of the differences between the specified and calculated power
injections at each bus. The power mismatch at bus k in complex form is calculated as follows:
spec calc
S k = S S
k k

## where Skspec is the specified complex power injection at bus k

S
calc
k
is the calculated complex power injection at bus k (i.e. from Equation 2)

The power mismatches can also be expressed in rectangular form where the calculated active and reactive power
injections are computed using Equations 3 and 4 respectively, i.e.
spec calc
P k = P P
k k
spec calc
Qk = Q Q
k k

## 2. Select a swing bus for the network

3. For all other buses, define the bus type (e.g. PQ or PV) and specify the known variables

4. Select initial voltages and angles for all buses. Commonly, a flat start is used where all voltages are
initialised at 10 = 1 + j0 pu. Alternatively, a previously calculated power flow solution ("solved case")
can be used.

5. Calculate the power mismatch vector by using the initial voltages in Step 4 and the specified power
injections in Step 3.

6. Apply an iteration method (e.g. Newton-Raphson, Gauss-Seidel, etc) to get next iteration of bus voltages

7. Re-calculate the power mismatch vector and check if the power mismatches are within a pre-specified
error tolerance, e.g. 0.001pu. If so, then the solution has been reached successfully. If not, then continue
iterating (Step 6-7) until the solution is reached or stop after a maximum number of iterations.

Iteration Methods

https://wiki.openelectrical.org/index.php?title=Power_Flow 7/8
6/8/2017 Power Flow - Open Electrical

The formulation of the power flow problem is generic, but there are a number of options for the iteration method
used to solve the non-linear equations. The most common methods are as follows:

Gauss-Seidel method
Newton-Raphson method
Decoupled Newton-Raphson method
DC power flow method
Newton-Krylov methods

References
[1] Ward, J. B., and Hale, H. W., "Digital Computer Solution of Power Flow Problems (http://ieeexplo
re.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=4499318)", AIEE Tansactions on Power Apparatus
and Systems, vol PAS-75, pp. 398-404, June 1956

[2] Van Ness, J. E., and Griffin, J. H., "Elimination methods for flow studies (http://ieeexplore.ieee.or
g/xpl/login.jsp?tp=&arnumber=4501030)" Trans. IEEE Transactions on Power Apparatus and
Systems, Vol. PAS-80, p. 299, June 1961.

[3] Tinney, W. H., and Hart, C. E., "Power Flow Solution by Newton's Method (http://ieeexplore.ieee.
org/xpl/login.jsp?tp=&arnumber=4073219)", IEEE Transactions on Power Apparatus and Systems,
Vol. PAS-86, No. 11, November 1967

arnumber=4075431)", IEEE Transactions on Power Apparatus and Systems, Vol. PAS-93, No. 3, May
1974

Related Topics
Simple Power Flow Example
AC Power Transmission
Newton-Raphson Power Flow
Ill-Conditioning