- Compute the voltage of both buses, i.e., "V2" and "V3", in the same loop so that the updated value of voltage is used for computation in each iteration. To do so, you can save the voltage ("V") and apparent power ("S") in a vector. This can be done as follows:
- Additionally, you can use the accelerating factor with its industry- standard value to multiply the voltage of each bus in each iteration to accelerate convergence. Be careful while choosing the value of the acceleration factor as it may cause divergence of the voltages if wrongly chosen.