You are on page 1of 5

2011 IEEE Electrical Power and Energy Conference

Matlab-based Voltage Stability Analysis


Toolbox and its Validity Check
Yanfang Wei, Zhinong Wei, Guoqiang Sun

Abstract—A novel Voltage Stability Toolbox(VST) is flexible tool to analyze power system voltage stability using
introduced, which is programmed using Matlab math language, bifurcation method.
and the features of its open source code and a complete set of Software toolboxes for power system analysis can be
user-friendly graphical interfaces are detailed. It implements basically divided into two classes of tools: commercial
standard Newton-Raphson (NR) and Newton-Raphson-Seydel
(NRS) convergent algorithms to analyze the voltage stability and
softwares and educational/research-aimed softwares. The
bifurcation of power system. The main functions of VST include former commonly used are PSS/E, ATP, PSCAD etc., those
power flow, time domain simulation, singularity analysis, softwares are typically well-tested and computationally
eigenvalue analysis, as well as static and dynamic bifurcation efficient. Despite their completeness, these softwares can
analysis. VST is a very helpful tool to understand voltage result cumbersome for educational and research purposes.
stability and nonlinear bifurcation phenomenon. Test results of For research purposes, the flexibility and the ability of easy
the application of this toolbox in a five-bus system with three
generators and IEEE 30-bus test system are presented to show
prototyping are often more crucial aspects than
the practicality and effectiveness of the VST. computational efficiency. On the other hand, there is a
variety of open source research tools based on Matlab, which
Index Terms-- voltage stability toolbox; Matlab; voltage are typically aimed at a specific aspect of power system
stability; bifurcation analysis analysis[6-7].
Some of the Matlab-based toolboxes are: Power System
I. INTRODUCTION Analysis Toolbox(PSAT)[6], Power System Toolbox(PST),

E SSENTIALLY, the power system is a dynamic nonlinear


system; the property change of voltage stability is a
dynamic process from stable state to bifurcation. Both theory
Voltage Stability Toolbox(VST)[8-10], and so on. Among
these toolboxes, VST is open source and freely downloadable.
This paper introduces the VST, which is mainly used in the
and practice indicate that the bifurcation theory is a powerful analysis for power system voltage stability and bifurcation.
tool to analyze structure stability mechanism of nonlinear The main function of VST includes: power flow calculation,
dynamic system. Now bifurcation theory is widely used in time domain simulation, bifurcation analysis, singularity
power system voltage stability analysis and has become one analysis, etc.
of the important theory tools in voltage stability research[1-5]. A question at the front is that the already literatures
Comparing with traditional linear analysis approaches, involve VST are focused on the apply of VST itself, the
bifurcation theory is more accurate in analyzing the system explanation in a systematic way of all theoretical basis for
stability around critical point neighborhood. But this method VST is not clear, and effective use of the results obtained by
is against complex calculations and modeling difficulties,so VST simulation is a little weak. With consideration of the
that appropriate simulation analysis methods are needed to above problems, this paper first describes the main structure
thorough study of power system bifurcation. This paper of VST and analysis its main function modules, then the
describes the Voltage Stability Toolbox (VST), which is a theoretical basis of VST is analyzed in detail; At last, a
five-bus system with three generators and IEEE 30-bus test
This research is supported by the National Natural Science Foundation of system are presented to show the applicability of the VST,
China (50877024) . the simulation results show that the tool is suitable to study
Yanfang Wei is with College of Energy and Electrical Engineering, the voltage stability of power system.
Hohai University, Nanjing, China (e-mail: meilaier@163.com).
Zhinong Wei is with College of Energy and Electrical Engineering, II. MAIN FUNCTION INTRODUCTION OF VST
Hohai University, Nanjing, China (e-mail: wzn_nj@263.net). The VST integrates the symbolic and numeric
Guoqiang Sun is with College of Energy and Electrical Engineering, computations with a graphical menu-driven interface based
Hohai University, Nanjing, China (e-mail: hhusunguoqiang@163.com).

978-1-4577-0404-8/11/$26.00 ©2011 IEEE 244


on MATLAB and its extended symbolic toolbox. It angels are relative to the swing bus; ng and npq are the bus
implements symbolic computations to build exact load flow number of PV and PQ nodes, respectively ;
equations and Jacobian matrices including 2nd–order
Pg = [ P2 …Pn g ]T is pure active power injection vector of
derivatives, required to implement numerical computations
such as Newton-Raphson(NR)and Newton-Raphson-Seydel ng −1 generators ; Pl = [ Png +1 … Png +npq ]T and
(NRS) for bifurcation analysis. It has proved to be a useful
tool for education and research in the area of power system Ql = [Qng +1 … Qng +npq ]T are the real and reactive power
stability analysis. Fig.1 shows the schematic diagram of the
demands of npq load nodes, respectively; the elements of
VST[11].
d Pg , d Pl and d Ql , can be set to be positive, negative, or
zero depending on the load increase scenario of interest.
Therefore, one may conveniently increase load or
generation at a bus or at a group of buses through equation
(1).
VST adopts direct method to obtain static bifurcation
point; the direct method is proposed by Seydel in 1979[12],
which is used to calculate static bifurcation of single
parameter.
Static bifurcation uses NR-NRS two-stage algorithm to
Fig. 1 Schematic diagram of VST calculate equalization points. The dynamic bifurcation
analysis identifies small-signal stability characteristics by
A. Load Flow Calculation computing and checking the eigenvalues of the reduced
Load flow is the most basic and important calculation of system Jacobian matrix at each equilibrium point along PV
power system analysis. VST implements the standard NR curve. It will occur three kinds of bifurcation along the PV
algorithm to compute the load flow solutions at a given set of curve:SNB, Hopf Bifurcation, and Singularity Induced
bus injections. The GUI for load flow calculation allows the Bifurcation(SIB).
user to set control variables of the NR algorithm such as C. Small-signal Analysis
tolerance, error, maximum number of iteration, parameter In power system small-signal analysis, system matrix
values and state values. eigenvalues have close relations with the system stability.
B. Bifurcation Analysis of Voltage Stability VST studies small signal stability of a certain point on PV
VST uses a three-stage NR-NRS-NR algorithm to analyze curve by analyzing system matrix eigenvalues.
voltage stability bifurcation; the first stage uses standard NR VST analyzes the sensitivity of eigenvalue nearby SIB by
method to iteration until it fails to converge. Then it the following equations:
automatically switches to the NRS method to find load flow [ J ]ε = λε
solutions at and around the Saddle Node Bifurcation(SNB) (3)
[ g y ]ρ = η ρ
point. After obtaining the SNB point, the standard NR
method is switched back to compute low voltage of PV where, J is the Jacobin matrix of the system, gy is the Jacobin
curve. matrix of the algebraic equations, λ is the biggest real
Changes in bus injections are achieved through eigenvalue of J, η is the smallest real eigenvalue of gy, ε and
parameterization of bus injections with a scalar parameter ρ are the right eigenvector of λ and η, respectively.
known as a bifurcation parameter[9]: D. Dynamic Time Simulation
μ = μ0 + α * μ' (1) Time domain simulation is an important method to
0
where, μ is the initial real or reactive power, α is the research power system dynamic safety analysis and control.
bifurcation parameter which denotes the level of load, VST also has the function of time domain simulation. The
μ ' = [d TPg d TPl d QTl ]T is the vectors of searching directions, time domain simulation adopts an ordinary differential
equation (ODE) solver combined with an algebraic solver at
T denotes transpose, elements of μ' are: each iteration step. A fourth-order Runga–Kutta method is
used as an ODE solver, while an NR procedure is

⎪d Pg = [d P2 … d Pn ]T


implemented as an algebraic solver to update the load bus


g
voltage magnitudes and angles at each integration step.
T
⎨d Pl = [d Png +1 … d Png +npq ] (2)

⎪ III. NUMERICAL EXAMPLES

⎪d = [d Pn +1 … d Pn +n ]T


⎩ Ql g g pq A. Simulation of Five-bus System with Three Generators
where, n is the total node number of the system, generator 1 First a five-bus system is analyzed, whose connection
is the swing bus with zero angel and all the other phase diagram is displayed in Fig.2 [13-14].

245
bus 2 bus 4 bus 1
jX d jX d
G G
generator 2 generator 1
jX d Pd 4,Qd 4

bus 3
jX d
G
generator 3 Pd5,Qd5
bus 5

Fig. 2 Five-bus system with three generators

1) Bifurcation Analysis of Voltage Stability


The voltage amplitude of node 4 is shown in Fig. 3; the Fig.4 Voltage magnitude at bus 4 of dynamic bifurcation and singular points
lower part of Fig.3 is the partial enlarge figure around SNB.
As shown in Fig.3, when α is 3.1633 the system occurring 2) Singularity and Eigenvalue Analysis
SNB, which is the right most of the PV curve; exceeding this For a point of PV curve, VST analyzes the small-signal
point power flow can not be converged; SNB is corresponds stability of the point by computing system Jacobin matrix
to maximum power point at a certain load increase mode of eigenvalues. The distributing and movement of two critical
the system. eigenvalues are shown in Fig.5 as α increasing; uncritical
eigenvalues are not figured and the dotted arrow line in Fig.5
denote the increase direction of α.

Fig. 3 Voltage magnitude at bus 4 of static bifurcation


Fig. 5 Critical eigenvalues plot of the system matrix
In VST dynamic bifurcation simulation, a fixed-step size
Just before α equal to 3.0205, the two critical eigenvalues
is used at the NR stage, at the NRS stage, the step size is
are located in the left half plane in Fig.5, which implies
changed automatically by VST according to the second-order
stability. As the parameter α changing from one of the
derivatives. The dynamic bifurcation and singular points of
complex eigenvalue to the right half plane and becoming a
node 4 is shown in Fig.4.
large positive number while the other eigenvalue stays in the
As shown in Fig.4, the SNB and SIB are identified as the
left half plane, but it becomes a large negative real number.
parameter α changing. The singular points and PV curve
Therefore, stability feature of the equilibrium undergoes an
intersect at SIB; as α equal to 3.0205, the system occurs SIB.
instantaneous change from stable to unstable. As α
Now the stability performance of low voltage equilibrium
increasing to 3.1633, a critical eigenvalue of the system
points has changing from stable to unstable state. The high
becomes to zero while the other eigenvalue stays in the left
voltage and low voltage equilibrium points coincide when α half plane, now the system occurs SNB.
increases to 3.1633.
TABLE Ⅰand TABLE Ⅱ are the sensitivity of the system
state varieties to left and right eigenvector corresponding to
the zero eigenvalue of load flow Jacobian matrix at the SNB
point, respectively; where left eigenvector is remedial action
vector and right eigenvector is null space vector. δ, V, P, Q in
TALBE Ⅰand TABLE Ⅱ denote phase angle, voltage

246
amplitude, active power, reactive power, respectively. As shown in TABLE Ⅲ and TABLE Ⅳ, null space vector
of V7 and δ7 are more sensitive to the increasing α.
TABLE I SENSITIVITY OF REMEDIAL ACTION VECTOR VERSUS α
Similarly, remedial action vector of P7 and Q7 is more
OF FIVE-BUS SYSTEM
sensitive to the increasing α, which means node 7 is the
State variables P2 P3 P4 Q4 P5 Q5 critical node of the system at the load increase mode. The
Sensitivity of α 0.1254 0.5183 0.1762 0.0810 0.4200 0.7083 adjacent region of node 7 is the dangerous region of the
system; to analyze the change of the system variables around
TABLE Ⅱ SENSITIVITY OF NULL SPACE VERTOR VERSUS α OF node 7 can provide practical information of prevention and
FIVE-BUS SYSTEM remedial control for voltage stability.

State variables δ2 δ3 V4 δ4 V5 δ5 IV. CONCLUSION


Sensitivity of α 0.1522 0.6294 0.3976 0.2139 0.6060 0.0984
Power system is a complicated nonlinear dynamic system,
As shown in TABLEⅠ, the sensitivity of Q5 to α is the its operation stability, especially the voltage stability is an
biggest, which is 0.7083. It can be deduced that adjust Q5 important component of modern power system stability
appropriately can further increase the system stability. From analysis. VST, a Matlab-based toolbox for voltage stability
bifurcation analysis is introduced in this paper, which has
TableⅡ we can know that the sensitivity of δ3 to α is the
open source code and user-friendly graphical interface. VST
biggest, which is 0.6294. The result validates the change
is very helpful to understand voltage stability and nonlinear
scheme of α.
bifurcation phenomena. The feasibility and validity of the
B. Simulation and Analysis of IEEE 30-bus Test System proposed VST are verified by simulating a five-bus system
The searching directions of injection power and injection with three generators and IEEE 30-bus test system, the
space of IEEE 30-bus test system are set. The voltage results show that the VST is a powerful tool to analyze
stability bifurcation of IEEE 30-bus test system is simulated voltage stability for power system researchers. The new
by VST, which equally verifies the applicability of VST in version 3.0 of VST and its download website is available at:
analyzing the bifurcation behavior of voltage stability. The http://power.ece.drexel.edu/vst.html
test system of IEEE 30-bus is shown in Fig. 6[15].
Due to limited space, TABLE Ⅲ and TABLE Ⅳ list only V. REFERENCES
part sensitivity parameters of the system state varieties to left [1] Kwatny H., Pasrija A., Bahar L., “Static bifurcation in electric power
networks: loss of steady state stability and voltage collapse”, IEEE
and right eigenvector. Trans on CAS, vol.33, no.10, pp.981-991, 1986.
[2] Lerm A.A.P., Canizares C.A., Silveira e Silva A., “Multiparameter
bifurcation analysis of the south Brazilian power system”, IEEE Trans
on Power System, vol.18, no.2, pp.737-746, 2003.
[3] MA Youjie, WEN Hulong, ZHOU Xuesong, et al, “Bifurcation analysis
on power system voltage stability”, Intelligent Computation
Technology and Automation, Second International Conference, 2009,
Vol.3, pp.26-29, 2009.
[4] Ajjarapu V., Lee B., “Bifurcation theory and its application to
nonlinear dynamical phenomena in an electrical power system”, IEEE
Trans on Power Systems, vol.7, no.1, pp.312-319, 1992.
[5] Kwatny H.G., Fischl R.F., Nwankpa C.O., “Local bifurcation in power
systems: theory, computation, and application”, Proceedings of the
IEEE, vol.83, no.11, pp.1456-1483,1995.
[6] Federico Milano, “An open source power system analysis toolbox”,
IEEE Transactions on Power Systems, vol.20, no.3,
pp.1199-1206,2005.
[7] B. Chuco P, “Electrical software tools overview”, [Online] Available at:
http://eurostag.regimov.net/files/DOC2.pdf.
[8] Ayasun S.,Nwankpa C.O.,Kwatny H.G., “Voltage stability toolbox for
Fig. 6 IEEE 30-bus test system power system education and research”, IEEE Transactions on
Education, vol.49, no.4, pp. 432-442, 2006.
[9] Ayasun S.,Nwankpa C.O.,Kwatny H.G., “Computation of singular and
TABLE SENSITIVITY OF REMEDIAL ACTION VECTOR VERSUS α
singularity induced bifurcation points of differential algebraic power
OF IEEE 30-BUS SYSTEM system model”, IEEE Transactions on Circuits and Systems, vol.51,
no.8, pp. 1525-1538, 2004.
State variables P2 P7 Q7 Q11 Q19 [10] Ayasun S.,Dafis C.,Nwankpa C.O.,etc, “Symbolic analysis and
Sensitivity of α 0.2072 0.4013 0.1938 0.2089 0.1722 simulation for power system dynamic performance assessment”,
Power Systems Conference and Exposition, IEEE PES, vol.1, pp.
823-831, 2006..
TABLE SENSITIVITY OF NULL SPACE VERTOR VERSUS α OF [11] Drexel University, Department of Electrical and Computer Engineering,
IEEE 30-BUS SYSTEM Voltage Stability Toolbox (VST) - PC/Unix Version, [Online] Available
at: http://power.ece.drexel.edu/vst.html.
[12] Seydel R., “Numerical computation of branch points in nonlinear
State variables δ2 V7 δ7 δ8 δ16 δ18 equations”, Numerische MathemaUk, vol.33, pp.339-352, 1979.
Sensitivity of α 0.2217 0.2140 0.3997 0.2087 0.2232 0.2058

247
[13] K. L. Praprost,K. A. Loparo, “An energy function method for
determining voltage collapse during a power-system transient”, IEEE
Transactions on Circuits System, vol.41, no.10, pp.635-651, 1994.
[14] Ayasun S, “Effects of algebraic singularities on the voltage dynamics
of differential-algebraic power system model”, European
Transactions on Electrical Power, vol.18, no.6, pp. 547-561,
September, 2008.
[15] Zhu P., Taylor G., Irving M., “Performance analysis of a novel q-limit
guided continuation power flow method”, IET Generation ,
Transmission & Distribution, vol.3, no.12, pp. 1042-1051, 2009.

VI. BIOGRAPHIES
Yanfang Wei was born in HeNan, China, 1982. He received the B.S. and
M.S. degree in electrical engineering from Henan Polytechnic University, in
2006 and 2008, respectively. Now he is pursing the Ph.D. degree at Hohai
University, Nanjing, China.
His main research interests are power system analysis and its control.

Zhinong WEI was born in JiangSu, China, in 1962. He received the B.S.
degree from Hefei University of Technology, Hefei, China in 1984 and M.S.
degree from Southeast University, Nanjing, China in 1987. He then received
his Ph.D. degree from Hohai University, Nanjing, China in 2004. He is now
a professor at Hohai University.
His research interests include state estimation, voltage stability, smart
distribution systems, optimization and planning, load forecasting and
integration of distributed generation into electric power systems.

Guoqiang SUN was born in JiangSu, China, in 1978. He received the B.S.,
M.S. and Ph.D. degree in electrical engineering from Hohai University,
Nanjing, China, in 2001, 2005 and 2010, respectively. He is currently a
lecturer in the College of Energy and Electrical Engineering, at Hohai
University, China.
His main research interests are power system analysis and its control.

248

You might also like