Dava Arobby
July 3, 2022 | Author: Anonymous | Category: N/A
Short Description
Download Dava Arobby...
Description
Nama
: Dava Arobby
NIM
: 180150135
Mata Kuliah
: Analisa Sistem Tenaga
Kelas
: A2
Dose Do sen n Pen Pengam gampu
: Arn Arnawan awan Has Hasib ibu uan an..S.T S.T..M. ..M.T. T.
UJIAN AKHIR SEMESTER
1. Gambar di bawah memperlihatkan diagram segaris dari system tenaga 5-bus. Data saluran transmisi diperlihatkan pada Tabel. Semua data adalah dalam pu pada dasar 100 MVA.
Gambar Sistem Tenaga 5 Bus
Tabel Data Saluran
Bus-Ke-Bus
Impedansi Seri
p – q
z pq
1–2 1–3 2–3 2–4 2–5 3–4 4–5
0.02 + j0.35 0.08 + j0.24 0.06 + j0.18 0.35 + j0.18 0.04 + j0.12 0.01 + j0.03 0.08 + j0.24
Table data bus :. Bus code
ion n Assumade Generatio bus
Load
Voltage MW MVAR ∆MW ∆MVAR
1 2
1.06 + j0.0 0 1.00 + j0.0 40
0 30
0 20
0 10
3 4 5
1..0 00 0+ + jj0 0..0 0 1 1.00 + j0.0
0 0 0
40 5 4 60
155 10
0 0 0
Berdasarkan data tersebut. tentukan: a.
Admi Admita tans nsii-ad admi mita tans nsii diri diri.. Y11. Y22. Y33. Y44. Y 55.
b.
Admitansi-admitansi bersama antar bus
c. Matriks admitansi bus Y bus. d. Vektor dari sudut/besar tegangan bus dan selisih daya (power mismatch). e. Tuliskan rumus untuk elemen-elemen dari vektor selisih daya. f. Tuliskan rumus untuk matriks Jacobian. g. Tuliskan persamaan iteratif Newton-Raphson untuk solusi aliran daya. h. Lakukan perhitungan iterasi Newton Raphson sebanyak 5 iterasi (boleh menggunakan Matlab atau Exel).\\ i.Tunjukkan i. Tunjukkan hasil perhitungan aliran daya yang saudara dapatkan dari 5 iterasi tersebut.
Catatan :
Untuk Impedansi 1 – 2 nilai imajinernya dengan huruf ab merupakan dua angka terakhir NPM masing-masing
Untuk Impedansi 2 – 4 nilai realnya dengan huruf ab merupakan dua angka terakhir NPM masing-masing
Jawab : Admintansi Seri : ypq= 1 ⁄ z pq p-q
ypq = 1 ⁄ z pq
1 -2
0.162-j2.847
1 -3
1.254 – j3.764
2 -3
1.673 – j5.019
2 -4
2.259 – j1.162
2 -5
2.509 – j7.528
3 -4
10 – j30.021
4 -5
1.25 - j3.76
a.) Admitansi Diri Y11.Y22.Y33.Y44.Y55
Y11
= Y12+Y13 = (0.162-j2.847) + (1.254 – j3.764) = 1.416 – j6.611
Y22
= Y12 + Y23 + Y24 + Y25 = (0.162-j2.847) + (1.673 – j5.019) + (2.259 – j1.162)+(2.509 – j7.528) = 6.603 – j16.556
Y33
= Y13+ Y23+ Y 34 = (1.254 – j3.764) + (1.673 – j5.019) + (10 – j30.021) =12.927 – j38.804
Y44
= Y24+ Y34+ Y 45 = (2.259 – j1.162) + (10 – j30.021) + (1.25-j3.76) = 13.509 – j34.943
Y55
= Y25 + Y45 = (2.509 – j7.528) + ( 1.25-j3.76 ) = 3.759 – j11.288
b) Admitansi – admitansi bersama antar bus
Y12 = Y21 = - Y12 = -0.162+j2.847 Y13 = Y31 =- Y13 = -1.254 + j3.764 Y14 = Y41 = 0 Y15 = Y51 = 0
Y23 = Y 32 = - Y23 = -1.673 + j5.019 Y24 = Y42 = - Y24 = -2.259 + j1.162 Y25 = Y52 = -Y25 = -2.509 + j7.528
Y34 = Y43 = - Y34 = -10 + j30.021 Y35 = Y53 = 0
Y45 = Y54 = -Y45 = -1.25 + j3.76
c) Matriks admitansi bus Y bus.
Y=
1.663 – j7 j7.834 j4.507 − 0.409 + j4
0.409 − j4 j 4.507 7.316 – j1 j19.283
1.25 + j3.764 1.673 − j5 j5.019
2.725 − j2 j2.229
2.509 − j7.528
−1.254 + j3 j3.764
12.927 – j3 j38.804 −10 + j3 j30.021
10 − j3 j30.021 13.975 – jj3 36.01
0
0
−1.673 + j5.019 −2.725 + j2 j2.229
1.25 − j3.76
0
−2.509 + j7.528
0
−1.25 + j3. j3.76
3.759 – j11.288]
[
0
0
d) Vektor dari sudut/besar tegangan bus dan selisih daya (power mismatch). Jawab: oleh karena bus 1 dengan tegangan 1.06 maka disebut bus slack dan bus 3 adalah bus PV . maka vector dari sudut/besar tegangann bus bus dan vector dari selisih daya adalah :
2 3 4
P2 P3 P
4
P [ … ] = 5 ; […] = P5 |V| … … |V|2
|V|4
[|V |5]
2
4 [5]
e)Tuliskan e) Tuliskan rumus untuk elemen-elemen dari vektor selisih s elisih daya. Jawab : |V2 |Y2 j | P2 = −PG2 + PL2 + ∑5 j=1 |V V j |CS ( 2 − j − 2 j )
P3 = −PG3 + PL3 + ∑5 P4 = −PG4 + PL4 + ∑5 P5 = −PG5 + PL5 + ∑5
|V3 |Y3 j | |V V j |CS ( 3 − j − 3 j )
|V4 |Y4 j | |V V j |CS ( 4 − j − 4 j )
j=1
j=1
j=1
|V5 |Y5 j | |V V j |CS ( 5 − j − 5 j )
|V 2 = −G2 + L2 + ∑5 j=1 |V2 |Y2 j | V j |CS ( 2 − j − 2 j ) |V 4 = −G4 + L4 + ∑5 j=1 |V4 |Y4 j | V j |CS ( 4 − j − 4 j ) |V V j |CS ( 5 − j − 5 j ) 5 = −G5 + L5 + ∑5 j=1 |V5 |Y4 j | f) Tuliskan rumus untuk matriks Jacobian. P 2
2
P 2 P 2 3
4
P 3 P 3 P 3
2 3
P 2 P 2 5 : |V 5| P 3
4
5
P 4 P 4 P 4 P 4
2
J1 J2 Jawab : [J] = [ ]= J 3J 4
…
3
5
|V5|
P 4 |V5|
∶
P 5 P 5 P 5 P 5 P 5 2 3 4 5 ∶ |V 5|
… … … … … … … … 2 2 2 2 2
2
3 4 ∶5
4 2 4
3
[
4
P 3
∶
5 2 5 3
|V 5|
4 4 4 ∶
5
|V 5|
4 5
4
5
5
5
∶
|V 5|
]
g) Tuliskan persamaan iteratif Newton-Raphson untuk solusi aliran daya Jawab :
P2 (k)
P2
2
(k)
∆
2
∆
∆ (k ) = 5
4
P2
(k)
:
−1
(k)
P2
2
|V5|
5
(k) (k)
P3 |V5|
(k) 2
∶
(k)
P
P
(k)
P
(k)
P
(k)
4
4
4
4
2
3
4
5
(k)
∆4
3
(k)
P2
(k) (k) P (k) P (k) P (k) P3 3 3 3 5 2 4 3
(k) 3
(k)
P5
( k)
2
3
(k)
P5 P5 4 … … … … …
( k)
P
(k)
P3
4
∶
| V5|
(k )
(k)
(k)
( k)
P5 P5 ∶ |V | … … 5… … 5
P4 (k)
P5 …
(k)
|V | 2
(k ) |V | 4
2
2
[| (k ) V |] 5
(k)
2
) 2
3
4
5
( k)
4
2 (k)
5 [ 2
(k
(k) 2
(k )
4
(k)
∶
(k)
4
4
(k)
[5 ]
|V5|
3
4
5
5
5
(k)
(k)
)
3
4
5
5
4 (k)
∶
(k)
2
(k )
| V5|
(k)
( k)
4
2
(k
(k)
5 |V5| ]
∶
h) Lakukan perhitungan iterasi Newton Raphson sebanyak 5 iterasi (boleh menggunakan Matlab atau Exel).
Jawab : program menggunakan matlab
clear clc format short
disp ('Data ('Data Bus') Bus') V1 = 1.06 V3 = 1.00 delta1 = 0.00 delta5 = 0.00 Pd2 = 20 Qd2 = 20 Pd3 = 45 Qd3 = 15 Pd4 = 40 Qd4 = 5
Pd5 = 60 Qd5 = 10
%Data admitansi diri Y(1,1)=1.663 Y(1,1)=1.66 3 - 7.834i;
Y(2,2)=7.316 - 19.283i; Y(2,2)=7.316 Y(3,3)=12.927 - 38.804i; Y(4,4)=13.975 - 36.01i; Y(5,5)=3.759 Y(5,5)=3.75 9 - 11.288i;
Y(1,2)=0.409 - 4.507i; Y(1,2)=0.409 Y(1,3)=1.254 Y(1,3)=1.25 4 - 3.764i; Y(1,4)=0; Y(1,5)=0;
Y(2,1)=-0.409+4.507i; Y(3,1)=-1.254 +3.764i; Y(4,1)=0; Y(5,1)=0;
Y(2,3)=1.673 + 5.019i; Y(2,3)=1.673 Y(2,4)=2.725 Y(2,4)=2.72 5 + 2.229i; Y(2,5)=2.509 Y(2,5)=2.50 9 + 7.528i;
Y(3,2)=-1.673 + 5.019i; Y(3,4)=10 - 30.021i;
Y(3,5)=0;
Y(4,2)=-2.725 + 2.229i; Y(4,3)=-10 + 30.021i; Y(4,5)=-1.25 Y(4,5)=-1.2 5 + 3.76i;
Y(5,2)=-2.509 + 7.528i; Y(5,3)=0; Y(5,4)=-1.25 Y(5,4)=-1.2 5 + 3.76i;
disp ('matriks ('matriks admitansi bus') bus') Ybus = [Y(1,1) Y(1,2) Y(1,3) Y(1,4) Y(1,5);Y(2,1) Y(2,2) Y(2,3) Y(2,4) Y(2,5);Y(3,1) Y(3,2) Y(3,3) Y(3,4) Y(3,5);Y(4,1) Y(4,2) Y(4,3) Y(4,4) Y(4,5);Y(5,1) Y(5,2) Y(5,3) Y(5,4) Y(5,5)] Y = abs(Ybus) Teta = angle(Ybus)
disp ('Iterasi ('Iterasi ke-0') ke-0') delta2=0.00 delta3=0.00 delta4=0.00 delta5=0.00 V2=1.00 V4=1.00 V5=1.00
Vektor_Tegangan_Awal = [delta2;delta3;delta4;delta5;V2;V3;V4;V5]
disp ('Perhitungan ('Perhitungan Power Mismatch dengan estimasi awal') awal') P2h = (V2*Y(2,1)*(V1)*cos(delta2-delta1-Teta(2,1))) + (V2*Y(2,2)*(V2)*cos(delta2-delta2-Teta(2,2))) + (V2*Y(2,3)*(V3)*cos(delta2-delta3-Teta(2,3))) + (V2*Y(2,4)*(V4)*cos(delta2-delta4-Teta(2,4))) + (V2*Y(2,5)*(V5)*cos(delta2-delta5-Teta(2,5)))
P3h = (V3*Y(3,1)*V1*cos(delta3-delta1-Teta(3,1))) + (V3*Y(3,2)*V2*cos(delta3-delta2-Teta(3,2))) + (V3*Y(3,3)*V3*cos(delta3-delta3-Teta(3,3))) + (V3*Y(3,4)*(V4)*cos(delta3-delta4-Teta(3,4))) + (V3*Y(3,5)*(V5)*cos(delta3-delta5-Teta(3,5)))
P4h = (V4*Y(4,1)*V1*cos(delta4-delta1-Teta(4,1))) + (V4*Y(4,2)*V2*cos(delta4-delta2-Teta(4,2))) + (V4*Y(4,3)*V3*cos(delta4-delta3-Teta(4,3))) + (V4*Y(4,4)*(V4)*cos(delta4-delta4-Teta(4,4))) + (V4*Y(4,5)*(V5)*cos(delta4-delta5-Teta(4,5)))
P5h = (V5*Y(5,1)*V1*cos(delta5-delta1-Teta(5,1))) + (V5*Y(5,2)*V2*cos(delta5-delta2-Teta(5,2))) + (V5*Y(5,3)*V3*cos(delta5-delta3-Teta(5,3))) + (V5*Y(5,4)*(V4)*cos(delta5-delta4-Teta(5,4))) + (V5*Y(5,5)*(V5)*cos(delta5-delta5-Teta(5,5)))
Q2h = (V2*Y(2,1)*V1*sin(delta2-delta1-Teta(2,1))) + (V2*Y(2,2)*V2*sin(delta2-delta2-Teta(2,2))) + (V2*Y(2,3)*V3*sin(delta2-delta3-Teta(2,3))) + (V2*Y(2,4)*V4*sin(delta2-delta4-Teta(2,4))) + (V2*Y(2,5)*V5*sin(delta2-delta5-Teta(2,5)))
Q3h = (V3*Y(3,1)*V1*sin(delta3-delta1-Teta(3,1))) + (V3*Y(3,2)*V2*sin(delta3-delta2-Teta(3,2))) + (V3*Y(3,3)*V3*sin(delta3-delta3-Teta(3,3))) + (V3*Y(3,4)*V4*sin(delta3-delta4-Teta(3,4))) + (V3*Y(3,5)*V5*sin(delta3-delta5-Teta(3,5)))
Q4h = (V4*Y(4,1)*V1*sin(delta4-delta1-Teta(4,1))) + (V4*Y(4,2)*V2*sin(delta4-delta2-Teta(4,2))) + (V4*Y(4,3)*V3*sin(delta4-delta3-Teta(4,3))) + (V4*Y(4,4)*V4*sin(delta4-delta4-Teta(4,4))) + (V4*Y(4,5)*V5*sin(delta4-delta5-Teta(4,5)))
Q5h = (V5*Y(5,1)*V1*sin(delta5-delta1-Teta(5,1))) + (V5*Y(5,2)*V2*sin(delta5-delta2-Teta(5,2))) + (V5*Y(5,3)*V3*sin(delta5-delta3-Teta(5,3))) + (V5*Y(5,4)*V4*sin(delta5-delta4-Teta(5,4))) + (V5*Y(2,5)*V5*sin(delta5-delta5-Teta(5,5)))
disp ('Menghitung ('Menghitung Perbedaan Daya') Daya') P2d = (Pd2/100) P3d = -(Pd3/100) P4d = -(Pd4/100) P5d = -(Pd5/100) Q2d = (Qd2/100)
Q3d = -(Qd3/100) Q4d = -(Qd4/100) Q5d = -(Qd5/100)
disp ('Maka ('Maka perbedaan daya diperoleh') diperoleh') P2=P2d-P2h P3=P3d-P3h P4=P4d-P4h P5=P5d-P5h Q2=Q2d-Q2h Q3=Q3d-Q3h Q4=Q4d-Q4h Q5=Q5d-Q5h
Vektor_Power_Mismatch = [P2;P3;P4;P5;Q2;Q3;Q4;Q5]
%Sehingga Matrik Jakobian Menjadi : Jakobi_11 = V1*V2*Y(2,1)*sin(Teta(2,1) + delta1 - delta2) + V2*V3*Y(2,3)*sin(Teta(2,3) - delta2 + delta3) + V2*V4*Y(2,4)*sin(Teta(2,4) - delta2 + delta4) + V2*V5*Y(2,5)*sin(Teta(2,5) - delta2 + delta5) Jakobi_12 = V2*V3*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) Jakobi_13 = V2*V4*Y(2,4)*sin(delta2 - delta4 - Teta(2,4)) Jakobi_14 = V2*V5*Y(2,5)*sin(delta2 - delta5 - Teta(2,5)) Jakobi_15 = V2*Y(2,2)*cos(Teta(2,2)) + V1*Y(2,1)*cos(delta2 - delta1 - Teta(2,1)) + V2*Y(2,2)*cos(delta2 - delta2 - Teta(2,2)) + V3*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) + V4*Y(2,4)*cos(delta2 delta4 - Teta(2,4)) + V5*Y(2,5)*cos(delta2 - delta5 - Teta(2,5)) Jakobi_16 = V2*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) Jakobi_17 = V2*Y(2,4)*cos(delta2 - delta4 - Teta(2,4)) Jakobi_18 = V2*Y(2,5)*cos(delta2 - delta5 - Teta(2,5))
Jakobi_21 = -V2*V3*Y(3,2)*sin(Teta(3,2) + delta2 - delta3) Jakobi_22 = V1*V3*Y(3,1)*sin(Teta(3,1) + delta1 - delta3) + V2*V3*Y(3,2)*sin(Teta(3,2) + delta2 - delta3) + V3*V4*Y(3,4)*sin(Teta(3,4) + delta4 - delta3) + V3*V5*Y(3,5)*sin(Teta(3,5) + delta5 - delta3) Jakobi_23 = V3*V4*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_24 = V3*V5*Y(3,5)*sin(delta3 - delta5 - Teta(3,5)) Jakobi_25 = V3*Y(3,2)*cos(delta3 - delta2 - Teta(3,2)) Jakobi_26 = V3*Y(3,3)*cos(Teta(3,3)) + V1*Y(3,1)*cos(delta3 - delta1 - Teta(3,1)) + V2*Y(3,2)*cos(delta3 - delta2 - Teta(3,2)) + V3*Y(3,3)*cos(delta3 - delta3 - Teta(3,3)) + V4*Y(3,4)*cos(delta3 delta4 - Teta(3,4)) + V5*Y(3,5)*cos(delta3 - delta5 - Teta(3,5)) Jakobi_27 = V3*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_28 = V3*Y(3,5)*sin(delta3 - delta5 - Teta(3,5))
Jakobi_31 = V4*V2*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) Jakobi_32 = V4*V3*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) Jakobi_33 = -V4*V1*Y(4,1)*sin(delta4 - delta1 - Teta(4,1)) V4*V2*Y(4,2)*sin(delta V4*V2*Y(4,2 )*sin(delta4 4 - delta2 - Teta(4,2)) V4*V3*Y(4,3)*sin(delta V4*V3*Y(4,3 )*sin(delta4 4 - delta3 - Teta(4,3)) V4*V5*Y(4,5)*sin(delta V4*V5*Y(4,5 )*sin(delta4 4 - delta5 - Teta(4,5))
Jakobi_34 = V4*V5*Y(4,5)*sin(delta4 - delta5 - Teta(4,5)) Jakobi_35 = V4*Y(4,2)*cos(delta4 - delta2 - Teta(4,2)) Jakobi_36 = V4*Y(4,3)*cos(delta4 - delta3 - Teta(4,3)) Jakobi_37 = V4*Y(4,4)*cos(Teta(4,4)) + V1*Y(4,1)*cos(delta4 - delta1 - Teta(4,1)) + V2*Y(4,2)*cos(delta4 - delta2 - Teta(4,2)) + V3*Y(4,3)*cos(delta4 - delta3 - Teta(4,3)) + V4*Y(4,4)*cos(delta4 delta4 - Teta(4,4)) + V5*Y(4,5)*cos(delta4 - delta5 - Teta(4,5)) Jakobi_38 = V4*Y(4,5)*cos(delta4 - delta5 - Teta(4,5)) Jakobi_41 = V5*V2*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) Jakobi_42 = V5*V3*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) Jakobi_43 = V5*V4*Y(5,4)*sin(delta5 - delta4 - Teta(5,4)) Jakobi_44 = -V5*V1*Y(5,1)*sin(delta5 - delta1 - Teta(5,1)) V5*V2*Y(5,2)*sin(delta V5*V2*Y(5,2 )*sin(delta5 5 - delta2 - Teta(5,2)) V5*V3*Y(5,3)*sin(delta V5*V3*Y(5,3 )*sin(delta5 5 - delta3 - Teta(5,3)) V5*V4*Y(5,4)*sin(delta V5*V4*Y(5,4 )*sin(delta5 5 - delta4 - Teta(5,4)) Jakobi_45 = V5*Y(5,2)*cos(delta5 - delta2 - Teta(5,2)) Jakobi_46 = V5*Y(5,3)*cos(delta5 - delta3 - Teta(5,3)) Jakobi_47 = V5*Y(5,4)*cos(delta5 - delta4 - Teta(5,4)) Jakobi_48 = V5*Y(5,5)*cos(Teta(5,5)) + V1*Y(5,1)*cos(delta5 - delta1 - Teta(5,1)) + V2*Y(5,2)*cos(delta5 - delta2 - Teta(5,2)) + V3*Y(5,3)*cos(delta5 - delta3 - Teta(5,3)) + V4*Y(5,4)*cos(delta5 delta4 - Teta(5,4)) + V5*Y(5,5)*cos(delta5 - delta5 - Teta(5,5)) Jakobi_51 = V2*V1*Y(2,1)*cos(delta2 - delta1 - Teta(2,1)) + V2*V3*Y(2,3)*cos(delta V2*V3*Y(2,3 )*cos(delta2 2 - delta3 - Teta(2,3)) + V2*V4*Y(2,4)*cos(delta V2*V4*Y(2,4 )*cos(delta2 2 - delta4 - Teta(2,4))+ V2*V5*Y(2,5)*cos(delta V2*V5*Y(2,5 )*cos(delta2 2 - delta5 - Teta(2,5)) Jakobi_52 = -V2*V3*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) Jakobi_53 = -V2*V4*Y(2,4)*cos(delta2 - delta4 - Teta(2,4)) Jakobi_54 = -V2*V5*Y(2,5)*cos(delta2 - delta5 - Teta(2,5)) Jakobi_55 = -V2*Y(2,2)*sin(Teta(2,2)) + V1*Y(2,1)*sin(delta2 - delta1 - Teta(2,1)) + V2*Y(2,2)*sin(delta2 - delta2 - Teta(2,2)) + V3*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) + V4*Y(2,4)*sin(delta2 delta4 - Teta(2,4)) + V5*Y(2,5)*sin(delta2 - delta5 - Teta(2,5)) Jakobi_56 = V2*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) Jakobi_57 = V2*Y(2,4)*sin(delta2 - delta4 - Teta(2,4)) Jakobi_58 = V2*Y(2,5)*sin(delta2 - delta5 - Teta(2,5))
Jakobi_61 = V3*V2*Y(3,2)*cos(Teta(3,2) - delta3 + delta2) Jakobi_62 = V3*V1*Y(3,1)*cos(delta3 - delta1 - Teta(3,1)) + V3*V2*Y(2,3)*cos(delta V3*V2*Y(2,3 )*cos(delta3 3 - delta2 - Teta(3,2)) + V3*V4*Y(3,4)*cos(delta V3*V4*Y(3,4 )*cos(delta3 3 - delta4 - Teta(3,4)) + V3*V5*Y(3,5)*cos(delta V3*V5*Y(3,5 )*cos(delta3 3 - delta5 - Teta(3,5)) Jakobi_63 = V3*V4*Y(3,4)*cos(Teta(3,4) - delta3 + delta4) Jakobi_64 = V3*V5*Y(3,5)*cos(Teta(3,5) - delta3 + delta5) Jakobi_65 = V3*Y(3,2)*sin(delta3 - delta2 - Teta(3,2)) Jakobi_66 = -V3*Y(3,3)*sin(Teta(3,3)) + V1*Y(3,1)*sin(delta3 - delta1 - Teta(3,1)) + V2*Y(3,2)*sin(delta3 - delta2 - Teta(3,2)) + V3*Y(3,3)*sin(delta3 - delta3 - Teta(3,3)) + V4*Y(3,4)*sin(delta3 delta4 - Teta(3,4)) + V5*Y(3,5)*sin(delta3 - delta5 - Teta(3,5)) Jakobi_67 = V3*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_68 = V3*Y(3,5)*sin(delta3 - delta5 - Teta(3,5))
Jakobi_71 = V4*V2*Y(4,2)*cos(Teta(4,2) - delta4 + delta2) Jakobi_72 = V4*V3*Y(4,3)*cos(Teta(4,3) - delta4 + delta3) Jakobi_73 = V4*V1*Y(4,1)*cos(delta4 - delta1-Teta(4,1)) + V4*V2*Y(4,2)*cos(delta V4*V2*Y(4,2 )*cos(delta4 4 - delta2 - Teta(4,2)) + V4*V3*Y(4,3)*cos(delta V4*V3*Y(4,3 )*cos(delta4 4 - delta3 - Teta(4,3)) + V4*V5*Y(4,5)*cos(delta4 - delta5-Teta(4,5)) Jakobi_74 = V4*V5*Y(4,5)*cos(Teta(4,5) - delta4 + delta5) Jakobi_75 = V4*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) Jakobi_76 = V4*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) Jakobi_77 = -V4*Y(4,4)*sin(Teta(4,4)) + V1*Y(4,1)*sin(delta4 - delta1 - Teta(4,1)) + V2*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) + V3*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) + V4*Y(4,4)*sin(delta4 delta4 - Teta(4,4)) + V5*Y(4,5)*sin(delta4 - delta5 - Teta(4,5)) Jakobi_78 = V4*Y(4,5)*sin(delta4 - delta5 - Teta(4,5))
Jakobi_81 = V5*V2*Y(5,2)*cos(Teta(5,2) - delta5 + delta2) Jakobi_82 = V5*V3*Y(5,3)*cos(Teta(5,3) - delta5 + delta3) Jakobi_83 = V5*V4*Y(5,4)*cos(Teta(5,4) - delta5 + delta4) Jakobi_84 = V5*V1*Y(5,1)*cos(delta5 - delta1 - Teta(5,1)) + V5*V2*Y(5,2)*cos(delta V5*V2*Y(5,2 )*cos(delta5 5 - delta2 - Teta(5,2)) + V5*V3*Y(5,3)*cos(delta V5*V3*Y(5,3 )*cos(delta5 5 - delta3 - Teta(5,3)) + V5*V4*Y(5,4)*cos(delta V5*V4*Y(5,4 )*cos(delta5 5 - delta4 - Teta(5,4)) Jakobi_85 = V5*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) Jakobi_86 = V5*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) Jakobi_87 = V5*Y(5,4)*sin(delta5 - delta4 - Teta(5,4)) Jakobi_88 = -V5*Y(5,5)*sin(Teta(5,5)) + V1*Y(5,1)*sin(delta5 - delta1 - Teta(5,1)) + V2*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) + V3*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) + V4*Y(5,4)*sin(delta5 delta4 - Teta(5,4)) + V5*Y(5,5)*sin(delta5 - delta5 - Teta(5,5))
Jakobian = [Jakobi_11 Jakobi_12 Jakobi_13 Jakobi_14 Jakobi_15 Jakobi_16 Jakobi_17 Jakobi_18;Jakobi_21 Jakobi_22 Jakobi_23 Jakobi_24 Jakobi_25 Jakobi_26 Jakobi_27 Jakobi_28;Jakobi_31 Jakobi_32 Jakobi_33 Jakobi_34 Jakobi_35 Jakobi_36 Jakobi_37 Jakobi_38;Jakobi_41 Jakobi_42 Jakobi_43 Jakobi_44 Jakobi_45 Jakobi_46 Jakobi_47 Jakobi_48;Jakobi_51 Jakobi_52 Jakobi_53 Jakobi_54 Jakobi_55 Jakobi_56 Jakobi_57 Jakobi_58;Jakobi_61 Jakobi_62 Jakobi_63 Jakobi_64 Jakobi_65 Jakobi_66 Jakobi_67 Jakobi_68;Jakobi_71 Jakobi_72 Jakobi_73 Jakobi_74 Jakobi_75 Jakobi_76 Jakobi_77 Jakobi_78;Jakobi_81 Jakobi_82 Jakobi_83 Jakobi_84 Jakobi_85 Jakobi_86 Jakobi_87 Jakobi_88 ]
% Nilai-nilai koreksi untuk estimasi solusi:
Inverse_Jakobian = inv(Jakobian) Nilai_Koreksi_Vektor_Tegangan = Inverse_Jakobian*Vektor_Power_Mismatch
% Nilai estimasi Iterasi ke-1 disp ('Iterasi ('Iterasi 1') 1')
Vektor_Tegangan_Baru = Vektor_Tegangan_Awal + Nilai_Koreksi_Vektor_Tegangan
delta2 = Vektor_Tegangan_Baru(1,1) delta3 = Vektor_Tegangan_Baru(2,1) delta4 = Vektor_Tegangan_Baru(3,1) delta5 = Vektor_Tegangan_Baru(4,1) V2 = Vektor_Tegangan_Baru(5,1) V3 = Vektor_Tegangan_Baru(6,1) V4 = Vektor_Tegangan_Baru(7,1) V5 = Vektor_Tegangan_Baru(8,1)
disp ('Perhitungan ('Perhitungan Power Mismatch dengan estimasi awal') awal') P2h = (V2*Y(2,1)*(V1)*cos(delta2-delta1-Teta(2,1))) + (V2*Y(2,2)*(V2)*cos(delta2-delta2-Teta(2,2))) + (V2*Y(2,3)*(V3)*cos(delta2-delta3-Teta(2,3))) + (V2*Y(2,4)*(V4)*cos(delta2-delta4-Teta(2,4))) + (V2*Y(2,5)*(V5)*cos(delta2-delta5-Teta(2,5)))
P3h = (V3*Y(3,1)*V1*cos(delta3-delta1-Teta(3,1))) + (V3*Y(3,2)*V2*cos(delta3-delta2-Teta(3,2))) + (V3*Y(3,3)*V3*cos(delta3-delta3-Teta(3,3))) + (V3*Y(3,4)*(V4)*cos(delta3-delta4-Teta(3,4))) + (V3*Y(3,5)*(V5)*cos(delta3-delta5-Teta(3,5)))
P4h = (V4*Y(4,1)*V1*cos(delta4-delta1-Teta(4,1))) + (V4*Y(4,2)*V2*cos(delta4-delta2-Teta(4,2))) + (V4*Y(4,3)*V3*cos(delta4-delta3-Teta(4,3))) + (V4*Y(4,4)*(V4)*cos(delta4-delta4-Teta(4,4))) + (V4*Y(4,5)*(V5)*cos(delta4-delta5-Teta(4,5)))
P5h = (V5*Y(5,1)*V1*cos(delta5-delta1-Teta(5,1))) + (V5*Y(5,2)*V2*cos(delta5-delta2-Teta(5,2))) + (V5*Y(5,3)*V3*cos(delta5-delta3-Teta(5,3))) + (V5*Y(5,4)*(V4)*cos(delta5-delta4-Teta(5,4))) + (V5*Y(5,5)*(V5)*cos(delta5-delta5-Teta(5,5)))
Q2h = (V2*Y(2,1)*V1*sin(delta2-delta1-Teta(2,1))) + (V2*Y(2,2)*V2*sin(delta2-delta2-Teta(2,2))) + (V2*Y(2,3)*V3*sin(delta2-delta3-Teta(2,3))) + (V2*Y(2,4)*V4*sin(delta2-delta4-Teta(2,4))) + (V2*Y(2,5)*V5*sin(delta2-delta5-Teta(2,5)))
Q3h = (V3*Y(3,1)*V1*sin(delta3-delta1-Teta(3,1))) + (V3*Y(3,2)*V2*sin(delta3-delta2-Teta(3,2))) + (V3*Y(3,3)*V3*sin(delta3-delta3-Teta(3,3))) + (V3*Y(3,4)*V4*sin(delta3-delta4-Teta(3,4))) + (V3*Y(3,5)*V5*sin(delta3-delta5-Teta(3,5)))
Q4h = (V4*Y(4,1)*V1*sin(delta4-delta1-Teta(4,1))) + (V4*Y(4,2)*V2*sin(delta4-delta2-Teta(4,2))) + (V4*Y(4,3)*V3*sin(delta4-delta3-Teta(4,3))) + (V4*Y(4,4)*V4*sin(delta4-delta4-Teta(4,4))) + (V4*Y(4,5)*V5*sin(delta4-delta5-Teta(4,5)))
Q5h = (V5*Y(5,1)*V1*sin(delta5-delta1-Teta(5,1))) + (V5*Y(5,2)*V2*sin(delta5-delta2-Teta(5,2))) + (V5*Y(5,3)*V3*sin(delta5-delta3-Teta(5,3))) +
(V5*Y(5,4)*V4*sin(delta5-delta4-Teta(5,4))) + (V5*Y(2,5)*V5*sin(delta5-delta5-Teta(5,5)))
disp ('Menghitung ('Menghitung Perbedaan Daya') Daya') P2d = (Pd2/100) P3d = -(Pd3/100) P4d = -(Pd4/100) P5d = -(Pd5/100) Q2d Q3d Q4d Q5d
= = = =
(Qd2/100) -(Qd3/100) -(Qd4/100) -(Qd5/100)
disp ('Maka ('Maka perbedaan daya diperoleh') diperoleh') P2=P2d-P2h P3=P3d-P3h P4=P4d-P4h P5=P5d-P5h Q2=Q2d-Q2h Q3=Q3d-Q3h Q4=Q4d-Q4h Q5=Q5d-Q5h
Vektor_Power_Mismatch = [P2;P3;P4;P5;Q2;Q3;Q4;Q5]
%Sehingga Matrik Jakobian Menjadi : Jakobi_11 = V1*V2*Y(2,1)*sin(Teta(2,1) + delta1 - delta2) + V2*V3*Y(2,3)*sin(Teta(2,3) - delta2 + delta3) + V2*V4*Y(2,4)*sin(Teta(2,4) - delta2 + delta4) + V2*V5*Y(2,5)*sin(Teta(2,5) - delta2 + delta5) Jakobi_12 = V2*V3*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) Jakobi_13 = V2*V4*Y(2,4)*sin(delta2 - delta4 - Teta(2,4)) Jakobi_14 = V2*V5*Y(2,5)*sin(delta2 - delta5 - Teta(2,5)) Jakobi_15 = V2*Y(2,2)*cos(Teta(2,2)) + V1*Y(2,1)*cos(delta2 - delta1 - Teta(2,1)) + V2*Y(2,2)*cos(delta2 - delta2 - Teta(2,2)) + V3*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) + V4*Y(2,4)*cos(delta2 delta4 - Teta(2,4)) + V5*Y(2,5)*cos(delta2 delta5 - Teta(2,5)) Jakobi_16 = V2*Y(2,3)*cos(delta2 - delta3 -- Teta(2,3)) Jakobi_17 = V2*Y(2,4)*cos(delta2 - delta4 - Teta(2,4)) Jakobi_18 = V2*Y(2,5)*cos(delta2 - delta5 - Teta(2,5))
Jakobi_21 = -V2*V3*Y(3,2)*sin(Teta(3,2) + delta2 - delta3) Jakobi_22 = V1*V3*Y(3,1)*sin(Teta(3,1) + delta1 - delta3) + V2*V3*Y(3,2)*sin(Teta(3,2) + delta2 - delta3) + V3*V4*Y(3,4)*sin(Teta(3,4) + delta4 - delta3) + V3*V5*Y(3,5)*sin(Teta(3,5) + delta5 - delta3) Jakobi_23 = V3*V4*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_24 = V3*V5*Y(3,5)*sin(delta3 - delta5 - Teta(3,5)) Jakobi_25 = V3*Y(3,2)*cos(delta3 - delta2 - Teta(3,2)) Jakobi_26 = V3*Y(3,3)*cos(Teta(3,3)) + V1*Y(3,1)*cos(delta3 - delta1 - Teta(3,1)) + V2*Y(3,2)*cos(delta3 - delta2 - Teta(3,2)) +
V3*Y(3,3)*cos(delta3 - delta3 - Teta(3,3)) + V4*Y(3,4)*cos(delta3 delta4 - Teta(3,4)) + V5*Y(3,5)*cos(delta3 - delta5 - Teta(3,5)) Jakobi_27 = V3*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_28 = V3*Y(3,5)*sin(delta3 - delta5 - Teta(3,5))
Jakobi_31 = V4*V2*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) Jakobi_32 = V4*V3*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) Jakobi_33 = -V4*V1*Y(4,1)*sin(delta4 - delta1 - Teta(4,1)) V4*V2*Y(4,2 V4*V2*Y(4,2)*sin(delta )*sin(delta4 4 V4*V3*Y(4,3)*sin(delta V4*V3*Y(4,3 )*sin(delta4 4 - delta2 delta3 - Teta(4,2)) Teta(4,3)) V4*V5*Y(4,5)*sin(delta V4*V5*Y(4,5 )*sin(delta4 4 - delta5 - Teta(4,5)) Jakobi_34 = V4*V5*Y(4,5)*sin(delta4 - delta5 - Teta(4,5)) Jakobi_35 = V4*Y(4,2)*cos(delta4 - delta2 - Teta(4,2)) Jakobi_36 = V4*Y(4,3)*cos(delta4 - delta3 - Teta(4,3)) Jakobi_37 = V4*Y(4,4)*cos(Teta(4,4)) + V1*Y(4,1)*cos(delta4 - delta1 - Teta(4,1)) + V2*Y(4,2)*cos(delta4 - delta2 - Teta(4,2)) + V3*Y(4,3)*cos(delta4 - delta3 - Teta(4,3)) + V4*Y(4,4)*cos(delta4 delta4 - Teta(4,4)) + V5*Y(4,5)*cos(delta4 - delta5 - Teta(4,5)) Jakobi_38 = V4*Y(4,5)*cos(delta4 - delta5 - Teta(4,5))
Jakobi_41 = V5*V2*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) Jakobi_42 = V5*V3*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) Jakobi_43 = V5*V4*Y(5,4)*sin(delta5 - delta4 - Teta(5,4)) Jakobi_44 =)*sin(delta5 -V5*V1*Y(5,1)*sin(delta5 - delta1 V5*V2*Y(5,2)*sin(delta V5*V2*Y(5,2 5 - delta2 - Teta(5,2)) - Teta(5,1)) V5*V3*Y(5,3)*sin(delta V5*V3*Y(5,3 )*sin(delta5 5 - delta3 - Teta(5,3)) V5*V4*Y(5,4)*sin(delta V5*V4*Y(5,4 )*sin(delta5 5 - delta4 - Teta(5,4)) Jakobi_45 = V5*Y(5,2)*cos(delta5 - delta2 - Teta(5,2)) Jakobi_46 = V5*Y(5,3)*cos(delta5 - delta3 - Teta(5,3)) Jakobi_47 = V5*Y(5,4)*cos(delta5 - delta4 - Teta(5,4)) Jakobi_48 = V5*Y(5,5)*cos(Teta(5,5)) + V1*Y(5,1)*cos(delta5 - delta1 - Teta(5,1)) + V2*Y(5,2)*cos(delta5 - delta2 - Teta(5,2)) + V3*Y(5,3)*cos(delta5 - delta3 - Teta(5,3)) + V4*Y(5,4)*cos(delta5 delta4 - Teta(5,4)) + V5*Y(5,5)*cos(delta5 - delta5 - Teta(5,5))
Jakobi_51 = V2*V1*Y(2,1)*cos(delta2 - delta1 - Teta(2,1)) + V2*V3*Y(2,3)*cos(delta V2*V3*Y(2,3 )*cos(delta2 2 - delta3 - Teta(2,3)) + V2*V4*Y(2,4)*cos(delta V2*V4*Y(2,4 )*cos(delta2 2 - delta4 - Teta(2,4))+ V2*V5*Y(2,5)*cos(delta V2*V5*Y(2,5 )*cos(delta2 2 - delta5 - Teta(2,5)) Jakobi_52 = -V2*V3*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) Jakobi_53 = -V2*V4*Y(2,4)*cos(delta2 - delta4 - Teta(2,4)) Jakobi_54 = -V2*V5*Y(2,5)*cos(delta2 - delta5 - Teta(2,5)) Jakobi_55 = -V2*Y(2,2)*sin(Teta(2,2)) + V1*Y(2,1)*sin(delta2 - delta1 - Teta(2,1)) + V2*Y(2,2)*sin(delta2 - delta2 - Teta(2,2)) + V3*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) + V4*Y(2,4)*sin(delta2 delta4 - Teta(2,4)) + V5*Y(2,5)*sin(delta2 - delta5 - Teta(2,5)) Jakobi_56 = V2*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) Jakobi_57 = V2*Y(2,4)*sin(delta2 - delta4 - Teta(2,4)) Jakobi_58 = V2*Y(2,5)*sin(delta2 - delta5 - Teta(2,5))
Jakobi_61 = V3*V2*Y(3,2)*cos(Teta(3,2) - delta3 + delta2) Jakobi_62 = V3*V1*Y(3,1)*cos(delta3 - delta1 - Teta(3,1)) + V3*V2*Y(2,3)*cos(delta V3*V2*Y(2,3 )*cos(delta3 3 - delta2 - Teta(3,2)) +
V3*V4*Y(3,4)*cos(delta3 V3*V4*Y(3,4)*cos(delta 3 - delta4 - Teta(3,4)) + V3*V5*Y(3,5)*cos(delta V3*V5*Y(3,5 )*cos(delta3 3 - delta5 - Teta(3,5)) Jakobi_63 = V3*V4*Y(3,4)*cos(Teta(3,4) - delta3 + delta4) Jakobi_64 = V3*V5*Y(3,5)*cos(Teta(3,5) - delta3 + delta5) Jakobi_65 = V3*Y(3,2)*sin(delta3 - delta2 - Teta(3,2)) Jakobi_66 = -V3*Y(3,3)*sin(Teta(3,3)) + V1*Y(3,1)*sin(delta3 - delta1 - Teta(3,1)) + V2*Y(3,2)*sin(delta3 - delta2 - Teta(3,2)) + V3*Y(3,3)*sin(delta3 - delta3 - Teta(3,3)) + V4*Y(3,4)*sin(delta3 delta4 - Teta(3,4)) + V5*Y(3,5)*sin(delta3 - delta5 - Teta(3,5)) Jakobi_67 = V3*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_68 = V3*Y(3,5)*sin(delta3 - delta5 - Teta(3,5))
Jakobi_71 = V4*V2*Y(4,2)*cos(Teta(4,2) - delta4 + delta2) Jakobi_72 = V4*V3*Y(4,3)*cos(Teta(4,3) - delta4 + delta3) Jakobi_73 = V4*V1*Y(4,1)*cos(delta4 - delta1-Teta(4,1)) + V4*V2*Y(4,2)*cos(delta V4*V2*Y(4,2 )*cos(delta4 4 - delta2 - Teta(4,2)) + V4*V3*Y(4,3)*cos(delta V4*V3*Y(4,3 )*cos(delta4 4 - delta3 - Teta(4,3)) + V4*V5*Y(4,5)*cos(delta4 - delta5-Teta(4,5)) Jakobi_74 = V4*V5*Y(4,5)*cos(Teta(4,5) - delta4 + delta5) Jakobi_75 = V4*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) Jakobi_76 = V4*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) Jakobi_77 = -V4*Y(4,4)*sin(Teta(4,4)) + V1*Y(4,1)*sin(delta4 - delta1 - Teta(4,1)) + V2*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) + V3*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) + V4*Y(4,4)*sin(delta4 delta4 - Teta(4,4)) + V5*Y(4,5)*sin(delta4 - delta5 - Teta(4,5)) Jakobi_78 = V4*Y(4,5)*sin(delta4 - delta5 - Teta(4,5))
Jakobi_81 = V5*V2*Y(5,2)*cos(Teta(5,2) - delta5 + delta2) Jakobi_82 = V5*V3*Y(5,3)*cos(Teta(5,3) - delta5 + delta3) Jakobi_83 = V5*V4*Y(5,4)*cos(Teta(5,4) - delta5 + delta4) Jakobi_84 = V5*V1*Y(5,1)*cos(delta5 - delta1 - Teta(5,1)) + V5*V2*Y(5,2)*cos(delta V5*V2*Y(5,2 )*cos(delta5 5 - delta2 - Teta(5,2)) + V5*V3*Y(5,3)*cos(delta V5*V3*Y(5,3 )*cos(delta5 5 - delta3 - Teta(5,3)) + V5*V4*Y(5,4)*cos(delta V5*V4*Y(5,4 )*cos(delta5 5 - delta4 - Teta(5,4)) Jakobi_85 = V5*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) Jakobi_86 = V5*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) Jakobi_87 = V5*Y(5,4)*sin(delta5 - delta4 - Teta(5,4)) Jakobi_88 = -V5*Y(5,5)*sin(Teta(5,5)) + V1*Y(5,1)*sin(delta5 - delta1 - Teta(5,1)) + V2*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) + V3*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) + V4*Y(5,4)*sin(delta5 delta4 - Teta(5,4)) + V5*Y(5,5)*sin(delta5 - delta5 - Teta(5,5))
Jakobian = [Jakobi_11 Jakobi_12 Jakobi_13 Jakobi_14 Jakobi_15 Jakobi_16 Jakobi_17 Jakobi_18;Jakobi_21 Jakobi_22 Jakobi_23 Jakobi_24 Jakobi_25 Jakobi_26 Jakobi_27 Jakobi_28;Jakobi_31 Jakobi_32 Jakobi_33 Jakobi_34 Jakobi_35 Jakobi_36 Jakobi_37 Jakobi_38;Jakobi_41 Jakobi_42 Jakobi_43 Jakobi_44 Jakobi_45 Jakobi_46 Jakobi_47 Jakobi_48;Jakobi_51 Jakobi_52 Jakobi_53 Jakobi_54 Jakobi_55 Jakobi_56 Jakobi_57 Jakobi_58;Jakobi_61 Jakobi_62 Jakobi_63 Jakobi_64 Jakobi_65 Jakobi_66 Jakobi_67 Jakobi_68;Jakobi_71 Jakobi_72 Jakobi_73 Jakobi_74 Jakobi_75 Jakobi_76 Jakobi_77 Jakobi_78;Jakobi_81 Jakobi_82 Jakobi_83 Jakobi_84 Jakobi_85 Jakobi_86 Jakobi_87 Jakobi_88 ]
% Nilai-nilai koreksi untuk estimasi solusi:
Inverse_Jakobian = inv(Jakobian) Nilai_Koreksi_Vektor_Tegangan = Inverse_Jakobian*Vektor_Power_Mismatch
% Nilai estimasi Iterasi ke-2 disp ('Iterasi ('Iterasi 2') 2')
Vektor_Tegangan_Baru = Vektor_Tegangan_Awal + Nilai_Koreksi_Vektor_Tegangan
delta2 = Vektor_Tegangan_Baru(1,1) delta3 = Vektor_Tegangan_Baru(2,1) delta4 = Vektor_Tegangan_Baru(3,1) delta5 = Vektor_Tegangan_Baru(4,1) V2 = Vektor_Tegangan_Baru(5,1) V3 = Vektor_Tegangan_Baru(6,1) V4 = Vektor_Tegangan_Baru(7,1) V5 = Vektor_Tegangan_Baru(8,1)
disp ('Perhitungan ('Perhitungan Power Mismatch dengan estimasi awal') awal') P2h = (V2*Y(2,1)*(V1)*cos(delta2-delta1-Teta(2,1))) + (V2*Y(2,2)*(V2)*cos(delta2-delta2-Teta(2,2))) + (V2*Y(2,3)*(V3)*cos(delta2-delta3-Teta(2,3))) + (V2*Y(2,4)*(V4)*cos(delta2-delta4-Teta(2,4))) + (V2*Y(2,5)*(V5)*cos(delta2-delta5-Teta(2,5)))
P3h = (V3*Y(3,1)*V1*cos(delta3-delta1-Teta(3,1))) + (V3*Y(3,2)*V2*cos(delta3-delta2-Teta(3,2))) + (V3*Y(3,3)*V3*cos(delta3-delta3-Teta(3,3))) + (V3*Y(3,4)*(V4)*cos(delta3-delta4-Teta(3,4))) + (V3*Y(3,5)*(V5)*cos(delta3-delta5-Teta(3,5)))
P4h = (V4*Y(4,1)*V1*cos(delta4-delta1-Teta(4,1))) + (V4*Y(4,2)*V2*cos(delta4-delta2-Teta(4,2))) + (V4*Y(4,3)*V3*cos(delta4-delta3-Teta(4,3))) + (V4*Y(4,4)*(V4)*cos(delta4-delta4-Teta(4,4))) + (V4*Y(4,5)*(V5)*cos(delta4-delta5-Teta(4,5)))
P5h = (V5*Y(5,1)*V1*cos(delta5-delta1-Teta(5,1))) + (V5*Y(5,2)*V2*cos(delta5-delta2-Teta(5,2))) + (V5*Y(5,3)*V3*cos(delta5-delta3-Teta(5,3))) + (V5*Y(5,4)*(V4)*cos(delta5-delta4-Teta(5,4))) + (V5*Y(5,5)*(V5)*cos(delta5-delta5-Teta(5,5)))
Q2h = (V2*Y(2,1)*V1*sin(delta2-delta1-Teta(2,1))) + (V2*Y(2,2)*V2*sin(delta2-delta2-Teta(2,2))) + (V2*Y(2,3)*V3*sin(delta2-delta3-Teta(2,3))) + (V2*Y(2,4)*V4*sin(delta2-delta4-Teta(2,4))) + (V2*Y(2,5)*V5*sin(delta2-delta5-Teta(2,5)))
Q3h = (V3*Y(3,1)*V1*sin(delta3-delta1-Teta(3,1))) + (V3*Y(3,2)*V2*sin(delta3-delta2-Teta(3,2))) + (V3*Y(3,3)*V3*sin(delta3-delta3-Teta(3,3))) +
(V3*Y(3,4)*V4*sin(delta3-delta4-Teta(3,4))) + (V3*Y(3,5)*V5*sin(delta3-delta5-Teta(3,5)))
Q4h = (V4*Y(4,1)*V1*sin(delta4-delta1-Teta(4,1))) + (V4*Y(4,2)*V2*sin(delta4-delta2-Teta(4,2))) + (V4*Y(4,3)*V3*sin(delta4-delta3-Teta(4,3))) + (V4*Y(4,4)*V4*sin(delta4-delta4-Teta(4,4))) + (V4*Y(4,5)*V5*sin(delta4-delta5-Teta(4,5)))
Q5h = (V5*Y(5,1)*V1*sin(delta5-delta1-Teta(5,1))) + (V5*Y(5,2)*V2*sin(delta5-delta2-Teta(5,2))) + (V5*Y(5,3)*V3*sin(delta5-delta3-Teta(5,3))) + (V5*Y(5,4)*V4*sin(delta5-delta4-Teta(5,4))) + (V5*Y(2,5)*V5*sin(delta5-delta5-Teta(5,5)))
disp ('Menghitung ('Menghitung Perbedaan Daya') Daya') P2d = (Pd2/100) P3d = -(Pd3/100) P4d = -(Pd4/100) P5d = -(Pd5/100) Q2d = (Qd2/100) Q3d = -(Qd3/100) Q4d = -(Qd4/100)
Q5d = -(Qd5/100)
disp ('Maka ('Maka perbedaan daya diperoleh') diperoleh') P2=P2d-P2h P3=P3d-P3h P4=P4d-P4h P5=P5d-P5h Q2=Q2d-Q2h Q3=Q3d-Q3h Q4=Q4d-Q4h Q5=Q5d-Q5h
Vektor_Power_Mismatch = [P2;P3;P4;P5;Q2;Q3;Q4;Q5]
%Sehingga Matrik Jakobian Menjadi : Jakobi_11 = V1*V2*Y(2,1)*sin(Teta(2,1) + delta1 - delta2) + V2*V3*Y(2,3)*sin(Teta(2,3) - delta2 + delta3) + V2*V4*Y(2,4)*sin(Teta(2,4) - delta2 + delta4) + V2*V5*Y(2,5)*sin(Teta(2,5) - delta2 + delta5) Jakobi_12 = V2*V3*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) Jakobi_13 = V2*V4*Y(2,4)*sin(delta2 - delta4 - Teta(2,4)) Jakobi_14 = V2*V5*Y(2,5)*sin(delta2 - delta5 - Teta(2,5)) Jakobi_15 = V2*Y(2,2)*cos(Teta(2,2)) + V1*Y(2,1)*cos(delta2 - delta1 - Teta(2,1)) + V2*Y(2,2)*cos(delta2 - delta2 - Teta(2,2)) + V3*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) + V4*Y(2,4)*cos(delta2 delta4 - Teta(2,4)) + V5*Y(2,5)*cos(delta2 - delta5 - Teta(2,5)) Jakobi_16 = V2*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) Jakobi_17 = V2*Y(2,4)*cos(delta2 - delta4 - Teta(2,4)) Jakobi_18 = V2*Y(2,5)*cos(delta2 - delta5 - Teta(2,5))
Jakobi_21 = -V2*V3*Y(3,2)*sin(Teta(3,2) + delta2 - delta3) Jakobi_22 = V1*V3*Y(3,1)*sin(Teta(3,1) + delta1 - delta3) + V2*V3*Y(3,2)*sin(Teta(3,2) + delta2 - delta3) + V3*V4*Y(3,4)*sin(Teta(3,4) + delta4 - delta3) + V3*V5*Y(3,5)*sin(Teta(3,5) + delta5 - delta3) Jakobi_23 = V3*V4*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_24 = V3*V5*Y(3,5)*sin(delta3 - delta5 - Teta(3,5)) Jakobi_25 = V3*Y(3,2)*cos(delta3 - delta2 - Teta(3,2)) Jakobi_26 = V3*Y(3,3)*cos(Teta(3,3)) + V1*Y(3,1)*cos(delta3 - delta1 - Teta(3,1)) + V2*Y(3,2)*cos(delta3 - delta2 - Teta(3,2)) + V3*Y(3,3)*cos(delta3 - delta3 - Teta(3,3)) + V4*Y(3,4)*cos(delta3 delta4 - Teta(3,4)) + V5*Y(3,5)*cos(delta3 - delta5 - Teta(3,5)) Jakobi_27 = V3*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_28 = V3*Y(3,5)*sin(delta3 - delta5 - Teta(3,5))
Jakobi_31 = V4*V2*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) Jakobi_32 = V4*V3*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) Jakobi_33 = -V4*V1*Y(4,1)*sin(delta4 - delta1 - Teta(4,1)) V4*V2*Y(4,2)*sin(delta V4*V2*Y(4,2 )*sin(delta4 4 - delta2 - Teta(4,2)) V4*V3*Y(4,3)*sin(delta V4*V3*Y(4,3 )*sin(delta4 4 - delta3 - Teta(4,3)) V4*V5*Y(4,5)*sin(delta V4*V5*Y(4,5 )*sin(delta4 4 - delta5 - Teta(4,5)) Jakobi_34 = V4*V5*Y(4,5)*sin(delta4 - delta5 - Teta(4,5)) Jakobi_35 = V4*Y(4,2)*cos(delta4 - delta2 - Teta(4,2)) Jakobi_36 = V4*Y(4,3)*cos(delta4 - delta3 - Teta(4,3)) Jakobi_37 = V4*Y(4,4)*cos(Teta(4,4)) + V1*Y(4,1)*cos(delta4 - delta1 - Teta(4,1)) + V2*Y(4,2)*cos(delta4 - delta2 - Teta(4,2)) + V3*Y(4,3)*cos(delta4 - delta3 - Teta(4,3)) + V4*Y(4,4)*cos(delta4 delta4 - Teta(4,4)) + V5*Y(4,5)*cos(delta4 - delta5 - Teta(4,5)) Jakobi_38 = V4*Y(4,5)*cos(delta4 - delta5 - Teta(4,5))
Jakobi_41 = V5*V2*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) Jakobi_42 = V5*V3*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) Jakobi_43 = V5*V4*Y(5,4)*sin(delta5 - delta4 - Teta(5,4)) Jakobi_44 = -V5*V1*Y(5,1)*sin(delta5 - delta1 - Teta(5,1)) V5*V2*Y(5,2)*sin(delta V5*V2*Y(5,2 )*sin(delta5 5 - delta2 - Teta(5,2)) V5*V3*Y(5,3)*sin(delta V5*V3*Y(5,3 )*sin(delta5 5 - delta3 - Teta(5,3)) V5*V4*Y(5,4)*sin(delta V5*V4*Y(5,4 )*sin(delta5 5 - delta4 - Teta(5,4)) Jakobi_45 = V5*Y(5,2)*cos(delta5 - delta2 - Teta(5,2)) Jakobi_46 = V5*Y(5,3)*cos(delta5 - delta3 - Teta(5,3)) Jakobi_47 = V5*Y(5,4)*cos(delta5 - delta4 - Teta(5,4)) Jakobi_48 = V5*Y(5,5)*cos(Teta(5,5)) + V1*Y(5,1)*cos(delta5 - delta1 - Teta(5,1)) + V2*Y(5,2)*cos(delta5 - delta2 - Teta(5,2)) + V3*Y(5,3)*cos(delta5 - delta3 - Teta(5,3)) + V4*Y(5,4)*cos(delta5 delta4 - Teta(5,4)) + V5*Y(5,5)*cos(delta5 - delta5 - Teta(5,5))
Jakobi_51 = V2*V1*Y(2,1)*cos(delta2 - delta1 - Teta(2,1)) + V2*V3*Y(2,3)*cos(delta V2*V3*Y(2,3 )*cos(delta2 2 - delta3 - Teta(2,3)) + V2*V4*Y(2,4)*cos(delta V2*V4*Y(2,4 )*cos(delta2 2 - delta4 - Teta(2,4))+ V2*V5*Y(2,5)*cos(delta V2*V5*Y(2,5 )*cos(delta2 2 - delta5 - Teta(2,5)) Jakobi_52 = -V2*V3*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) Jakobi_53 = -V2*V4*Y(2,4)*cos(delta2 - delta4 - Teta(2,4)) Jakobi_54 = -V2*V5*Y(2,5)*cos(delta2 - delta5 - Teta(2,5)) Jakobi_55 = -V2*Y(2,2)*sin(Teta(2,2)) + V1*Y(2,1)*sin(delta2 - delta1 - Teta(2,1)) + V2*Y(2,2)*sin(delta2 - delta2 - Teta(2,2)) +
V3*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) + V4*Y(2,4)*sin(delta2 delta4 - Teta(2,4)) + V5*Y(2,5)*sin(delta2 - delta5 - Teta(2,5)) Jakobi_56 = V2*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) Jakobi_57 = V2*Y(2,4)*sin(delta2 - delta4 - Teta(2,4)) Jakobi_58 = V2*Y(2,5)*sin(delta2 - delta5 - Teta(2,5))
Jakobi_61 = V3*V2*Y(3,2)*cos(Teta(3,2) - delta3 + delta2) Jakobi_62 = V3*V1*Y(3,1)*cos(delta3 - delta1 - Teta(3,1)) + V3*V2*Y(2,3)*cos(delta3 V3*V2*Y(2,3)*cos(delta 3 - delta2 - Teta(3,2)) + V3*V4*Y(3,4)*cos(delta V3*V4*Y(3,4 )*cos(delta3 3 - delta4 - Teta(3,4)) + V3*V5*Y(3,5)*cos(delta V3*V5*Y(3,5 )*cos(delta3 3 - delta5 - Teta(3,5)) Jakobi_63 = V3*V4*Y(3,4)*cos(Teta(3,4) - delta3 + delta4) Jakobi_64 = V3*V5*Y(3,5)*cos(Teta(3,5) - delta3 + delta5) Jakobi_65 = V3*Y(3,2)*sin(delta3 - delta2 - Teta(3,2)) Jakobi_66 = -V3*Y(3,3)*sin(Teta(3,3)) + V1*Y(3,1)*sin(delta3 - delta1 - Teta(3,1)) + V2*Y(3,2)*sin(delta3 - delta2 - Teta(3,2)) + V3*Y(3,3)*sin(delta3 - delta3 - Teta(3,3)) + V4*Y(3,4)*sin(delta3 delta4 - Teta(3,4)) + V5*Y(3,5)*sin(delta3 - delta5 - Teta(3,5)) Jakobi_67 = V3*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_68 = V3*Y(3,5)*sin(delta3 - delta5 - Teta(3,5))
Jakobi_71 = V4*V2*Y(4,2)*cos(Teta(4,2) - delta4 + delta2) Jakobi_72 = V4*V3*Y(4,3)*cos(Teta(4,3) - delta4 + delta3) Jakobi_73 = V4*V1*Y(4,1)*cos(delta4 - delta1-Teta(4,1)) + V4*V2*Y(4,2)*cos(delta V4*V2*Y(4,2 )*cos(delta4 4 - delta2 - Teta(4,2)) + V4*V3*Y(4,3)*cos(delta V4*V3*Y(4,3 )*cos(delta4 4 - delta3 - Teta(4,3)) + V4*V5*Y(4,5)*cos(delta4 - delta5-Teta(4,5)) Jakobi_74 = V4*V5*Y(4,5)*cos(Teta(4,5) - delta4 + delta5) Jakobi_75 = V4*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) Jakobi_76 = V4*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) Jakobi_77 = -V4*Y(4,4)*sin(Teta(4,4)) + V1*Y(4,1)*sin(delta4 - delta1 - Teta(4,1)) + V2*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) + V3*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) + V4*Y(4,4)*sin(delta4 delta4 - Teta(4,4)) + V5*Y(4,5)*sin(delta4 - delta5 - Teta(4,5)) Jakobi_78 = V4*Y(4,5)*sin(delta4 - delta5 - Teta(4,5))
Jakobi_81 = V5*V2*Y(5,2)*cos(Teta(5,2) - delta5 + delta2) Jakobi_82 = V5*V3*Y(5,3)*cos(Teta(5,3) - delta5 + delta3) Jakobi_83 = V5*V4*Y(5,4)*cos(Teta(5,4) - delta5 + delta4) Jakobi_84 = V5*V1*Y(5,1)*cos(delta5 - delta1 - Teta(5,1)) + V5*V2*Y(5,2)*cos(delta V5*V2*Y(5,2 )*cos(delta5 5 - delta2 - Teta(5,2)) + V5*V3*Y(5,3)*cos(delta V5*V3*Y(5,3 )*cos(delta5 5 - delta3 - Teta(5,3)) + V5*V4*Y(5,4)*cos(delta V5*V4*Y(5,4 )*cos(delta5 5 - delta4 - Teta(5,4)) Jakobi_85 = V5*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) Jakobi_86 = V5*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) Jakobi_87 = V5*Y(5,4)*sin(delta5 - delta4 - Teta(5,4)) Jakobi_88 = -V5*Y(5,5)*sin(Teta(5,5)) + V1*Y(5,1)*sin(delta5 - delta1 - Teta(5,1)) + V2*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) + V3*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) + V4*Y(5,4)*sin(delta5 delta4 - Teta(5,4)) + V5*Y(5,5)*sin(delta5 - delta5 - Teta(5,5))
Jakobian = [Jakobi_11 Jakobi_12 Jakobi_13 Jakobi_14 Jakobi_15 Jakobi_16 Jakobi_17 Jakobi_27 Jakobi_18;Jakobi_21 Jakobi_22 Jakobi_32 Jakobi_23 Jakobi_33 Jakobi_24 Jakobi_25 Jakobi_26 Jakobi_28;Jakobi_31
Jakobi_34 Jakobi_35 Jakobi_36 Jakobi_37 Jakobi_43 Jakobi_44 Jakobi_45 Jakobi_46 Jakobi_52 Jakobi_53 Jakobi_54 Jakobi_55 Jakobi_58;Jakobi_61 Jakobi_62 Jakobi_63 Jakobi_67 Jakobi_68;Jakobi_71 Jakobi_72 Jakobi_76 Jakobi_77 Jakobi_78;Jakobi_81 Jakobi_85 Jakobi_86 Jakobi_87 Jakobi_88
Jakobi_38;Jakobi_41 Jakobi_42 Jakobi_47 Jakobi_48;Jakobi_51 Jakobi_56 Jakobi_57 Jakobi_64 Jakobi_65 Jakobi_66 Jakobi_73 Jakobi_74 Jakobi_75 Jakobi_82 Jakobi_83 Jakobi_84 ]
% Nilai-nilai koreksi untuk estimasi solusi:
Inverse_Jakobian = inv(Jakobian) Nilai_Koreksi_Vektor_Tegangan = Inverse_Jakobian*Vektor_Power_Mismatch
% Nilai estimasi Iterasi ke-3 disp ('Iterasi ('Iterasi 3') 3')
Vektor_Tegangan_Baru = Vektor_Tegangan_Awal + Nilai_Koreksi_Vektor_Tegangan
delta2 = Vektor_Tegangan_Baru(1,1) delta3 = Vektor_Tegangan_Baru(2,1) delta4 = Vektor_Tegangan_Baru(3,1) delta5 = Vektor_Tegangan_Baru(4,1) V2 = Vektor_Tegangan_Baru(5,1) V3 = Vektor_Tegangan_Baru(6,1) V4 = Vektor_Tegangan_Baru(7,1) V5 = Vektor_Tegangan_Baru(8,1)
disp ('Perhitungan ('Perhitungan Power Mismatch dengan estimasi awal') awal') P2h = (V2*Y(2,1)*(V1)*cos(delta2-delta1-Teta(2,1))) + (V2*Y(2,2)*(V2)*cos(delta2-delta2-Teta(2,2))) + (V2*Y(2,3)*(V3)*cos(delta2-delta3-Teta(2,3))) + (V2*Y(2,4)*(V4)*cos(delta2-delta4-Teta(2,4))) + (V2*Y(2,5)*(V5)*cos(delta2-delta5-Teta(2,5)))
P3h = (V3*Y(3,1)*V1*cos(delta3-delta1-Teta(3,1))) + (V3*Y(3,2)*V2*cos(delta3-delta2-Teta(3,2))) + (V3*Y(3,3)*V3*cos(delta3-delta3-Teta(3,3))) + (V3*Y(3,4)*(V4)*cos(delta3-delta4-Teta(3,4))) + (V3*Y(3,5)*(V5)*cos(delta3-delta5-Teta(3,5)))
P4h = (V4*Y(4,1)*V1*cos(delta4-delta1-Teta(4,1))) + (V4*Y(4,2)*V2*cos(delta4-delta2-Teta(4,2))) + (V4*Y(4,3)*V3*cos(delta4-delta3-Teta(4,3))) + (V4*Y(4,4)*(V4)*cos(delta4-delta4-Teta(4,4))) + (V4*Y(4,5)*(V5)*cos(delta4-delta5-Teta(4,5)))
P5h = (V5*Y(5,1)*V1*cos(delta5-delta1-Teta(5,1))) + (V5*Y(5,2)*V2*cos(delta5-delta2-Teta(5,2))) + (V5*Y(5,3)*V3*cos(delta5-delta3-Teta(5,3))) + (V5*Y(5,4)*(V4)*cos(delta5-delta4-Teta(5,4))) + (V5*Y(5,5)*(V5)*cos(delta5-delta5-Teta(5,5)))
Q2h = (V2*Y(2,1)*V1*sin(delta2-delta1-Teta(2,1))) + (V2*Y(2,2)*V2*sin(delta2-delta2-Teta(2,2))) + (V2*Y(2,3)*V3*sin(delta2-delta3-Teta(2,3))) + (V2*Y(2,4)*V4*sin(delta2-delta4-Teta(2,4))) + (V2*Y(2,5)*V5*sin(delta2-delta5-Teta(2,5)))
Q3h = (V3*Y(3,1)*V1*sin(delta3-delta1-Teta(3,1))) + (V3*Y(3,2)*V2*sin(delta3-delta2-Teta(3,2))) + (V3*Y(3,3)*V3*sin(delta3-delta3-Teta(3,3))) + (V3*Y(3,4)*V4*sin(delta3-delta4-Teta(3,4))) + (V3*Y(3,5)*V5*sin(delta3-delta5-Teta(3,5)))
Q4h = (V4*Y(4,1)*V1*sin(delta4-delta1-Teta(4,1))) + (V4*Y(4,2)*V2*sin(delta4-delta2-Teta(4,2))) + (V4*Y(4,3)*V3*sin(delta4-delta3-Teta(4,3))) + (V4*Y(4,4)*V4*sin(delta4-delta4-Teta(4,4))) + (V4*Y(4,5)*V5*sin(delta4-delta5-Teta(4,5)))
Q5h = (V5*Y(5,1)*V1*sin(delta5-delta1-Teta(5,1))) + (V5*Y(5,2)*V2*sin(delta5-delta2-Teta(5,2))) + (V5*Y(5,3)*V3*sin(delta5-delta3-Teta(5,3))) + (V5*Y(5,4)*V4*sin(delta5-delta4-Teta(5,4))) + (V5*Y(2,5)*V5*sin(delta5-delta5-Teta(5,5))) disp ('Menghitung ('Menghitung Perbedaan Daya') Daya') P2d = (Pd2/100) P3d = -(Pd3/100) P4d = -(Pd4/100) P5d = -(Pd5/100) Q2d = (Qd2/100) Q3d = -(Qd3/100) Q4d = -(Qd4/100) Q5d = -(Qd5/100)
disp ('Maka ('Maka perbedaan daya diperoleh') diperoleh') P2=P2d-P2h P3=P3d-P3h P4=P4d-P4h P5=P5d-P5h Q2=Q2d-Q2h Q3=Q3d-Q3h Q4=Q4d-Q4h Q5=Q5d-Q5h
Vektor_Power_Mismatch = [P2;P3;P4;P5;Q2;Q3;Q4;Q5]
%Sehingga Matrik Jakobian Menjadi : Jakobi_11 = V1*V2*Y(2,1)*sin(Teta(2,1) + delta1 - delta2) + V2*V3*Y(2,3)*sin(Teta(2,3) - delta2 + delta3) + V2*V4*Y(2,4)*sin(Teta(2,4) - delta2 + delta4) + V2*V5*Y(2,5)*sin(Teta(2,5) - delta2 + delta5) Jakobi_12 = V2*V3*Y(2,3)*sin(delta2 - delta3 - Teta(2,3))
Jakobi_13 = V2*V4*Y(2,4)*sin(delta2 - delta4 - Teta(2,4)) Jakobi_14 = V2*V5*Y(2,5)*sin(delta2 - delta5 - Teta(2,5)) Jakobi_15 = V2*Y(2,2)*cos(Teta(2,2)) + V1*Y(2,1)*cos(delta2 - delta1 - Teta(2,1)) + V2*Y(2,2)*cos(delta2 - delta2 - Teta(2,2)) + V3*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) + V4*Y(2,4)*cos(delta2 delta4 - Teta(2,4)) + V5*Y(2,5)*cos(delta2 - delta5 - Teta(2,5)) Jakobi_16 = V2*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) Jakobi_17 = V2*Y(2,4)*cos(delta2 - delta4 - Teta(2,4))
Jakobi_18 = V2*Y(2,5)*cos(delta2 - delta5 - Teta(2,5))
Jakobi_21 = -V2*V3*Y(3,2)*sin(Teta(3,2) + delta2 - delta3) Jakobi_22 = V1*V3*Y(3,1)*sin(Teta(3,1) + delta1 - delta3) + V2*V3*Y(3,2)*sin(Teta(3,2) + delta2 - delta3) + V3*V4*Y(3,4)*sin(Teta(3,4) + delta4 - delta3) + V3*V5*Y(3,5)*sin(Teta(3,5) + delta5 - delta3) Jakobi_23 = V3*V4*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_24 = V3*V5*Y(3,5)*sin(delta3 - delta5 - Teta(3,5)) Jakobi_25 = V3*Y(3,2)*cos(delta3 - delta2 - Teta(3,2)) Jakobi_26 = V3*Y(3,3)*cos(Teta(3,3)) + V1*Y(3,1)*cos(delta3 - delta1 - Teta(3,1)) + V2*Y(3,2)*cos(delta3 - delta2 - Teta(3,2)) + V3*Y(3,3)*cos(delta3 - delta3 - Teta(3,3)) + V4*Y(3,4)*cos(delta3 delta4 - Teta(3,4)) + V5*Y(3,5)*cos(delta3 - delta5 - Teta(3,5)) Jakobi_27 = V3*Y(3,4)*sin(delta3 - delta4 - Teta(3,4))
Jakobi_28 = V3*Y(3,5)*sin(delta3 - delta5 - Teta(3,5))
Jakobi_31 = V4*V2*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) Jakobi_32 = V4*V3*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) Jakobi_33 = -V4*V1*Y(4,1)*sin(delta4 - delta1 - Teta(4,1)) V4*V2*Y(4,2)*sin(delta V4*V2*Y(4,2 )*sin(delta4 4 - delta2 - Teta(4,2)) V4*V3*Y(4,3)*sin(delta V4*V3*Y(4,3 )*sin(delta4 4 - delta3 - Teta(4,3)) V4*V5*Y(4,5)*sin(delta V4*V5*Y(4,5 )*sin(delta4 4 - delta5 - Teta(4,5)) Jakobi_34 = V4*V5*Y(4,5)*sin(delta4 - delta5 - Teta(4,5)) Jakobi_35 = V4*Y(4,2)*cos(delta4 - delta2 - Teta(4,2)) Jakobi_36 = V4*Y(4,3)*cos(delta4 - delta3 - Teta(4,3)) Jakobi_37 = V4*Y(4,4)*cos(Teta(4,4)) + V1*Y(4,1)*cos(delta4 - delta1 - Teta(4,1)) + V2*Y(4,2)*cos(delta4 - delta2 - Teta(4,2)) + V3*Y(4,3)*cos(delta4 - delta3 - Teta(4,3)) + V4*Y(4,4)*cos(delta4 delta4 - Teta(4,4)) + V5*Y(4,5)*cos(delta4 - delta5 - Teta(4,5))
Jakobi_38 = V4*Y(4,5)*cos(delta4 - delta5 - Teta(4,5))
Jakobi_41 = V5*V2*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) Jakobi_42 = V5*V3*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) Jakobi_43 = V5*V4*Y(5,4)*sin(delta5 - delta4 - Teta(5,4)) Jakobi_44 = -V5*V1*Y(5,1)*sin(delta5 - delta1 - Teta(5,1)) V5*V2*Y(5,2)*sin(delta V5*V2*Y(5,2 )*sin(delta5 5 - delta2 - Teta(5,2)) V5*V3*Y(5,3)*sin(delta V5*V3*Y(5,3 )*sin(delta5 5 - delta3 - Teta(5,3)) V5*V4*Y(5,4)*sin(delta V5*V4*Y(5,4 )*sin(delta5 5 - delta4 - Teta(5,4)) Jakobi_45 = V5*Y(5,2)*cos(delta5 - delta2 - Teta(5,2)) Jakobi_46 = V5*Y(5,3)*cos(delta5 - delta3 - Teta(5,3)) Jakobi_47 = V5*Y(5,4)*cos(delta5 - delta4 - Teta(5,4)) Jakobi_48 = V5*Y(5,5)*cos(Teta(5,5)) + V1*Y(5,1)*cos(delta5 - delta1 - Teta(5,1)) + V2*Y(5,2)*cos(delta5 - delta2 - Teta(5,2)) + V3*Y(5,3)*cos(delta5 - delta3 - Teta(5,3)) + V4*Y(5,4)*cos(delta5 delta4 - Teta(5,4)) + V5*Y(5,5)*cos(delta5 - delta5 - Teta(5,5))
Jakobi_51 = V2*V1*Y(2,1)*cos(delta2 - delta1 - Teta(2,1)) + V2*V3*Y(2,3)*cos(delta V2*V3*Y(2,3 )*cos(delta2 2 - delta3 - Teta(2,3)) + V2*V4*Y(2,4)*cos(delta V2*V4*Y(2,4 )*cos(delta2 2 - delta4 - Teta(2,4))+ V2*V5*Y(2,5)*cos(delta V2*V5*Y(2,5 )*cos(delta2 2 - delta5 - Teta(2,5)) Jakobi_52 = -V2*V3*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) Jakobi_53 = -V2*V4*Y(2,4)*cos(delta2 - delta4 - Teta(2,4)) Jakobi_54 = -V2*V5*Y(2,5)*cos(delta2 - delta5 - Teta(2,5)) Jakobi_55 = -V2*Y(2,2)*sin(Teta(2,2)) + V1*Y(2,1)*sin(delta2 - delta1 - Teta(2,1)) + V2*Y(2,2)*sin(delta2 - delta2 - Teta(2,2)) + V3*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) + V4*Y(2,4)*sin(delta2 delta4 - Teta(2,4)) + V5*Y(2,5)*sin(delta2 - delta5 - Teta(2,5)) Jakobi_56 = V2*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) Jakobi_57 = V2*Y(2,4)*sin(delta2 - delta4 - Teta(2,4)) Jakobi_58 = V2*Y(2,5)*sin(delta2 - delta5 - Teta(2,5))
Jakobi_61 = V3*V2*Y(3,2)*cos(Teta(3,2) - delta3 + delta2) Jakobi_62 = V3*V1*Y(3,1)*cos(delta3 - delta1 - Teta(3,1)) + V3*V2*Y(2,3)*cos(delta V3*V2*Y(2,3 )*cos(delta3 3 - delta2 - Teta(3,2)) + V3*V4*Y(3,4)*cos(delta V3*V4*Y(3,4 )*cos(delta3 3 - delta4 - Teta(3,4)) + V3*V5*Y(3,5)*cos(delta V3*V5*Y(3,5 )*cos(delta3 3 - delta5 - Teta(3,5)) Jakobi_63 = V3*V4*Y(3,4)*cos(Teta(3,4) - delta3 + delta4) Jakobi_64 = V3*V5*Y(3,5)*cos(Teta(3,5) - delta3 + delta5) Jakobi_65 = V3*Y(3,2)*sin(delta3 - delta2 - Teta(3,2)) Jakobi_66 = -V3*Y(3,3)*sin(Teta(3,3)) + V1*Y(3,1)*sin(delta3 - delta1 - Teta(3,1)) + V2*Y(3,2)*sin(delta3 - delta2 - Teta(3,2)) + V3*Y(3,3)*sin(delta3 - delta3 - Teta(3,3)) + V4*Y(3,4)*sin(delta3 delta4 - Teta(3,4)) + V5*Y(3,5)*sin(delta3 - delta5 - Teta(3,5)) Jakobi_67 = V3*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_68 = V3*Y(3,5)*sin(delta3 - delta5 - Teta(3,5))
Jakobi_71 = V4*V2*Y(4,2)*cos(Teta(4,2) - delta4 + delta2) Jakobi_72 = V4*V3*Y(4,3)*cos(Teta(4,3) - delta4 + delta3) Jakobi_73 = V4*V1*Y(4,1)*cos(delta4 - delta1-Teta(4,1)) + V4*V2*Y(4,2)*cos(delta V4*V2*Y(4,2 )*cos(delta4 4 - delta2 - Teta(4,2)) + V4*V3*Y(4,3)*cos(delta V4*V3*Y(4,3 )*cos(delta4 4 - delta3 - Teta(4,3)) + V4*V5*Y(4,5)*cos(delta4 - delta5-Teta(4,5)) Jakobi_74 = V4*V5*Y(4,5)*cos(Teta(4,5) - delta4 + delta5) Jakobi_75 = V4*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) Jakobi_76 = V4*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) Jakobi_77 = -V4*Y(4,4)*sin(Teta(4,4)) + V1*Y(4,1)*sin(delta4 - delta1 - Teta(4,1)) + V2*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) + V3*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) + V4*Y(4,4)*sin(delta4 delta4 - Teta(4,4)) + V5*Y(4,5)*sin(delta4 - delta5 - Teta(4,5)) Jakobi_78 = V4*Y(4,5)*sin(delta4 - delta5 - Teta(4,5))
Jakobi_81 = V5*V2*Y(5,2)*cos(Teta(5,2) - delta5 + delta2) Jakobi_82 = V5*V3*Y(5,3)*cos(Teta(5,3) - delta5 + delta3) Jakobi_83 = V5*V4*Y(5,4)*cos(Teta(5,4) - delta5 + delta4) Jakobi_84 = V5*V1*Y(5,1)*cos(delta5 - delta1 - Teta(5,1)) + V5*V2*Y(5,2)*cos(delta V5*V2*Y(5,2 )*cos(delta5 5 - delta2 - Teta(5,2)) + V5*V3*Y(5,3)*cos(delta V5*V3*Y(5,3 )*cos(delta5 5 - delta3 - Teta(5,3)) + V5*V4*Y(5,4)*cos(delta V5*V4*Y(5,4 5 - delta4 - Teta(5,4)) Jakobi_85 =)*cos(delta5 V5*Y(5,2)*sin(delta5 delta2 - Teta(5,2))
Jakobi_86 = V5*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) Jakobi_87 = V5*Y(5,4)*sin(delta5 - delta4 - Teta(5,4)) Jakobi_88 = -V5*Y(5,5)*sin(Teta(5,5)) + V1*Y(5,1)*sin(delta5 - delta1 - Teta(5,1)) + V2*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) + V3*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) + V4*Y(5,4)*sin(delta5 delta4 - Teta(5,4)) + V5*Y(5,5)*sin(delta5 - delta5 - Teta(5,5))
Jakobian = [Jakobi_11 Jakobi_12 Jakobi_13 Jakobi_14 Jakobi_15 Jakobi_16 Jakobi_22 Jakobi_23 Jakobi_25 Jakobi_17 Jakobi_26 Jakobi_18;Jakobi_21 Jakobi_27 Jakobi_28;Jakobi_31 Jakobi_32 Jakobi_24 Jakobi_33 Jakobi_34 Jakobi_35 Jakobi_36 Jakobi_37 Jakobi_38;Jakobi_41 Jakobi_42 Jakobi_43 Jakobi_44 Jakobi_45 Jakobi_46 Jakobi_47 Jakobi_48;Jakobi_51 Jakobi_52 Jakobi_53 Jakobi_54 Jakobi_55 Jakobi_56 Jakobi_57 Jakobi_58;Jakobi_61 Jakobi_62 Jakobi_63 Jakobi_64 Jakobi_65 Jakobi_66 Jakobi_67 Jakobi_68;Jakobi_71 Jakobi_72 Jakobi_73 Jakobi_74 Jakobi_75 Jakobi_76 Jakobi_77 Jakobi_78;Jakobi_81 Jakobi_82 Jakobi_83 Jakobi_84 Jakobi_85 Jakobi_86 Jakobi_87 Jakobi_88 ]
% Nilai-nilai koreksi untuk estimasi solusi:
Inverse_Jakobian = inv(Jakobian) Nilai_Koreksi_Vektor_Tegangan =
Inverse_Jakobian*Vektor_Power_Mismatch
% Nilai estimasi Iterasi ke-4 disp ('Iterasi ('Iterasi 4') 4')
Vektor_Tegangan_Baru = Vektor_Tegangan_Awal + Nilai_Koreksi_Vektor_Tegangan
delta2 = Vektor_Tegangan_Baru(1,1) delta3 = Vektor_Tegangan_Baru(2,1) delta4 = Vektor_Tegangan_Baru(3,1) delta5 = Vektor_Tegangan_Baru(4,1) V2 = Vektor_Tegangan_Baru(5,1) V3 = Vektor_Tegangan_Baru(6,1)
V4 = Vektor_Tegangan_Baru(7,1) V5 = Vektor_Tegangan_Baru(8,1)
disp ('Perhitungan ('Perhitungan Power Mismatch dengan estimasi awal') awal') P2h = (V2*Y(2,1)*(V1)*cos(delta2-delta1-Teta(2,1))) + (V2*Y(2,2)*(V2)*cos(delta2-delta2-Teta(2,2))) + (V2*Y(2,3)*(V3)*cos(delta2-delta3-Teta(2,3))) + (V2*Y(2,4)*(V4)*cos(delta2-delta4-Teta(2,4))) + (V2*Y(2,5)*(V5)*cos(delta2-delta5-Teta(2,5)))
P3h = (V3*Y(3,1)*V1*cos(delta3-delta1-Teta(3,1))) + (V3*Y(3,2)*V2*cos(delta3-delta2-Teta(3,2))) + (V3*Y(3,3)*V3*cos(delta3-delta3-Teta(3,3))) + (V3*Y(3,4)*(V4)*cos(delta3-delta4-Teta(3,4))) + (V3*Y(3,5)*(V5)*cos(delta3-delta5-Teta(3,5)))
P4h = (V4*Y(4,1)*V1*cos(delta4-delta1-Teta(4,1))) + (V4*Y(4,2)*V2*cos(delta4-delta2-Teta(4,2))) + (V4*Y(4,3)*V3*cos(delta4-delta3-Teta(4,3))) + (V4*Y(4,4)*(V4)*cos(delta4-delta4-Teta(4,4))) + (V4*Y(4,5)*(V5)*cos(delta4-delta5-Teta(4,5)))
P5h = (V5*Y(5,1)*V1*cos(delta5-delta1-Teta(5,1))) + (V5*Y(5,2)*V2*cos(delta5-delta2-Teta(5,2))) + (V5*Y(5,3)*V3*cos(delta5-delta3-Teta(5,3))) + (V5*Y(5,4)*(V4)*cos(delta5-delta4-Teta(5,4))) + (V5*Y(5,5)*(V5)*cos(delta5-delta5-Teta(5,5)))
Q2h = (V2*Y(2,1)*V1*sin(delta2-delta1-Teta(2,1))) + (V2*Y(2,2)*V2*sin(delta2-delta2-Teta(2,2))) + (V2*Y(2,3)*V3*sin(delta2-delta3-Teta(2,3))) + (V2*Y(2,4)*V4*sin(delta2-delta4-Teta(2,4))) + (V2*Y(2,5)*V5*sin(delta2-delta5-Teta(2,5)))
Q3h = (V3*Y(3,1)*V1*sin(delta3-delta1-Teta(3,1))) + (V3*Y(3,2)*V2*sin(delta3-delta2-Teta(3,2))) + (V3*Y(3,3)*V3*sin(delta3-delta3-Teta(3,3))) + (V3*Y(3,4)*V4*sin(delta3-delta4-Teta(3,4))) + (V3*Y(3,5)*V5*sin(delta3-delta5-Teta(3,5)))
Q4h = (V4*Y(4,1)*V1*sin(delta4-delta1-Teta(4,1))) + (V4*Y(4,2)*V2*sin(delta4-delta2-Teta(4,2))) + (V4*Y(4,3)*V3*sin(delta4-delta3-Teta(4,3))) + (V4*Y(4,4)*V4*sin(delta4-delta4-Teta(4,4))) + (V4*Y(4,5)*V5*sin(delta4-delta5-Teta(4,5)))
Q5h = (V5*Y(5,1)*V1*sin(delta5-delta1-Teta(5,1))) + (V5*Y(5,2)*V2*sin(delta5-delta2-Teta(5,2))) + (V5*Y(5,3)*V3*sin(delta5-delta3-Teta(5,3))) + (V5*Y(5,4)*V4*sin(delta5-delta4-Teta(5,4))) + (V5*Y(2,5)*V5*sin(delta5-delta5-Teta(5,5)))
disp ('Menghitung ('Menghitung Perbedaan Daya') Daya') P2d = (Pd2/100) P3d = -(Pd3/100) P4d P5d Q2d Q3d Q4d Q5d
= = = = = =
-(Pd4/100) -(Pd5/100) (Qd2/100) -(Qd3/100) -(Qd4/100) -(Qd5/100)
disp ('Maka ('Maka perbedaan daya diperoleh') diperoleh') P2=P2d-P2h P3=P3d-P3h P4=P4d-P4h P5=P5d-P5h Q2=Q2d-Q2h Q3=Q3d-Q3h
Q4=Q4d-Q4h
Q5=Q5d-Q5h
Vektor_Power_Mismatch = [P2;P3;P4;P5;Q2;Q3;Q4;Q5]
%Sehingga Matrik Jakobian Menjadi : Jakobi_11 = V1*V2*Y(2,1)*sin(Teta(2,1) + delta1 - delta2) + V2*V3*Y(2,3)*sin(Teta(2,3) - delta2 + delta3) + V2*V4*Y(2,4)*sin(Teta(2,4) - delta2 + delta4) + V2*V5*Y(2,5)*sin(Teta(2,5) - delta2 + delta5) Jakobi_12 = V2*V3*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) Jakobi_13 = V2*V4*Y(2,4)*sin(delta2 - delta4 - Teta(2,4)) Jakobi_14 = V2*V5*Y(2,5)*sin(delta2 - delta5 - Teta(2,5)) Jakobi_15 = V2*Y(2,2)*cos(Teta(2,2)) + V1*Y(2,1)*cos(delta2 - delta1 - Teta(2,1)) + V2*Y(2,2)*cos(delta2 - delta2 - Teta(2,2)) + V3*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) + V4*Y(2,4)*cos(delta2 delta4 - Teta(2,4)) + V5*Y(2,5)*cos(delta2 - delta5 - Teta(2,5)) Jakobi_16 = V2*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) Jakobi_17 = V2*Y(2,4)*cos(delta2 - delta4 - Teta(2,4)) Jakobi_18 = V2*Y(2,5)*cos(delta2 - delta5 - Teta(2,5))
Jakobi_21 = -V2*V3*Y(3,2)*sin(Teta(3,2) + delta2 - delta3) Jakobi_22 = V1*V3*Y(3,1)*sin(Teta(3,1) + delta1 - delta3) + V2*V3*Y(3,2)*sin(Teta(3,2) + delta2 - delta3) + V3*V4*Y(3,4)*sin(Teta(3,4) + delta4 - delta3) + V3*V5*Y(3,5)*sin(Teta(3,5) + delta5 - delta3) Jakobi_23 = V3*V4*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_24 = V3*V5*Y(3,5)*sin(delta3 - delta5 - Teta(3,5)) Jakobi_25 = V3*Y(3,2)*cos(delta3 - delta2 - Teta(3,2)) Jakobi_26 = V3*Y(3,3)*cos(Teta(3,3)) + V1*Y(3,1)*cos(delta3 - delta1 - Teta(3,1)) + V2*Y(3,2)*cos(delta3 - delta2 - Teta(3,2)) + V3*Y(3,3)*cos(delta3 - delta3 - Teta(3,3)) + V4*Y(3,4)*cos(delta3 delta4 - Teta(3,4)) + V5*Y(3,5)*cos(delta3 - delta5 - Teta(3,5)) Jakobi_27 = V3*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_28 = V3*Y(3,5)*sin(delta3 - delta5 - Teta(3,5))
Jakobi_31 = V4*V2*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) Jakobi_32 = V4*V3*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) Jakobi_33 = -V4*V1*Y(4,1)*sin(delta4 - delta1 - Teta(4,1)) V4*V2*Y(4,2)*sin(delta V4*V2*Y(4,2 )*sin(delta4 4 - delta2 - Teta(4,2)) V4*V3*Y(4,3)*sin(delta V4*V3*Y(4,3 )*sin(delta4 4 - delta3 - Teta(4,3)) V4*V5*Y(4,5)*sin(delta V4*V5*Y(4,5 )*sin(delta4 4 - delta5 - Teta(4,5)) Jakobi_34 = V4*V5*Y(4,5)*sin(delta4 - delta5 - Teta(4,5)) Jakobi_35 = V4*Y(4,2)*cos(delta4 - delta2 - Teta(4,2)) Jakobi_36 = V4*Y(4,3)*cos(delta4 - delta3 - Teta(4,3)) Jakobi_37 = V4*Y(4,4)*cos(Teta(4,4)) + V1*Y(4,1)*cos(delta4 - delta1 - Teta(4,1)) + V2*Y(4,2)*cos(delta4 - delta2 - Teta(4,2)) + V3*Y(4,3)*cos(delta4 - delta3 - Teta(4,3)) + V4*Y(4,4)*cos(delta4 delta4 - Teta(4,4)) + V5*Y(4,5)*cos(delta4 - delta5 - Teta(4,5)) Jakobi_38 = V4*Y(4,5)*cos(delta4 - delta5 - Teta(4,5))
Jakobi_41 = V5*V2*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) Jakobi_42 = V5*V3*Y(5,3)*sin(delta5 - delta3 - Teta(5,3))
Jakobi_43 = V5*V4*Y(5,4)*sin(delta5 - delta4 - Teta(5,4))
Jakobi_44 = -V5*V1*Y(5,1)*sin(delta5 - delta1 - Teta(5,1)) V5*V2*Y(5,2)*sin(delta V5*V2*Y(5,2 )*sin(delta5 5 - delta2 - Teta(5,2)) V5*V3*Y(5,3)*sin(delta V5*V3*Y(5,3 )*sin(delta5 5 - delta3 - Teta(5,3)) V5*V4*Y(5,4)*sin(delta V5*V4*Y(5,4 )*sin(delta5 5 - delta4 - Teta(5,4)) Jakobi_45 = V5*Y(5,2)*cos(delta5 - delta2 - Teta(5,2)) Jakobi_46 = V5*Y(5,3)*cos(delta5 - delta3 - Teta(5,3)) Jakobi_47 = V5*Y(5,4)*cos(delta5 - delta4 - Teta(5,4)) Jakobi_48 = V5*Y(5,5)*cos(Teta(5,5)) + V1*Y(5,1)*cos(delta5 - delta1 - Teta(5,1)) + V2*Y(5,2)*cos(delta5 - delta2 Teta(5,2)) + V3*Y(5,3)*cos(delta5 - delta3 - Teta(5,3)) + V4*Y(5,4)*cos(delta5 delta4 - Teta(5,4)) + V5*Y(5,5)*cos(delta5 - delta5 - Teta(5,5))
Jakobi_51 = V2*V1*Y(2,1)*cos(delta2 - delta1 - Teta(2,1)) + V2*V3*Y(2,3)*cos(delta V2*V3*Y(2,3 )*cos(delta2 2 - delta3 - Teta(2,3)) + V2*V4*Y(2,4)*cos(delta V2*V4*Y(2,4 )*cos(delta2 2 - delta4 - Teta(2,4))+ V2*V5*Y(2,5)*cos(delta V2*V5*Y(2,5 )*cos(delta2 2 - delta5 - Teta(2,5)) Jakobi_52 = -V2*V3*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) Jakobi_53 = -V2*V4*Y(2,4)*cos(delta2 - delta4 - Teta(2,4)) Jakobi_54 = -V2*V5*Y(2,5)*cos(delta2 - delta5 - Teta(2,5)) Jakobi_55 = -V2*Y(2,2)*sin(Teta(2,2)) + V1*Y(2,1)*sin(delta2 - delta1 - Teta(2,1)) + V2*Y(2,2)*sin(delta2 - delta2 - Teta(2,2)) + V3*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) + V4*Y(2,4)*sin(delta2 delta4 - Teta(2,4)) + V5*Y(2,5)*sin(delta2 - delta5 - Teta(2,5)) Jakobi_56 Jakobi_57 = = V2*Y(2,3)*sin(delta2 V2*Y(2,4)*sin(delta2 - delta3 delta4 - Teta(2,3)) Teta(2,4)) Jakobi_58 = V2*Y(2,5)*sin(delta2 - delta5 - Teta(2,5))
Jakobi_61 = V3*V2*Y(3,2)*cos(Teta(3,2) - delta3 + delta2) Jakobi_62 = V3*V1*Y(3,1)*cos(delta3 - delta1 - Teta(3,1)) + V3*V2*Y(2,3)*cos(delta V3*V2*Y(2,3 )*cos(delta3 3 - delta2 - Teta(3,2)) + V3*V4*Y(3,4)*cos(delta V3*V4*Y(3,4 )*cos(delta3 3 - delta4 - Teta(3,4)) + V3*V5*Y(3,5)*cos(delta V3*V5*Y(3,5 )*cos(delta3 3 - delta5 - Teta(3,5)) Jakobi_63 = V3*V4*Y(3,4)*cos(Teta(3,4) - delta3 + delta4) Jakobi_64 = V3*V5*Y(3,5)*cos(Teta(3,5) - delta3 + delta5) Jakobi_65 = V3*Y(3,2)*sin(delta3 - delta2 - Teta(3,2)) Jakobi_66 = -V3*Y(3,3)*sin(Teta(3,3)) + V1*Y(3,1)*sin(delta3 - delta1 - Teta(3,1)) + V2*Y(3,2)*sin(delta3 - delta2 - Teta(3,2)) + V3*Y(3,3)*sin(delta3 - delta3 - Teta(3,3)) + V4*Y(3,4)*sin(delta3 delta4 - Teta(3,4)) + V5*Y(3,5)*sin(delta3 - delta5 - Teta(3,5)) Jakobi_67 = V3*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_68 = V3*Y(3,5)*sin(delta3 - delta5 - Teta(3,5))
Jakobi_71 = V4*V2*Y(4,2)*cos(Teta(4,2) - delta4 + delta2) Jakobi_72 = V4*V3*Y(4,3)*cos(Teta(4,3) - delta4 + delta3) Jakobi_73 = V4*V1*Y(4,1)*cos(delta4 - delta1-Teta(4,1)) + V4*V2*Y(4,2)*cos(delta V4*V2*Y(4,2 )*cos(delta4 4 - delta2 - Teta(4,2)) + V4*V3*Y(4,3)*cos(delta V4*V3*Y(4,3 )*cos(delta4 4 - delta3 - Teta(4,3)) + V4*V5*Y(4,5)*cos(delta4 - delta5-Teta(4,5)) Jakobi_74 = V4*V5*Y(4,5)*cos(Teta(4,5) - delta4 + delta5) Jakobi_75 = V4*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) Jakobi_76 = V4*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) Jakobi_77 = -V4*Y(4,4)*sin(Teta(4,4)) + V1*Y(4,1)*sin(delta4 - delta1 - Teta(4,1)) + V2*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) +
V3*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) + V4*Y(4,4)*sin(delta4 delta4 - Teta(4,4)) + V5*Y(4,5)*sin(delta4 - delta5 - Teta(4,5)) Jakobi_78 = V4*Y(4,5)*sin(delta4 - delta5 - Teta(4,5))
Jakobi_81 Jakobi_82 Jakobi_83 Jakobi_84
= = = =
V5*V2*Y(5,2)*cos(Teta(5,2) - delta5 + delta2) V5*V3*Y(5,3)*cos(Teta(5,3) - delta5 + delta3) V5*V4*Y(5,4)*cos(Teta(5,4) - delta5 + delta4) V5*V1*Y(5,1)*cos(delta5 - delta1 - Teta(5,1)) +
V5*V2*Y(5,2)*cos(delta5 V5*V2*Y(5,2)*cos(delta 5 - delta2 - Teta(5,2)) + V5*V3*Y(5,3)*cos(delta V5*V3*Y(5,3 )*cos(delta5 5 - delta3 - Teta(5,3)) + V5*V4*Y(5,4)*cos(delta V5*V4*Y(5,4 )*cos(delta5 5 - delta4 - Teta(5,4)) Jakobi_85 = V5*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) Jakobi_86 = V5*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) Jakobi_87 = V5*Y(5,4)*sin(delta5 - delta4 - Teta(5,4)) Jakobi_88 = -V5*Y(5,5)*sin(Teta(5,5)) + V1*Y(5,1)*sin(delta5 - delta1 - Teta(5,1)) + V2*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) + V3*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) + V4*Y(5,4)*sin(delta5 delta4 - Teta(5,4)) + V5*Y(5,5)*sin(delta5 - delta5 - Teta(5,5))
Jakobian = [Jakobi_11 Jakobi_12 Jakobi_13 Jakobi_14 Jakobi_15 Jakobi_16 Jakobi_17 Jakobi_18;Jakobi_21 Jakobi_22 Jakobi_23 Jakobi_24 Jakobi_25 Jakobi_26 Jakobi_27 Jakobi_28;Jakobi_31 Jakobi_32 Jakobi_33 Jakobi_34 Jakobi_35 Jakobi_36 Jakobi_37 Jakobi_38;Jakobi_41 Jakobi_42 Jakobi_43 Jakobi_44 Jakobi_54 Jakobi_45 Jakobi_55 Jakobi_46 Jakobi_52 Jakobi_53 Jakobi_58;Jakobi_61 Jakobi_62 Jakobi_63 Jakobi_67 Jakobi_68;Jakobi_71 Jakobi_72 Jakobi_76 Jakobi_77 Jakobi_78;Jakobi_81 Jakobi_85 Jakobi_86 Jakobi_87 Jakobi_88
Jakobi_47 Jakobi_56 Jakobi_64 Jakobi_73 Jakobi_82 ]
Jakobi_48;Jakobi_51 Jakobi_57 Jakobi_65 Jakobi_66 Jakobi_74 Jakobi_75 Jakobi_83 Jakobi_84
% Nilai-nilai koreksi untuk estimasi solusi:
Inverse_Jakobian = inv(Jakobian) Nilai_Koreksi_Vektor_Tegangan = Inverse_Jakobian*Vektor_Power_Mismatch
% Nilai estimasi Iterasi ke-5
disp ('Iterasi ('Iterasi 5') 5')
Vektor_Tegangan_Baru = Vektor_Tegangan_Awal + Nilai_Koreksi_Vektor_Tegangan
delta2 = Vektor_Tegangan_Baru(1,1) delta3 = Vektor_Tegangan_Baru(2,1) delta4 = Vektor_Tegangan_Baru(3,1) delta5 = Vektor_Tegangan_Baru(4,1) V2 = Vektor_Tegangan_Baru(5,1) V3 = Vektor_Tegangan_Baru(6,1) V4 = Vektor_Tegangan_Baru(7,1) V5 = Vektor_Tegangan_Baru(8,1)
disp ('Perhitungan ('Perhitungan Power Mismatch dengan estimasi awal') awal')
P2h = (V2*Y(2,1)*(V1)*cos(delta2-delta1-Teta(2,1))) + (V2*Y(2,2)*(V2)*cos(delta2-delta2-Teta(2,2))) + (V2*Y(2,3)*(V3)*cos(delta2-delta3-Teta(2,3))) + (V2*Y(2,4)*(V4)*cos(delta2-delta4-Teta(2,4))) + (V2*Y(2,5)*(V5)*cos(delta2-delta5-Teta(2,5)))
P3h = (V3*Y(3,1)*V1*cos(delta3-delta1-Teta(3,1))) + (V3*Y(3,2)*V2*cos(delta3-delta2-Teta(3,2))) + (V3*Y(3,3)*V3*cos(delta3-delta3-Teta(3,3))) + (V3*Y(3,4)*(V4)*cos(delta3-delta4-Teta(3,4))) + (V3*Y(3,5)*(V5)*cos(delta3-delta5-Teta(3,5)))
P4h = (V4*Y(4,1)*V1*cos(delta4-delta1-Teta(4,1))) + (V4*Y(4,2)*V2*cos(delta4-delta2-Teta(4,2))) + (V4*Y(4,3)*V3*cos(delta4-delta3-Teta(4,3))) + (V4*Y(4,4)*(V4)*cos(delta4-delta4-Teta(4,4))) + (V4*Y(4,5)*(V5)*cos(delta4-delta5-Teta(4,5)))
P5h = (V5*Y(5,1)*V1*cos(delta5-delta1-Teta(5,1))) + (V5*Y(5,2)*V2*cos(delta5-delta2-Teta(5,2))) + (V5*Y(5,3)*V3*cos(delta5-delta3-Teta(5,3))) + (V5*Y(5,4)*(V4)*cos(delta5-delta4-Teta(5,4))) + (V5*Y(5,5)*(V5)*cos(delta5-delta5-Teta(5,5)))
Q2h = (V2*Y(2,1)*V1*sin(delta2-delta1-Teta(2,1))) + (V2*Y(2,2)*V2*sin(delta2-delta2-Teta(2,2))) + (V2*Y(2,3)*V3*sin(delta2-delta3-Teta(2,3))) + (V2*Y(2,4)*V4*sin(delta2-delta4-Teta(2,4))) + (V2*Y(2,5)*V5*sin(delta2-delta5-Teta(2,5)))
Q3h = (V3*Y(3,1)*V1*sin(delta3-delta1-Teta(3,1))) + (V3*Y(3,2)*V2*sin(delta3-delta2-Teta(3,2))) + (V3*Y(3,3)*V3*sin(delta3-delta3-Teta(3,3))) + (V3*Y(3,4)*V4*sin(delta3-delta4-Teta(3,4))) + (V3*Y(3,5)*V5*sin(delta3-delta5-Teta(3,5)))
Q4h = (V4*Y(4,1)*V1*sin(delta4-delta1-Teta(4,1))) + (V4*Y(4,2)*V2*sin(delta4-delta2-Teta(4,2))) + (V4*Y(4,3)*V3*sin(delta4-delta3-Teta(4,3))) + (V4*Y(4,4)*V4*sin(delta4-delta4-Teta(4,4))) + (V4*Y(4,5)*V5*sin(delta4-delta5-Teta(4,5)))
Q5h = (V5*Y(5,1)*V1*sin(delta5-delta1-Teta(5,1))) + (V5*Y(5,2)*V2*sin(delta5-delta2-Teta(5,2))) + (V5*Y(5,3)*V3*sin(delta5-delta3-Teta(5,3))) + (V5*Y(5,4)*V4*sin(delta5-delta4-Teta(5,4))) + (V5*Y(2,5)*V5*sin(delta5-delta5-Teta(5,5)))
disp ('Menghitung ('Menghitung Perbedaan Daya') Daya') P2d = (Pd2/100) P3d = -(Pd3/100) P4d = -(Pd4/100) P5d = -(Pd5/100) Q2d = (Qd2/100)
Q3d = -(Qd3/100)
Q4d = -(Qd4/100) Q5d = -(Qd5/100)
disp ('Maka ('Maka perbedaan daya diperoleh') diperoleh') P2=P2d-P2h P3=P3d-P3h P4=P4d-P4h P5=P5d-P5h Q2=Q2d-Q2h Q3=Q3d-Q3h Q4=Q4d-Q4h Q5=Q5d-Q5h
Vektor_Power_Mismatch = [P2;P3;P4;P5;Q2;Q3;Q4;Q5]
%Sehingga Matrik Jakobian Menjadi : Jakobi_11 = V1*V2*Y(2,1)*sin(Teta(2,1) + delta1 - delta2) + V2*V3*Y(2,3)*sin(Teta(2,3) - delta2 + delta3) + V2*V4*Y(2,4)*sin(Teta(2,4) - delta2 + delta4) + V2*V5*Y(2,5)*sin(Teta(2,5) - delta2 + delta5) Jakobi_12 = V2*V3*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) Jakobi_13 = V2*V4*Y(2,4)*sin(delta2 - delta4 - Teta(2,4)) Jakobi_14 = V2*V5*Y(2,5)*sin(delta2 - delta5 - Teta(2,5)) Jakobi_15 = V2*Y(2,2)*cos(Teta(2,2)) + V1*Y(2,1)*cos(delta2 - delta1 - Teta(2,1)) + V2*Y(2,2)*cos(delta2 - delta2 - Teta(2,2)) + V3*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) + V4*Y(2,4)*cos(delta2 delta4 - Teta(2,4)) + V5*Y(2,5)*cos(delta2 - delta5 - Teta(2,5)) Jakobi_16 = V2*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) Jakobi_17 = V2*Y(2,4)*cos(delta2 - delta4 - Teta(2,4)) Jakobi_18 = V2*Y(2,5)*cos(delta2 - delta5 - Teta(2,5))
Jakobi_21 = -V2*V3*Y(3,2)*sin(Teta(3,2) + delta2 - delta3) Jakobi_22 = V1*V3*Y(3,1)*sin(Teta(3,1) + delta1 - delta3) + V2*V3*Y(3,2)*sin(Teta(3,2) + delta2 - delta3) + V3*V4*Y(3,4)*sin(Teta(3,4) + delta4 - delta3) + V3*V5*Y(3,5)*sin(Teta(3,5) + delta5 - delta3) Jakobi_23 = V3*V4*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_24 = V3*V5*Y(3,5)*sin(delta3 - delta5 - Teta(3,5)) Jakobi_25 = V3*Y(3,2)*cos(delta3 - delta2 - Teta(3,2)) Jakobi_26 = V3*Y(3,3)*cos(Teta(3,3)) + V1*Y(3,1)*cos(delta3 - delta1 - Teta(3,1)) + V2*Y(3,2)*cos(delta3 - delta2 - Teta(3,2)) + V3*Y(3,3)*cos(delta3 - delta3 - Teta(3,3)) + V4*Y(3,4)*cos(delta3 delta4 - Teta(3,4)) + V5*Y(3,5)*cos(delta3 - delta5 - Teta(3,5)) Jakobi_27 = V3*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_28 = V3*Y(3,5)*sin(delta3 - delta5 - Teta(3,5))
Jakobi_31 = V4*V2*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) Jakobi_32 = V4*V3*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) Jakobi_33 = -V4*V1*Y(4,1)*sin(delta4 - delta1 - Teta(4,1)) V4*V2*Y(4,2)*sin(delta V4*V2*Y(4,2 )*sin(delta4 4 - delta2 - Teta(4,2)) V4*V3*Y(4,3)*sin(delta V4*V3*Y(4,3 )*sin(delta4 4 - delta3 - Teta(4,3)) -
V4*V5*Y(4,5)*sin(delta V4*V5*Y(4,5 )*sin(delta4 4 - delta5 - Teta(4,5)) Jakobi_34 = V4*V5*Y(4,5)*sin(delta4 - delta5 - Teta(4,5))
Jakobi_35 = V4*Y(4,2)*cos(delta4 - delta2 - Teta(4,2)) Jakobi_36 = V4*Y(4,3)*cos(delta4 - delta3 - Teta(4,3)) Jakobi_37 = V4*Y(4,4)*cos(Teta(4,4)) + V1*Y(4,1)*cos(delta4 - delta1 - Teta(4,1)) + V2*Y(4,2)*cos(delta4 - delta2 - Teta(4,2)) + V3*Y(4,3)*cos(delta4 - delta3 - Teta(4,3)) + V4*Y(4,4)*cos(delta4 delta4 - Teta(4,4)) + V5*Y(4,5)*cos(delta4 - delta5 - Teta(4,5)) Jakobi_38 = V4*Y(4,5)*cos(delta4 - delta5 - Teta(4,5))
Jakobi_41 = V5*V2*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) Jakobi_42 = V5*V3*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) Jakobi_43 = V5*V4*Y(5,4)*sin(delta5 - delta4 - Teta(5,4)) Jakobi_44 = -V5*V1*Y(5,1)*sin(delta5 - delta1 - Teta(5,1)) V5*V2*Y(5,2)*sin(delta V5*V2*Y(5,2 )*sin(delta5 5 - delta2 - Teta(5,2)) V5*V3*Y(5,3)*sin(delta V5*V3*Y(5,3 )*sin(delta5 5 - delta3 - Teta(5,3)) V5*V4*Y(5,4)*sin(delta V5*V4*Y(5,4 )*sin(delta5 5 - delta4 - Teta(5,4)) Jakobi_45 = V5*Y(5,2)*cos(delta5 - delta2 - Teta(5,2)) Jakobi_46 = V5*Y(5,3)*cos(delta5 - delta3 - Teta(5,3)) Jakobi_47 = V5*Y(5,4)*cos(delta5 - delta4 - Teta(5,4)) Jakobi_48 = V5*Y(5,5)*cos(Teta(5,5)) + V1*Y(5,1)*cos(delta5 - delta1 - Teta(5,1)) + V2*Y(5,2)*cos(delta5 - delta2 - Teta(5,2)) + V3*Y(5,3)*cos(delta5 - delta3 - Teta(5,3)) + V4*Y(5,4)*cos(delta5 delta4 - Teta(5,4)) + V5*Y(5,5)*cos(delta5 - delta5 - Teta(5,5))
Jakobi_51 = V2*V1*Y(2,1)*cos(delta2 - delta1 - Teta(2,1)) + V2*V3*Y(2,3)*cos(delta V2*V3*Y(2,3 )*cos(delta2 2 - delta3 - Teta(2,3)) + V2*V4*Y(2,4)*cos(delta V2*V4*Y(2,4 )*cos(delta2 2 - delta4 - Teta(2,4))+ V2*V5*Y(2,5)*cos(delta V2*V5*Y(2,5 )*cos(delta2 2 - delta5 - Teta(2,5)) Jakobi_52 = -V2*V3*Y(2,3)*cos(delta2 - delta3 - Teta(2,3)) Jakobi_53 = -V2*V4*Y(2,4)*cos(delta2 - delta4 - Teta(2,4)) Jakobi_54 = -V2*V5*Y(2,5)*cos(delta2 - delta5 - Teta(2,5)) Jakobi_55 = -V2*Y(2,2)*sin(Teta(2,2)) + V1*Y(2,1)*sin(delta2 - delta1 - Teta(2,1)) + V2*Y(2,2)*sin(delta2 - delta2 - Teta(2,2)) + V3*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) + V4*Y(2,4)*sin(delta2 delta4 - Teta(2,4)) + V5*Y(2,5)*sin(delta2 - delta5 - Teta(2,5)) Jakobi_56 = V2*Y(2,3)*sin(delta2 - delta3 - Teta(2,3)) Jakobi_57 = V2*Y(2,4)*sin(delta2 - delta4 - Teta(2,4)) Jakobi_58 = V2*Y(2,5)*sin(delta2 - delta5 - Teta(2,5))
Jakobi_61 = V3*V2*Y(3,2)*cos(Teta(3,2) - delta3 + delta2) Jakobi_62 = V3*V1*Y(3,1)*cos(delta3 - delta1 - Teta(3,1)) + V3*V2*Y(2,3)*cos(delta V3*V2*Y(2,3 )*cos(delta3 3 - delta2 - Teta(3,2)) + V3*V4*Y(3,4)*cos(delta V3*V4*Y(3,4 )*cos(delta3 3 - delta4 - Teta(3,4)) + V3*V5*Y(3,5)*cos(delta V3*V5*Y(3,5 )*cos(delta3 3 - delta5 - Teta(3,5)) Jakobi_63 = V3*V4*Y(3,4)*cos(Teta(3,4) - delta3 + delta4) Jakobi_64 = V3*V5*Y(3,5)*cos(Teta(3,5) - delta3 + delta5) Jakobi_65 = V3*Y(3,2)*sin(delta3 - delta2 - Teta(3,2)) Jakobi_66 = -V3*Y(3,3)*sin(Teta(3,3)) + V1*Y(3,1)*sin(delta3 - delta1 - Teta(3,1)) + V2*Y(3,2)*sin(delta3 - delta2 - Teta(3,2)) + V3*Y(3,3)*sin(delta3 - delta3 - Teta(3,3)) + V4*Y(3,4)*sin(delta3 delta4 - Teta(3,4)) + V5*Y(3,5)*sin(delta3 - delta5 - Teta(3,5)) Jakobi_67 = V3*Y(3,4)*sin(delta3 - delta4 - Teta(3,4)) Jakobi_68 = V3*Y(3,5)*sin(delta3 - delta5 - Teta(3,5))
Jakobi_71 = V4*V2*Y(4,2)*cos(Teta(4,2) - delta4 + delta2)
Jakobi_72 = V4*V3*Y(4,3)*cos(Teta(4,3) - delta4 + delta3) Jakobi_73 = V4*V1*Y(4,1)*cos(delta4 - delta1-Teta(4,1)) + V4*V2*Y(4,2)*cos(delta V4*V2*Y(4,2 )*cos(delta4 4 - delta2 - Teta(4,2)) + V4*V3*Y(4,3)*cos(delta V4*V3*Y(4,3 )*cos(delta4 4 - delta3 - Teta(4,3)) + V4*V5*Y(4,5)*cos(delta4 - delta5-Teta(4,5)) Jakobi_74 = V4*V5*Y(4,5)*cos(Teta(4,5) - delta4 + delta5) Jakobi_75 = V4*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) Jakobi_76 = V4*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) Jakobi_77 = -V4*Y(4,4)*sin(Teta(4,4)) + V1*Y(4,1)*sin(delta4 - delta1 - Teta(4,1)) + V2*Y(4,2)*sin(delta4 - delta2 - Teta(4,2)) + V3*Y(4,3)*sin(delta4 - delta3 - Teta(4,3)) + V4*Y(4,4)*sin(delta4 delta4 - Teta(4,4)) + V5*Y(4,5)*sin(delta4 - delta5 - Teta(4,5)) Jakobi_78 = V4*Y(4,5)*sin(delta4 - delta5 - Teta(4,5))
Jakobi_81 = V5*V2*Y(5,2)*cos(Teta(5,2) - delta5 + delta2) Jakobi_82 = V5*V3*Y(5,3)*cos(Teta(5,3) - delta5 + delta3) Jakobi_83 = V5*V4*Y(5,4)*cos(Teta(5,4) - delta5 + delta4) Jakobi_84 = V5*V1*Y(5,1)*cos(delta5 - delta1 - Teta(5,1)) + V5*V2*Y(5,2)*cos(delta V5*V2*Y(5,2 )*cos(delta5 5 - delta2 - Teta(5,2)) + V5*V3*Y(5,3)*cos(delta V5*V3*Y(5,3 )*cos(delta5 5 - delta3 - Teta(5,3)) + V5*V4*Y(5,4)*cos(delta V5*V4*Y(5,4 )*cos(delta5 5 - delta4 - Teta(5,4)) Jakobi_85 = V5*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) Jakobi_86 = V5*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) Jakobi_87 = V5*Y(5,4)*sin(delta5 - delta4 - Teta(5,4)) Jakobi_88 = -V5*Y(5,5)*sin(Teta(5,5)) + V1*Y(5,1)*sin(delta5 - delta1 - Teta(5,1)) + V2*Y(5,2)*sin(delta5 - delta2 - Teta(5,2)) + V3*Y(5,3)*sin(delta5 - delta3 - Teta(5,3)) + V4*Y(5,4)*sin(delta5 delta4 - Teta(5,4)) + V5*Y(5,5)*sin(delta5 - delta5 - Teta(5,5))
Jakobian = [Jakobi_11 Jakobi_12 Jakobi_13 Jakobi_14 Jakobi_15 Jakobi_16 Jakobi_17 Jakobi_18;Jakobi_21 Jakobi_22 Jakobi_23 Jakobi_24 Jakobi_25 Jakobi_26 Jakobi_27 Jakobi_28;Jakobi_31 Jakobi_32 Jakobi_33 Jakobi_34 Jakobi_35 Jakobi_36 Jakobi_37 Jakobi_38;Jakobi_41 Jakobi_42 Jakobi_43 Jakobi_44 Jakobi_45 Jakobi_46 Jakobi_47 Jakobi_48;Jakobi_51 Jakobi_52 Jakobi_53 Jakobi_54 Jakobi_55 Jakobi_56 Jakobi_57 Jakobi_58;Jakobi_61 Jakobi_62 Jakobi_63 Jakobi_64 Jakobi_65 Jakobi_66 Jakobi_67 Jakobi_68;Jakobi_71 Jakobi_72 Jakobi_73 Jakobi_74 Jakobi_75 Jakobi_76 Jakobi_77 Jakobi_78;Jakobi_81 Jakobi_82 Jakobi_83 Jakobi_84 Jakobi_85 Jakobi_86 Jakobi_87 Jakobi_88 ]
% Nilai-nilai koreksi untuk estimasi solusi:
Inverse_Jakobian = inv(Jakobian) Nilai_Koreksi_Vektor_Tegangan = Inverse_Jakobian*Vektor_Power_Mismatch
i) Tunjukkan hasil perhitungan aliran daya yang saudara dapatkan dari 5 iterasi tersebut Data Bus V1 =
1.0600 V3 =
1
delta1 =
0
delta5 =
0
Pd2 =
20
d2 =
20
Pd3 =
45
d3 =
15
Pd4 =
40
d4 =
5
Pd5 =
60
d5 =
10
matriks admitansi bus Ybus = Columns 1 through 3 1.66 1.6630 30 - 7.83 7.8340 40ii 0.40 0.4090 90 - 4.5 4.507 070i 0i 1.25 1.2540 40 - 3.76 3.7640 40ii -0.4 -0.409 090 0 + 4.50 4.5070 70ii 7.31 7.3160 60 -19 -19.2 .283 830i 0i 1.67 1.6730 30 + 5.0 5.019 190i 0i -1.254 -1. 2540 0 + 3.7640i 3.7640i -1.673 -1.6730 0 + 5.0190i 5.0190i 12.927 12.9270 0 -38.804 -38.8040i 0i 0.0000 0.000 0 + 0.0000 0.0000ii -2.7250 -2.7250 + 2.229 2.2290i 0i -10.0000 -10.0000 +30.0 +30.0210i 210i 0.0000 + 0.0000i -2.5090 + 7.5280i 0.0000 + 0.0000i Columns 4 through 5 0.0000 + 0.0000i 0.0000i 0.0000 + 0.0000i 2.7250 + 2.2290i 2.2290i 2.5090 + 7.5280i
10.0000 -30.0210i 0.0000 + 0.0000i 13.9750 -36.0100i -36.0100i -1.2500 + 3.7600i -1.2500 + 3.7600i 3.7590 -11.2880i Y= 8.0086
4.5255
3.9674
0
4.5255 20.6242
5.2905
3.5205
3.9674
0 7.9351
5.2905 40.9006 31.6427
0
3.5205
0
7.9351
31.6427 38.6267 0
0 3.9623
3.9623 11.8974
Teta = -1.3616 -1.4803 -1.2492 1.6613 -1.2082 1.8924
2.4560
0
1.8925
Iterasi ke-0 delta2 =
0
delta3 =
0
delta4 =
0
delta5 =
0 1
V4 =
1
0.6856
0 1.2491
1.8925 -1.2492 -1.2493
0
V2 =
1.2490
0
1.8923 -1.2006 0
0 1.8917
1.8917 -1.2493
V5 =
1
Vektor_Tegangan_Awal = 0 0 0 0 1 1 1 1
Perhitungan Power Mismatch dengan estimasi awal
P2h = 13.7895 P3h = 19.9248 P4h = 2.2 .220 204e 4e-1 -16 6 P5h P5 h = -2.6 -2.664 645e 5e-1 -15 5 2h = -0.2704 3h = 59.8162 4h 4 h = -2.2 -2.220 204e 4e-1 -15 5 5h = -3.7594 Menghitung Perbedaan Daya P2d =
0.2000
P3d = -0.4500 P4d = -0.4000 P5d = -0.6000 2d =
0.2000
3d = -0.1500 4d = -0.0500 5d = -0.1000 Maka perbedaan daya diperoleh P2 = -13. -13.58 5895 95 P3 = -20. -20.37 3748 48 P4 = -0.4000 P5 = -0.6000 2 =
0.4704
3 = -59. -59.96 9662 62 4 = -0.0500 5 =
3.6594
Vektor_Power_Mismatch = -13.5895 -20.3748 -0.4000 -0.6000 0.4704 -59.9662
-0.0500 3.6594 Jako Jakobi bi_1 _11 1 = 19.5 19.553 534 4 Jako Jakobi bi_1 _12 2 = -5.0 -5.019 190 0 Jako Jakobi bi_1 _13 3 = -2.2 -2.229 290 0 Jako Jakobi bi_1 _14 4 = -7.5 -7.528 280 0 Jako Jakobi bi_1 _15 5 = 21.1 21.105 055 5 Jakobi_16 =
1.6730
Jakobi_17 =
2.7250
Jakobi_18 =
2.5090
Jako Jakobi bi_2 _21 1 = -5.0 -5.019 190 0 Jakobi Jak obi_22 _22 = -21.01 -21.0122 22 Jako Jakobi bi_2 _23 3 = 30.0 30.021 210 0 Jakobi_24 =
0
Jako Jakobi bi_2 _25 5 = -1.6 -1.673 730 0 Jako Jakobi bi_2 _26 6 = 32.8 32.851 518 8 Jako Jakobi bi_2 _27 7 = 30.0 30.021 210 0 Jakobi_28 =
0
Jako Jakobi bi_3 _31 1 = -2.2 -2.229 290 0 Jakobi Jak obi_32 _32 = -30.02 -30.0210 10 Jako Jakobi bi_3 _33 3 = 36.0 36.010 100 0 Jako Jakobi bi_3 _34 4 = -3.7 -3.760 600 0 Jako Jakobi bi_3 _35 5 = -2.7 -2.725 250 0
Jakobi Jak obi_36 _36 = -10.00 -10.0000 00 Jako Jakobi bi_3 _37 7 = 13.9 13.975 750 0 Jako Jakobi bi_3 _38 8 = -1.2 -1.250 500 0 Jako Jakobi bi_4 _41 1 = -7.5 -7.528 280 0 Jakobi_42 =
0
Jako Jakobi bi_4 _43 3 = -3.7 -3.760 600 0 Jako Jakobi bi_4 _44 4 = 11.2 11.288 880 0 Jako Jakobi bi_4 _45 5 = -2.5 -2.509 090 0 Jakobi_46 =
0
Jako Jakobi bi_4 _47 7 = -1.2 -1.250 500 0 Jakobi_48 =
3.7590
Jakobi_51 =
6.4735
Jako Jakobi bi_5 _52 2 = -1.6 -1.673 730 0 Jako Jakobi bi_5 _53 3 = -2.7 -2.725 250 0 Jako Jakobi bi_5 _54 4 = -2.5 -2.509 090 0 Jako Jakobi bi_5 _55 5 = 19.0 19.012 126 6 Jako Jakobi bi_5 _56 6 = -5.0 -5.019 190 0 Jako Jakobi bi_5 _57 7 = -2.2 -2.229 290 0 Jako Jakobi bi_5 _58 8 = -7.5 -7.528 280 0 Jako Jakobi bi_6 _61 1 = -1.6 -1.673 730 0 Jakobi_62 =
6.9978
Jakobi_63 =
10
Jakobi_64 =
0
Jakobi_65 =
-5.0190
Jakobi_66 =
98.6202
Jakobi_67 =
30.0210
Jakobi_68 =
0
Jakobi_71 =
-2.7250
Jakobi_72 =
-10.0000
Jakobi_73 =
-13.9750
Jakobi_74 =
-1.2500
Jakobi_75 =
-2.2290
Jakobi_76 =
-30.0210
Jakobi_77 =
36.0100
Jakobi_78 =
-3.7600
Jakobi_81 =
-2.5090
Jakobi_82 =
0
Jakobi_83 =
-1.2500
Jakobi_84 =
-3.7590
Jakobi_85 =
-7.5280
Jakobi_86 =
0
Jakobi_87 =
-3.7600
Jakobi_88 =
11.2880
Jakobian =
Columns 1 through 6
19.5534 -5.0190 -2.2290 -7.5280 21 21.1055 -5.0190 -21.0122 30.0210
1.6730
0 -1.6730 32 32.8518
-2.2 -2.229 290 0 -30. -30.02 0210 10 36.0 36.010 100 0 -3 -3.7 .760 600 0 -2 -2.7 .725 250 0 -1 -10. 0.00 0000 00 -7.5280
0 -3.7600 11.2880 -2 -2.5090
0
6.4735 -1.6730 -1.6730 -2.7250 -2.5090 -2.5090 19.0126 -5.0190 -1.6730
6.9978 10.0000
0 -5.0190 98.6202
-2.7250 -10.0000 -13.9750 -1.2500 -2.2290 -30.0210 -2.5090
0 -1.2500 -3.7590 -7.5280
0
Columns 7 through 8
2.7250 30.0210
2.5090 0
13 13.9 .975 750 0 -1.2 -1.250 500 0 -1.2500
3.7590
-2.2 -2.229 290 0 -7. -7.52 5280 80 30.0210
0
36 36.0 .010 100 0 -3.7 -3.760 600 0 -3.7 -3.760 600 0 11 11.2 .288 880 0
Inverse_Jakobian =
Columns 1 through 6
0.0685 -0.0659
0.0447
0.0115 -0.1004
0.0205
0.0028
0.3330 -0.2801 -0.1476 -0.1124 -0.1616
0.0065
0.2188 -0.1596 -0.0903 -0.0789 -0.1071
0.0383
0.0232 -0.0187
-0.0055
0.1424 -0.1087 -0.0271
-0.0030 -0.0798 0.0099
0.0629
0.0618 -0.0746 -0.0176
0.0334
0.0404 -0.0625 0.0310
0.0472
0.1318 -0.1039 -0.0491 -0.0483 -0.0577
0.028 0.0 283 3
0.1561 0.1561 -0.12 -0.1211 11 -0.02 -0.0213 13 -0.04 -0.0450 50 -0.074 -0.0741 1
Columns 7 through 8
0.00 0.0011 11 -0.0 -0.080 807 7 -0. -0.05 0543 43 -0. -0.07 0756 56 -0. -0.04 0456 56 -0. -0.05 0568 68 -0. -0.01 0116 16 -0. -0.08 0848 48 -0.0205
0.0183
0.0081
0.0199
-0. -0.00 0022 22 -0. -0.03 0303 03 -0.0231
0.0383
Nilai_Koreksi_Vektor_Tegangan =
-1.1874 2.7433 1.7507 -0.3118 1.0706 -1.1225 0.5801
1.0575
Iterasi 1
Vektor_Tegangan_Baru =
-1.1874 2.7433 1.7507 -0.3118 2.0706 -0.1225 1.5801 2.0575
delta2 =
-1.1874
delta3 =
2.7433
delta4 =
1.7507
delta5 =
-0.3118
V2 =
2.0706
V3 =
-0.1225
V4 =
1.5801
V5 =
2.0575
Perhitungan Power Mismatch dengan estimasi awal
P2h =
-6.7338
P3h =
4.2659
P4h =
63.7126
P5h =
24.8382
2h =
55.1991
3h =
-5.7988
4h =
98.9906
5h =
12.4737
Menghitung Perbedaan Daya
P2d =
0.2000
P3d =
-0.4500
P4d =
-0.4000
P5d =
-0.6000
2d =
0.2000
3d =
-0.1500
4d =
-0.0500
5d =
-0.1000
Maka perbedaan daya diperoleh
P2 =
6.9338
P3 =
-4.7159
P4 =
-64.1126
P5 =
-25.4382
2 =
-54.9991
3 =
5.6488
4 =
-99.0406
5 =
-12.5737
Vektor_Power_Mismatch =
6.9338 -4.7159 -64.1126
-25.4382 -54.9991 5.6488 -99.0406 -12.5737
Jakobi_11 =
27.4760
Jakobi_12 =
-1.1977
Jakobi_13 =
5.3412
Jakobi_14 =
-28.7517
Jakobi_15 =
11.8966
Jakobi_16 =
4.9352
Jakobi_17 =
-6.4585
Jakobi_18 =
-8.6423
Jakobi_21 =
-1.1977
Jakobi_22 =
6.3808
Jakobi_23 =
-4.7958
Jakobi_24 =
0
Jakobi_25 =
0.2919
Jakobi_26 =
-36.4153
Jakobi_27 =
-3.0351
Jakobi_28 =
0
Jakobi_31 =
5.3412
Jakobi_32 =
1.5548
Jakobi_33 =
-9.0858
Jakobi_34 =
2.1899
Jakobi_35 =
4.9285
Jakobi_36 =
-48.3594
Jakobi_37 =
62.4039
Jakobi_38 =
6.1697
Jakobi_41 =
-28.7517
Jakobi_42 =
0
Jakobi_43 =
9.3543
Jakobi_44 =
19.3975
Jakobi_45 =
8.5875
Jakobi_46 =
0
Jakobi_47 =
-5.6050
Jakobi_48 =
19.8062
Jakobi_51 =
-38.1008
Jakobi_52 =
0.6044
Jakobi_53 =
10.2050
Jakobi_54 =
17.7815
Jakobi_55 =
66.5860
Jakobi_56 =
9.7799
Jakobi_57 =
3.3803
Jakobi_58 =
-13.9741
Jakobi_61 =
0.6044
Jakobi_62 =
4.0720
Jakobi_63 =
3.8071
Jakobi_64 =
0
Jakobi_65 =
-0.5784
Jakobi_66 =
42.5963
Jakobi_67 =
-3.0351
Jakobi_68 =
0
Jakobi_71 =
10.2050
Jakobi_72 =
5.9225
Jakobi_73 =
28.8217
Jakobi_74 =
12.6942
Jakobi_75 =
2.5795
Jakobi_76 =
-12.6957
Jakobi_77 =
119.5478
Jakobi_78 =
1.0643
Jakobi_81 =
17.7815
Jakobi_82 =
0
Jakobi_83 =
-8.8564
Jakobi_84 =
8.9252
Jakobi_85 =
-13.8856
Jakobi_86 =
0
Jakobi_87 =
5.9201
Jakobi_88 =
37.0226
Jakobian =
Columns 1 through 6
27.4760 -1.1977
5.3412 -28.7517 11 11.8966
-1.1977
6.3808 -4.7958
0
5.3412
1.5548 -9.0858
2.1899
-28.7517 -38. -38.10 1008 08
0
9.3543 19.3975
0.2919 -36.4153 4.9285 -48 -48.3594 8.5875
0.60 0.6044 44 10.2 10.205 050 0 17.7 17.781 815 5 66. 66.58 5860 60
0.6044
4.0720
10.2 10.205 050 0
5.92 5.9225 25 28.82 28.8217 17 12.69 12.6942 42
17.7815
3.8071
0 -8 -8.8564
Columns 7 through 8
-6.4 -6.45 585 -8.6 -8.642 423 3 -3.0351
0
62.4039
6.1697
4.9352
0 9. 9.77 7799 99
0 -0.5784 42 4 2.5963 2.57 2.5795 95 -1 -12. 2.69 6957 57
8.9252 -13.8856
0
-5.6050 19.8062 3.3803 -13.9741 -3.0351
119.5478
0
1.0643
5.9201 37.0226
Inverse_Jakobian =
Columns 1 through 6
-0.0058
0.0121 -0.0365 -0.0430
0.0024
0.0977
0.0155
0.0105 -0.0365
-0.0399
0.0121 -0.0501 -0.0519
0.0238 -0.0419
0.0092
0.0027
0.0003 -0.0064
0.0166 -0.0026
-0.0014 -0.0112
0.0049 -0.0010
0.0002
0.0188
0.0004 -0.0109
0.0175
0.0044 -0.0031
0.0112
0.0195 -0.0035
0.0182
0.0344 -0.0073
0.0151
0.0018
Columns 7 through 8
0.0142
0.0331
0.0153 -0.0297
0.0023 -0.0010
0.0867
0.0182 -0.0039 -0.0272
0.00 0.0041 41 -0.0 -0.001 014 4 0.02 0.0205 05 -0.0 -0.002 021 1 0.0184
0.0353
-0.0010
0.0118
-0. -0.00 0024 24 -0. -0.00 0004 04 -0. -0.00 0001 01 -0. -0.00 0064 64 -0.0067
0.0076
Nilai_Koreksi_Vektor_Tegangan =
0.5027 -0.4584 -0.0096 0.3919 -0.7839 0.0987 -0.8531 -0.8354
Iterasi 2
Vektor_Tegangan_Baru =
0.5027 -0.4584
-0.0096 0.3919 0.2161 1.0987 0.1469 0.1646
delta2 =
0.5027
delta3 =
-0.4584
delta4 =
-0.0096
delta5 =
0.3919
V2 =
0.2161
V3 =
1.0987
V4 =
0.1469
V5 =
0.1646
Perhitungan Power Mismatch dengan estimasi awal
P2h =
2.1901
P3h =
14.7073
P4h =
0.7763
P5h =
-0.0088
2h =
-0.6814
3h =
46.8675
4h =
-4.3793
5h =
-0.1478
Menghitung Perbedaan Daya
P2d =
0.2000
P3d =
-0.4500
P4d =
-0.4000
P5d =
-0.6000
2d =
0.2000
3d =
-0.1500
4d =
-0.0500
5d =
-0.1000
Maka perbedaan daya diperoleh
P2 =
-1.9901
P3 =
-15.1573
P4 =
-1.1763
P5 =
-0.5912
2 =
0.8814
3 =
-47.0175
4 =
4.3293
5 =
0.0478
Vektor_Power_Mismatch =
-1.9901 -15.1573 -1.1763 -0.5912 0.8814 -47.0175 4.3293 0.0478
Jakobi_11 =
1.5821
Jakobi_12 =
-0.3567
Jakobi_13 =
-0.0193
Jakobi_14 =
-0.2562
Jakobi_15 =
11.7145
Jakobi_16 =
1.0964
Jakobi_17 =
0.7495
Jakobi_18 =
0.7188
Jakobi_21 =
-0.3567
Jakobi_22 =
-0.0231
Jakobi_23 =
3.6646
Jakobi_24 =
0
Jakobi_25 =
-5.5736
Jakobi_26 =
27.5890
Jakobi_27 =
24.9506
Jakobi_28 =
0
Jakobi_31 =
-0.0193
Jakobi_32 =
-5.0650
Jakobi_33 =
5.1562
Jakobi_34 =
-0.0718
Jakobi_35 =
-0.5093
Jakobi_36 =
0.5899
Jakobi_37 =
7.3377
Jakobi_38 =
-0.3848
Jakobi_41 =
-0.2562
Jakobi_42 =
0
Jakobi_43 =
-0.0955
Jakobi_44 =
0.3517
Jakobi_45 =
-0.5473
Jakobi_46 =
0
Jakobi_47 =
0.0525
Jakobi_48 =
0.5652
Jakobi_51 =
1.8484
Jakobi_52 =
-1.2046
Jakobi_53 =
-0.1101
Jakobi_54 =
-0.1183
Jakobi_55 =
1.0148
Jakobi_56 =
-0.3246
Jakobi_57 =
-0.1312
Jakobi_58 =
-1.5571
Jakobi_61 =
-1.2046
Jakobi_62 =
-0.8982
Jakobi_63 =
3.5560
Jakobi_64 =
0
Jakobi_65 =
-1.6504
Jakobi_66 =
85.2912
Jakobi_67 =
24.9506
Jakobi_68 =
0
Jakobi_71 =
-0.1101
Jakobi_72 =
0.6482
Jakobi_73 =
0.4748
Jakobi_74 =
-0.0633
Jakobi_75 =
-0.0891
Jakobi_76 =
-4.6099
Jakobi_77 =
-24.5279
Jakobi_78 =
-0.4366
Jakobi_81 =
-0.1183
Jakobi_82 =
0
Jakobi_83 =
0.0077
Jakobi_84 =
-0.1106
Jakobi_85 =
-1.1856
Jakobi_86 =
0
Jakobi_87 =
-0.6499
Jakobi_88 =
1.5781
Jakobian =
Columns 1 through 6
1.5821 -0.3567 -0.0193 -0.2562 11.7145 -0.3567 -0.0231
3.6646
-0.0193 -5.0650
5.1562 -0.0718 -0.5093
-0.2562
0 -0.0955
1.0964
0 -5.5736 27 27.5890
0.3517 -0.5473
1.848 1.8 484 4 -1.2046 -1.2046 -0.1101 -0.1101 -0.11 -0.1183 83
0.5899 0
1.0148 1.0148 -0.324 -0.3246 6
-1.2046 -0.8982
3.5560
-0.1 -0.110 101 1
0.64 0.6482 82
0.47 0.4748 48 -0 -0.0 .063 633 3 -0 -0.0 .089 891 1 -4 -4.6 .609 099 9
-0.1183
0
0.0077 -0.1106 -1.1856
Columns 7 through 8
0.7495 24.9506
0.7188 0
7.3 7.337 377 7 -0.3 -0.384 848 8 0.0525
0.5652
-0.1 -0.131 312 2 -1.5 -1.557 571 1 24.9506
0
-24. -24.52 5279 79 -0.4 -0.436 366 6 -0.6499
0 -1.6504 85.2912
1.5781
0
Inverse_Jakobian =
Columns 1 through 6
0.1011
0.2249 -0.1084
0.3664
0.1051
0.2670 -0.1509
0.0015 -0.0904 -0.0787
0.1134
0.2492
0.0744 -0.0787 -0.0718
0.1044
0.1709 -0.0429
0.0730 -0.0192
0.0481
2.7829
0.5356 -0.0647
0.2574 -0.0478
0.0100 -0.0014 -0.0702
-0.0017 -0.0082 -0.0045
0.0056
0.0111
0.0046 0.0147
0.0030
0.0117 -0.0016 -0.0122 -0.0089 -0.0057
0.0705
0.0180 -0.0045
Columns 7 through 8
0.1221
0.3585
0.15 0.1536 36 -0.1 -0.131 319 9 0.20 0.2012 12 -0.0 -0.088 885 5 0.14 0.1404 04 -0.7 -0.761 619 9 -0. -0.00 0066 66 -0. -0.10 1014 14 0.0049
0.0100
0.2160
0.0022 -0.0068
-0.0346 -0.0157 -0.0012
0.5250
Nilai_Koreksi_Vektor_Tegangan =
0.3588 0.2004 0.0711
-1.3492 -0.1757 -0.5318 -0.0639 -0.1961
Iterasi 3
Vektor_Tegangan_Baru =
0.3588 0.2004 0.0711 -1.3492
0.8243 0.4682 0.9361 0.8039
delta2 =
0.3588
delta3 =
0.2004
delta4 =
0.0711
delta5 =
-1.3492
V2 =
0.8243
V3 =
0.4682
V4 =
0.9361
V5 =
0.8039
Perhitungan Power Mismatch dengan estimasi awal
P2h =
14.1800
P3h =
4.3025
P4h =
6.3547
P5h =
-5.2234
2h =
8.7539
3h =
18.3566
4h =
16.6649
5h =
7.7012
Menghitung Perbedaan Daya
P2d =
0.2000
P3d =
-0.4500
P4d =
-0.4000
P5d =
-0.6000
2d =
0.2000
3d =
-0.1500
4d =
-0.0500
5d =
-0.1000
Maka perbedaan daya diperoleh
P2 =
-13.9800
P3 =
-4.7525
P4 =
-6.7547
P5 =
4.6234
2 =
-8.5539
3 =
-18.5066
4 =
-16.7149
5 =
-7.8012
Vektor_Power_Mismatch =
-13.9800 -4.7525 -6.7547 4.6234 -8.5539
-18.5066 -16.7149 -7.8012
Jakobi_11 =
4.3470
Jakobi_12 =
-1.8111
Jakobi_13 =
-1.0526
Jakobi_14 =
2.3293
Jakobi_15 =
23.2336
Jakobi_16 =
2.0140
Jakobi_17 =
2.6751
Jakobi_18 =
5.8638
Jakobi_21 =
-1.8111
Jakobi_22 =
-9.8487
Jakobi_23 =
13.6145
Jakobi_24 =
0
Jakobi_25 =
-1.1441
Jakobi_26 =
15.2415
Jakobi_27 =
14.5438
Jakobi_28 =
0
Jakobi_31 =
-1.0526
Jakobi_32 =
-12.4837
Jakobi_33 =
14.8906
Jakobi_34 =
-1.3543
Jakobi_35 =
-3.0381
Jakobi_36 =
-12.9080
Jakobi_37 =
19.8706
Jakobi_38 =
3.3046
Jakobi_41 =
2.3293
Jakobi_42 =
0
Jakobi_43 =
0.5059
Jakobi_44 =
-2.8352
Jakobi_45 =
-5.7193
Jakobi_46 =
0
Jakobi_47 =
-3.1393
Jakobi_48 =
-3.4752
Jakobi_51 =
9.2095
Jakobi_52 =
-0.9430
Jakobi_53 =
-2.5042
Jakobi_54 =
-4.7142
Jakobi_55 =
26.5145
Jakobi_56 =
-3.8678
Jakobi_57 =
-1.1245
Jakobi_58 =
2.8973
Jakobi_61 =
-0.9430
Jakobi_62 =
1.4682
Jakobi_63 =
2.6492
Jakobi_64 =
0
Jakobi_65 =
-2.1972
Jakobi_66 =
57.3729
Jakobi_67 =
14.5438
Jakobi_68 =
0
Jakobi_71 =
-2.5042
Jakobi_72 =
-6.0441
Jakobi_73 =
-5.8916
Jakobi_74 =
2.6567
Jakobi_75 =
-1.2771
Jakobi_76 =
-26.6606
Jakobi_77 =
51.5116
Jakobi_78 =
-1.6846
Jakobi_81 =
-4.7142
Jakobi_82 =
0
Jakobi_83 =
-2.9388
Jakobi_84 =
-7.6530
Jakobi_85 =
2.8259
Jakobi_86 =
0
Jakobi_87 =
0.5404
Jakobi_88 =
21.6765
Jakobian =
Columns 1 through 6
4.34 4.3470 70 -1.8 -1.811 111 1 -1 -1.0 .052 526 6
2.32 2.3293 93 23.2 23.233 336 6
2.01 2.0140 40
-1.8 -1.81 111 -9.8 -9.848 487 7 13.6 3.6145
0 -1.1 -1.14 441 15.24 5.2415 15
-1.0526 -12.4837 14.8906 -1.3543 -3.0381 -12.9080 2.3293
0
0.5059 -2.8352 -5.7193
0
9.20 9.2095 95 -0.9 -0.943 430 0 -2 -2.5 .50 042 -4 -4.7 .71 142 26.51 6.5145 45 -3.8 -3.867 678 8 -0.9430
1.4682
2.6492
-2.5042 -6.0441 -5.8916 -4.7142
0 -2.9388
Columns 7 through 8
2.6751
5.8638
14.5438
0
19.8706
3.3046
-3.1 -3.139 393 3 -3.4 -3.475 752 2 -1.1245
2.8973
14.5438
0
51 51.5 .51 116 -1.6 -1.684 846 6 0.54 0.5404 04 21 21.6 .676 765 5
Inverse_Jakobian =
Columns 1 through 6
0 -2.1972 57 57.3729 2.6567 -1. -1.2771 -26.6606
-7.6530
2.8259
0
0.2239 -0.2101
0.1567
0.3276 -0.1097
-0.2876 -0.4160
0.3315 -0.5258
0.1788
0.1739
-0.1725 -0.2228
0.2342 -0.3285
0.1090
0.0962
0.2133 -0.0823
0.0503
0.1203 -0.1553
0.0122
-0.0764
0.0367 -0.0231 -0.1482
0.0258
0.0353 -0.0319
0.0564 -0.0668
0.1115 -0.1081
0.0852
0.0352
0.0902 -0.0739
0.0326
-0. -0.01 0145 45 -0. -0.01 0184 84 -0. -0.07 0718 18 -0. -0.08 0865 65 -0. -0.06 0626 26 -0. -0.06 0611 11
-0. -0.00 0065 65 -0. -0.02 0258 58 -0. -0.00 0024 24 -0. -0.00 0093 93 0.0075
0.00 0.0046 46 -0.0 -0.012 122 2 -0.0137
0.0004
0.0274
Columns 7 through 8
0.0032
0.0718 -0.0086
0.0453 -0.0156
-0.0385 -0.0646
0.0691
0.0262
Nilai_Koreksi_Vektor_Tegangan =
-1.6303 -1.5444 -0.8185 -0.9624 0.0226 -0.0905 -0.7128 -1.1504
Iterasi 4
Vektor_Tegangan_Baru =
-1.6303
-1.5444 -0.8185 -0.9624 1.0226 0.9095 0.2872
-0.1504
delta2 =
-1.6303
delta3 =
-1.5444
delta4 =
-0.8185
delta5 =
-0.9624
V2 =
1.0226
V3 =
0.9095
V4 =
0.2872
V5 =
-0.1504
Perhitungan Power Mismatch dengan estimasi awal
P2h =
4.4393
P3h =
13.0427
P4h =
4.3586
P5h =
-0.2523
2h =
16.2291
3h =
32.5582
4h =
-5.4911
5h =
1.4708
Menghitung Perbedaan Daya
P2d =
0.2000
P3d =
-0.4500
P4d =
-0.4000
P5d =
-0.6000
2d =
0.2000
3d =
-0.1500
4d =
-0.0500
5d =
-0.1000
Maka perbedaan daya diperoleh
P2 =
-4.2393
P3 =
-13.4927
P4 =
-4.7586
P5 =
-0.3477
2 =
-16.0291
3 =
-32.7082
4 =
5.4411
5 =
-1.5708
Vektor_Power_Mismatch =
-4.2393 -13.4927 -4.7586 -0.3477 -16.0291 -32.7082 5.4411 -1.5708
Jakobi_11 =
3.9346
Jakobi_12 =
-4.7842
Jakobi_13 =
-1.0311
Jakobi_14 =
1.1477
Jakobi_15 =
11.8225
Jakobi_16 =
1.2641
Jakobi 17 =
0.2639
Jakobi_18 =
-2.7533
Jakobi_21 =
-4.7842
Jakobi_22 =
-0.4591
Jakobi_23 =
4.1306
Jakobi_24 =
0
Jakobi_25 =
-1.1243
Jakobi_26 =
26.0976
Jakobi_27 =
14.3834
Jakobi_28 =
0
Jakobi_31 =
-1.0311
Jakobi_32 =
-7.5982
Jakobi_33 =
8.4609
Jakobi_34 =
0.1684
Jakobi_35 =
-0.0741
Jakobi_36 =
3.5752
Jakobi_37 =
19.1906
Jakobi_38 =
-0.2004
Jakobi_41 =
1.1477
Jakobi_42 =
0
Jakobi_43 =
0.1529
Jakobi_44 =
-1.3006
Jakobi_45 =
-0.4048
Jakobi_46
0
Jakobi_47 =
0.2671
Jakobi_48 =
1.1128
Jakobi_51 =
-3.2108
Jakobi_52 =
-1.1497
Jakobi_53 =
-0.0758
Jakobi_54 =
-0.4140
Jakobi_55 =
35.5892
Jakobi_56 =
-5.2602
Jakobi_57 =
-3.5903
Jakobi_58 =
-7.6329
Jakobi_61 =
-1.1497
Jakobi_62 =
2.3494
Jakobi_63 =
7.1586
Jakobi_64 =
0
Jakobi_65 =
-4.6786
Jakobi_66 =
71.0901
Jakobi_67 =
14.3834
Jakobi_68 =
0
Jakobi_71 =
-0.0758
Jakobi_72 =
3.2517
Jakobi_73 =
3.2060
Jakobi_74 =
0.0301
Jakobi_75 =
-1.0083
Jakobi_76 =
-8.3542
Jakobi_77 =
-8.7798
Jakobi_78 =
-1.1201
Jakobi_81 =
-0.4140
Jakobi_82 =
0
Jakobi_83 =
0.0767
Jakobi_84 =
-0.3373
Jakobi_85 =
1.1223
Jakobi_86 =
0
Jakobi_87 =
0.5325
Jakobi_88 =
-12.0445
Jakobian =
Columns 1 through 6
3.9346 -4.7842 -1.0311 -4.7842 -0.4591
4.1306
-1.0311 -7.5982
8.4609
1.1477
0
1.1477 1 11 1.8225
1.2641
0 -1.1243 26 26.0976 0.1684 --0 0.0741
0.1529 -1.3006 -0.4048
-3.2108 -1.1497 -0.0758 -0.4140 35.5892
3.5752 0 -5.2602
-1.1497
2.3494
7.1586
0 -4.6786 71 71.0901
-0.0758
3.2517
3.2060
0.0301 -1.0083 -8.3542
-0.4140
0
0.0767 -0.3373
1.1223
0
Columns 7 through 8
0.26 0.2639 39 -2.7 -2.753 533 3 14.3834
0
19 19.1 .19 906 -0.2 -0.200 004 4 0.2671
1.1128
-3.5 -3.590 903 3 -7. -7.63 6329 29 14.3834
0
-8.7 -8.779 798 8 -1. -1.12 1201 01 0.5325 -12.0445
Inverse_Jakobian =
Columns 1 through 6
-45.9693 -67.7233 -67.7233 22.9667 -43.0343 -43.0343 14.5644 21.6072 -70.8837 -104.0529 35.2798 -66.3696 22.4583 33.2023 0.65 0.6512 12
0.93 0.9360 60 -0 -0.2 .262 629 9
0.62 0.6228 28 -0 -0.1 .199 998 8 -0 -0.2 .284 849 9
-43.7566 -64.4324 -64.4324 21.8633 -41.7119 -41.7119 13.8570 20.5569
-8.9435 -13.1509
4.4613 -8.3776
7.387 7.3 876 6 10.84 10.8416 16 -3.68 -3.6873 73
2.8622
4.1973
6.9154 6.9154 -2.338 -2.3388 8 -3.44 -3.4449 49
-31.8432 -46.7458 -46.7458 15.8798 -29.8136 -29.8136 10.0859 14.9073 0.56 0.5682 82
0.84 0.8457 57 -0 -0.2 .285 855 5
0.55 0.5523 23 -0 -0.1 .177 772 2 -0 -0.2 .269 699 9
Columns 7 through 8
-33.9911
0.0815
-52.2833
0.1146
0.6113 -0.0172 -32.3404
0.0111
-6.6 -6.611 111 1 -0.0 -0.00 028 5.4459 -0.0128 -23.5485
0.0587
0.4206 -0.0839
Nilai_Koreksi_Vektor_Tegangan =
-110.9389 -170.9798 1.5196
-105.1459
-22.0923 17.3597 -76.9570 1.4363
Iterasi 5
Vektor_Tegangan_Baru =
-110.9389 -170.9798 1.5196 -105.1459 -21.0923 18.3597 -75.9570 2.4363
delta2 =
-110.9389
delta3 =
-170.9798
delta4 =
1.5196
delta5 =
-105.1459
V2 =
-21.0923
V3 =
18.3597
V4 =
-75.9570
V5 =
2.4363
Perhitungan Power Mismatch dengan estimasi awal
P2h =
9.7801e+03
P3h =
4.4757e+03
P4h =
5.0057e+04
P5h =
443.8985
2h =
6.9445e+03
3h =
5.5586e+04
4h =
1.7197e+05
5h =
1.0477e+03
Menghitung Perbedaan Daya
P2d =
0.2000
P3d =
-0.4500
P4d =
-0.4000
P5d =
-0.6000
2d =
0.2000
3d =
-0.1500
4d =
-0.0500
5d =
-0.1000
Maka perbedaan daya diperoleh
P2 =
-9.7799e+03
P3 =
-4.4761e+03
P4 =
-5.0057e+04
P5 =
-444.4985
2 =
-6.9443e+03
3 =
-5.5586e+04
4 =
-1.7197e+05
5 =
-1.0478e+03
Vektor_Power_Mismatch =
1.0e+05 *
-0.0978 -0.0448 -0.5006 -0.0044 -0.0694 -0.5559 -1.7197 -0.0105
Jakobi_11 =
1.6343e+03
Jakobi_12 =
-1.6028e+03
Jakobi_13 =
-263.7937
Jakobi_14 =
280.5957
Jakobi_15 =
-617.9933
Jakobi_16 =
69.5031
Jakobi_17 =
-74.1748
Jakobi_18 =
-121.4413
Jakobi_21 =
-1.6028e+03
Jakobi_22 =
-4.2506e+04
Jakobi_23 =
4.4103e+04
Jakobi_24 =
0
Jakobi_25 =
60.4984
Jakobi_26 =
481.1124
Jakobi_27 =
-580.6260
Jakobi_28 =
0
Jakobi_31 =
-263.7937
Jakobi_32 =
-3.6175e+04
Jakobi_33 =
3.5785e+04
Jakobi_34 =
653.8740
Jakobi_35 =
267.1155
Jakobi_36 =
-1.3764e+03
Jakobi_37 =
-1.7205e+03
Jakobi_38 =
136.1965
Jakobi_41 =
280.5957
Jakobi_42 =
0
Jakobi_43 =
722.3909
Jakobi_44 =
-1.0030e+03
Jakobi_45 =
-14.0273
Jakobi_46 =
0
Jakobi_47 =
-1.6551
Jakobi_48 =
191.3593
Jakobi_51 =
6.5253e+03
Jakobi_52 =
-1.2761e+03
Jakobi_53 =
-5.6341e+03
Jakobi_54 =
295.8685
Jakobi_55 =
-735.9661
Jakobi_56 =
-87.3006
Jakobi_57 =
3.4729
Jakobi_58 =
115.1725
Jakobi_61 =
-1.2761e+03
Jakobi_62 =
118.2709
Jakobi_63 =
1.4713e+03
Jakobi_64 =
0
Jakobi_65 =
75.9901
Jakobi_66 =
3.7401e+03
Jakobi_67 =
-580.6260
Jakobi_68 =
0
Jakobi_71 =
-5.6341e+03
Jakobi_72 =
-2.5269e+04
Jakobi_73 =
-3.0572e+04
Jakobi_74 =
331.8168
Jakobi_75 =
12.5066
Jakobi_76 =
-1.9704e+03
Jakobi_77 =
-4.9993e+03
Jakobi_78 =
268.3872
Jakobi_81 =
295.8685
Jakobi_82 =
0
Jakobi_83 =
125.7181
Jakobi_84 =
421.5866
Jakobi_85 =
-13.3032
Jakobi_86 =
0
Jakobi_87 =
-9.5105
Jakobi_88 =
466.6850
Jakobian =
1.0e+04 *
Columns 1 through 6
0.1634 -0.1603 -0.0264
0.0281 -0.0618
-0.1603 -4.2506
4.4103
0
-0.0264 -3.6175
3.5785
0.0654
0.0281
0
0.0118
0.1471
0.0481
0.0267 -0.1376
0.0722 -0.1003 -0.0014
0.6525 -0.1276 -0.5634 -0.1276
0.0060
0.0070
0
0.0296 --0 0.0736 -0.0087 0
0.0076
0.3740
-0.5634 -2.5269 -3.0572
0.0332
0.0013 -0. -0.1970
0.0296
0
0.0126
0.0422 -0.0013
0
Columns 7 through 8
-0. -0.00 0074 74 -0. -0.01 0121 21 -0.0581
0
-0.1721
0.0136
-0.0002
0.0191
0.0003
0.0115
-0.0581
0
-0.4999
0.0268
-0.0010
0.0467
Inverse_Jakobian =
Columns 1 through 6
-0.0002 -0.0000
0.0001 -0.0000
0.0002
0.0000
0.0001 -0.0001
0.0001
0.0000 -0.0000
0.0000
0.0001 -0.0000
0.0001
0.0000 -0.0000
0.0000
0.0000 -0.0000
0.0000 -0.0008
0.0000
0.0000
-0.0023 -0.0000
0.0001 -0.0006
0.0006
0.0001
-0.0001
0.0001 -0.0001 -0.0001
0.0001
0.0002
-0.0005
0.0006 -0.0007 -0.0004
0.0002 -0.0003
0.0000
0.0001 -0.0001
0.0007 -0.0001 -0.0000
Columns 7 through 8
-0. -0.00 0000 00 -0. -0.00 0001 01 -0.0000
0.0000
-0.0000
0.0000
-0.0000
0.0003
-0. -0.00 0000 00 -0. -0.00 0005 05 0.0000
0.0000
0.0000
0.0002
0.0000
0.0019
Nilai_Koreksi_Vektor_Tegangan =
-0.9602 -1.3978 -0.7589 -0.5284
10.0980
-7.2800 50.0658 0.3535
>>
View more...
Comments