(i) To understand modeling and analysis of small signal stability of a SMIB system.
(ii) To obtain linearized swing equation and to determine the roots of characteristic equation,
damped frequency and undamped natural frequency of oscillation.
SOFTWARE REQUIRED
MATLAB 7.0
THEORY
Small signal stability is the ability of the power system to maintain synchronism when subjected to
small disturbances. A disturbance is considered to be small if the equations that describe the resulting
response of the system can be linearized for the purpose of analysis. Instability is of two forms
1) Steady increase in generator rotor angle due to synchronizing torque.
2) Rotor oscillations of increasing amplitude due to insufficient damping torque.
For small disturbance, the nonlinear equations characterizing the dynamics of the system may be
linearized around an operating point for the purpose of analysis. Small signal stability using linear
techniques provides valuable information about the dynamics of the system and assists in its design. The
location of the roots of the characteristic equation of the linearized differential equation will reveal the
stability status of the system. We can also obtain the response of rotor angle and frequency of the rotor of
the synchronous machines.
Modelling For Small Signal Stability
Let us consider a system as shown in the Fig.
Fig 1.1
Ex. No:
SMALL SIGNAL STABILITY ANALYSIS OF A SINGLE
MACHINE INFINITE BUS SYSTEM USING CLASSICAL
MACHINE MODEL
Date :
For the purpose of analysis the system of Fig 1.1(a) may be reduced to the form of Fig 1.1(b) by using
Thevenin’s equivalent of the transmission network external to the machine and the adjacent transmission.
Because of the relative size of the system to which the machine is supplying power, dynamics associated
with the machine will cause virtually no change in the voltage and frequency of Thevenin’s voltage V
B
.
Such a voltage source of constant voltage and frequency is referred to as infinite bus.
Generator Represented By Classical Model
With the generator represented as classical model and all resistances neglected, the system
representation is shown in figure. Here E' is the voltage behind X
d
'. Its magnitude is assumed to remain
constant at the predisturbance value. Let δ be the angle by which E
’
leads the infinite bus voltage E
B
. As
the rotor oscillates during a disturbance δ changes.
With E
’
as reference phasor,
Fig 1.2 Equivalent circuit of SMIB system
The complex power behind X
d
' is given by
(1.1)
With stator resistance neglected, the air gap power (P
e
) is equal to the terminal power (P). In per
unit, the air gap power is equal to the air gap torque
(1.2)
Linearizing about an initial operating condition represented by δ=δ
o
yields
(1.3)
The equation of motion in per unit is
(1.4)
Where ∆ω
r
is the per unit speed deviation, δ is the rotor angle in electrical radians ω
o
is the base rotor
electrical speed in radians per second and p is the differential Operator d/dt with time t in seconds
Linearizing (1.4) and substituting for ∆T
e
we get
(1.5)
Where K
s
is the synchronizing torque coefficient given by
(1.6)
Writing the equations (1.5) and (1.6) in vector matrix form we get
(1.7)
This is of the form X’=AX +bu. The elements of the state matrix are seen to be dependent on the
system parameters K
D
,H, X
T
and the initial operating condition represented by the values of E’ and δ
o
.
The block diagram representation shown in the Fig 1.3 can be used to describe small signal performance.
From the block diagram (1.3) we have
On rearranging, we get,
(1.8)
Therefore the characteristic equation is given by
(1.9)
This is of the general form
Therefore the undamped natural frequency is
and the damping ratio is
As the synchronizing torque coefficient K
s
increases, the natural frequency increases and the damping
ratio decreases. An increase in damping torque coefficient K
D
increases the damping ratio, whereas an
increase in inertia constant decreases both ω
n
and ζ.
Fig 1.3 Block diagram of SMIB System with classical generator model
Where,
PROCEDURE
1. Enter the command window of the MATLAB.
2. Create a new M – file by selecting File  New – M – File.
3. Type and save the program in the editor window.
4. Execute the program by pressing Tools – Run.
5. View the results.
EXERCISE
Fig. shows a system representation applicable to a thermal generating station consisting of four
555MVA, 24 KV, 60 Hz units.
The network reactances are in per unit on 2220 MVA, 24 KV base (referred to the LT side of the
step up transformer). Resistances are assumed to be negligible. The objective of this example is to
analyze the small signal stability characteristics of the system about the steady state operating condition
following the loss of circuit 2. The post fault condition in per unit on the 2220 MVA, 24 KV base is as
follows:
The generators are to be modeled as a single equivalent generator by the classical model with the
following parameters expressed in per unit on 2220 MVA, 24 KV base:
X
d
'=.65 H=9.94MWs/MVA
PROGRAM
disp('SMALL SIGNAL STABILITY ANALYSIS OF SMIB');
% ks=synchronizing torque coefficient in pu torque/rad
% kd=damping torque coefficient in pu torque/pu speed deviation
% H=inertia constant in MWs/MVA
% wr =speed deviation in pu
% del=rotor angle deviation in elec. rad = Laplace operator =
rated speed in elec. rad/s =
% 2nf0 = 377 for a 60 Hz system
% S=Laplace operator
% wo=rated speed in elec. rad/s = 2nf0 = 377 for a 50 Hz system
f=input('enter the no of kd');
for k=1:f
kd(k)=input(':');
end
ET=1;
ETang=36;
%Eb=0.995;
Eb=1;xd=.3i;x1=.15i;x2=.5i;p=0.9;q=0.3i;sdel=.0873;swr=0;m=p+q;
IT=conj(m)/ET;
xt=xd+x1+x2;
E=ET+(xd*(IT));
Eang=angle(E)*(180/pi);
delnot=ETang+Eang;
ks=((abs(E)*Eb)/abs(xt))*cos(delnot*(pi/180));
wo=2*pi*60;
for k=1:f
ss=[.143*kd(k) .108
wo 0];
lh=poly(ss);
wn=sqrt(lh(3))/(2*pi) ;
del=(lh(2))/(2*sqrt(lh(3))) ;
lamda=roots(lh);
wd=wn*sqrt(1(del*del));
res(:,k)=[lamda' wd' del' wn'];
%disp([lamda' wd' del' wn']);
end
kd=input('enter the kd value:');
ss=[.143*kd .108
wo 0];
[vb,DB] = eig(ss);
shi=inv(vb);
% ppp=VB*transpose(shi)
vb
shi
par=[vb(1,1)*shi(1,1) vb(1,2)*shi(2,1)
vb(2,1)*shi(1,2) vb(2,2)*shi(2,2) ]
c=(shi)*[swr;sdel]
OUTPUT:
SMALL SIGNAL STABILITY ANALYSIS OF SMIB
enter the no of kd3
:0
:10
:10
enter the kd value:10
vb =
0.0019 + 0.0168i 0.0019  0.0168i
0.9999 0.9999
shi =
0.0000 29.7324i 0.5001  0.0564i
0.0000 +29.7324i 0.5001 + 0.0564i
par =
0.5000 + 0.0564i 0.5000  0.0564i
0.5000  0.0564i 0.5000 + 0.0564i
c =
0.0437  0.0049i
0.0437 + 0.0049i
RESULT
AIM
(i) To understand the modeling and analysis of small signal stability of a multi machine
power system.
(ii) To obtain linearized swing equation and to determine the roots of characteristic equation
damped frequency of oscillation and undamped natural frequency.
SOFTWARE REQUIRED
MATLAB 7.8
THEORY
Small signal stability is the ability of the power system to maintain synchronism when
subjected to small disturbances. A disturbance is considered to be small if the equations that describe the
resulting response of the system can be linearized for the purpose of analysis. Instability is of two forms
1) Steady increase in generator rotor angle due to synchronizing torque.
2) Rotor oscillations of increasing amplitude due to insufficient damping torque.
For small disturbance, the nonlinear equations characterizing the dynamics of the system
may be linearized around an operating point for the purpose of analysis. Small signal stability using linear
techniques provides valuable information about the dynamics of the system and assists in its design. The
location of the roots of the characteristic equation of the linearized differential equation will reveal the
stability status of the system. We can also obtain the response of rotor angle and frequency of the rotor of
the synchronous machines.
Modelling For Small Signal Stability
For system stability studies it is appropriate to neglect the transmission network and machine stator
transients. The dynamics of machine stator transients, machine rotor circuits, excitation systems, prime
mover and other devices are represented by ODE. The result is that the complete system model consists of
a large number of ordinary differential and algebraic equations.
Ex. No:
SMALL SIGNAL STABILITY ANALYSIS OF MULTI
MACHINE CONFIGURATION WITH CLASSICAL
MACHINE MODEL
Date :
Fig.2.1 Structure of a complete power system
Formulation State Equation
The linearized model of each dynamic device is expressed in the following form
Modeling of synchronous machines
Classical model of synchronous machines is considered with the q axis leading the d axis. The
dynamic equations are
( )
s i
i
i
D
i
ei
i
m
i
dt
d
H
K
H
T
H
T
dt
d
i i
e e
o
e
÷ =
÷ ÷ =
2 2 2
(2.1)
where,
i  1… m number of machines
δ  Rotor angle in electrical radians
ω
s
 Synchronous speed in electrical rad/s
ω  Rotor angular velocity in rad/s
T
m
 Mechanical torque of synchronous generator
H  Inertia constant
D  Damping constant
The Equations are linearized around a steadystate operating point in order to see the effect
of small disturbances on the system. The steadystate operating point is obtained from the load flow
results. The linearized state Equations are:
i s
i
i
i D
i
e
i
m
i
dt
d
H
K
H
T
H
T
dt
d
i i
e e
o
e
e
A =
A
A
÷
A
÷
A
=
A
2 2 2
1
(2.2)
The Equations (2.2) are functions of network variables. To express the network variables in
terms of the state variables coordinated transformation is carried out.
Coordinate Transformation
Network equations for the 14 bus system with reduced Ybus are given as:
(
(
(
(
(
¸
(
¸
(
(
(
(
¸
(
¸
=
(
(
(
(
(
¸
(
¸
m mm m m
m
m
m
i
E
E
E
Y Y Y
Y Y Y
Y Y Y
I
I
I
'
2
'
1
'
2 1
2 22 21
1 12 11
2
Let T be the transformation matrix that transforms the d and q quantities of all machines to system
frame, which a common reference frame is moving at synchronous speed. T is given as:
(
(
(
(
(
¸
(
¸
=
m j
j
e
e
T
o
o
0 0
0 0
0 0
1
Network equations in individual machine dq coordinates are:
 
1
( =
¸ ¸
I M E
(2.3)
where, M is given as
Linearizing Equation (2.3) we get
(2.4)
where,
(
(
(
¸
(
¸
=
÷
÷
mm
j
m
j
m
Y e Y
e Y Y
M
m
m
10
0 1
1
1 11
0
o
o
  
1 ÷
( =
¸ ¸
M T Y T
   
{ }{ }
1 1
0 0 0 0
(
( ( (
A = A ÷ A ÷ A
( ¸ ¸ ¸ ¸ ¸ ¸
¸ ¸
I M E j M M E o o
(
(
(
(
(
¸
(
¸
+
+
+
+
=
40
' '
40
30
' '
30
20
' '
20
10
' '
10
'
0
m
r
d
q
d
q
d
q
jE E
jE E
jE E
jE E
E
(
(
(
(
(
¸
(
¸
A + A
A + A
A + A
A + A
= A
4
4
3
3
2
2
1
1
m
r
d
q
d
q
d
q
E j I
I j I
I j I
I j I
I
From Equation (2.4) the real and imaginary parts can be separated out and the q and d components of ∆I
can be obtained. They are then substituted in the state equations to eliminate the algebraic variables.
Expressing the state equations in the standard canonical form ,
Bu Ax
dt
dx
+ =
where,
 
t
i i
x ] [ o e A A =
and A is the state space matrix.
PROCEDURE
1) Write down the algebraic equations in network coordinates in the nodal form. While doing
this the machine internal nodes are explicitly included. The loads are represented as constant
admittance matrices.
2) Eliminate all passive nodes. This results in a reduced set of algebraic equations.
3) Transform the reduced set of equations obtained in step 2 to individual machine qd
coordinates.
4) Linearize the transformed equations obtained at the end of step 3.
5) Linearize the differential equations for the machine. The resulting equations will contain
incremental changes in algebraic variables.
6) Eliminate the incremental changes in algebraic variables from the linearized the differential
equations obtained in step 5 using the expressions obtained for incremental changes in step
4. The resulting equation will be in the state variable canonical form.
7) Apply eigenvalue technique for stability assessment.
1
2
3
(
(
(
(
(
(
¸ ¸
A
A = A
A
I
I I
I
EXERCISE
To determine the small signal stability of the power system shown in Fig
Fig 2.2 Single line diagram of sample bus system
TABLE 2.1 ANDERSON AND FOUAD 3 MACHINE 9 BUS SYSTEM DATA
Generator 1 2 3
Rated MVA 247.5 192 128
kV 16.5 18 13.8
Power factor 1.0 0.85 0.85
Type hydro steam steam
Speed 180 r/min 3600 r/min 3600 r/min
X
d
(p.u) 0.1460 0.8958 1.3125
X
d
’
(p.u) 0.0608 0.1198 0.1813
X
q
(p.u) 0.0969 0.8645 1.2578
X
q
’(p.u) 0.0969 0.1969 0.25
X
l
(p.u) 0.0336 0.0521 0.0742
T
d0
’ (s) 8.96 6 5.89
T
q0
’ (s) 0 0.535 0.6
Stored energy at rated speed (MWs) 2364 640 301
TABLE 2.2 BUS DATA
Bus No P
g
(p.u) P
D
(p.u) Q
D
(p.u) V (p.u) Q
max
(p.u)
Q
min
(p.u)
1    1.04 1 1
2 1.63   1.025 1 1
3 0.85   1.025 1 1
4  0 0   
5  1.25 0.5   
6  0.9 0.3   
7  0 0   
8  1.0 0   
9  0 0   
Type 1Slack Bus; Type 2PV Bus; Type 3PQ Bus
PROGRAM
clear all;
clc;
%'multimachine system'
Mva=160;
Xdt=0.49;
Xt=0.8;
Ke=379.2;
W0=(2*60*3.14);
Pf1=0.85;
Pf2=0.85;
P1=0.5;
P2=0.5;
Vt=1.0+j*0.0;
q1=0.5*(tan(acos(Pf1)));
q2=0.5*(tan(acos(Pf2)));
i1=(P1j*q1)/(conj(Vt));
i2=(P2j*q2)/(conj(Vt));
eq1=Vt+j*Xdt*i1;
eq2=Vt+j*Xdt*i2;
d10=angle(eq1);
d20=angle(eq2);
il=i1+i2;
Vl=Vtj*Xt*i1;
yl=il/Vl;
Z=[j*1.29 inf j*1.29;
inf j*1.29 j*1.29;
j*1.29 j*1.29 (1/(yl+(1.5504*j)))];
for i=1:3
for j=1:3
y(i,j)=1/Z(i,j);
end
end
y
eq=[eq1+j*0 eq2+j*0];
ygg=y(1:2,1:2);
ygng=y(1:2,3:3);
yngg=y(3:3,1:2);
yngng=y(3:3,3:3);
yggr=ygg(ygng*(inv(yngng))*yngg);
d12=d10d20;
m=[yggr(1,1) yggr(1,2)*exp(j*d12);
yggr(2,1)*exp(j*d12) yggr(2,2)]
b=imag(m)
t13=((b(2,1))*abs(eq1)*abs(eq2));
t23=((b(2,1))*abs(eq1)*abs(eq2));
h=Ke/(2*Mva);
dw12=(t13t23)/(2*h)
a=[0 dw12;
W0 0]
lamda=eig(a)
wn=imag(lamda(1))
fn=(wn/(2*3.14))
OUTPUT:
y =
0  0.7752i 0 0 + 0.7752i
0 0  0.7752i 0 + 0.7752i
0 + 0.7752i 0 + 0.7752i 1.3781  1.6415i
m =
0.1803  0.5605i 0.1803 + 0.2147i
0.1803 + 0.2147i 0.1803  0.5605i
b =
0.5605 0.2147
0.2147 0.5605
dw12 =
0.2513
a =
0 0.2513
376.8000 0
lamda =
0 + 9.7309i
0  9.7309i
wn =
9.7309
fn =
1.5495
RESULT
AIM
(i) To understand the significance of relay coordination in power system protection.
(ii) To manually perform relay coordination of a radial distribution system, to determine the
T.M.S, PSM settings and validate the results using MATLAB.
SOFTWARE USED
MATLAB 7.8
THEORY
Relay
A protective relay is a complex electromechanical apparatus, often with more than one coil,
designed to calculate operating conditions on an electrical circuit and trip circuit breakers when a fault is
detected. Unlike switching type relays with fixed and usually illdefined operating voltage thresholds and
operating times, protective relays have wellestablished, selectable, time/current (or other operating
parameter) curves.
Such relays may be elaborate, using arrays of induction disks, shadedpole magnets, operating and
restraint coils, solenoidtype operators, telephonerelay style contacts, and phaseshifting networks.
Protection relays respond to such conditions as overcurrent, overvoltage, reverse power flow, over and
under frequency, and even distance relays that would trip for faults up to a certain distance away from a
substation but not beyond that point. An important transmission line or generator unit will have cubicles
dedicated to protection, with a score of individual electromechanical devices. The various protective
functions available on a given relay are denoted by standard ANSI device numbers.
Table List of commonly used relay device numbers
Relay device function number Protective function
21
Distance
25 Synchronizing
27 Undervoltage
32 Directional power
40 Loss of excitation(field)
46 Phase balance (current balance , negative sequence balance)
47 Phase sequence voltage
49 Instantaneous overcurrent
50 Time overcurrent
51 Time  Overcurrent
59 Over voltage
60 Voltage balance
67 Dirctional Overcurrent
81 Frequency (Under and Over frequency)
86 Lockout
87 Differential
Ex. No:
COORDINATION OF OVERCURRENT AND
DISTANCE RELAYS FOR RADIAL LINE PROTECTION
Date :
The different types of overcurrent relays used are
 Instantaneous over current relay Operation is instantaneous in the sense that the relay
has no intentional time delay. Time setting is absent.
 Definite time over current relay  A definite time delay can be set after which the relay
operates. It has both time setting and plug setting.
 Inverse definite time overcurrent relay The operating time of the relay is inversely
proportional to the magnitude of fault current.
Need For Relay Coordination
Relay coordination is the process of determining the settings for the relays that will provide
an orderly shutdown and determine the sequence of relay operation with sufficient margin. It is by means
of relay coordination that we ensure that if a fault occurs in a network only the breaker nearest to the fault
operates leaving the healthy sections in service. This can be achieved by time grading or discrimination by
time in which the relay farthest from the source is set to operate first and others follows it. If relay
coordination is not performed it may result in
a) Loss of selectivity resulting in nuisance tripping.
b) Loss of reliability of power supply to the healthy parts of the power system.
To Perform Relay Coordination
The mathematical expression to arrive at the required characteristics of a relay has been
specified by IEEE ad IEC
where,
I = Fault current level in CT secondary
I
p
= Pick up current selected
t =Tripping time
T
p=
TMS (Time Multiplier Setting).
The values of α, β, L for the different types of over current relays have been specified by IEC as follows
TableRelay types and the constant values
Curve description Standard alpha beta L
Moderately Inverse IEEE .02 .0515 .114
Very Inverse IEEE 2.0 19.61 .491
Extremely Inverse IEEE 2 28.2 .1217
Standard Inverse IEC .02 .14 0
Very Inverse IEC 1 13.5 0
Extremely Inverse IEC 2 80 0
Long time inverse IEC 1 120 0
[sec]
( / ) 1
p
p
t T L
I I
o

= +
÷
PROCEDURE
1. Draw the single line diagram of the radial distribution system with the ratings of all the
concerned equipments noted down.
2. Compute the nominal current that would flow through the system.
3. Compute the short circuit current (IEC standard or IEEE standard red book or buff book )
4. CT ratio is selected depending on the magnitude of the load current.
5. The relay to be used and its placement is then determined
6. Compute the pickup setting and time setting.
7. Plot the time Vs current characteristics of all relay and verify their coordination. (The plot
should include the thermal characteristics of the relays also).
8. If characteristics intersect the procedure must be repeated for another suitable value of
TMS.
EXERCISE
To perform relay coordination of the radial distribution systems given below i.e., to suitably
places the relays and determine the T.M.S (Time Multiplier Setting) and P.S.M (Plug Setting Multiplier)
Fig 4.1 Single line diagram of radial distribution system
PROGRAM
'FOR RELAY R4'
TMS4=0.044;
psm=1;
for i=1:10
top=(0.14*TMS4)/((psm^0.02)1);
top4(i)=top;
psm4(i)=psm;
psm=psm+10;
end
'FOR RELAY R3'
TMS3=0.0129;
psm=1;
for i=1:10
top=(0.14*TMS3)/((psm^0.02)1);
top3(i)=top;
psm3(i)=psm;
psm=psm+10;
end
'FOR RELAY R2'
TMS2=0.178;
psm=1;
for i=1:10
top=(0.14*TMS2)/((psm^0.02)1);
top2(i)=top;
psm2(i)=psm;
psm=psm+10;
end
'FOR RELAY R1'
TMS1=0.221;
psm=1;
for i=1:10
top=(0.14*TMS1)/((psm^0.02)1);
top1(i)=top;
psm1(i)=psm;
psm=psm+10;
end
plot(psm4,top4,'',psm4,top3,'',psm4,top2,'',psm4,top1,'')
OUTPUT:
RESULT
AIM
To understand the starting characteristics of slip ring induction motor.
SOFTWARE REQUIRED
MATLAB 7.8
THEORY
1. Induction Motor Data
Required data for motor starting calculations for induction motors includes:
 Induction Motor ID.
 Rated KW/HP and KV.
 Power factors and efficiencies at 100%, 75%, and 50% loading.
 Loading Category ID and % loading.
 Equipment cable data
2. Static Load Data
Required data for motor starting calculation for static loads includes:
2.1 Static Load ID
 Rated KVA/MVA and KV.
 Power factors at 100%, 75%, and 50% loading
 Loading Category ID and % Loading
 Equipment cable data.
2.2 MOV Data
Required data for motor starting calculation for MOV includes:
2.2.1MOV ID
 Rated kW/hp and kV
 Current, PF, and time for each operation stage
 Equipment cable data
3. Capacitor Data
Required data for motor starting calculation for capacitor includes:
 Capacitor ID
 Rated kV, KVAR/bank and number of banks
 Loading category ID and % loading
 Equipment cable data.
Ex. No:
INDUCTION MOTOR STARTING ANALYSIS
Date :
4. Lumped Load Data
Required data for motor starting calculation for lumped load includes:
 Load ID
 Rated KV, MVA, power factor, and % for motor load
 Loading category ID and % loading
Additional Data for Starting Motors
For static motor starting studies, the additional data includes:
 Motor lockedrotor impedance and power factor
 Motor acceleration time at no load and full load
 Start and final percent loading and begin and end of load change time
 Starting device data when needed
 No load and full load accelerated time (for static motor starting)
For Dynamic Motor Acceleration studies, the additional data includes:
 Dynamic motor model for induction motors
 LR model for synchronous motors
 Load torque model
 Motor inertia
STUDY CASE DATA
There are some study case related data, which must also be provided. This data includes:
 Study Case ID
 Maximum number of iteration
 Precision of solution
 Total simulation time, simulation time step, and plot time step
 Prestart loading (loading category)
 Initial condition
 Transformer LTC data
 Equipment adjustment options
 Alert option
PROGRAM
clc;
clear all;
v1=1.026+j*0.0;
BaseMVA=1e7;
MVA=125e6;
zs=BaseMVA/MVA;
zc=0.0;
zst=0.0;
ztr=0.0001+j*0.0001;
J=63.87;
R1=0.029;
R2=0.022;
X1=0.226;
X2=0.226;
Ns=1800;
ws=(2*pi*Ns/60);
% speed PF ang Iratio
data=[ 0.0 6.0 9.0 0.0;
10.0 5.9 18.0 0.0;
20.0 5.8 20.0 0.0;
30.0 5.7 36.0 0.0;
40.0 5.6 50.0 0.0;
50.0 5.5 60.0 0.0;
60.0 5.5 71.0 0.0;
70.0 5.4 81.0 0.0;
80.0 5.2 86.0 0.0;
90.0 4.0 88.0 0.0;
96.5 3.2 89.0 0.0;
98.5 1.7 91.0 0.0;];
n=length(data);
%PF=data(:,2)
%ang=data(:,3)
%Iratio=data(:,4)
t=0;
y=0;
for i=1:n
%for k=1:4
%Zm=(1/PF(i))*((ang/100)+sin(acos(ang/100))*j)
Zm=(1/data(i,2))*((data(i,3)/100)+sin(acos(data(i,3)/100))*j);
Zl=Zm*10/(2.098*3);
I=v1/(zs+ztr+Zl);
v3=abs(I*Zl*2300/1.732);
w=data(i,1)*ws/100;
s=(wsw)/ws;
R=(R1+R2/s)*(R1+R2/s);
X=(X1+X2)*(X1+X2);
Tm=((3*v3*v3*R2)/s)/(ws*(R+X));
Tacc=Tm(data(i,4)/100);
del=wy;
delt=(J*del)/Tacc;
t=t+delt;
t1(i)=t;
w1(i)=w;
I1(i)=I;
Tm1(i)=Tm;
s1(i)=s;
y=w;
%end
end
t1;
I1;
Tm1;
subplot(2,2,1);plot(t1,Tm1);
title('Torque Vs time');
subplot(2,2,2);plot(s1,Tm1);
title('Torque Vs slip');
subplot(2,2,3);plot(t1,I1);
title('current vs time');
subplot(2,2,4);
OUTPUT:
RESULT
AIM
(i) To understand the modeling of STATCOM (static synchronous compensator) for power flow
studies using Newton Raphson method.
(ii) To investigate the operating principle and power injection modeling of STATCOM.
(iii)To investigate the control and operating limits of STATCOM.
SOFTWARE REQUIRED
MATLAB 7.8
THEORY
Power Injection Model of STATCOM
Accurate power flow calculation should consider the steady state losses of STATCOM. The
converter losses include mainly three parts: the power losses in the dc capacitor, the switching losses, and
conduction losses. The percentage of each loss component relates to the control mode of STATCOM and
the steadystate operating point.
The equivalent circuit of STATCOM is shown in Fig 5.1. In this circuit, the inductance, x
s
represents the leakage inductance of the transformer, the series resistance, r
s
represents the sum of the
switching and conduction losses, and the shunt resistance, r
p
represents the power losses in the dc capacitor.
From Fig.5.1, it can be seen that the VSC acts as an ac voltage source behind equivalent
impedance, where both magnitude and Phase angle of the source are controllable. The voltage vector is
given as,
(5.1)
where,
V
dc
= dc voltage across the capacitor
k
c
= converter dc to ac gain
k
t
= Ratio of the coupling transformer.
m = Modulation ratio of PWM control
α = Control angle of VSC
Fig.5.1 Equivalent circuit of STATCOM
c c t dc
V k k mV = Zo
Ex. No:
LOAD FLOW ANALYSIS OF TWOBUS SYSTEM WITH
STATCOM Date :
The current injected by STATCOM into the ac system is given as,
(5.2)
Where, is the voltage of ac system bus s, and
(5.3)
The active and reactive power injections of STATCOM into the ac system are given as,
(5.4)
(5.5)
Then the power balance equations at the ac system bus, are expressed as,
(5.6)
(5.7)
where, = P
S
– P
D
(5.8)
= Q
S
 Q
D
(5.9)
and are calculated real and reactive powers respectively at bus s. and are fixed for
load buses. is fixed for generation buses. As the STATCOM being connected to the ac system at bus
s, and are not fixed. Since real and reactive power exchange between the ac system and
STATCOM is varying.
The active power output at the ac side of VSC is given as,
(5.10)
The real power of dc side of VSC is given as,
(5.11)
The power balance between the ac and dc side of the STATCOM is given as,
(5.12)
The active power exchange equation is given as,
(5.13)
c s
s
s
V V
I
Z
÷
=
s s s
V V = Zu
s s s s
Z Z r jx = Z = +
2
* c t dc s s s
s s s
s
k k mV V cos( ) V cos
P Re(V I )
Z
u ÷ o+ ÷ 
= =
2
* c t dc s s s
s s s
s
k k mV V sin( ) V sin
Q Im(V I )
Z
u ÷ o + ÷ 
= =
sch cal
s s s
P P P A = ÷
sch cal
s s s
Q Q Q A = ÷
sch
s
P
sch
s
Q
cal
s
P
cal
s
Q
sch
s
P
sch
s
Q
sch
s
P
sch
s
P
sch
s
Q
2
* c c s s
ac c s
s
V cos V V cos( )
P Re(V I )
Z
 ÷ o÷u +
= =
dc dc
dc dc dc dc dc
p
dV V
P V I V (C )
dt r
= = +
ac dc
P P =
ex ac dc
P P P = ÷
By substituting Equations (5.10) and (5.11) in Eq.(5.13) and setting , the active power
exchange equation is reduced to,
(5.14)
Control Strategies of STATCOM
With the developments on power electronic switches, PWM control is becoming a more practical
technology for power system applications. In PWM control, switching losses associated with the relatively
fast switching of the electronic devices have an important effect on the power flow calculation, as these
have a direct effect on the charging and discharging of the dc capacitor, and hence should be considered in
the modeling. The proposed model can readily be adapted to represent PWM and phase control of
STATCOM. In Fig.5.1, eliminating the dc voltage control loop will yield the basic diagram of a controller
with a typical phase control strategy.
The output voltage magnitude of the VSC relates to the dc side voltage and the control strategy of
itself. If the VSC applies the phase control, the magnitude is a function of the dc side voltage and the phase
angle of the VSC. If the PWM mode is applied, the output voltage magnitude is a function of the control
phase angle and the modulation ratio of the PWM.
Operating limits of STATCOM
It is very important to adequately address the system limits when studying voltage stability. Voltage
collapse often occurs as a consequence of some devices hitting their limits in a heavily stressed power
system. For a STATCOM, the limits on the ac current, I
s
modulation ratio, m phase angle, α and dc voltage,
V
dc
. can be directly introduced into this model. Because the current limit is the main limiting factor in VSC
based devices, this thesis will implement it in NR power flow. Either the maximum limit, or minimum
limit, is reached, depending on whether the controller is operating in the inductive or capacitive
domain.
Newton Raphson Equations with Control and Operating Limits of STATCOM
In order to implement the STATCOM model in NR power flow, two augmented bus types are
introduced, which are used to representing the specific control strategy and the operating limits of
STATCOM.
One is an augmented PV bus, namely APV. This is a controlled bus where the active and reactive
power injections and the voltage magnitude are specified, while the voltage phase angle of ac system bus,
control angle and/or modulation ratio and/or dc voltage of STATCOM are treated as the state variables.
dc
V 0 =
2
ex p c t dc s dc p c t s s
P r (k k m) V cos Z V r k k mV cos( ) 0 = + ÷ o÷u + =
max
s
I
min
s
I
Fig 5.2 Bus types conversion and enforcement of the operating limit
The other is an augmented PQ bus, namely APQ. This is an uncontrolled bus where the active and
reactive power injections are specified, while the voltage magnitude and angle of ac system bus and the dc
voltage of STATCOM are treated as the state variables in its place. When the ac current I
s
lies between
and the bus is treated as APV type, otherwise it is APQ type. Fig.5.2 shows the conversion of bus
types and the enforcement of the current limit.
In order to implement the model in NR power flow, the STATCOM control strategy must be properly
expressed. As mentioned above, there are two control strategies for STATCOM and different variables must
be selected depending on whether a PWM or phase control is used in the controller. For PWM control, the
control variables are modulation ratio, m and control phase angle α, and the control objective is to maintain
the dc voltage V
dc
and ac voltage V
s
at their reference value. For phase control, the control variable is phase
angle α, and control objective is to maintain the ac voltage V
s
at the reference value.
According to the operating principles, control strategies and operating limit of STATCOM, the
augmented NR power flow equations are described as follows:
(I) Phase Control Strategy
In unconstraint operation and phase control strategy of STATCOM, the modulation ratio m is given a
certain value, and ac bus s is set as APV type. The augmented NR power flow equations are given by,
(5.15)
min
s
I
max
s
I
s s s
s dc
s s
s s s
s dc
s dc
ex
ex ex ex
s dc
P P P
V
P
Q Q Q
Q V
V
P
P P P
V
( cA cA cA
(
cu c co
(
A Au ( (
(
cA cA cA
( (
A = ÷ A
(
( (
cu c co
(
( Ao (
¸ ¸ ¸ ¸
(
c c c
(
cu c co
¸ ¸
(II) PWM Control Strategy
In unconstraint operation and PWM control strategy of STATCOM, the dc voltage V
dc
is assigned a
certain value, and bus s is set as APV type, Jacobian elements in detail are illustrated in Appendix B and the
augmented NR power flow equations are given by,
(5.16)
(III) Enforcement of the current limit
Whether STATCOM is operating with PWM control or phase control, if the ac current limit ( or
) is violated, it will act as an unregulated voltage compensator whose production or absorption reactive
power capabilities will be a function of the nodal voltage at the STATCOM point of connection. In this
situation, the phase angle α and/or modulation ratio m of the VSC are fixed at the values corresponding with
or , and the dc voltage, V
dc
is uncontrollable. Then the ac system bus s is converted to APQ type,
and the augmented NR power flow equations are given as,
(5.17)
s s s
s
s s
s s s
s
s
ex
ex ex ex
s
P P P
m
P
Q Q Q
Q
m
P m
P P P
m
( cA cA cA
(
cu co c
(
A Au ( (
(
cA cA cA
( (
A = ÷ Ao
(
( (
cu co c
(
( A (
¸ ¸ ¸ ¸
(
c c c
(
cu co c
¸ ¸
min
s
I
max
s
I
min
s
I
max
s
I
s s s
s s dc
s s
s s s
s s
s s dc
ex dc
ex ex ex
s s dc
P P P
V V
P
Q Q Q
Q V
V V
P V
P P P
V V
( cA cA cA
(
cu c c
(
A Au
( (
(
cA cA cA
( (
A = ÷ A
(
( (
cu c c
(
( ( A
¸ ¸ ¸ ¸
(
c c c
(
cu c c
¸ ¸
256.6+110.2i
.0125+.025i .01+.03i
.02+.04i
2
1
3
138.6+45.2i
EXERCISE
Fig 5.3 Single line diagram of three bus system with STATCOM
To conduct the load flow analysis for three bus system shown in figure 5.3 with and without
STATCOM (placed at bus three) and demonstrate the voltage control by STATCOM for various loading
conditions:
STATCOM parameters
r
s
= 0.01
X
s
= 0.1
r
p
=200
K=K
c
*K
t
=0.9
Data of Three Bus System
Table A.1: Line Data of three bus system
Bus
Resistance (R) Reactance (X)
Susceptance
(B) From To
1 2 0.02 0.04 0.05
1 3 0.01 0.03 0.03
2 3 0.0125 0.025 0.06
Table A.2 Bus data of three bus system
Bus
no
Bus
code
V
(p.u)
Angle
Load Generator
MW MVAR MW MVAR
1 1 1 0 0 0 0 0
2 0 1 0 256.6 110.2 0 0
3 0 1 0 138.6 45.2 0 0
PROGRAM
% Program to form Admittance And Impedance Bus Formation....
% with Transformer Tap setting..
function ybus = ybusnr1() % Returns ybus
clear all;
linedata = linedata3(); % Calling "linedata3.m" for Line Data...
fb = linedata(:,1); % From bus number...
tb = linedata(:,2); % To bus number...
r = linedata(:,3); % Resistance, R...
x = linedata(:,4); % Reactance, X...
b = linedata(:,5); % Ground Admittance, B/2...
a = linedata(:,6); % Tap setting value..
z = r + 1i*x; % Z matrix...
y = 1./z; % To get inverse of each element...
b = 1i*b; % Make B imaginary...
nbus = max(max(fb),max(tb)); % no. of buses...
nbranch = length(fb); % no. of branches...
ybus = zeros(nbus,nbus); % Initialise YBus...
% Formation of the Off Diagonal Elements...
for k = 1:nbranch
ybus(fb(k),tb(k)) = ybus(fb(k),tb(k))y(k)/a(k);
ybus(tb(k),fb(k)) = ybus(fb(k),tb(k));
end
% Formation of Diagonal Elements....
for m = 1:nbus
for n = 1:nbranch
if fb(n) == m
ybus(m,m) = ybus(m,m) + y(n)/(a(n)^2) + b(n);
elseif tb(n) == m
ybus(m,m) = ybus(m,m) + y(n) + b(n);
end
end
end
line data
function linedata = linedata3()
linedata= [1 2 0.02 0.04 0.0 1;
1 3 0.01 0.03 0.0 1;
2 3 0.0125 0.025 0.0 1;];
end
STATCOM PROGRAM
function busdata = busdata3()
% Bus Type  Vsp  theta  PGi QGi  PLi  QLi  Qmin  Qmax
busdata= [1 1 1.05 0 0.0 0 0 0 0 0;
2 3 1.0 0 0.0 0 400 250 0 0;
3 2 1.04 0 200 0 0 0 50 100;];
End
function statdata = statdata3()
statdata = [ 2 1 0 0.5 0.5; ];
end
% Program for NewtonRaphson Load Flow with STATCOM
% Program for NewtonRaphson Load Flow Analysis
% Bus number 1 is assumed to be slack bus..
clc;
Y = ybusnr1(); % Get YBus..
busdata = busdata3(); % Get Bus Data..
statdata = statdata3();
baseMVA = 100; % Base MVA..
bus = busdata(:,1); % Bus Number..
type = busdata(:,2); % Type of Bus 1Slack, 2PV, 3PQ..
V = busdata(:,3); % Specified Voltage..
del = busdata(:,4); % Voltage Angle..
Pg = busdata(:,5); % PGi..
Qg = busdata(:,6); % QGi..
Pl = busdata(:,7); % PLi..
Ql = busdata(:,8); % QLi..
Qmin = busdata(:,9); % Minimum Reactive Power Limit..
Qmax = busdata(:,10); % Maximum Reactive Power Limit..
nbus = max(bus); % To get no. of buses..
P = Pg  Pl; % Pi = PGi  PLi..
Q = Qg  Ql; % Qi = QGi  QLi..
P = P/baseMVA; % Converting to p.u..
Q = Q/baseMVA;
Qmin = Qmin/baseMVA;
Qmax = Qmax/baseMVA;
Tol = 10; % Tolerence kept at high value.
Iter = 1; % iteration starting
Psp = P;
Qsp = Q;
G = real(Y); % Conductance..
B = imag(Y); % Susceptance..
pv = find(type == 2  type == 1); % Index of PV Buses..
pq = find(type == 3); % Index of PQ Buses..
npv = length(pv); % Number of PV buses..
npq = length(pq); % Number of PQ buses..
while (Tol > 1e5) % Iteration starting..
P = zeros(nbus,1);
Q = zeros(nbus,1);
% Calculate P and Q
for i = 1:nbus
for k = 1:nbus
P(i) = P(i) + V(i)* V(k)*(G(i,k)*cos(del(i)del(k)) +
B(i,k)*sin(del(i)del(k)));
Q(i) = Q(i) + V(i)* V(k)*(G(i,k)*sin(del(i)del(k)) 
B(i,k)*cos(del(i)del(k)));
end
end
% Checking Qlimit violations..
if Iter <= 7 && Iter >= 2
for n = 2:nbus
if type(n) == 2
if Q(n) < Qmin(n)
V(n) = V(n) + 0.01;
elseif Q(n) > Qmax(n)
V(n) = V(n)  0.01;
end
end
end
end
% Calculate change from specified value
dPa = PspP;
dQa = QspQ;
dQ = zeros(npq,1);
k = 1;
for i = 1:nbus
if type(i) == 3
dQ(k,1) = dQa(i);
k = k+1;
end
end
dP = dPa(2:nbus);
M = [dP; dQ]; % Mismatch Vector
% Jacobian
% J1  Derivative of Real Power Injections with Angles..
J1 = zeros(nbus1,nbus1);
for i = 1:(nbus1)
m = i+1;
for k = 1:(nbus1)
n = k+1;
if n == m
for q = 1:nbus
J1(i,k) = J1(i,k) + V(m)* V(q)*(G(m,q)*sin(del(m)del(q)) +
B(m,q)*cos(del(m)del(q)));
end
J1(i,k) = J1(i,k)  V(m)^2*B(m,m);
else
J1(i,k) = V(m)* V(n)*(G(m,n)*sin(del(m)del(n)) 
B(m,n)*cos(del(m)del(n)));
end
end
end
% J2  Derivative of Real Power Injections with V..
J2 = zeros(nbus1,npq);
for i = 1:(nbus1)
m = i+1;
for k = 1:npq
n = pq(k);
if n == m
for q = 1:nbus
J2(i,k) = J2(i,k) + V(q)*(G(m,q)*cos(del(m)del(q)) +
B(m,q)*sin(del(m)del(q)));
end
J2(i,k) = J2(i,k) + V(m)*G(m,m);
else
J2(i,k) = V(m)*(G(m,n)*cos(del(m)del(n)) + B(m,n)*sin(del(m)
del(n)));
end
end
end
% J3  Derivative of Reactive Power Injections with Angles..
J3 = zeros(npq,nbus1);
for i = 1:npq
m = pq(i);
for k = 1:(nbus1)
n = k+1;
if n == m
for q = 1:nbus
J3(i,k) = J3(i,k) + V(m)* V(q)*(G(m,q)*cos(del(m)del(q)) +
B(m,q)*sin(del(m)del(q)));
end
J3(i,k) = J3(i,k)  V(m)^2*G(m,m);
else
J3(i,k) = V(m)* V(n)*(G(m,n)*cos(del(m)del(n)) 
B(m,n)*sin(del(m)del(n)));
end
end
end
% J4  Derivative of Reactive Power Injections with V..
J4 = zeros(npq,npq);
for i = 1:npq
m = pq(i);
for k = 1:npq
n = pq(k);
if n == m
for q = 1:nbus
J4(i,k) = J4(i,k) + V(q)*(G(m,q)*sin(del(m)del(q)) 
B(m,q)*cos(del(m)del(q)));
end
J4(i,k) = J4(i,k)  V(m)*B(m,m);
else
J4(i,k) = V(m)*(G(m,n)*sin(del(m)del(n))  B(m,n)*cos(del(m)
del(n)));
end
end
end
J = [J1 J2; J3 J4]; % Jacobian
X = inv(J)*M; % Correction Vector
dTh = X(1:nbus1);
dV = X(nbus:end);
del(2:nbus) = dTh + del(2:nbus);
k = 1;
for i = 2:nbus
if type(i) == 3
V(i) = dV(k) + V(i);
k = k+1;
end
end
Iter = Iter + 1;
Tol = max(abs(M));
end
Iter = Iter  1; % Number of Iterations took..
V;
Del = 180/pi*del;
E1 = [V Del]; % Bus Voltages and angles..
disp('');
disp(' Bus  V  Angle  ');
disp(' No  pu  Degree  ');
disp('');
for m = 1:nbus
fprintf('%4g', m), fprintf(' %8.4f', V(m)), fprintf(' %8.4f', Del(m));
fprintf('\n');
end
disp('');
disp('');
disp('');
disp(' STATCOM  Vsh  Thst  Qsh ');
disp(' Bus  pu  Degree  pu ');
disp('');
for m = 1:np
fprintf(' %4g',statb(m)), fprintf(' %8.4f', Vsh(m)), fprintf(' %8.4f',
Thst(m)),fprintf(' %8.4f', Qsh(m)), fprintf('\n');
end
disp('');
RESULT
+
AIM
To understand modeling of STATCOM for transient stability analysis using explicit numerical
integration method.
SOFTWARE REQUIRED
MATLAB 7.8
THEORY
Voltage collapse of the transmission system has caused more than 90% of the blackouts. Voltage
magnitude regulation in the network can be achieved by controlling the production, absorption, and flow of
reactive power throughout the system. The industry needs fastacting dynamic sources of reactive power to
counter fast voltagecollapse events. Sources or sinks are the Flexible AC Transmission System (FACTS)
sometimes permanently connected and others are automatically adjusted to maintain fixed voltage
magnitude at connection points.
The static synchronous compensator is a main member of the FACTS family of voltage source
converter (VSC) based devices. It is being to improve voltage regulation as well as to increase loadability
margin. The STATCOM is a shunt connected reactive power compensation device that is capable of
generating and/or absorbing reactive power and its output can be varied to control the specific parameters of
an electric power system. It is a solid state switching converter capable of generating or absorbing
independently controllable real and reactive power at its output terminals when it is fed from an energy
source at its input terminals.
Modelling of Power System Components
The modelling of various power system components are presented below.
Synchronous Machine model
The synchronous generators are modelled as classical machines with rotor angle ( ) and
speed ( ) as state variables.
(6.1)
Fig 6.1 Synchronous Machine model
o
e
Ex. No:
TRANSIENT ANALYSIS OF TWOBUS SYSTEM WITH
STATCOM Date :
The equivalent circuit for classical model of the generator is given in Fig.6.2.a.This equivalent
circuit is the Thevenin form. The Norton form of the equivalent circuit is shown in Fig.6.2.b.
E
'
= V + (R
a
+jX
d
'
)I I
Norton
= Y
Norton
V + I
Fig.6.2. Modelling of Generators and Representation for Network Solution
I
Norton
is the Norton current source. The expressions for the current source and the admittance is given by
I
Norton
= E
'
/(R
a
+jX
d
'
) (6.2)
Y
Norton
= 1 / (R
a
+jX
d
'
) (6.3)
Transmission line model
Transmission line is modeled as lumped П model. The transmission lines are modeled as π
circuits using positive sequence parameters: series resistance, series reactance and half line charging.
Load Model
The loads are modeled as admittances. The admittances are computed from the initial load flow
solution as shown below.
Y
L
= ( P
L
– j Q
L
) / V
L
2 (6.4)
where, P
L
and Q
L
are the active and reactive powers of the load.
V
L
 is the magnitude of the voltage of the load bus computed by load flow analysis.
Y
L
is the load admittance and it gets added to the diagonal of bus admittance matrix Y
corresponding to the node where the load is connected.
Modeling of STATCOM
The STATCOM consists of a voltage source converter which produces a set of 3 phase ac output
voltages each in phase with and coupled to the corresponding ac system voltage through a leakage
inductance of coupling transformer. The dc input voltage is provided by an energy storage capacitor. The
functional model of STATCOM is shown in Fig.6.3 where a VSI is connected to a utility bus through
magnetic coupling. The exchange of reactive power between the converter and the ac system can be
controlled by varying the amplitude of 3phase voltage of the VSI. If the amplitude of the output voltage
of VSI is greater than the amplitude of utility bus voltage, then a current flows from VSI to ac system. If
the amplitude of the output voltage of VSI is lesser than the amplitude of utility bus voltage, then a
current flows from ac system to converter. Adjusting the phase shift between converter output voltage
and ac system voltage can control real power exchange between converter and ac system voltage.
(a) Thevenin equivalent
E
'
R
a
+ jX
d
'
I
V
(b) Norton equivalent
I
Norton
V
Y
Norton
I
Fig 6.3 Functional Model of STATCOM
Transient stability model
Assuming balanced, fundamental frequency voltages, STATCOM with PWM voltage control can
be accurately represented in transient stability studies using the basic model shown in Fig.6.4.
P
ac
= P
dc
+ P
loss
(6.6)
Equation (6.6) basically represents the balance between the controller’s ac power P
ac
and dc power P
dc
under balanced operation at fundamental frequency.
Magnitude
Magnitude
Controller
PWM
K (PWM)
Filters
+
+


+

i i
V o Z
s s
I u Z
P + j Q
R
t
+ j X
t
o
dc
V
+

C
C
R
a : 1
ref
V
V
dcref
Σ
Σ
Σ
Fig 6.4 Transient stability model of STATCOM
AC System
Coupling
Transformer
KV
dc o Z
V
dc
I
dc
C
Voltage
Source
Inverter
+

+
1
mdc
mdc
K
sT +
K
idc
K
pdc
S
+
+
_
+
+
ref dc
V
dc
V
o
o
Σ Σ
max dc
V
min dc
V
Fig 6.6 DC voltage controller
α1
V
dcp
V
dcdp
1
mac
mac
K
sT +
1
2
(1 )
p
D
K sT
K sT
+
+
0
m
m
ref
V
max
I
min
I
+
V
i
_
+
+
Σ Σ
Fig.6.5 Voltage magnitude controller
m
1
V
dpac
V
pac
+
Voltage magnitude controller
This controller controls the AC output voltage magnitude of the voltage source inverter by
controlling the modulation index, m of the PWM controller. The controller has a bias corresponding to
the steady state value of the modulation index,
0
m .
The differential equations are derived from the controller block shown in Fig.6.5
(6.7)
(6.8)
DC Voltage Controller
The DC voltage controller controls the phase angle of the output voltage of the voltage source
inverter. The phase angle determines the exchange of active power between the controllers with the ac
system and is used to directly control the DC voltage magnitude. The controller has a bias corresponding
to the phase angle,
δ
.The differential equations are derived from the controller blocks given in Fig 6.6 as,
(6.9);(6.10)
1
1 1
2
1
dpac p p dpac D
m V K K T V K m
T
 
(
= + ÷
(
¸ ¸
1
pac i mac pac
mac
V V K V
T

( = ÷
¸ ¸
1
1
dcp dc mdc dcp
mdc
dcdp idc dcdp pdc
V V K V
T
V K V K o
( = ÷
¸ ¸
= +
From power balance condition,
P
ac
= P
dc
+ P
loss
(6.11)
From Fig 6.4, P
ac=
(6.12)
P
dc
= V
dc
I
dc
(6.13)
The capacitor dynamic equation is
(6.14)
Discretized form of these equations and interfacing STATCOM as a current with network are given in
appendix.
ALGORITHM TO ADVANCE SIMULATION BY ONE TIME STEP
The stepwise computations to be performed to advance the simulation by one step from t∆t to t are
as follows. The time step width (∆t) used in the algorithm is 0.0001 sec.
Assumptions
 The machines are considered to be classical (no controllers).
 Damping ignored.
 Loads are assumed as constant admittances.
Preparation
 The initial conditions for δ, ω and voltages are obtained from load
Note:
i. The loads are converted into the constant admittances and these are pushed in to diagonal
elements of the corresponding load buses.
Y
TRANBUSii =
Y
ii
+ Y
Li
Here i is for all load buses.
ii. The diagonal elements of Y
bus
corresponding to all synchronous generators are modified
as:
Y
TRANBUSii =
Y
ii
+ 1/ (R
1i
+ j X
d’
)
iii. The diagonal elements of Y
bus
corresponding to STATCOM are modified as:
Y
TRANBUSii =
Y
ii
+ 1/(R
t
+ j X
t
).
i s i s
VI cos( ) o ÷u
Explicit Method  RungeKutta Fourth Order Method
The general formula giving the value of x for the (n+1)th
step is
X
n+1
= X
n
+ 1/6*(k
1
+ 2 k
2
+2 k
3
+ k
4
)
where,
k
1
= f(x
n ,
t
n
)∆t,
k
2 =
f(x
n
+ k
1
/2
,
t
n
+∆t/2)∆t
k
3 =
f(x
n
+ k
2
/2
,
t
n
+∆t/2)∆t
k
4
= f(x
n
+k
3 ,
t
n
+∆t)∆t
Explicit algorithm
The stepwise computations to be performed to advance the simulation by one step from t∆t to t are
as follows. The time step width (∆t) used in the algorithm is 0.0001 sec.
Step 1: Find the Norton current injections at all the generator buses;
For synchronous machine :
For STATCOM connected bus :
Step2: Solve the network equations, which yields approximate bus voltage vector V
approx
.
[Y]
TRANBUS
[V] = [I]
NOR
Step3: Application of Fourth Order RungeKutta (RK) method involves the following sequence of steps.
For synchronous generator:
First estimate. k
1
δ)*∆t, l
1
ω)*∆t
Second estimate. k
2
δ+l
1
/2)*∆t , l
2
ω+k
1
/2)*∆t
Third estimate. k
3
δ+l
2
/2)*∆t , l
3
ω+k
2
/2)*∆t
Fourth estimate. k
4
δ+l
3
)*∆t, l
4
ω+k
3
)*∆t
∆δ = 1/6*(k
1
+2k
2
2k
3
k
4),
∆ ω= 1/6*(l
1
+2l
2
2l
3
l
4
)
δ = δ
0
+ ∆δ ; ω
=
ω
0
+ ∆ω.
Similarly include the STATCOM state variables also.
Step4: Repeat steps with updated values of state variables.
Step5: Introduce the fault and repeat step 6 and later the fault will be cleared and repeat the procedure.
1 '
q
NOR
d
E
I
R jX
o Z
=
+
dc
sh sh
t t
KV
I
R jX
o
u
Z
Z =
+
Handling network discontinuities
For the normal time advance and the first solution at the discontinuity, the induction generator is
represented by the Norton equivalent. The second solution is iterative as far as terminal voltage is
concerned since slip, being a state variable, cannot change across a discontinuity. The second solution is
computed using the model described by Norton equivalent. The predisturbance solution at a discontinuity
is called the first solution and the post disturbance solution is called the second solution.
Fig 6.7 Handling network discontinuities; dots denote the points computed by the algorithm
Solution (t
d

)
V
t
Second
Solution (t
d
+
)
t
d
t
d
+Δt
First
t
d
 Δt
EXERCISE
To conduct the load flow analysis for three bus system shown in figure 7.1 with and without
STATCOM (placed at bus three) and demonstrate the voltage control by STATCOM for various loading
conditions
STATCOM parameters
r
s
=.01, X
s
=0.1, r
p
=200,K=K
c
*K
t
=.9
1 .02+.04i 2
256.6+110.2i
.01+.03i .0125+.025i
3
138.6+45.2i
Fig 7.1 Single line diagram of three bus system with STATCOM
Data Of Three Bus System
Table A.1: Line Data of three bus system
Bus Resistance
(r)
Reactance (x) Susceptance
(b) From To
1 2 .02 .04 .05
1 3 .01 .03 .03
2 3 .0125 .025 .06
Table A.2 Bus data of three bus system
Bus
no
Bus code V
(pu)
Angle load Generator
MW MVAR MW MVAR
1 1 1 0 0 0 0 0
2 0 1 0 256.6 110.2 0 0
3 0 1 0 138.6 45.2 0 0
PROGRAM
clc;
Pd=[0 2.562 1.386];
Qd=[0 1.102 0.452];
Ybus=[2050j 10+20j 10+30j;
10+20j 2652j 16+32j;
10+30j 16+32j 2662j];
Zs=0.01+0.1j;
Kc=0.9;
Kt=0.9;
V=[1.05 0.9810 1.000];
theta=[0 0.0640 0.0547];
Vdc=1;
Vdco=1;
Mo=0.2189;
M=0.2189;
alpha=0.1150;
Msh=MMo;
Vc=(Kc*Kt*M*Vdc);
alpha1=alphatheta(3);
% Ybus Modification
Ybusnew=Ybus;
Xd=0.3j;
Ybusnew(1,1)=Ybus(1,1)+1/Xd;
Ybusnew(2,2)=Ybus(2,2)+(Pd(2)Qd(2)*j)/(V(2)^2);
Ybusnew(3,3)=Ybus(3,3)+1/Zs+(Pd(3)Qd(3)*j)/(V(3)^2);
for i=1:3
Vrect(i)=V(i)*(cos(theta(i))+j*sin(theta(i)));
end
I=Ybusnew*Vrect;
% Transient stability
%fault
disp('During fault')
count =1;
c=0.043;
r=0;
Kp=10;
Ki=10;
G=0;
Pm=0.85;
f=50;
wo=2*pi*f;
dt=0.0001;
Vref=V(3);
Y=V(3);
w=wo;
H=4;
Inorton=(1.0500j*2.1155)/V(1);
Eg=V(1)+Inorton*Xd;
del=angle(Eg);
Pe=real(Eg*conj(Inorton));
Ybusnew(3,3)=1000000000;
VV=inv(Ybusnew)*I;
V(3)=abs(VV(3));
theta(3)=angle(VV(3));
c3(count)=abs(I(3));
Vcc(count)=Kc*Kt*M*Vdc;
V3(3)=V(3);
t(1)=0;
while(count<5)
count=count+1
d1=(wwo)*dt;
w1=(wo*(PmPe))/(2*H);
k1=((V(3)*abs(I(3))*cos(theta(3)angle(I(3))))/(c*Vdc))*dt;
l1=(Kp*(V(3)*abs(I(3))*cos(theta(3)angle(I(3))))/(c*Vdc)+Ki*(Vdco
Vdc))*dt;
y1=YV(3);
x1=((Kp*(YV(3))/dt)+Ki*(VrefV(3)))*dt;
d2=(w+w1/2wo)*dt;
w2=(wo*(PmPe))/(2*H);
k2=(((V(3)+y1/2)*abs(I(3))*cos(theta(3)angle(I(3))))/(c*(Vdc+k1/2)))*dt;
l2=(Kp*((V(3)+y1/2)*abs(I(3))*cos(theta(3)
angle(I(3))))/(c*(Vdc+k1/2))+Ki*(Vdco(Vdc+k1/2)))*dt;
y2=Y(V(3)+y1/2);
x2=((Kp*(Y(V(3)+y1/2))/dt)+Ki*(Vref(V(3))+y1/2))*dt;
d3=(w+w2/2wo)*dt;
w3=(wo*(PmPe))/(2*H);
k3=(((V(3)+y2/2)*abs(I(3))*cos(theta(3)angle(I(3))))/(c*(Vdc+k2/2)))*dt;
l3=(Kp*((V(3)+y2/2)*abs(I(3))*cos(theta(3)
angle(I(3))))/(c*(Vdc+k2/2))+Ki*(Vdco(Vdc+k2/2)))*dt;
y3=Y(V(3)+y2/2);
x3=((Kp*(Y(V(3)+y2/2))/dt)+Ki*(Vref(V(3))+y2/2))*dt;
d4=(w+w3/2wo)*dt;
w4=(wo*(PmPe))/(2*H);
k4=(((V(3)+y3)*abs(I(3))*cos(theta(3)angle(I(3))))/(c*(Vdc+k3)))*dt;
l4=(Kp*((V(3)+y3)*abs(I(3))*cos(theta(3)
angle(I(3))))/(c*(Vdc+k3))+Ki*(Vdco(Vdc+k3)))*dt;
y4=Y(V(3)+y3);
x4=((Kp*(Y(V(3)+y3))/dt)+Ki*(Vref(V(3))+y3))*dt;
del=del+(d1+2*(d2+d3)+d4)/6;
w=w+(w1+2*(w2+w3)+w4)/6;
Vdc=Vdc+(k1+2*(k2+k3)+k4)/6;
alpha1=alpha+(l1+2*(l2+l3)+l4)/6;
alpha=alpha1+theta(3);
Y=V(3);
Msh=Msh+(x1+2*(x2+x3)+x4)/6;
M=Msh+Mo;
for i=1:3
Vrect(i)=V(i)*(cos(theta(i))+j*sin(theta(i)));
end
Eg=(abs(Eg))*(cos(del)+j*sin(del));
Inorton=(EgV(1))/Xd;
Pe=real(Eg*conj(Inorton));
VV=inv(Ybusnew)*I;
V(3)=abs(VV(3));
theta(3)=angle(VV(3));
V
V3(count)=V(3);
t(count)=t(count1)+dt;
c3(count)=abs(I(3));
Vcc(count)=Kc*Kt*M*Vdc;
end
%After clear the fault
disp('After the fault')
Ybusnew(3,3)=Ybus(3,3)+1/Zs;
Vrect=inv(Ybusnew)*I;
for i=1:3
V(i)=abs(i)
theta(i)=angle(i);
end
while(count<10)
count=count+1
d1=(wwo)*dt;
w1=(wo*(PmPe))/(2*H);
k1=((V(3)*abs(I(3))*cos(theta(3)angle(I(3))))/(c*Vdc))*dt;
l1=(Kp*(V(3)*abs(I(3))*cos(theta(3)angle(I(3))))/(c*Vdc)+Ki*(Vdco
Vdc))*dt;
y1=YV(3);
x1=((Kp*(YV(3))/dt)+Ki*(VrefV(3)))*dt;
d2=(w+w1/2wo)*dt;
w2=(wo*(PmPe))/(2*H);
k2=(((V(3)+y1/2)*abs(I(3))*cos(theta(3)angle(I(3))))/(c*(Vdc+k1/2)))*dt;
l2=(Kp*((V(3)+y1/2)*abs(I(3))*cos(theta(3)
angle(I(3))))/(c*(Vdc+k1/2))+Ki*(Vdco(Vdc+k1/2)))*dt;
y2=Y(V(3)+y1/2);
x2=((Kp*(Y(V(3)+y1/2))/dt)+Ki*(Vref(V(3))+y1/2))*dt;
d3=(w+w2/2wo)*dt;
w3=(wo*(PmPe))/(2*H);
k3=(((V(3)+y2/2)*abs(I(3))*cos(theta(3)angle(I(3))))/(c*(Vdc+k2/2)))*dt;
l3=(Kp*((V(3)+y2/2)*abs(I(3))*cos(theta(3)
angle(I(3))))/(c*(Vdc+k2/2))+Ki*(Vdco(Vdc+k2/2)))*dt;
y3=Y(V(3)+y2/2);
x3=((Kp*(Y(V(3)+y2/2))/dt)+Ki*(Vref(V(3))+y2/2))*dt;
d4=(w+w3/2wo)*dt;
w4=(wo*(PmPe))/(2*H);
k4=(((V(3)+y3)*abs(I(3))*cos(theta(3)angle(I(3))))/(c*(Vdc+k3)))*dt;
l4=(Kp*((V(3)+y3)*abs(I(3))*cos(theta(3)
angle(I(3))))/(c*(Vdc+k3))+Ki*(Vdco(Vdc+k3)))*dt;
y4=Y(V(3)+y3);
x4=((Kp*(Y(V(3)+y3))/dt)+Ki*(Vref(V(3))+y3))*dt;
del=del+(d1+2*(d2+d3)+d4)/6;
w=w+(w1+2*(w2+w3)+w4)/6;
Vdc=Vdc+(k1+2*(k2+k3)+k4)/6;
alpha1=alpha+(l1+2*(l2+l3)+l4)/6;
alpha=alpha1+theta(3);
Y=V(3);
Msh=Msh+(x1+2*(x2+x3)+x4)/6;
M=Msh+Mo;
for i=1:3
Vrect(i)=V(i)*(cos(theta(i))+j*sin(theta(i)));
end
Eg=(abs(Eg))*(cos(del)+j*sin(del));
Inorton=(EgV(1))/Xd;
Pe=real(Eg*conj(Inorton));
VV=inv(Ybusnew)*I;
V(3)=abs(VV(3));
theta(3)=angle(VV(3));
V
V3(count)=V(3);
Vcc(count)=Kc*Kt*M*Vdc;
t(count)=t(count1)+dt;
c3(count)=abs(I(3));
end
plot(t,V3)
xlabel('time in msec')
ylabel('Bus3 voltage in p.u')
title('Voltage at Bus3 Vs Time')
OUTPUT:
During fault
count = 2
V =
1.0500 0.9810 0.0000
count = 3
V =
1.0500 0.9810 0.0000
count = 4
V =
1.0500 0.9810 0.0000
count = 5
V =
1.0500 0.9810 0.0000
After the fault
V =
1.0000 0.9810 0.0000
V =
1.0000 2.0000 0.0000
V =
1 2 3
count = 6
V =
1.0000 2.0000 1.0564
count = 7
V =
1.0000 2.0000 1.0564
count = 8
V =
1.0000 2.0000 1.0564
count = 9
V =
1.0000 2.0000 1.0564
count = 10
V =
1.0000 2.0000 1.0564
RESULT
AIM
(i) To estimate the available transfer capability between the sending area and receiving area
through the tielines connecting the two areas.
(ii) To study the methods of determining the ATC and the importance of it.
SOFTWARE USED
MATLAB 7.8
THEORY
Definitions
Available Transfer Capability (ATC) is a measure of the transfer capability remaining in the
physical transmission network for further commercial activity over and above the already committed uses.
ATC can be expressed as,
ATC=TTCTRM{ETC+CBM}
where,
TTC (Total Transfer Capability) is defined as the amount of electric power that can be
transferred over the interconnected transmission network or particular path or interface in a reliable
manner while meeting all of a specific set of defined pre and post contingency conditions.
TRM (Transfer Reliability Margin) is defined as the amount of transmission transfer
capability necessary to ensure that the interconnected network is secure under a reasonable range of
uncertainties in the system conditions.
CBM (Capacity Benefit Margin) is the amount of transmission transfer capability reserved
by the load serving entities to ensure access to generation from interconnected systems to meet generation
reliability requirements. It also helps to reduce the installed capacity of the plant.
ETC (Existing Transfer Capability) refers to the power transfer capability that must be
reserved for already committed transactions.
Existing transaction is the power flow over the transmission paths at the desired time at
which ATC should be calculated. This is the already committed used power on the transmission path.
Utilities would have to determine adequately their ATC’s to ensure that system reliability is maintained
while serving a wide range of transmission transactions. ATC between and within areas of the
interconnected power system and ATC for critical transmission paths between areas would be
continuously updated and posted changes in scheduled power transfers between areas.
Ex. No:
AVAILABLE TRANSFER CAPABILITY CALCULATION
USING AN EXISTING LOAD FLOW PROGRAM Date :
Governing Principles
The following are the ATC principles that govern the development of the definition and
determination method of ATC:
 The ATC value produced by the calculation must give a reasonable and dependable
indication of transfer capabilities available to the electric power market.
 ATC calculation must recognize the dependency of ATC on the points of electric power
injection, the direction of transfer across the interconnected transmission network and the
points of power extraction.
 Regional or widearea coordination is necessary to develop the post information that
reasonably reflects the ATC of the interconnected transmission network.
 ATC calculations must confirm to regional, subregional, power pool and individual system
reliability planning and operating policies, criteria or guides.
 The determination of ATC can accommodate reasonable uncertainties in system conditions
and provide operating flexibility to ensure the secure operation of the interconnected
network.
Significance of ATC
The information of ATC as an important indicator of the system performance, is useful in
restructured energy market in the following ways:
 It provides the knowledge of power system capability about the present system condition.
 Running the system under ATC limits also ensures system security and reliability to some
extent, since the calculation of ATC is based on the security constraints with the
consideration of critical contingencies that can lead the system normal state to alert state.
 The ATC is required in making decisions for the transactions between market participants.
The market participants check for the power contract themselves.
 The ATC is also useful in enhancing the system stability. With the knowledge of the
limiting condition for the ATC, the system operator can take some operating or planning
decision to avoid this limiting condition and thus enhance system capability.
 The ATC can also serve as an indicator of power congestion through transmission lines.
 The ATC is useful in transmission costing function. The ISO can put more transmission
cost for the transaction through transmission path having low value of ATC.
Methods of Static ATC Determination
Method based on linear sensitivity factors
Method based on Continuation power flow
Method based on Optimization power flow
Method based on linear sensitivity factors
It offers a great potential for real time calculation of ATC. Use of these factors offers an
approximate but extremely fast model for static ATC determination. In this we are having DC power
transfer distribution factor, AC power transfer distribution factors, and line outage distribution factors for
ATC determination.
PTDFDefinition
For ATC determination the MW flows must be allocated to each line or group of line in proportion
to the MWs being transmitted by each transaction. This is accomplished through the use of the linear
Power Transfer Distribution Factors (PTDF). From the power flow point of view, a transaction is a
specific amount of power that is injected into the system at one bus by a generator and removed at another
bus by a load.
The coefficient of linear relationship between amount of transaction and flow on a line is called
PTDF. It is also called as sensitivity because it relates the amount of one change transaction amount to
another change line power flow. The PTDF is the fraction of the amount of transaction from one bus to
another that flows over a given transmission line. PTDF
ij, mn
is the fraction of transmission from bus m to n
that flows over a transmission line connecting bus i to j.
Linear sensitivity factors method use DC power flow. The DC power flow model assumes that
only the angles of the complex bus voltage vary, and the variation in small voltage magnitudes is assumed
to be constant. Transmission lines are assumed to have no resistance and hence no losses.
The equation for PTDF is
PTDF
ij,mn
= (X
im
 X
jm
– X
in
+ X
jn
) / x
ij
where,
x
ij
is the reactance of transmission line connecting bus i and bus j.
X
im
is entry in the ith row and mth column of the bus reactance matrix X.
The maximum amount of power transfer is given by,
P
mn,ij
max
= (P
ij
max
 P
ij
o
)/ PTDF
ij,mn
where,
P
ij
max
is the line’s flow limit.
P
ij
o
is the base case flow on the line.
ATC is the minimum of the maximum allowable transactions over all the lines and is expressed as,
ATC
mn
= min
ij
{ P
mn,ij
max
}
Method Based on Continuation of Power Flow
This method runs AC load flow for each increment of transaction between an interface and checks
whether any of the operating conditions such as line flow limit or bus voltage limit is violated. For the
increment of transactions, continuation power flow is also used to find out maximum load ability or
voltage instability point.
Method Based on Optimization of Power Flow
ATC determination can be formulated as an optimization problem which finds out maximum value
of the transaction between given interface while satisfying the network power balance and security
constraints such as line flow, voltage limits and voltage instability points.
ALGORITHM
Step 1: Start
Step 2: Read the number of buses and their type.
Step 3: Read the power generation (Pg) and power demand (Pd) at all the buses and calculate the
net power injection (P).
Step 4: Read the voltage at each buses or if not available initialize to flat start.
Step 5: Read the voltage limits V
min
and V
max
.
Step 6: Read the bus load angles or if not available initialize to flat start.
Step7: Read the Transmission Reliability Margin (TRM) & Capacity Benefit Margin (CBM)
values for all lines.
Step 8: Read or compute the Ybus matrix.
Step 9: Set a suitable convergence tolerance and run Fast Decoupled Load Flow (FDLF).
Step 10: From FDLF find the new power flows at all the buses.
Step 11: Calculate the power flows through all lines P
ij
=P
i
P
j
.
Step 12: Existing Transfer Commitments (ETC) = Flow through the lines.
Step 13: Increase the power demand at all the load buses by a small set value.
Step 14: Run steps 8,9,10.
Step 15: Check for voltage limit violation, if not violated go to 12 else 16.
Step 16: Calculate the power flows through all lines P
ij
=P
i
P
j
.
Step 17: Total Transfer Commitments (TTC) = Flow through the lines.
Step 18: Calculate Available Transfer Capability ATC=TTCTRM{ETC+CBM}
EXERCISE
To determine the ATC of the given sample bus system.
Data of Three Bus System
Table A.1 Line Data of Three Bus System
Bus Resistance
(R)
Reactance
(X)
Susceptance
(B) From To
1 2 .02 .04 .05
1 3 .01 .03 .03
2 3 .0125 .025 .06
Table A.2 Bus Data of Three Bus System
Bus
No
Bus
Code
V
(p.u)
Angle
Load Generator
MW MVAR MW MVAR
1 1 1 0 0 0 0 0
2 0 1 0 256.6 110.2 0 0
3 0 1 0 138.6 45.2 0 0
256.6+110.2i
.0125+.025i .01+.03i
.02+.04i
2
1
3
138.6+45.2i
Fig 7.1 Single line diagram of three bus system
PROGRAM
clear all
clc;
n=2;
Pd=[0 1.7];
Qd=[0 1.0535];
Pg=[0 0];
v=[1 1];
vmin=[0.95 0.85];
vmax=[1.05 1.00];
TRM=0;
CBM=0;
theta=[0 0];
ybus=[3.81562919.078144*i 3.815629+19.078144*i; 3.815629+19.078144*i
3.8156919.078144*i];
b=imag(ybus);
g=real(ybus);
an=angle(ybus);
magybus=abs(ybus);
Bmat(1:1,1:1)=b(2:2,2:2);
Cmat(1:1,1:1)=b(2:2,2:2);
increment=1;
exit=0;
while(increment<1000 && exit~=1)
increment;
Pd;
Qd;
con=.1;
P=PgPd;
iter=1;
while(con>0.01 && iter<20)
iter;
for k=1:2
pp(k)=0;
for l=1:2
pe(k)=v(k)*magybus(k,l)*v(l)*cos(an(k,l)
theta(k)+theta(l))+pp(k);
pp(k)=pe(k);
end
end
pp;
delp(1:1)=(P(2:n)pp(2:n));
delta=inv(Bmat)*delp';
dtheta(2:2)=delta(1:1);
theta=theta+dtheta;
for k=1:n
qq(k)=0;
for l=1:n
qe(k)=v(k)*magybus(k,l)*v(l)*sin(an(k,l)
theta(k)+theta(l))+qq(k);
qq(k)=qe(k);
end
end
qq;
delq(1:1)=(Qd(2:2)qq(2:2));
delv=inv(Cmat)*delq';
dv(2:2)=delv(1:1);
v=v+dv;
con=max(abs(dv));
iter=iter+1;
end
flow=((theta(1)theta(2))/0.6);
atc(increment)=flow;
for i= 1:n
if(v(i)>vmax(i))
exit=1;
end
if (v(i)<vmin(i))
exit=1;
end
end
Pd(2)=Pd(2)+0.005;
increment=increment+1;
end
increment
Pd(2)
TTC=atc(increment1);
ETC=atc(1)
ATC=TTCETCTRMCBM
OUTPUT:
increment =
573
ans =
4.5600
ETC =
0.1377
ATC =
0.2965
RESULT
AIM
(i) To compute the harmonic analysis of the output voltage and output current.
(ii) To find the harmonic order by conducting FFT analysis.
SOFTWARE REQUIRED
MATLAB SIMULINK
THEORY
Harmonics
Harmonics are sinusoidal components of a periodic wave or quantity having a frequency
that is an integral multiple of the fundamental frequency. The fundamental together with its frequency
multiples is referred as harmonic series. The frequency multiples of 3f, 5f, 7f etc are odd harmonics while,
the frequency multiples of 2f, 4f, 6f etc are even harmonics. The FFT analysis is done to find the harmonic
order. The sinusoidal voltage or current which is dependent on time is represented by the following
expression
v(t) = Vsin(wt)
i(t) = Isin(wt+ф)
Non sinusoidal voltage wave is represented in Fourier series as follows:
v(t) =V
0
+ V
1
sin(wt) + V
2
sin(2wt) + V
3
sin(3wt) ……..
Sources of Harmonics
Any electrical load that presents a constant impedance to the power source throughout the
cycle is a linear load. Linear loads draw sinusoidal current from the source and do not cause harmonics.
A nonlinear load can be defined as one which draws current discontinuously or its
impedance varies with each cycle of the ac waveform. It is the source of harmonics. Some of the non
linear loads which cause harmonics are given below:
 Diode and thyristor rectifiers.
 Switched mode power supplies.
 Variable speed drives.
 Electronic power supplies.
 DC motor drives.
 Battery charges.
 Electronic ballasts.
 Arc furnace.
Ex. No:
COMPUTATION OF HARMONIC INDICES
GENERATED BY A RECTIFIER FEEDING A RL LOAD Date :
Effects of Harmonics
 Increase in system line losses.
 Interaction with power system equipment and causes additional line losses, over heating,
over loading.
 Leads to voltage distortion.
 Leads to low power factor.
 Interference with telecommunication lines.
 Errors in metering device.
 Low efficiency.
 Low power factor.
 Harmful disturbances to neighboring appliances.
SYSTEM MODEL
Fig 8.1 Singlephase bridge rectifier with RL load
System Parameters
Frequency=60Hz.
Load resistance=1000Ω.
Load inductance=1H.
SIMULINK DIAGRAM
OUTPUT
RESULT