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), 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
