I suspect this error is caused by a bug in case_info() (found and fixed a day after the 5.0 release) related to islands that contain no generation. I’ve attached a fixed version.

    Ray

Attachment: case_info.m
Description: Binary data



On Feb 26, 2015, at 6:44 AM, Vitor Ribeiro <[email protected]> wrote:

Hello,

I am trying creating new case m-file, and I am having error using case_info function.

Error using  & 
Matrix dimensions must agree.

Error in case_info_2 (line 343)
    ig_on   = ig(find(gon(ig)  & ~isload(mpc.gen(ig, :))));


this happens considering that I'm changing network topology (mpc.branch(:,11)). If I I run case_info() with all lines connected it runnes perfectly.

Best Regards,
Vitor Ribeiro.

Reply via email to