Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is a Matlab Code to construct a Ybus matrix of power network using IEEE 1 4 bus data. I NEED VERY DETAILED EXPLANATION AND

This is a Matlab Code to construct a Ybus matrix of power network using IEEE 14 bus data. I NEED VERY DETAILED EXPLANATION AND REASONS FOR EACH LINE PLEASE!
%IEEE 14 Bus Test Case Data
Bus_Data=[111.060000000;
231.045.217.127.400-.4.50;
331.010.942.19000-.0.40;
421.478-.03900000;
521.076.01600000;
631.07.112.07500-.06.240;
7210000000;
831.090000-.06.240;
921.295.1660000.19;
1021.09.05800000;
1121.035.01800000;
1221.061.01600000;
1321.135.05800000;
1421.149.0500000];
Brunch_Data=[112.01938.05917.02641;
223.04699.19797.02191;
324.05811.17632.01871;
415.05403.22304.02461;
525.05695.17388.01701;
634.06701.17103.01731;
745.01335.04211.00641;
8560.252020.932;
9470.209120.978;
10780.1761501;
11490.556180.969;
12790.1100101;
13910.03181.0845001;
14611.09498.1989001;
15612.12291.2558101;
16613.06615.1302701;
17914.12711.2703801;
181011.08205.1920701;
191213.22092.1998801;
201314.17093.3480201];
[numBuses, busColumns]= size(Bus_Data);
[numBrunch, brunchColumns]= size(Brunch_Data);
Y_bus = zeros(numBuses, numBuses);
for i =1:numBrunch
Bus1= Brunch_Data(i,2);
Bus2= Brunch_Data(i,3);
Ysh = Brunch_Data(i,6);
Ts = Brunch_Data(i,7);
Ts2= Ts * Ts;
Z = Brunch_Data(i,4)+1i * Brunch_Data(i,5);
Y =1/ Z;
Y_bus(Bus1, Bus1)= Y_bus(Bus1, Bus1)+1i * Ysh +(1/ Ts2)* Y;
Y_bus(Bus2, Bus2)= Y_bus(Bus2, Bus2)+1i * Ysh + Y;
Y_bus(Bus1, Bus2)= Y_bus(Bus1, Bus2)-(1/ Ts)* Y;
Y_bus(Bus2, Bus1)= Y_bus(Bus1, Bus2);
end
%Shunt capacitance :
for(i=1:numBuses)
Y_bus(i,i)=Y_bus(i,i)+1i*Bus_Data(i,10)
end

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

How does a WPAN differ from a WLAN?

Answered: 1 week ago

Question

d. What language(s) did they speak?

Answered: 1 week ago