Professional Documents
Culture Documents
0020720915597935
0020720915597935
0020720915597935
multi-machine power
system utilizing
SIMULINK
Serdar Ekinci, H Lale Zeynelgil and
Aysen Demiroren
Abstract
This paper describes a simple and didactic procedure which illustrates the benefits of
the visual aspects of MATLAB/SIMULINK for educational purposes. The novel didactic
procedure is specially developed for transient stability simulation of a multi-machine
power system given with full details. Structural details of various sub-models for a multi-
machine power system are provided and their implementation in SIMULINK environ-
ment is outlined. Simulation results show that the developed transient simulation model
is a powerful and promising tool for transient stability studies, and very helpful to
understand transient stability phenomena for students and researchers. The most sali-
ent features of the developed MATLAB/SIMULINK-based model are simplicity of use,
transparency, flexibility and expandability. These special characteristics are easy to
understand and can be easily modified. Hence, these features make the proposed
model suitable for both educational and research purposes. In addition, classroom
experience has shown that the didactic procedure helps in consolidating a better under-
standing of power system transient stability.
Keywords
MATLAB, mathematical modeling, power system simulation, SIMULINK, transient
stability
Introduction
Rotor angle stability denotes the ability of synchronous machines in the grid to
remain in synchronism following large or small disturbance and can be instantly
related with sustaining or re-establishing the equilibrium between electromagnetic
torque and mechanical torque at each synchronous machine in the system. Large-
disturbance rotor angle stability, frequently called transient stability, parallels the
ability of generators to sustain synchronism when subjected to harsh disturbances,
including transmission system faults, sudden load changes, loss of generating units
or line switching. In this case, the system nonlinearities govern the system response;
hence, linearization of equations does not work, requiring short-term analysis tools
that entirely account for the main nonlinear system characteristics.1–3
MATLAB software,4 developed by MathWorks, is one of the most powerful
and well-known numerical simulation tools for dynamical systems. Along with
numerical simulation features, it offers a very effective graphical programming
tool, SIMULINK, which is used for modeling both linear and nonlinear dynamical
systems. MATLAB-based numerical and graphical programming solutions provide
useful educational tools for some undergraduate and graduate courses.
SIMULINK is a very powerful modeling, analysis and simulation tool. It offers
a block diagram interface built on numerical, graphical and basic MATLAB pro-
gramming functions. The possibility of creating subsystems facilitates for analysis
and optimization of complex circuits by allowing them to be structured in systems
of simpler appearance. Apart from its graphic power, the tool provides a wide
variety of blocks, arranged in several libraries.
Utilization of SIMULINK is swiftly growing in a variety of research work, as well
as in the fields of electric power systems.5–10 In this study, we will take a multi-
machine power system example so as to illustrate the features and extent of a
SIMULINK-based model for transient stability analysis. A self-sufficient
SIMULINK-based model for the more complicated two-axis machine model with
IEEE-Type I exciter is given with its complete details, which can function as a basic
structure for a progressive and comprehensive study. The novel model is transparent
and can easily be modified or extended. Emphasis has been given to keeping the model
transparent and simple. The detailed model is designed for use by undergraduate and
graduate students in the learning of power system transient stability and for rapid
testing of research ideas. The nonlinear time-domain simulation results validate the
efficacy of developed model for transient stability simulation in a multi-machine
power system under a large disturbance for different values of the clearing time.
exciter dynamics and algebraic equations corresponding to the stator and network
equations.2
Differential equations
The differential equations of the ith synchronous machine of an m-machine, n-bus
system ði ¼ 1, 2, . . . , mÞ are expressed as follows2
di
¼ !i !s ð1Þ
dt
2Hi d!i
¼ Pmi Pei Di ð!i !s Þ ð2Þ
!s dt
dE0qi
T0doi ¼ E0qi ðxdi x0di Þidi þ Efdi ð3Þ
dt
dE0di
T0qoi ¼ E0di þ ðxqi x0qi Þiqi ð4Þ
dt
dEfdi
TEi ¼ ðKEi þ SðEfdi ÞÞEfdi þ VRi ð5Þ
dt
where SðEfd Þ ¼ Ae eBe Efd
Network equations
In this study, the current-balance form is used and the loads are modeled as con-
stant impedance type. In power system with m generators, the nodal equation can
be written as2
2 3
I1
6 . 7 2 3
6 .. 7 V 1
6 7 6
6 7 .. 7
6 Im 7 6 7
6 7 ¼ Y 0 bus 6 . 7
6
7 ð11Þ
6 7 6 .. 7
6 0 7 4 . 5
6 . 7
6 . 7
4 . 5 V n
0
Ii ¼ idi þ jiqi ejði =2Þ ð12Þ
where I1 , . . . , Im are the complex injected generator currents at the generator buses.
Assume that the modified admittance matrix Y bus represented as Y 0 bus be parti-
tioned as
2m n m3
-------------
Y1 Y2
m 6 7 ð13Þ
Y 0 bus ¼ 4 -------------- 5
nm
Y3 Y4
where Y red ¼ ðY
1 Y
2Y
1 Y
3 Þ is the desired reduced matrix and has the dimensions
4
ðm mÞ. The reduced matrices for every network condition (pre-fault, faulted and
post-fault conditions) are computed on account of the power system under study.
Note that the network reduction illustrated by equations (11) to (14) is a conve-
nient analytical technique that can be used only when the loads are treated as
58 International Journal of Electrical Engineering Education 53(1)
constant impedances. Network reduction can be applied only to those nodes that
have zero injection current.
Step 1: From the load flow, calculate IGi0 eji0 as ðPi PLiVÞj ðQi QLi Þ
j ¼ PVGi jQ
j
Gi
i0 e i0 i0 e i0
Step 2: The initial generator angle i0 is calculated as i0 ¼ angle of
ðVi0 eji0 þ ðrsi þ jxqi ÞIGi0 eji0 Þ
Step 3: Calculate idi0 and iqi0 from ðidi0 þ jiqi0 Þ ¼ IGi0 ej ði0 i0 þ=2Þ
Step 4: Calculate E0di0 from equation (9) as E0di0 ¼ Vi0 sinði0 i0 Þ þ rsi idi0 x0qi iqi0
Step 5: Calculate E0qi0 from equation (10) as E0qi0 ¼ Vi0 cosði0 i0 Þ þ rsi iqi0 þ x0di idi0
Step 6: Calculate Efdi0 from equation (3) as Efdi0 ¼ E0qi0 þ ðxdi x0di Þidi0
Step 7: Calculate VRi0 from equation (5) as VRi0 ¼ ðKEi þ SðEfdi0 ÞÞEfdi0
K E
Step 8: Calculate RFi0 from equation (7) as RFi0 ¼ FiTFifdi0
Step 9: Calculate Vrefi from equation (6) as Vrefi ¼ VKRi0 Ai
þ Vi0
Step 10: Calculate Pmi0 from equation (2) as Pmi0 ¼ E0di0 idi0 þ E0qi0 iqi0 þ
ðx0qi x0di Þidi0 iqi0
The subscript 0 denotes the initial conditions. As the network changes because
of switching during the fault, the corresponding values will be taken in the above-
mentioned equations. The system conditions before the fault occurs, and the net-
work configurations both during and after its occurrence must be known in any
transient stability study.
Machine 1 2 3
Machine 1 2 3
red matrices.
Table 4. Reduced Y
90
Gen # 2
Gen # 3
80
70
60
delta [deg]
50
40
30
20
10
0 1 2 3 4 5 6 7 8 9 10
Time [sec]
Figure 6. Plot of rotor angle differences versus time for a 100 ms clearing time.
6
Gen # 2
Gen # 3
2
w [pu]
-2
-4
-6
0 1 2 3 4 5 6 7 8 9 10
Time [sec]
Figure 7. Plot of rotor speed differences versus time for a 100 ms clearing time.
Stability’ at the Istanbul Technical University, Istanbul, Turkey. The course con-
sists of three hours of instructional time per week and the class attending the last
offering was made of 12 students.
A survey which has five statements regarding the developed model was pre-
pared. Table 5 shows survey statements and associated reactions of participants.
68 International Journal of Electrical Engineering Education 53(1)
2.5
1.5
1
Pe [pu]
0.5
0
Gen # 1
Gen # 2
-0.5 Gen # 3
-1
0 1 2 3 4 5 6 7 8 9 10
Time [sec]
Figure 8. Plot of electrical power outputs versus time for a 100 ms clearing time.
400
Gen # 2
Gen # 3
350
300
250
delta [deg]
200
150
100
50
0
0 1 2 3 4 5 6 7 8 9 10
Time [sec]
Figure 9. Plot of rotor angle differences versus time for a 200 ms clearing time.
The survey about the developed model was completed by 12 postgraduate students.
According to the survey, the student response to the use of the developed model has
been very positive. A great majority of the students thought that the developed
model for transient stability simulation is user friendly, easy to understand and
several system parameters could be changed easily. Students’ feedback has indi-
cated that the model developed in this study is considerably effective to understand
better power system transient stability for students and researchers.
Ekinci et al. 69
40
Gen # 2
35 Gen # 3
30
25
20
w [pu]
15
10
-5
-10
0 1 2 3 4 5 6 7 8 9 10
Time [sec]
Figure 10. Plot of rotor speed differences versus time for a 200 ms clearing time.
4
Pe1
Pe2
Pe3
3
2
Pe [pu]
-1
-2
0 1 2 3 4 5 6 7 8 9 10
Time [sec]
Figure 11. Plot of electrical power outputs versus time for a 200 ms clearing time.
Conclusions
SIMULINK is a very powerful modeling, analysis and simulation tool. It offers a
block diagram interface built on numerical, graphical and basic MATLAB pro-
gramming functions. In this work, modeling and simulation of a multi-machine
power system with MATLAB/SIMULINK has presented in a simple step-by-step
procedure to facilitate the understanding of concepts related to transient stability
70 International Journal of Electrical Engineering Education 53(1)
Funding
The author(s) received no financial support for the research, authorship, and/or publication
of this article.
References
1. Kundur P. Power system stability and control. In: EPRI power system engineering series.
New York: Mc Graw-Hill, 1994.
2. Sauer PW and Pai MA. Power system dynamics and stability. New Jersey: Prentice Hall,
Upper Saddle River, 1998.
3. Anderson PM and Fouad AA. Power system control and stability. Stevenage: IEEE Press,
2003.
4. Mathworks, www.mathworks.com (accessed 14 July 2015).
5. Shi KL, Chan TF, Wong YK, et al. Modelling and simulation of the three-phase induc-
tion motor using SIMULINK. Int J Electr Eng Educ 1999; 36: 163–172.
Ekinci et al. 71
Appendix
Notations
D damping coefficient
E0d d-axis transient voltage
Efd excitation system voltage
E0q q-axis transient voltage
H inertia constant of generator
id d-axis armature current
iq q-axis armature current
KA regulator gain
KE exciter gain
KF stabilizer circuit gain
Pe electrical output power
Pm mechanical input power
rs armature resistance
SðEfd Þ exciter saturation function
T0do d-axis open circuit time constant
TE exciter time constant
TF stabilizer circuit time constant
TA regulator time constant
T0qo q-axis open circuit time constant
V generator terminal voltage
Vref reference voltage
xd d-axis synchronous reactance
x0d d-axis transient reactance
xq q-axis synchronous reactance
x0q q-axis transient reactance
rotor angular position
angle of terminal voltage
! rotor angular speed
!s synchronous angular speed