Beruflich Dokumente
Kultur Dokumente
Experiment No. :0
Submitted by-
Roll: 141060
Section: A
Example 9.3 :
We have to construct the bus impedance matrix of a power system whose one line
diagram is in figure 1.
1 2
j0.4
j0.2
j0.8 4
1 2
1 2
3 5
j0.4 j0.4
3
3
(a) (b)
The elements connected to the reference node are included in the proper tree as
shown in figure 1(b).We start with those branches of the tree connected to the
reference node. Add branch 1, 𝑧10 = 𝑗0.2 between node q=1 and reference node 0.
According to rule 1, we have
(1)
Z bus Z11 z10 j 0.2
Next, add branch 2, 𝑧20 = 𝑗0.4 between node q=2 and reference node 0
Z 0 j 0.2 0
( 2)
11 j 0.4
Z bus
0 Z 22 0
Note that the off-diagonal elements of the bud impedance matrix are zero. This is
because there is no connection between these buses other than to the reference. In
this example, there are no more branches from a new bus to the reference. We
continue with the remaining branches of the tree. Add branch 3, 𝑧13 = 𝑗0.4 between
the new node q=3 and the existing node p=1. According to rule 2 we get,
Z 11 Z 12 Z 11 j 0.2 0 j 0.2
( 3)
Z bus Z 21 Z 22 Z 21 0 j 0.4 0
Z 11 Z 12 Z 11 z13 j 0.2 0 j 0.6
All tree branches are in place. We now proceed with the links. Add link 4, z12 j 0.8
between node q=2 and node p=1 from rule 3 we have
Z 31 Z 32 Z 33 Z 31 Z 31
Z 21 Z11 Z 22 Z 21 Z 23 Z13 Z 44
j 0.2 0 j 0.2
j 0.2
0 j 0 .4 0 j 0.4
j 0.2 0 j 0.6 j 0.2
j 0. 2 j 0.4 j 0 . 2 Z 44
j 0.2
ZZ T 1
And j 0.4 j 0.2 j 0.4 j 0.2
Z 44 j1.4
j 0.2
Z 31 Z 32 Z 33 Z 33 Z 32
Z 31 Z 21 Z 32 Z 22 Z 33 Z 23 Z 44
j 0.11429
ZZ T 1
And j 0.22857 j 0.11429 j 0.22857 j 0.51429
Z 44 j1.4
j 0.51429
MATLAB
MATLAB code:
clc
clear
% nl1 nr1 R1 X1
ztree= [1 3 0 0.4
0 1 0 0.2
2 0 0 0.4];
% nl2 nr2 R2 X2
zcotree=[2 1 0 0.8
3 2 0 0.4];
nl1=ztree(:,1);
nr1=ztree(:,2);
R1=ztree(:,3);
X1=ztree(:,4);
nl2=zcotree(:,1);
nr2=zcotree(:,2);
R2=zcotree(:,3);
X2=zcotree(:,4);
n1=max(max(nl1),max(nr1));
n2=max(max(nl2),max(nr2));
nbr1=length(nl1);
nbr2=length(nl2);
Z1=R1+j*X1;
Z2=R2+j*X2;
Zbus=zeros(n1,n1);
for i=1:n1;
if nl1(i)==0 || nr1(i)==0
if nl1(i)==0
Zbus(nr1(i),nr1(i))=Z1(i);
else Zbus(nl1(i),nl1(i))=Z1(i);
end
end
end
for i=1:n1
if nl1(i)>0 && nr1(i)>0
if nr1(i)>nl1(i)
for p=1:nbr1
Zbus(nr1(i),p)= Zbus(nl1(i),p);
Zbus(p,nr1(i))= Zbus(nl1(i),p);
end
Zbus(nr1(i),nr1(i))=Z1(nr1(i),nl1(i))+Zbus(nl1(i),nl1(i));
else
if nl1(i)>nr1(i)
for p=1:nbr1
Zbus(p,nl1(i))= Zbus(p,nr1(i));
Zbus(nl1(i),p)= Zbus(p,nr1(i));
end
Zbus(nl1(i),nl1(i))=Z1(nl1(i),nr1(i))+Zbus(nr1(i),nr1(i));
end
end
end
end
for k=1:nbr2
a=Zbus(:,nr2(k))-Zbus(:,nl2(k));
b=Zbus(nr2(k),:)-Zbus(nl2(k),:);
Z3=Z2(k)+Zbus(nl2(k),nl2(k))+Zbus(nr2(k),nr2(k))-
2*Zbus(nl2(k),nr2(k));
Z=(1/Z3)*a*b;
Zbus=Zbus-Z;
end
Zbus
Output:
Zbus =