Está en la página 1de 1

Start

Data: Jumlah bus (m); Jumlah cabang (n);

Data bus: ID/No Bus; Nama bus; Data G+jB pada bus tersebut

Data Cabang: ID/No Bus Kirim (BK); ID/No Bus Terima (BT); ID/No Cabang; R (pu), X (pu);

Merubah Impedansi secara individual (Z): R, X dan S ke dalam Admitansi (Y): G, B, Z = R + jX; Y = 1/Z = G + jB = R/(R2 + X2) + j X/(R2 + X2) Gj = Rj/(Rj2 + Xj2) Bj =- Xj/(Rj2 + Xj2) For i = 1 to m Inisialisasi Matrik Admitansi (Ymxm) Yij = 0; GGij = 0; BBij = 0;

For j = 1 to m

For j = 1 to n

Yij = 0; GGij = 0; BBij = 0;

Elemen Matrik non Diagonal GG[BK[j]] [BT[j] = G[j] * (-1); BB[BK[j]] [BT[j] = B[j] * (-1); GG[BT[j]] [BK[j] = GG[BK[j]] [BT[j]; BB[BT[j]] [BK[j] = BB[BK[j]] [BT[j] ;

for i = 1 to m

for j = 1 to n

No

BK[j] = i

No

BT[j] = i Yes Yes

Elemen Matrik Diagonal GG[i][i] = GG[i][i] + G[j]; BB[i][i] = BB[i][i] + B[j] + Bs[j];

Stop