PSS Lab Manual PDF
PSS Lab Manual PDF
PSS Lab Manual PDF
GRIET/EEE
IV YEAR I SEM
EEE
By
Dr. J. Sridevi
Syed Sarfaraz Nawaz
G.Sandhya Rani
GRIET/EEE
CERTIFICATE
This is to certify that it is a record of practical work done in
the Power Systems Simulation Laboratory in I sem of
IV
GRIET/EEE
INDEX
S.No
Date
Topic
Page no.
Signature of
the Faculty
1.
2.
3.
14
19
25
6.
30
Method
7.
37
41
47
9.
51
10.
57
Synchronous Machine
11.
63
12.
73
GRIET/EEE
78
82
14.
86
15.
90
system
16.
95
system
17.
100
Date:
GRIET/EEE
Experiment-1
SINUSOIDAL VOLTAGES AND CURRENTS
GRIET/EEE
Circuit diagram:
GRIET/EEE
Graph:
Calculations:
GRIET/EEE
GRIET/EEE
Result:
GRIET/EEE
Experiment-2
EQUIVALENT CIRCUIT OF TRANSFORMER
Apparatus: MATLAB
Theory : Equivalent Circuit of Transformer
Equivalent impedance of transformer is essential to be calculated because the electrical power
transformer is an electrical power system equipment for estimating different parameters of
electrical power system which may be required to calculate total internal impedance of an
electrical power transformer, viewing from primary side or secondary side as per requirement.
This calculation requires equivalent circuit of transformer referred to primary or equivalent
circuit of transformer referred to secondary sides respectively.
Equivalent Circuit of Transformer Referred to Primary
Let us consider the transformation ratio be,
GRIET/EEE
primary current has two components or branches, so there must be a parallel path with
primary winding of transformer. This parallel path of electric current is known as excitation
branch of equivalent circuit of transformer. The resistive and reactive branches of the
excitation circuit can be represented as
Now if we see the voltage drop in secondary from primary side, then it would be K times
greater and would be written as K.Z2.I2.
Again I2.N1 = I2.N2
Therefore,
GRIET/EEE
So, the complete equivalent circuit of transformer referred to primary is shown in the figure
below,
GRIET/EEE
Circuit Diagram:
GRIET/EEE
Procedure:
1.
2.
3.
4.
5.
6.
Graph:
Calculations:
10
GRIET/EEE
11
GRIET/EEE
12
GRIET/EEE
Result:
Date:
GRIET/EEE
Experiment-3
VOLTAGE REGULATION OF A MEDIUM LINE MODEL
Aim: To determine voltage and power at the sending end and to regulate the voltage using
medium line model.
Apparatus: MATLAB
Theory: The transmission line having its effective length more than 80 km but less than
250 km, is generally referred to as a medium transmission line. Due to the line length being
considerably high, admittance Y of the network does play a role in calculating the effective
circuit parameters, unlike in the case of short transmission lines. For this reason the modelling
of a medium length transmission line is done using lumped shunt admittance along with the
lumped impedance in series to the circuit.
These lumped parameters of a medium length transmission line can be represented using two
different models, namely1)Nominal representation.
2)Nominal T representation.
Lets now go into the detailed discussion of these above mentioned models.
Nominal Representation of a Medium Transmission Line
In case of a nominal representation,
the lumped series impedance is placed
at the middle of the circuit where as
the shunt admittances are at the ends.
As we can see from the diagram of the
network below, the total lumped
shunt admittance is divided into 2
equal halves, and each half with value
Y 2 is placed at both the sending and the receiving end while the entire circuit impedance is
between the two. The shape of the circuit so formed resembles that of a symbol , and for
this reason it is known as the nominal representation of a medium transmission line. It is
mainly used for determining the general circuit parameters and performing load flow analysis.
14
GRIET/EEE
As we can see here, VS and VR is the supply and receiving end voltages respectively, and
Is is the current flowing through the supply end.
IR is the current flowing through the receiving end of the circuit.
I1 and I3 are the values of currents flowing through the admittances. And
I2 is the current through the impedance Z.
Now applying KCL, at node P, we get.
..
Similarly applying KCL, to node Q.
.
Now substituting equation (2) to equation (1)
Comparing equation (4) and (5) with the standard ABCD parameter equations
15
derive
the
parameters
GRIET/EEE
of
medium
transmission
line
as:
Voltage regulation of transmission line is measure of change of receiving end voltage from
no-load to full load condition.
Circuit Diagram:
16
GRIET/EEE
PROCEDURE:
1.
2.
3.
4.
5.
6.
Calculations:
17
GRIET/EEE
Result:
Signature of the faculty
18
GRIET/EEE
Date:
Experiment-4
LINE PERFORMANCE WHEN LOADED AT RECEIVING END
19
GRIET/EEE
Comparing equation (4) and (5) with the standard ABCD parameter equations
We
derive
the
parameters
of
medium
transmission
line
as:
Voltage regulation of transmission line is measure of change of receiving end voltage from
no-load to full load condition.
20
GRIET/EEE
Circuit Diagram:
PROCEDURE:
1.
2.
3.
4.
5.
6.
Graph:
21
GRIET/EEE
22
GRIET/EEE
23
GRIET/EEE
Result
Signature of the faculty
24
GRIET/EEE
Date:
Experiment-5
GRIET/EEE
For i = 1,2,.n, n = no. of buses of the given system, yij is the admittance of element
connected between buses i and j and yii is the admittance of element connected
between bus i and ground (reference bus).
START
Consider line l = 1
i = sb(1); I= eb(1)
NO
l = l+1
Is l =NL?
YES
Print Y -Bus
Stop
26
GRIET/EEE
MATLAB PROGRAM
function[Ybus] = ybus(zdata)
nl=zdata(:,1); nr=zdata(:,2); R=zdata(:,3); X=zdata(:,4);
nbr=length(zdata(:,1)); nbus = max(max(nl), max(nr));
Z = R + j*X; %branch impedance
y= ones(nbr,1)./Z; %branch admittance
Ybus=zeros(nbus,nbus); % initialize Ybus to zero
for k = 1:nbr; % formation of the off diagonal elements
if nl(k) > 0 & nr(k) > 0
Ybus(nl(k),nr(k)) = Ybus(nl(k),nr(k)) - y(k);
Ybus(nr(k),nl(k)) = Ybus(nl(k),nr(k));
end
end
for n = 1:nbus % formation of the diagonal elements
for k = 1:nbr
if nl(k) == n | nr(k) == n
Ybus(n,n) = Ybus(n,n) + y(k);
else, end
end
end
Calculations:
27
GRIET/EEE
28
GRIET/EEE
Result:
GRIET/EEE
Date:
Experiment-6
LOAD FLOW ANALYSIS BY GAUSS SEIDEL METHOD
Aim:
To carry out load flow analysis of the given power system network by Gauss Seidel
method
Apparatus: MATLAB
Theory:
Load flow analysis is the study conducted to determine the steady state operating
condition of the given system under given conditions. A large number of numerical algorithms
have been developed and Gauss Seidel method is one of such algorithm.
Problem Formulation
The performance equation of the power system may be written of
[I bus] = [Y bus][V bus]
(1)
Selecting one of the buses as the reference bus, we get (n-1) simultaneous equations. The bus
loading equations can be written as
Ii = Pi-jQi / Vi* (i=1,2,3,..n)
(2)
Where,
n
Pi=Re [ Vi*Yik Vk] .
(3)
k=1
n
Qi= -Im [ Vi*Yik Vk].
(4)
k=1
The bus voltage can be written in form of
n
Vi=(1.0/Yii)[Ii- Yij Vj]
(5)
j=1
ji(i=1,2,n)& islack bus
Substituting Ii in the expression for Vi, we get
n
Vi new=(1.0/Yii)[Pi-JQi / Vio* - Yij Vio]
J=1
The latest available voltages are used in the above expression, we get
n
Vi new=(1.0/Yii)[Pi-JQi /
Voi*
J=1
(6)
(7)
j=i+1
The above equation is the required formula .this equation can be solved for voltages in
interactive manner. During each iteration, we compute all the bus voltage and check for
30
GRIET/EEE
convergence is carried out by comparison with the voltages obtained at the end of previous
iteration. After the solutions is obtained. The stack bus real and reactive powers, the reactive
power generation at other generator buses and line flows can be calculated.
Algorithm
Step1: Read the data such as line data, specified power, specified voltages, Q limits at the
generator buses and tolerance for convergences
Step2: Compute Y-bus matrix.
Step3: Initialize all the bus voltages.
Step4: Iter=1
Step5: Consider i=2, where i is the bus number.
Step6: check whether this is PV bus or PQ bus. If it is PQ bus goto step 8 otherwise go to next
step.
Step7: Compute Qi check for q limit violation. QGi=Qi+QLi.
7).a).If QGi>Qi max ,equate QGi = Qimax. Then convert it into PQ bus.
7).b).If QGi<Qi min, equate QGi = Qi min. Then convert it into PQ bus.
Step8: Calculate the new value of the bus voltage using gauss seidal formula.
i=1
J=i+1
Adjust voltage magnitude of the bus to specify magnitude if Q limits are not violated.
Step9: If all buses are considered go to step 10 otherwise increments the bus no. i=i+1 and Go to
step6.
Step10: Check for convergence. If there is no convergence goes to step 11 otherwise go to
step12.
Step11: Update the bus voltage using the formula.
Vinew=Vi old+ (vinew-Viold) (i=1,2,..n) i slackbus , is the acceleration factor=1.4
Step12: Calculate the slack bus power, Q at P-V buses real and reactive give flows real and
reactance line losses and print all the results including all the bus voltages and all the
bus angles.
Step13: Stop.
31
GRIET/EEE
START
Read
1. Primitive Y matrix
2. Bus incidence matrix A
3. Slack bus voltages
4. Real and reactive bus powers Pi& Qi
5. Voltage magnitudes and their limits
Form Ybus
Make initial assumptions
Compute the parameters Ai for i=m+1,,n and Bik for i=1,2,,n;
k=1,2,,n
Set iteration count r=0
Set bus count i=2 and Vmax=0
Test for
type of bus
Compute Qi(r+1)
Qi(r+1) = Qi,max
Qi(r+1) = Qi,min
Compute Ai
Compute Vi(r+1)
Compute Ai(r+1)
32
GRIET/EEE
r
(r+1)
Replace Vi by Vi
and
advance bus count i = i+1
Is i<=n
Advance iteration
count, r = r+1
Is
Vmax<=
Procedure
Enter the command window of the MATLAB.
Create a new M file by selecting File - New M File.
Type and save the program in the editor Window.
Execute the program by pressing Tools Run.
View the results.
MATLAB program
clear
basemva=100;
accuracy=0.001; maxiter=100;
%
0.0
0.0 0.0 0 0 0
2 0 1.0
0.0 256.66
3 0 1.0
0.0 138.6
45.2
0];
0.0 0.0 0 0
0.02
0.04
0.0 1
0.01
0.03 0.0 1
33
GRIET/EEE
lfybus
lfgauss
busout
lineflow
Calculations:
34
GRIET/EEE
35
GRIET/EEE
Result
Date:
GRIET/EEE
Experiment-7
LOAD FLOW ANALYSIS BY NEWTON RAPSHON METHOD
Aim
To carry out load flow analysis of the given power system by Newton Raphson method.
Algorithm
Step1: Input the total number of buses. Input the details of series line impendence and line
charging admittance to calculate the Y-bus matrix.
Step2: Assume all bus voltage as 1 per unit except slack bus.
Step3: Set the iteration count as k=0 and bus count as p=1.
Step4: Calculate the real and reactive power pp and qp using the formula
P=vpqYpq*cos(Qpq+p-q)
Qp=VpqYpa*sin(qpq+p-a)
Evalute pp*=psp-pp*
37
GRIET/EEE
Step5: If the bus is generator (PV) bus, check the value of Qp*is within the limits.If it Violates
the limits, then equate the violated limit as reactive power and treat it as PQ bus. If limit is not
isolated then calculate,
|vp|^r=|vgp|^rspe-|vp|r ;
Qp*=qsp-qp*
Step6: Advance bus count by 1 and check if all the buses have been accounted if not go to step5.
Step7: Calculate the elements of Jacobean matrix.
Step8: Calculate new bus voltage increment pk and fpk
Step9: Calculate new bus voltage ep*h+ ep*
Fp^k+1=fpK+fpK
Step10: Advance iteration count by 1 and go to step3.
Step11: Evaluate bus voltage and power flows through the line .
Procedure
Enter the command window of the MATLAB.
Create a new M file by selecting File - New M File.
Type and save the program in the editor Window.
Execute the program by pressing Tools Run.
View the results.
MATLAB program:
clear
basemva=100;accuracy=0.001;maxiter=100;
% no code mag degree MW Mvar MW Mvar Qmin Qmax Mvar
busdata=[1 1 1.05 0.0 0.0
0.0
0.0 0.0 0 0 0
2 0 1.0
30
0.0 138.6
1.0
0.04
0.0 1
0.03
0.0 1
1 3
0.01
2 3
0.0125 0.025
0.0 1];
lfybus
lfnewton
38
GRIET/EEE
busout
lineflow
Calculations:
39
GRIET/EEE
Result
GRIET/EEE
Date:
Experiment-8(a)
Apparatus: MATLAB
Theory:
As the losses are neglected, the system model can be understood as shown in Fig, here n number
of generating units are connected to a common bus bar, collectively meeting the total power
demand PD. It should be understood that share of power demand by the units does not involve
losses.
Since transmission losses are neglected, total demand PD is the sum of all generations of nnumber of units. For each unit, a cost functions Ci is assumed and the sum of all costs computed
from these cost functions gives the total cost of production CT.
GRIET/EEE
The conditions for minimization of objective function can be found by equating partial
differentials of the unconstrained function to zero as
Since Ci = C1 + C2++Cn
From the above equation the coordinate equations can be written as:
GRIET/EEE
The value of can be calculated and compute the values of Pi for i = 1, 2,, n for optimal
scheduling of generation.
43
GRIET/EEE
Procedure :
Create a new file in edit mode by selecting File - New File.
Browse the components and build the bus sytem
Execute the program in run mode by selecting tools-opf areas-select opf
Run the primal lp
View the results in case information-Generator fuel costs.
Tabulate the results.
Results:
Generator
Name
1
2
3
Gen
MW
79.52
126
114
IOA
150
600
335
IOB
5
1.2
1
IOC
0.11
0.085
0.1225
Min
MW
10
10
10
Max
MW
250
300
270
Cost
$/Hr
1243.12
2100.66
2041.01
Lambda
22.49
22.62
28.93
GRIET/EEE
Calculations
45
GRIET/EEE
Result
GRIET/EEE
Date:
Experiment-8(b)
Apparatus: MATLAB
Theory : When the transmission losses are included in the economic dispatch problem, we can
modify (5.4) as
PT P1 P2 PN PLOSS
where PLOSS is the total line loss. Since PT is assumed to be constant, we have
0 dP1 dP2 dPN dPLOSS
In the above equation dPLOSS includes the power loss due to every generator, i.e.,
dPLOSS
PLOSS
P
P
dP1 LOSS dP2 LOSS dPN
P1
P2
PN
Also minimum generation cost implies dfT = 0 as given Multiplying by and combing we get
P
P2
PN
P
0 T LOSS dPi
Pi
i 1 Pi
fT
P
LOSS 0, i 1,, N
Pi
Pi
Again since
fT dfT
, i 1,, N
Pi Pi
47
GRIET/EEE
we get
df1
df
df
L1 2 L2 N LN
dPi
dP2
dPN
Li
, i 1,, N
1 PLOSS Pi
Consider an area with N number of units. The power generated are defined by the vector
P P1
P2 PN
B1N
B12
B22
B2 N
B1N
B2 N
BNN
The elements Bij of the matrix B are called the loss coefficients. These coefficients are not
constant but vary with plant loading. However for the simplified calculation of the penalty factor
Li these coefficients are often assumed to be constant.
48
GRIET/EEE
Circuit Diagram:
49
GRIET/EEE
Procedure :
Create a new file in edit mode by selecting File - New File.
Browse the components and build the bus sytem
Execute the program in run mode by selecting tools-opf areas-select opf
Run the primal lp
View the results in case information-Generator fuel costs.
Tabulate the results.
Results:
Generator
Name
1
2
3
Gen
MW
106.38
126
86.22
IOA
150
600
335
IOB
5
1.2
1
IOC
0.11
0.085
0.1225
IOD
0
0
0
Min
MW
10
10
10
Max
MW
250
300
270
Cost
$/Hr
Lambda
1926.66
28.4
2100.66
22.62
1331.84
22.12
Total Cost =
5359.15$/hr
50
GRIET/EEE
51
GRIET/EEE
Result
GRIET/EEE
Date:
Experiment-9
To obtain the transient response of an RLC circuit with its damping frequency and
Apparatus: MATLAB
Theory: RLC circuits are widely used in a variety of applications such as filters in
communications systems, ignition systems in automobiles, defibrillator circuits in biomedical
applications, etc. The analysis of RLC circuits is more complex than of the RC circuits we have
seen in the previous lab. RLC circuits have a much richer and interesting response than the
previously studied RC or RL circuits. A summary of the response is given below.
Lets assume a series RLC circuit. The discussion is also applicable to other RLC circuits such as
the parallel circuit.
For the example of the series RLC circuit one has the following characteristic equation for the
current iL(t) or vC(t),
s2 + R/L.s + 1/LC =0.
Depending on the value of the damping ratio one has three possible cases:
Case 1: Critically damped response: two equal roots s= s1= s2
53
GRIET/EEE
Procedure:
Enter the command window of the MATLAB.
Create a new M file by selecting File - New M File.
Type and save the program in the editor Window.
Execute the program by pressing Tools Run.
View the results.
MATLAB Program:
wn = input('Enter value of undamped natural frequency')
z = input('Enter value of damping ratio')
n = [wn*wn]
p = sqrt(1-z^2)
54
GRIET/EEE
wd = wn*p;
h = [p/z];
k = atan(h)
m = pi-k;
tr = [m/wd]
tp = [pi/wd]
q = z*wn
ts = [4/q]
r = z*pi
f = [r/p]
mp = exp(-f)
num = [0 0 n]
den = [1 z*z*wn n]
s = tf(num,den)
hold on
step(s)
impulse(s)
hold off
Result:
Enter value of undamped natural frequency 16
wn =
16
0.5000
n = 256
55
0.8660
k=
1.0472
GRIET/EEE
tr = 0.1511
tp =
0.2267
q=
ts = 0.5000
r = 1.5708
f=
1.8138
mp =
0.1630
num =
den =
0
1
0 256
4 256
Transfer function:
256
--------------s^2 + 4 s + 256
Graph:
56
GRIET/EEE
Calculations:
57
GRIET/EEE
Result
Date:
GRIET/EEE
Experiment-10
where Vt is the magnitude of the terminal voltage, is its phase angle and
is the direct axis subtransient reactance
is the direct axis transient reactance
is the direct axis synchronous reactance
with
59
GRIET/EEE
which is called the subtransient fault current. The duration of the subtransient current is
dictated by the time constant Td . As the time progresses and Td < t < Td , the first
exponential term will start decaying and will eventually vanish. However since t is still nearly
equal to zero, we have the following rms value of the current
This is called the transient fault current. Now as the time progress further and the second
exponential term also decays, we get the following rms value of the current for the sinusoidal
steady state
In addition to the ac, the fault currents will also contain the dc offset. Note that a symmetrical
fault occurs when three different phases are in three different locations in the ac cycle.
Therefore the dc offsets in the three phases are different. The maximum value of the dc offset
is given by
Procedure:
1.
2.
3.
4.
5.
60
GRIET/EEE
Circuit Diagram:
Graph:
61
GRIET/EEE
Calculations:
62
GRIET/EEE
63
GRIET/EEE
Result
GRIET/EEE
Date:
Experiment-11
UNSYMMETRICAL FAULT ANALYSIS
Z0
N0
Ia1
a
b
c
+
Vaf
3Zf
+
Va1
-
N1
F1
Z1
+
1.0
-
Iaf
Ibf = 0
Ia2
Icf = 0
Zf
F2
+
Va2
-
Z2
N2
n
General representation of a single
line-to-ground fault.
Since the zero-, positive-, and negative-sequence currents are equals as it can be observed
in Figure 3.11. Therefore,
I a 0 I a1 I a 2
1.00
Z 0 Z1 Z 2 3Z f
65
GRIET/EEE
With the results obtained for sequence currents, the sequence voltages can be obtained
from
Va 0 0 1 1
V 1.00 1 a 2
b1
Vc 2 0 1 a
1 Ia0
a I a1
a 2 I a 2
By solving Equation
Va 0 Z 0 I a 0
Va1 1.0 Z1 I a1
Va 2 Z 2 I a 2
If the single line-to-ground fault occurs on phase b or c, the voltages can be found by the
relation that exists to the known phase voltage components,
Vaf 1 1
2
Vbf 1 a
Vcf 1 a
1 Va 0
a Va1
a 2 Va 2
as
66
GRIET/EEE
Zf
Ia0 = 0
a
b
c
+
Va0 = 0
-
Iaf = 0
Ibf
Icf = -Ibf
Ia1
F0
Z0
N0
+
Va1
-
N1
Ia2
F1
+
Z1
Va2
+
1.0 0o -
F2
Z2
N2
Zf
I a1 I a 2
1.00
Z1 Z 2 Z f
If Zf = 0,
I a1 I a 2
1.00
Z1 Z 2
Ibf I cf 3 I a1 90
The sequence voltages can be found as
Va 0 0
Va1 1.0 - Z1 I a1
Va 2 Z 2 I a 2 Z 2 I a1
67
GRIET/EEE
a
b
c
F
Ia0
Iaf = 0 Ibf
Zf
Icf
Zf
+
Va0
-
Zg
Ibf +Icf
Zf +3Zg
F0
Z0
N0
Ia1
+
Va1
-
N1
Zf
Ia2
F1
+
Z1
Va2
+
1.0 0o -
Zf
F2
Z2
N2
General representation of a
double line-to-ground fault.
I af 0
Vbf ( Zf Zg ) Ibf ZgIcf
Vcf ( Zf Zg ) Icf ZgIbf
The positive-sequence currents can be found as
Ia1
1.00
( Z 2 Zf )( Z 0 Zf 3Zg )
( Z 1 Zf )
( Z 2 Zf ) ( Z 0 Zf 3Zg )
68
Ia 2 [
( Z 0 Zf 3Zg )
]Ia1
( Z 2 Zf ) ( Z 0 Zf 3Zg )
Ia 0 [
( Z 2 Zf )
]Ia1
( Z 2 Zf ) ( Z 0 Zf 3Zg )
GRIET/EEE
If Zf and Zg are both equal to zero, then the positive-, negative-, and zero-sequences can
be obtained from
Ia1
1.00
( Z 2)( Z 0)
( Z 1)
( Z 2 Z 0)
Ia 2 [
( Z 0)
]Ia1
( Z 2 Z 0)
Ia 0 [
( Z 2)
]Ia1
( Z 2 Z 0)
I bf I a 0 a 2 I a1 aI a 2
I cf I a 0 aI a1 a 2 I a 2
The total fault current flowing into the neutral is
I n 3I a 0 Ibf I cf
The resultant phase voltages from the relationship given in Equation 3.78 can be
expressed as
GRIET/EEE
Circuit Diagram:
Procedure:
1.
2.
3.
4.
5.
70
GRIET/EEE
Graph:
71
GRIET/EEE
72
GRIET/EEE
73
GRIET/EEE
Result
Signature of the faculty
74
Date:
GRIET/EEE
Experiment-12
Algorithm
Step 1: Read the values such as number of lines, number of buses and line data, generator data
and transformer data.
Step 2: Initialize y-bus matrix y-bus[i] [j] =complex.(0.0,0.0)
Step 3: Compute y-bus matrix by considering only line data.
Step 4: Modifies the y-bus matrix by adding the transformer and the generator admittance to the
respective diagonal elements of y-bus matrix.
Step 5: Compute the z-bus matrix by inverting the modified y-bus matrix.
Step 6: Check the inversion by multiplying modified y-bus and z-bus matrices to check whether
the resulting matrix is unit matrix or not.
Step 7: Print the z-bus matrix.
75
GRIET/EEE
START
STOP
Procedure:
Enter the command window of the MATLAB.
Create a new M file by selecting File - New M File.
Type and save the program in the editor Window.
Execute the program by pressing Tools Run.
76
GRIET/EEE
MATLAB Program:
function[Ybus] = ybus(zdata)
zdata(:,1)); nbus = max(max(nl), max(nr));
Z = R + j*X;
y= ones(nbr,1)./Z;
Ybus=zeros(nbus,nbus);
for k = 1:nbr;
if nl(k) > 0 & nr(k) > 0
Ybus(nl(k),nr(k)) = Ybus(nl(k),nr(k)) - y(k);
Ybus(nr(k),nl(k)) = Ybus(nl(k),nr(k));
end
end
for n = 1:nbus
for k = 1:nbr
if nl(k) == n | nr(k) == n
Ybus(n,n) = Ybus(n,n) + y(k);
else, end
end
end
Zbus= inv(Y)
Ibus=[-j*1.1;-j*1.25;0;0]
Vbus=Zbus*Ibus
%branch impedance
%branch admittance
% initialize Ybus to zero
% formation of the off diagonal elements
OUTPUT:
77
GRIET/EEE
78
GRIET/EEE
Result:
Date:
GRIET/EEE
Experiment-13(a)
SYMMETRICAL COMPONENTS
Note that for the above operator the following relations hold
0
1
3
a 2 e j 240 j
a
2
2
a 3 e j 360 1
0
1
3 1
3
j
j
0
2
2 2
2
Similarly
Vb 2 aVa 2 and Vc 2 a 2Va 2
Finally
Va 0 Vb 0 Vc 0
80
GRIET/EEE
1 Va
a 2 Vb
a Vc
Program:
V012 = [0.6 90
1.0 30
0.8 -30];
rankV012=length(V012(1,:));
if rankV012 == 2
mag= V012(:,1); ang=pi/180*V012(:,2);
V012r=mag.*(cos(ang)+j*sin(ang));
elseif rankV012 ==1
V012r=V012;
else
fprintf('\n Symmetrical components must be expressed in a one column array in rectangular
complex form \n')
fprintf(' or in a two column array in polar form, with 1st column magnitude & 2nd column
\n')
fprintf(' phase angle in degree. \n')
return, end
a=cos(2*pi/3)+j*sin(2*pi/3);
A = [1 1 1; 1 a^2 a; 1 a a^2];
Vabc= A*V012r
Vabcp= [abs(Vabc) 180/pi*angle(Vabc)];
fprintf(' \n Unbalanced phasors \n')
fprintf(' Magnitude Angle Deg.\n')
disp(Vabcp)
Vabc0=V012r(1)*[1; 1; 1];
Vabc1=V012r(2)*[1; a^2; a];
Vabc2=V012r(3)*[1; a; a^2];
81
GRIET/EEE
Procedure:
1.
2.
3.
4.
Result:
Vabc =
1.5588 + 0.7000i
-0.0000 + 0.4000i
-1.5588 + 0.7000i
Unbalanced phasors
Magnitude Angle Deg.
1.7088 24.1825
0.4000 90.0000
1.7088 155.8175
82
GRIET/EEE
Result
Signature of the faculty
83
GRIET/EEE
Date:
Experiment-13(b)
1
a 2
a
The original phasor components can also be obtained from the inverse symmetrical
component transformation, i.e.,
Vabc C 1Va 012
1 Va 0
Va 0
1
a Va1 C Va1
Va 2
a 2 Va 2
Va Va 0 Va1 Va 2
Finally, if we define a set of unbalanced current phasors as Iabc and their symmetrical
components as Ia012, we can then define
I a 012 CI abc
I abc C 1I a 012
84
GRIET/EEE
Program:
Iabc = [1.6 25
1.0 180
0.9 132];
rankIabc=length(Iabc(1,:));
if rankIabc == 2
mag= Iabc(:,1); ang=pi/180*Iabc(:,2);
Iabcr=mag.*(cos(ang)+j*sin(ang));
elseif rankIabc ==1
Iabcr=Iabc;
else
fprintf('\n Three phasors must be expressed in a one column array in rectangular complex
form \n')
fprintf(' or in a two column array in polar form, with 1st column magnitude & 2nd column
\n')
fprintf(' phase angle in degree. \n')
return, end
a=cos(2*pi/3)+j*sin(2*pi/3);
A = [1 1 1; 1 a^2 a; 1 a a^2];
I012=inv(A)*Iabcr;
symcomp= I012
I012p = [abs(I012) 180/pi*angle(I012)];
fprintf(' \n Symmetrical components \n')
fprintf(' Magnitude Angle Deg.\n')
disp(I012p)
Iabc0=I012(1)*[1; 1; 1];
Iabc1=I012(2)*[1; a^2; a];
Iabc2=I012(3)*[1; a; a^2];
Result:
symcomp =
-0.0507 + 0.4483i
0.9435 - 0.0009i
0.5573 + 0.2288i
Symmetrical components
Magnitude Angle Deg.
0.4512 96.4529
0.9435 -0.0550
0.6024 22.3157
85
GRIET/EEE
86
GRIET/EEE
Result
Signature of the faculty
87
GRIET/EEE
Date:
Experiment-14
Apparatus: POWERWORLD
Theory:
V f Z 44I f
Vi Zi 4 I f
Zi 4
V f , i 1,2,3
Z 44
We further assume that the system is unloaded before the fault occurs and that the magnitude and
phase angles of all the generator internal emfs are the same. Then there will be no current
circulating anywhere in the network and the bus voltages of all the nodes before the fault will be
same and equal to Vf. Then the new altered bus voltages due to the fault will be given from by
Z
Vi V f Vi 1 i 4 V f , i 1,,4
Z 44
14 bus system :
88
GRIET/EEE
Procedure :
Create a new file in edit mode by selecting File - New File.
Browse the components and build the bus sytem
Execute the program in run mode by selecting tools-fault analysis
Select the fault on which bus and calculate
Tabulate the results.
Va
0.41937
0.34862
0
0.29602
0.32956
Vb
0.41937
0.34862
0
0.29602
0.32956
Vc
0.41937
0.34862
0
0.29602
0.32956
Ang A
19.64
10.87
0
-2.25
0.58
Ang B
-100.36
-109.13
0
-122.25
-119.42
Ang C
139.64
130.87
0
117.75
120.58
89
0.47538
0.42742
0.55864
0.41373
0.42145
0.44639
0.46474
0.45879
0.42532
GRIET/EEE
0.47538
0.42742
0.55864
0.41373
0.42145
0.44639
0.46474
0.45879
0.42532
0.47538
0.42742
0.55864
0.41373
0.42145
0.44639
0.46474
0.45879
0.42532
-10.63
-8.44
-10.06
-9.5
-9.94
-10.37
-11.44
-11.27
-11.3
-130.63
-128.44
-130.06
-129.5
-129.94
-130.37
-131.44
-131.27
-131.3
109.37
111.56
109.94
110.5
110.06
109.63
108.56
108.73
108.7
= 1861.67 A
Fault current angle = -77.74 deg
90
GRIET/EEE
Result
GRIET/EEE
Experiment-15
Procedure:
1.
2.
3.
4.
5.
6.
92
GRIET/EEE
SIMULINK RESULTS:
Single Area Power System Block Diagram
Graph:
93
GRIET/EEE
94
GRIET/EEE
95
GRIET/EEE
RESULT
96
GRIET/EEE
Experiment-16
Procedure:
1.
2.
3.
4.
5.
6.
97
GRIET/EEE
SIMULINK RESULTS:
Single Area Power System Block Diagram
Graphs:
98
GRIET/EEE
99
GRIET/EEE
100
GRIET/EEE
Result
Date:
GRIET/EEE
Experiment-17
STEP RESPONSE OF A SYNCHRONOUS MACHINE
Aim: To obtain step response of rotor angle and generator frequency of a synchronous
machine
Apparatus: MATLAB
Circuit Diagram:
Procedure:
1.
2.
3.
4.
5.
6.
GRIET/EEE
Graph:
103
GRIET/EEE
104
GRIET/EEE
Result