It is possible that you have a disconnected network with an island that does
not have a reference bus, or maybe you have a zero impedance branch. I would
begin by looking at the output of case_info() for your case to see if you see
anything unusual.
Ray
> On Oct 20, 2019, at 11:59 PM, Sabhan Kanata <[email protected]> wrote:
>
> Dear Prof Ray,
>
> I get a warning when running the power flow as below:
>
> What do you think is the solution?
>
>
> Error using \
> Matrix is singular to working precision.
>
> Error in newtonpf (line 100)
> dx = -(J \ F);
>
> Error in runpf (line 148)
> [V, success, iterations] = newtonpf(Ybus, Sbus, V0, ref, pv, pq,
> mpopt);
>
> Regards
> Sabhan K