I’m not sure where the problem lies, but have you checked that it is a connected network using the case_info() function?
Ray > On Nov 25, 2014, at 5:59 AM, Marco Barbetta <[email protected]> > wrote: > > Dear collegues, > > i succeded to run my program (i fixed the problem that MatPower doesn't > recognize the slack bus if there is no generation in it, as i said in > http://www.mail-archive.com/matpower-l%40cornell.edu/msg03745.html > <http://www.mail-archive.com/matpower-l%40cornell.edu/msg03745.html>), but i > get this warning: > > Warning: Matrix is singular to working precision. > > In newtonpf at 108 > > In runpf at 224 > > newtonpf at 108 is this row ---> dx = -(J \ F); %% compute update step > > runpf at 224 is this row ---------> [V, success, iterations] = > newtonpf(Ybus, Sbus, V0, ref, pv, pq, mpopt); > > The problem is that, obviously, my program doesn't converge. In your opinion, > where is the problem? > > Thank you for help, > > Marco Barbetta
