Clear Filters
Clear Filters

how to implement FACTS devices on IEEE 14 bus system...?

10 views (last 30 days)
Hello everybody, Please if anyone have a simulink model for an IEEE 14 bus system or any other system, it would be of great help to share it.
Thank you very much..

Answers (4)

Walter Roberson
Walter Roberson on 4 Jun 2015

Ivan Mihov
Ivan Mihov on 10 Feb 2021
function[Y] = ybus(z)
nl = z(:,1); nr=z(:,2); R=z(:,3); X=z(:,4);
nbr=lenght(z(:,1)); nbus=max(max(nl), max(nr));
Z=R+J*X;
y=ones(nbr,1)./Z;
Y=zeros(nbus,nbus);
for k=1:nbr
if nl(k)>0 & nr(k)>0
Y(nl(k),nr(k)) = Y(nl(k),nr(k))-y(k);
Y(nr(k),nl(k)) = Y(nl(k),nr(k));
end
end
for n=1:nbus
for k=1:nbr
if nl(k) == n | nr(k) == n
Y(n,n) = Y(n,n) + y(k);
else, end
end
end
end
when i put this simulation on my mathlab it give me not enough input arguments why what do i miss this is bus 14

Muhammad Raza
Muhammad Raza on 26 May 2021
Take a look at below link
https://matlab-online.blogspot.com/2021/05/facts-devices-allocation-to-improve.html

Muhammad Raza
Muhammad Raza on 6 Oct 2021
DSTATCOM and Renewable Energy (Solar, Wind) - Matlab Simulink

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!