I didn’t write the code for the power summation method, so I wasn’t aware that 
it did not handle multiple generators at a single bus. I consider this a bug. 
Would you mind creating a bug report for it 
here<https://github.com/MATPOWER/matpower/issues>?

Thanks,

 Ray


On Nov 18, 2023, at 6:37 AM, Muhammad Junaid <[email protected]> wrote:

When the generator matrix has the same bus numbers for new rows (other 
generators placed on the same bus) it gives an error for the power summation 
method. However, if we add those P and Q's to the same bus for multiple DG's P 
and Q and represent it as a single bus then it doesn't give an error.

On Sat, Nov 18, 2023 at 6:29 PM Muhammad Junaid 
<[email protected]<mailto:[email protected]>> wrote:
Hi Sir,

I hope you are doing well. Sir, when we use this data for the generator matrix, 
it gets solved using Newton's Power Flow but gives this error:
MATPOWER Version 7.1, 08-Oct-2020 -- AC Power Flow (Power Summation)
Warning: Matrix is singular to working precision.
> In calc_v_pq_sum (line 53)
  In radial_pf (line 63)
  In runpf (line 283)
  In Code (line 118)
Power summation did not converge in 20 iterations when using the 
Forward-Backward Sweep method. I have considered the case33bw distribution 
network. Shouldn't the Forward-Backward Sweep method be better able to solve 
this network, considering it is a distribution network? Or is Newton's Power 
Flow modified to accurately solve radial networks as well?
<image.png>


Reply via email to