Power System Operation and Control
Power System Operation and Control
Power System Operation and Control
Laboratory Manual
For
Manual made by
It is my great pleasure to present this laboratory manual for First Year Master of
Engineering ELECTRICAL POWER SYSTEMS engineering students for the subject
of Computer Aided Power System Analysis. Keeping in view the vast coverage
required for visualization of concepts of Computer Aided Power System Analysis
with simple language.
As a student, many of you may be wondering with some of the questions in your
mind regarding the subject and exactly what has been tried is to answer through
this manual.
Faculty members are also advised that covering these aspects in initial stage itself,
will greatly relive them in future as much of the load will be taken care by the
enthusiasm energies of the students once they are conceptually clear.
H.O.D. (EEP)
LABORATORY MANUAL CONTENTS
This manual is intended for the First year students of ELECTRICAL POWER
SYSTEM master of engineering branch in the subject of Computer Aided Power
System Analysis. This manual typically contains practical/Lab Sessions related
Computer Aided Power System Analysis covering various aspects related to the
subject to enhance understanding.
Students are advised to thoroughly go through this manual rather than only topics
mentioned in the syllabus as practical aspects are the key to understanding and
conceptual visualization of theoretical aspects covered in the books.
2. Lab exercise:
6) Modeling of single area and multi line Load frequency control in MATLAB SIMULINK.
9) Study of effect of Faults (LG, LL, LLG, 3 phase) on a single machine connected to infinite
Bus.
DO’s in Laboratory:
1. Use this software by using license key provided at the main server.
2. Any crash, invalid debugs may hang the software. In such cases, please wait for
that program to respond otherwise this will directly delete the files if not saved
properly.
DONT’s in Laboratory:
1. Submission related to whatever lab work has been completed should be done
during the next lab session. The immediate arrangements for printouts related to
submission on the day of practical assignments.
APPARATUS:
1 ) Input supply voltage= 1-
phase,230V,50Hz.,AC supply.
2) Current capacity= 1 amp.
3 ) Line voltage assumed as 220 KV.
4) Line length assumed as,
a )Short length=100Km
b)Medium length=200Km.
c)Long length=400Km
THEORY:
1)For open circuit test
Vs=A.Vr+BIr
A=Vs/Vr-B.Ir
As Ir=-0
A=Vs/Vr
Now, Is=C.Vr+D.Ir
Is=C.Vr (as Ir=0)
C=Is/Vr
PROCEDURE:
OBSERVATION TABLE:
CONCLUSION:
From Graph, Voltage and Current ratio we conclude that transformation ratio K= slope of the
graph as well as Voltage and Current ratio is constant for 1- transformer.
Practical 2 : (2 Hours):
APPARATUS:
1) MATLAB Software
2) Sim Power System Toolbox
THEORY:
1) What is admittance and how it is represented?
2) what is admittance matrix and Impedance matrix and how the self and mutual
elements of this matrices are calculated?
MATAB CODE:
Zbus = [0];
Quit = 0;
i = 0;
while Quit== 0
end
end
Zbus = [Zbus1]
end
end
if Case == 2
Z_new = input('Enter the value of impedance for new bus = ');
m = length(Zbus);
for a=1:m
for b=1:m
Z_temp(a,b) = Zbus(a,b);
end
end
for c = 1:m
Z_temp(c,m+1) = Zbus(c,m);
Z_temp(m+1,c) = Zbus(c,m);
Z_temp(m+1,m+1) = Zbus(m,m)+Z_new;
end
Zbus = [Z_temp]
i = i+1;
end
if Case == 3
Z_new = input('Enter the value of impedance for new bus = ');
m = length(Zbus);
for a=1:m
for b=1:m
Z_temp(a,b) = Zbus(a,b);
end
end
for c = 1:m
Z_temp(c,m+1) = Zbus(c,m);
Z_temp(m+1,c) = Zbus(c,m);
Z_temp(m+1,m+1) = Zbus(m,m)+Z_new;
end
fprintf('Zbus before Kron Reduction:\n')
Zbus = [Z_temp]
m = length(Zbus);
for i=1:m-1
for k = 1:m-1
Z(i,k) = Zbus(i,k) - ((Zbus(i,m)*Zbus(m,k))/Zbus(m,m));
end
end
fprintf('Zbus after Kron Reduction:\n')
Zbus = [Z]
end
if Case == 4
Z1 = input('Enter the value of impedance = ');
j = input('Enter the value of bus j = ');
k = input('Enter the value of bus k = ');
m = length(Zbus);
for a=1:m
for b=1:m
Z_temp(a,b) = Zbus(a,b);
end
end
for c = 1:m
Z_temp(c,m+1) = Zbus(c,j)-Zbus(c,k);
Z_temp(m+1,c) = Z_temp(c,m+1);
end
Z_temp(m+1,m+1) = Z1+Zbus(j,j)+Zbus(k,k)-2*Zbus(j,k);
fprintf('Zbus before Kron Reduction:\n')
Zbus = [Z_temp]
m = length(Zbus);
for i=1:m-1
for k = 1:m-1
Z(i,k) = Zbus(i,k) - ((Zbus(i,m)*Zbus(m,k))/Zbus(m,m));
end
end
fprintf('Zbus after Kron Reduction:\n')
Zbus = [Z]
end
Quit = input('Do u want to quit = ');
Zb1 = [Zbus];
end
CONCLUSION:
We conclude that Y bus and Z bus are the characteristic matrices of an electrical network
which helps in fault analysis and impedance characterization of that network.
Practical 3 : (2 Hours):
APPARATUS:
1) MATLAB Software
2) Sim Power System Toolbox
THEORY:
1. What is Load Flow.?
2. What is Newton Raphson method for load flow?
3. What is the accuracy for this method ?
**** This program necessitates the LINE DATA and BUS DATA of a given Network. So, specify
these matrices before debugging this program.
OBSERVATION :
This will consists of the output of MATLAB program giving different values of bus voltages, bus
angles, and Power flow.
CONCLUSION:
From this Experiment we can conclude that using Newton Raphson method different values of
bus voltages, bus angles, and Power flow can be calculated with less no. of iterations.
.
Practical 4 : (2 Hours):
APPARATUS:
1) MATLAB Software
2) Sim Power System Toolbox
Theory:-
1. What is Load Flow.?
2. What is Gauss Seidel method for load flow?
3. What is the accuracy for this method ?
**** This program necessitates the LINE DATA and BUS DATA of a given Network. So, specify
these matrices before debugging this program.
OBSERVATION :
This will consists of the output of MATLAB program giving different values of bus voltages, bus
angles, and Power flow.
CONCLUSION:
From this Experiment we can conclude that using Gauss seidel method different values of bus
voltages, bus angles, and Power flow can be calculated.
Practical 5 : (2 Hours):
APPARATUS:
1) MATLAB Software
2) Sim Power System Toolbox
Theory:-
1. What is Load Flow.?
2. What is Gauss Seidel method for load flow?
3. What is the accuracy for this method?
clc
clear
%-------------v-----del-----Pg-----Qg----Pd----Qd-------------
bus = [ 1 1.04 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1;
2 1.02533 0.00 1.63 0.00 0.00 0.00 0.00 0.00 2;
3 1.02536 0.00 0.85 0.00 0.00 0.00 0.00 0.00 2;
4 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 3;
5 1.00 0.00 0.00 0.00 0.90 0.30 0.00 0.00 3;
6 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 3;
7 1.00 0.00 0.00 0.00 1.00 0.35 0.00 0.00 3;
8 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 3;
9 1.00 0.00 0.00 0.00 1.25 0.50 0.00 0.00 3];
r = size(line);
p = r(1);
w = line(:,2 );
buses = max(w);
% b=zeros(1,buses);
ybus = zeros(buses,buses);
y = zeros(buses,buses);
end
for i = 1:buses
for j = 1:buses
if i==j
ybus(i,j) = ybus(i,j)+sum(y(i,:)); %+ b(i);
end
if i~=j
ybus(i,j) = -1*y(i,j);
end
end
end
ybus;
b = -imag(ybus);
Pspec = Pg-Pd;
Qspec = Qg-Qd;
iter = 1;
slack = 1;
tolerance = .01;
flag=1
while flag==1;
m = real(ybus);
n = imag(ybus);
P = zeros(buses,1);
Q = zeros(buses,1);
iter= iter+1;
P
Q
%finding del P by v
for i=1:(buses-1)
if(i<slack)
delP(i,1)= Pspec(i)-P(i);
else
delP(i,1)=(Pspec(i+1)-P(i+1));
end
delPbyv(i,1)=delP(i,1)/v(i,1);
end
%finding del Q by v
c=0;
for i=1:buses
if bus(i,10)==3
c=c+1;
delQ(c,1)= (Qspec(i)-Q(i));
delQbyv(c,1)= delQ(c,1)/v(i,1);
end
end
if max(abs(delP))>tolerance | max(abs(delQ))>tolerance
flag=1; % tolerance check
else
flag=0;
end
%updating values
for i=1:(buses-1)
del(i+1,1)= del(i+1,1)+deldel(i,1);
end
c=0;
for i=1:buses
if bus(i,10)==3
c=c+1;
v(i,1)=v(i,1)+delv(c,1);
end
end
iter
v
del
end
**** This program necessitates the LINE DATA and BUS DATA of a given Network. So, specify
these matrices before debugging this program.
OBSERVATION :
This will consists of the output of MATLAB program giving different values of bus voltages,
bus angles, and Power flow.
CONCLUSION:
From this Experiment we can conclude that using Gauss seidel method different values of
bus voltages, bus angles, and Power flow can be calculated.
Practical 6 : (2 Hours):
Modeling single area and multi line Load frequency control in MATLAB SIMULINK.
AIM: Modeling single area and multi line Load frequency control in MATLAB SIMULINK.
APPARATUS:
1) MATLAB Software
2) Sim Power System Toolbox
THEORY:
PROCEDURE:
MATLAB SIMULATION:
Single Area System
CONCLUSION:
Single and multi area load frequency control involves the reduction of frequency deviation to
zero.
Practical 7 : (2 Hours):
APPARATUS:
1) MATLAB Software
2) Sim Power System Toolbox
THEORY:
1) what is AVR and state its operation?
PROCEDURE:
CONCLUSION:
Hence, Automatic voltage regulator controls the terminal voltage of the alternator by
controlling excitation voltage.
Practical 8 : (2 Hours):
Small signal stability analysis of single machine connected to infinite bus in MATLAB
SIMULINK.
AIM: - To Small signal stability analysis of single machine connected to infinite bus in MATLAB
SIMULINK.
APPARATUS:
1) MATLAB Software
2) SIM POWER SYSTEM Toolbox
THEORY:-
1. What is small signal stability?
2. explain Small signal stability analysis of single machine connected to infinite bus.
Simulation model:
RESULTS:
A three-phase generator rated 200 MVA, 13.8 kV, 112.5 rpm is connected to a 230 kV, 10,000 MVA
network through a Delta-Wye 210 MVA transformer. At t = 0.1 s, a three-phase to ground fault occurs
on the 230 kV bus. The fault is cleared after 6 cycles (t = 0.2 s)
In case of fault, accelaration of the rotor results into oscillationsin rotor angle delta.
Practical 9 : (2 Hours):
Modeling IEEE excitation systems in MATLAB SIMULINK
APPARATUS:
1) MATLAB Software
2) Sim Power System Toolbox
THEORY:
1. What is Excitation system?
2. What are types of excitation systems?
AC EXCITATION SYSTEMS:
Vref
The reference value of the stator terminal voltage, in p.u.
Vt
The measured value in p.u. of the stator terminal voltage of the controlled Synchronous Machine
block.
Ifd
The measured value in p.u. of the stator field current of the controlled Synchronous Machine block.
Vstab
Connect this input to a power system stabilizer to provide additional stabilization of power system
oscillations. When you do not use this option, connect to a Simulink ground block. The input is in
p.u.
Efd
The field voltage to apply to the Vf input of the controlled Synchronous Machine block. The output is
in p.u.
DC EXCITATION SYSTEMS:
Vref
The reference value of the stator terminal voltage, in p.u.
Vt
The measured value in p.u. of the stator terminal voltage of the controlled Synchronous Machine
block.
Vstab
Connect this input to a power system stabilizer to provide additional stabilization of power system
oscillations. When you do not use this option, connect to a Simulink ground block. The input is in
p.u.
Efd
The field voltage to apply to the Vf input of the controlled Synchronous Machine block. The output is
in p.u.
Vref
The reference value of the stator terminal voltage, in p.u.
Vt
The measured value in p.u. of the stator terminal voltage of the controlled Synchronous Machine
block.
It
It The measured value in p.u. of the stator terminal current of the controlled Synchronous Machine
block.
Ifd
The measured value in p.u. of the stator field current of the controlled Synchronous Machine block.
Vstab
Connect this input to a power system stabilizer to provide additional stabilization of power system
oscillations. When you do not use this option, connect to a Simulink ground block. The input is in
p.u.
Efd
The field voltage to apply to the Vf input of the controlled Synchronous Machine block. The output is
in p.u.
CONCLUSION:
“IEEE Recommended Practice for Excitation System Models for Power System Stability
Studies” gives the model
ing of different excitation systems.
.
Practical 10 : (2 Hours):
REPRESENTATION OF SEQUENCE NETWORKS.
APPARATUS:
1) MATLAB Software
2) SIM POWER SYSTEM Toolbox
THEORY:-
The theory of symmetrical components resolves any set of unbalanced voltages or currents into
three sets of symmetrical balanced phasors. These are known as positive, negative and zero-sequence
components. Fig. shows balanced and unbalanced systems.
Consider the symmetrical system of phasors in Fig. 7.2. Being balanced, the phasors have equal
amplitudes and are displaced 120 relative to each other. By the definition of symmetrical
components, V b1 always lags V a1 by a fixed angle of 120 deg .and always has the same magnitude
as V a1 . Similarly V c1 leads V a1 by 120 deg. It follows then that,
Where the subscript (2) designates the negative-sequence component and subscript (0) designates
zero-sequence components. For the negative-sequence phasors the order of sequence of the maxima
occur cba, which is opposite to that of the positive-sequence. The maxima of the instantaneous values
for zero-sequence occur simultaneously.
In all three systems of the symmetrical components, the subscripts denote the
components in the different phases. The total voltage of any phase is then equal to the
sum of the corresponding components of the different sequences in that phase. It is nowpossible to
write our symmetrical components in terms of three, namely, those referred to the a phase
Similarly phase currents can be derived from symmetrical components of currents bys using relation
ship
RESULTS:
CONCLUSION: Symmetrical components of voltages or currents resolves that quantity into a set of
three balanced vectors using ‘a’ operator. This helps in understanding the behavior of the unbalanced
quantity and used in fault analysis
Practical 11 : (2 Hours):
APPARATUS:
1) MATLAB Software
2) Sim Power System Toolbox
Theory:-
1.Explain in detail the turbine and governor
MATLAB SIMULATION:
OBSERVATION :
Observe the speed regulation waveform in which speed regulations are reduced to zero.
CONCLUSION:
(b) plot swing curve if fault is cleared by isolating line in 0.1 seconds.
THEORY:-
Swing equation being a non linear equation, numerical methods are use to solve it.
Point by Point method is one of the classical solutions to solve swing equation. Below is a solution of
swing equation for a machine connected to infinite bus through two parallel lines. Swing equation is
drawn for a persisting fault in one of the parallel line and also after fault is cleared. Stability of
system is concluded after analyzing the swing curve. clearing angle is calculated for system stability.
Problem: - f = 50Hz generator 50 MVA supplying 50 MW with inertia constant 'H' = 2.7
MJ/MVA at rated speed. E = 1.05 pu ,V = 1 pu, X1 = X2 = 0.4 pu. three phase fault at line 2.
(b) plot swing curve if fault is cleared by isolating line in 0.1 seconds.
MATLAB PROGRAM:-
MVA base = 50
GIVEN:-
prefault condition
del = 0:pi/10:pi;
del1 =del;
del2 = del;
During fault
plot(del,Peo);
set(gca,'XTick',0:pi/10:pi);
set(gca,'XTickLabel',{'0','','','','','pi/2','','','','','pi'});
title('Power Curve');
xlabel('Load angle');
ylabel('Genpower');
text(pi/2,2.75,'2.625*sin\delta','HorizontalAlignment','center');
hold all
plot(del1,Pe2);
text(pi/2,1.80,'1.05*sin\delta','HorizontalAlignment','center');
plot(del2,Pe3);
text(pi/2,1.1,'1.75*sin\delta','HorizontalAlignment','center');
hold off
t1 = 0:t:0.5;
Similarly develop for
at t = 0-, Pa1 = 0
at t = 0 ,Pa =Pa1+Pa2/2
(b) Fault cleared in 0.10 seconds ,2nd step ---- 3rd element [1]0 [2] 0.05,[3]0.10
c1 = ((delm-delo)-(1.05*cos(delo))+(1.75*cos(delm)))/(1.75-1.05);
PROGRAM RESULTS:-
CONCLUSION:-
4. Conduction of Viva Voce Examination:
Teacher should take oral exams of the students with full preparation. Normally, the
objective questions with guess are to be avoided. To make it meaningful, the questions should be
such that depth of the students in the subject is tested Oral examinations are to be conducted in
cocordial environment amongst the teachers taking the examination. Teachers taking such
examinations should not have ill thoughts about each other and courtesies should be offered to
each other in case of difference of opinion, which should be critically suppressed in front of the
students.
The marking patterns should be justifiable to the students without any ambiguity and
teacher should see that students are faced with unjust circumstances.