% data to be entered
% Line From-bus To-bus R X B Trafo. tap ratio
line_data= [ 1 1 2 0.01 0.033 0 1
2 1 3 0.02 0.0125 0 1
3 2 3 0.008 0.05 0 1 ];
% bus no. V Pg Qg Pd Qd Bus Type Angle V_limit
bus_data= [ 1 1 0 0 0 0 1 0 1
2 1 0 0 4 3.2 3 0 1
3 1 0 0 3 2.7 3 0 1
];
% Base MVA is 100.
%Bus Type: 1- Slack bus, 2- PV bus, 3- PQ bus
%Pd,Qd: Active and Reactive power consumed by PQ bus (in p.u)
%Pg,Qg: Active and Reactive power generated by PV bus (in
p.u)
l=max(line_data(:,1));
n=max(bus_data(:,1));
s=0;
for i=1:n
if((bus_data(i,7)==2)||(bus_data(i,7)==1))
s=s+1;
end
end
% ybus formation
ybus=zeros(n);
for i=1:1:l
from_bus=line_data(i,2);
to_bus=line_data(i,3);
b=complex(0,line_data(i,6));
r=line_data(i,4);
x=line_data(i,5);
z=complex(r,x);
y=1./z;
a=line_data(i,7);
if a~=1
ybus(from_bus,from_bus)=ybus(from_bus,from_bus)+ y*(1-a)+
y*a;
ybus(to_bus,to_bus)=ybus(to_bus,to_bus)+ y*(a-1)*a+y*a;
ybus(from_bus,to_bus)=ybus(from_bus,to_bus)- y*a;
ybus(to_bus,from_bus)=ybus(to_bus,from_bus)- y*a;
else
ybus(from_bus,from_bus)=ybus(from_bus,from_bus)+ y+ b/2;
ybus(to_bus,to_bus)=ybus(to_bus,to_bus)+ y+ b/2;
ybus(from_bus,to_bus)=ybus(from_bus,to_bus)- y;
ybus(to_bus,from_bus)=ybus(to_bus,from_bus)- y;
end
end
% gauss siedal code
V_complex=zeros(n,1);
P=zeros(n,1);
Q=zeros(n,1);
del_V=1;
itr=1;
Z=zeros(l,1);
I=zeros(l,1);
for a=1:n
V_complex(a)= complex(bus_data(a,2),0);
end
for p=2:n
P(p)=(bus_data(p,3)-bus_data(p,5));
Q(p)=(bus_data(p,4)-bus_data(p,6));
P(p)=P(p)/100;
Q(p)=Q(p)/100;
end
while itr<100 && del_V>0.00000001
itr=itr+1;
for i=2:n
t=0;
for k=1:n
if(i~=k)
t=t+(ybus(i,k)*V_complex(k));
end
end
temp1=V_complex(i);
V_complex(i)=((1/ybus(i,i))*(((conj(complex(P(i),Q(i))))/conj(V_complex(i)))-t));
temp2=V_complex(i);
del_V=temp2-temp1;
end
end
%Calculating current values
for i=1:l
f=line_data(i,2);
g=line_data(i,3);
I(i)=-ybus(f,g)*(V_complex(f)-V_complex(g));
end
The single line diagram of a power network is shown in the figure. Bus#1 is a slack bus. The sche...
The single line diagram of a power network is shown in the figure. Bus#1 is a slack bus. The scheduled powers for bus#2 and bus#3 are given. The impedances shown in the figure are all in per-unit considering a power base of 100 MVA. 30 400 MW 320 MVAr Slack V-1400.0125 jo.os 3 300 MW 270 MVAr A. Use the Gauss Seidel technique to determine voltages at bus#2 & bus#3. (Start with an initial guess 140 for both buses). [Only...
Consider the single line diagram of a 3-bus power system shown in Figure 2. Slack bus 3 Figure 2. The data for this system are given in Tables 1 and 2. Bus Table 1 Generation Load Assumed PG QGPLQL bus voltage (MW) (MVar) (MW) (MVar) 1.05 +10.0 - - 1.0 + 0.0 50 30 305.6 140.2 1.0 +0.0 0.0 0.0 138.6 45.2 slack bus) Table 2 Bus-to-bus Impedance 0.2 + j0.04 .01 +0.03 2.3 0.0125 + j0.025 (0) Convert all...
1. In the power system network shown in Figure 1, Vi bus 1 is a slack bus with 1.00 per unit and bus 2 is a load bus with S2 Mvar. The line impedance on a base of 100 MVA is Z = 0.02 + j0.04 per unit (a) Using Gauss-Seidel method, determine V2 . Use an initial estimate of V=1.0j0.0 and perform four iterations (b) If after several iterations voltage at bus 2 converges to V2 = 0.90-j0.10, determine...
Figure 3, shows the one-line diagram of a simple three-bus power system with generation at buses 1 and 3 . The voltage at bus 1 is \(V_{1}=1.025 \angle 0^{\circ}\) per unit. Voltage magnitude at bus 3 is fixed at \(1.03\) pu with a real power generation of \(300 \mathrm{MW}\). A load consisting of \(400 \mathrm{MW}\) and \(200 \mathrm{Mvar}\) is taken from bus 2. Line impedances are marked in per unit on a 100-MVA base. For the purpose of hand calculations,...
Q2. i) The one-line diagram of simple three-bus power system with generation at bus 1 is shown in figure Q2. 0.02 + 30.04 2 256.6 MW 0.0125 + 30.025 +110.2 Mvar 0.01 + 30.03 Slack Bus 3 Vi = 1.0520° 138.6 MW 45.2 Mvar Figure Q2 The magnitude of voltage at bus 1 is adjusted to 1.05 per unit. The scheduled loads at buses 2 and 3 are as marked on the diagram. Line impedances are marked in per unit...
The six-bus system shown in Figure 1 will be simulated using MATLAB. Transmission line data and bus data are given in Tables 1 and 2 respectively. The transmission line data are calculated on 100 MVA base and 230 (line-to-line) kV base for generator. Tasks: 1. Determine the network admittance matrix Y 2. Find the load flow solution using Gauss-Seidel/Newton Raphson method until first iteration by manual calculation. Use Maltab software to solve power flow problem using Gauss-Seidel method. Find the...
Question 1: A single line diagram of a three-bus power system is shown in Fig 1. Bus 1 is the slack bus with a voltage of 1.020 per unit, bus 2 is a voltage-controlled bus (PV-bus) with a voltage magnitude of 1.05 pu and real generated power of 1 00 MWand the reactive power in the range Q.(20MVAR) < Q<Q-60M¥AR .BUS 3 is PQ bus with P 300 MW and Q= 200 Mvar. Take 100 MVÅ susceptance are neglected as...
Q2. (40) Eig. 1 shows the one-line diagram of a simple three-bus power system with generation at bus 1. The magnitude of voltage at bus 1 is adjusted to 1.05 pu. The scheduled loads at buses 2 and 3 are as marked on the diagram. Line imepdances are marked in pu on a 100 MVA base and the line charging susceptances are neglected a) (30) Using the GS (Gauss-Seidael) method, voltage phasors at the load buses 2 and 3 (P-Q...
Figure 1 shows the one line diagram of a simple power system. Generators are connected at buses 1 and 3 while the loads are indicated at all five buses. Base values for transmission system are 100 MVA, 138 kV. The line data of Table 1 gives per unit series impedances and the charging MVar accounting for the distributed capacitance of the 5 lines. The bus data in Table 2 list values for P, Q and Vat each bus. The slack...
A power system network is shown in Figure 1. All impedances, except the loads at buses 3 and 4, are expressed in per unit on 100 MVA, 154 kV bases. The loads at buses 3 and 4 are expressed in MW and MVAr. a) Assuming a voltage magnitude of 1.0 per unit at buses 3 and 4, convert the loads to per unit impedances b) Convert network impedances to admittances and obtain the bus admittance matrix