Professional Documents
Culture Documents
Read the system data,check if the initial voltage angles are set and obtain the number of buses as n. assume bus voltage Vi0 for i=1 to n(not applicable for slack bus)
For P-V and P-Q bus, obtain the [B] matrix & [B]-1 For P-Q bus, obtain the [B] matrix & [B]-1
Set iteration count k=0 D Set bus count i=1 B Test whether ith bus is P-V(or) P-Q bus or slack bus
P-Q bus
Slack bus
i=i+1
Calculate
Is Qi >Qimax
(k) ?
No
Is Qi <Qimin
(k) ?
No
Yes
i=i+1
No
Yes For P-V & P-Q bus form and obtain =-[B]-1 i
Find the line current without line charging capacitors and also find the line flows and line losses
Stop
-1 i=-[B]
P-V bus
Slack bus
i=i+1
Calculate
(k+1)
(k)
(k)