Escolar Documentos
Profissional Documentos
Cultura Documentos
clc;
clear all;
close all;
% | From | To | R | X | B/2 |
% | Bus | Bus | | | |
linedata = [ 1 2 0.10 0.20 0.02;
1 4 0.05 0.20 0.02;
1 5 0.08 0.30 0.03;
2 3 0.05 0.25 0.03;
2 4 0.05 0.10 0.01;
2 5 0.10 0.30 0.02;
2 6 0.07 0.20 0.025;
3 5 0.12 0.26 0.025;
3 6 0.02 0.10 0.01;
4 5 0.20 0.40 0.04;
5 6 0.10 0.30 0.03;];
Output:
iteration =
21
V =
1.0500 + 0.0000i
1.0479 - 0.0658i
1.0672 - 0.0779i
0.9867 - 0.0715i
0.9814 - 0.0895i
0.9992 - 0.1026i
Vmag =
1.0500
1.0500
1.0700
0.9893
0.9855
1.0045
Ang =
0
-3.5947
-4.1764
-4.1427
-5.2099
-5.8620