Power Flow Analysis Module
Power Flow Analysis Module
GROUP REPORT
Power Flow Analysis
Group # 3
FINAL GRADE
1
COLLEGE OF ENGINEERING
2
COLLEGE OF ENGINEERING
Solution:
The admittance values of the transmission network and the injected power in per
unit at buses 2 and 3 are calculated as shown in Figure below. Note that net
injected power at the load bus is negative while that of the PV bus is positive. Per
units values are obtained by diving actual values (MW and MVAR) by the base (100
MVA).
3
COLLEGE OF ENGINEERING
V21=1y21+y23P2sch−jQ2schV20∗+y21V1+y23V30=15−j15+15−j50−2+j0.51.00
∠0°+5−j151.02∠0°+15−j501.00∠0°
V21=1.0120−j0.0260=1.0123∠−1.4717°
As Q3 is not given, it is calculated based on the latest available information
using Eqs. (12) or (13).
Q31=−ImV3∗0V30∑j=0ny3j−∑j=1j≠iny3jVjkork+1
Q31=−ImV3∗0V30y31+y32−y31V1+y32V21
Q3[ 1 ]=−Im{ 1.03∠0°( 1.03∠0°(10−j40+15−j50 )− [ (10−j40)1.02∠0° +(15−j50)
(1.0120−j0.0260) ] ) }=−Im{ 1.7201−j0.9373 }=0.9373 pu
Now that Q31 is calculated, the voltage V31 can be calculated:
V31=1y31+y32P3sch−jQ31V30∗+y31V1+y32V21=110−j40+15−j501.5−j0.93731
.03∠0°+10−j401.02∠0°+15−j501.0120−j0.0260=1.0294−j0.0022pu
Since the magnitude of V3 is specified, we retain the imaginary part of V31 and
calculate the real part using Eq. (14).
Reinew=1.032−0.00222=1.03pu
Therefore,
V31=V31=1.03−j0.0022=1.03∠−0.1226°pu
V22=1y21+y23P2sch−jQ2schV21∗+y21V1+y23V31=15−j15+15−j50−2+j0.51.01
20−j0.0260+5−j151.02∠0°+15−j501.03−j0.0022V22=1.0115−j0.0270=1.0119∠−1.52
73°
Q32 calculation is given below:
Q32=−ImV3∗1V31y31+y32−y31V1+y32V22
Q3[ 2 ]=−Im{ (1.03−j0.0022)( (1.03−j0.0022)(10−j40+15−j50 ) −
[ (10−j40)1.02∠0°+(15−j50)(1.0115−j 0.0270) ] ) }=1.0000 pu
The voltage V32 is calculated as follows:
V32=1y31+y32P3sch−jQ32V31∗+y31V1+y32V22=110−j40+15−j501.5−j11.03∠0
°+10−j401.02∠0°+15−j501.0115−j0.0270=1.0298−j0.0030pu
Only imaginary value of the calculated V32 is retained and the real part is
calculated based on the retained imaginary values and the scheduled V3.
Reinew=1.032−0.00302=1.03pu
Therefore,
4
COLLEGE OF ENGINEERING
V32=1.03−j0.003=1.03∠−0.1644°pu
Y=Y11⋯Y1n⋮⋱⋮Yn1⋯YnnE1
The values of diagonal elements (Yii) are equal to the sum of the admittances
connected to bus i. The off-diagonal elements (Yij) are equal to the negative of the
admittance connecting the two buses i and j. It is worth noting that with large systems,
Y-bus is a sparse matrix.
Yii=∑j=0j≠inyijE2
Yij=Yji=−yijE3
The net injected power at any bus can be calculated using the bus voltage (Vi),
neighboring bus voltages (Vj), and admittances between the bus and its neighboring
buses (yij) as shown in Figure 1.
Ii=Viyi0+Vi−V1yi1+Vi−V2yi2+…+Vi−Vjyij
5
COLLEGE OF ENGINEERING
Ii=Viyi0+yi1+yi2+..+yij−V1yi1−V2yi2−…−Vjyij
Ii=Vi∑j=0j≠iyij−∑j=1j≠iyijVj=ViYii+∑j=1j≠iYijVj
The power equation at any bus can be written as follows:
Si=Pi+jQ i=ViIi∗
Or
Si∗=Pi−jQ i=Vi∗Ii
Substituting the expression on the current in Si∗ equation results in the following
formula:
Si∗=Vi∗Vi∑j=0j≠iyij−∑j=1j≠iyijVj=Vi∗ViYii+∑j=1j≠iYijVj
Real and reactive power can be calculated from the following equations:
Pi=ReVi∗Vi∑j=0j≠iyij−∑j=1j≠iyijVj=ReVi∗ViYii+∑j=1j≠iYijVj
Q i=−ImVi∗Vi∑j=0j≠iyij−∑j=1j≠iyijVj=−ImVi∗ViYii+∑j=1j≠iYijVj
Or
Pi=∑j=1nViVjYijcosθij−δi+δjE4
6
COLLEGE OF ENGINEERING
Q i=−∑j=1nViVjYijsinθij−δi+δjE5
And the current (Ii) can be written as a function of the power as follows:
Pi−jQ iVi∗=Vi∑j=0j≠iyij−∑j=1j≠iyijVj=ViYii+∑j=1j≠iYijVjE6
For the below 4-bus system in Figure 2, the admittance matrix is constructed by
converting all impedances in the system into admittances as shown in Figure 3. Then,
diagonal and off-diagonal elements are calculated using Eqs. (2) and (3).
Y=−j7.5j4j2.50j4−j7.750j2.5j2.50−j4.5j20j2.5j2−j4.5=7.5∠−90°4∠90°2.5∠90°04∠90°7.75
∠−90°02.5∠90°2.5∠90°04.5∠−90°2∠90°02.5∠90°2∠90°4.5∠−90°
7
COLLEGE OF ENGINEERING
Figure 2.
Impedance diagram.
Figure 3.
8
COLLEGE OF ENGINEERING
Admittance diagram.
where Pi is the net active power injected at bus i, Gik is the real part of the element in
the bus admittance matrix YBUS corresponding to the ith row and kth column, Bik is
the imaginary part of the element in the YBUS corresponding to the ithrow and kth
column and {\displaystyle \theta _{ik}}\theta _{{ik}}.The reactive power balance equation
is:
9
COLLEGE OF ENGINEERING
P-V Buses
PV bus – the real power |P| and the voltage magnitude |V| are specified. It is also
known as Generator Bus. The real power and voltage are specified for buses that are
generators. These buses have a constant power generation, controlled through a prime
mover, and a constant bus voltage.
Minimum input data for power flow analysis:
10
COLLEGE OF ENGINEERING
Power flow analysis provides following output data for each node/branch:
Voltage magnitude,
Voltage angle,
Real and reactive power,
Power losses.
Bus Classification
Depending, upon which two variables you specify, the buses (nodes) can be
categorized into three categories:
PQ PG,QG,PD,QDPG,QG,PD,QD |U|,δ|U|,δ
PV |U|,PG,PD,QD|U|,PG,PD,QD δ,QGδ,QG
11
COLLEGE OF ENGINEERING
Slack Bus
There is only one slack bus in system under consideration. Slack bus always has a
generator attached to it, with no exception. Normally this generator is biggest in the
system. Its two main tasks is to:
The rest of buses swing with the reference to this particular bus.
Whatever is extra left that will come from this slack bus remaining, anything which we
could not fulfill from the rest of the buses will come from it.
PQ Bus
Load buses may contain generators with specified real and reactive power
outputs.
PV Bus
Have generator connected to them. The PV buses can have voltage control
capabilities and uses a tap-adjustable transformer and and/or VAR compensator
instead of generator.
12
COLLEGE OF ENGINEERING
A load flow study is especially valuable for a system with multiple load centers,
such as a refinery complex. The power flow study is an analysis of the system’s
capability to adequately supply the connected load. The total system losses, as well as
individual line losses, also are tabulated. Transformer tap positions are selected to
ensure the correct voltage at critical locations such as motor control centers.
Performing a load flow study on an existing system provides insight and
recommendations as to the system operation and optimization of control settings to
obtain maximum capacity while minimizing the operating costs. The results of such an
analysis are in terms of active power, reactive power, magnitude and phase angle.
Furthermore, power-flow computations are crucial for optimal operations of groups of
generating units.
In term of its approach to uncertainties, load flow study can be divided to
deterministic load flow and uncertainty-concerned load flow. Deterministic load flow
study does not take into account the uncertainties arise from both power generations
and load behaviors. To take the uncertainties into consideration, there are several
approaches that has been used such as probabilistic, possibilistic, information gap
decision theory, robust optimization, and interval analysis.
Power flow solutions are the key in many power system studies. In this paper,
the power flow problem is formulated within rectangular coordinates. Using a voltage-
dependent load model and linear approximation techniques, the problem is formulated
as a system of mixed linear and nonlinear equations. An efficient matrix decomposition
is then applied to facilitate establishing the Jacobian matrix in the linear subproblems of
Newton’s method. The accuracy of the proposed method is compared to the original
nonlinear formulation and relative errors less than 0.1% are achieved. The average
computation time of the proposed method is about 30% less than the conventional
method. Index Terms—Power flow, load voltage dependency, LU Decomposition.
NOMENCLATURE
𝑎𝑝, 𝑏𝑝 Parameters representing the voltage dependency of load’s active power.
𝑎𝑞, 𝑏𝑞 Parameters representing the voltage dependency of load’s reactive power.
13
COLLEGE OF ENGINEERING
A. Load Modeling
The voltage dependency of loads has been described previously using two well-
known models, namely the exponential model and the polynomial (ZIP) model.
Mathematically, the problem of modeling the load voltage dependency is essentially a
curve-fitting problem. Point-wise measurements of voltage-active power (𝑉,𝑃) and
voltage-reactive power (𝑉,𝑄) data can be fitted with appropriate curves. The
exponential model has only one parameter to be determined for 𝑃 and one for 𝑄. The
polynomial model, on the other hand, has three parameters. The model employed in
this paper has two parameters, as suggested in, as follows:
Where the zero subscripts stand for the nominal values. Although this model
has less free variables to fit the curve, the performance is still reasonable. Also note
that the sum of parameters in (1) should be unity (e.g. 𝑎𝑝+𝑏𝑝 = 1). In order to find the
values of the parameters in (1), a least-squares problem can be solved. This problem
and its solution are discussed in Appendix A. The next section discusses how this load
model can enhance the power flow solution.
14
COLLEGE OF ENGINEERING
In power flow calculations, three types of buses are assumed: the generation
buses, or P-V buses, for which the amount of active power generated and the voltage
magnitude are fixed by the generator prime mover and excitation system, respectively;
the load buses, or P-Q buses, for which the amount of active and reactive power
demands are known; and the slack bus, for which the real and imaginary parts of the
voltage are known. Instead of solving for voltage magnitudes and angles, we formulate
the problem in a way that the variables are real and imaginary parts of the bus
voltages. The sum of the currents being injected to Bus 𝑖 from the network can be
calculated as
Note that since the reactive power generation, as a dependent variable, is not known,
(5) is considered in the formulation of power flow for the P-V buses instead of (4b). For
a P-Q bus, the voltage-dependent load model introduced in (1) is used to model the
load behavior. Using the current injection method, the total current flowing to a bus has
to be equal to the current drawing at that bus. The drawn current at Bus 𝑖 with a
voltage-dependent load described by (1) is
15
COLLEGE OF ENGINEERING
Figure 1. Limits on the voltage real and imaginary parts. The shadowed area shows the
allowable operating range.
Table I PARAMETERS FOR THE LINEAR APPROXIMATION
𝑢0 𝑢1 𝑢2 𝑢ˆ0 𝑢ˆ1 𝑢ˆ2
0.0146 0.9820 0 0 0 0.9976
16
COLLEGE OF ENGINEERING
of the matrix is indeed comparatively larger than the variable part based on the fact that
there are more load buses in the network than generation buses. This fact is pictorially
represented in Fig. 2 by the size of the blocks. It is of interest to take advantage of the
special structure of the Jacobian matrix. Let the upper block in the Jacobian matrix in
Fig. 2 be horizontally divided into two block columns, namely 𝐽11 ∈ ℝ2(𝑛−𝑚)×2(𝑛−𝑚)
and 𝐽12 ∈ ℝ2(𝑛−𝑚)×2(𝑚−1). Similarly, divide the second block into two block columns,
namely 𝐽21 ∈ ℝ2(𝑚−1)×2(𝑛−𝑚) and 𝐽22 ∈ ℝ2(𝑚−1)×2(𝑚−1). Then, linear algebra
allows us to write
where 𝐼 and 0 are the identity and zero matrices of appropriate size; 𝑄𝑆 is the Schur
complement of 𝐽 defined by:
𝑄𝑆 = 𝐽22 − 𝐽21𝐽−1 11 𝐽12 (10)
Preconditioning techniques are also applicable to this process to take care of the ill-
conditioned matrices. This is beyond the scope of this study and is well-established in
the literature, e.g. [18].
Components of Power Flow
In power engineering, the power-flow study, or load-flow study, is a numerical
analysis of the flow of electric power in an interconnected system. A power-flow study
usually uses simplified notations such as a one-line diagram and per-unit system, and
focuses on various aspects of AC power parameters, such as voltages, voltage angles,
17
COLLEGE OF ENGINEERING
real power and reactive power. It analyzes the power systems in normal steady-state
operation.
Power-flow or load-flow studies are important for planning future expansion of power
systems as well as in determining the best operation of existing systems. The principal
information obtained from the power-flow study is the magnitude and phase angle of
the voltage at each bus, and the real and reactive power flowing in each line.
Commercial power systems are usually too complex to allow for hand solution of the
power flow. Special purpose network analyzers were built between 1929 and the early
1960s to provide laboratory-scale physical models of power systems. Large-scale
digital computers replaced the analog methods with numerical solutions.
In addition to a power-flow study, computer programs perform related calculations such
as short-circuit fault analysis, stability studies (transient and steady-state), unit
commitment and economic dispatch. In particular, some programs use linear
programming to find the optimal power flow, the conditions which give the lowest cost
per kilowatt hour delivered.
A load flow study is especially valuable for a system with multiple load centers,
such as a refinery complex. The power flow study is an analysis of the system’s
capability to adequately supply the connected load. The total system losses, as well as
individual line losses, also are tabulated. Transformer tap positions are selected to
ensure the correct voltage at critical locations such as motor control centers.
Performing a load flow study on an existing system provides insight and
recommendations as to the system operation and optimization of control settings to
obtain maximum capacity while minimizing the operating costs. The results of such an
analysis are in terms of active power, reactive power, magnitude and phase angle.
Furthermore, power-flow computations are crucial for optimal operations of groups of
generating units.
In term of its approach to uncertainties, load flow study can be divided to
deterministic load flow and uncertainty-concerned load flow. Deterministic load flow
study does not take into account the uncertainties arise from both power generations
and load behaviors. To take the uncertainties into consideration, there are several
approaches that has been used such as probabilistic, possibilistic, information gap
decision theory, robust optimization, and interval analysis.The Open Energy Modelling
Initiative promotes open source load-flow models and other types of energy system
models.
18