Just now I read the script of the new version runpf.m and found there are
some new lines:

if bus(gen(mx, GEN_BUS), BUS_TYPE) == REF && length(ref) > 1

                    error('Sorry, MATPOWER cannot enforce Q limits for slack
buses in systems with multiple slacks.');

                end

But, if qlim == 1, the expression “bus(-) == REF” will not necessarily
scale, thus, violate the grammar of the operator &&.

This error really occurred when I ran the case118 and others.

 

李诗�D 

Shiyang Li

Shanghai Jiao Tong University

 

  • Bug? 李诗�D

Reply via email to