how to implement FACTS devices on IEEE 14 bus system...?
12 次查看(过去 30 天)
显示 更早的评论
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..
0 个评论
回答(4 个)
Ivan Mihov
2021-2-10
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
0 个评论
Muhammad Raza
2021-5-26
Take a look at below link
https://matlab-online.blogspot.com/2021/05/facts-devices-allocation-to-improve.html
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!