Are you mixing MATPOWER versions? Some of these columns changed in version 3.2 of MATPOWER (I think) … which is one reason it's always good to use the names, not the numeric column indexes in your code.
I do not see any inconsistencies between idx_gen.m and the manual for version 4.1. -- Ray Zimmerman Senior Research Associate B30 Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Jul 12, 2013, at 11:11 AM, "Hardy, Trevor" <[email protected]> wrote: > There seems to be a discrepancy in the labels assigned to the columns of the > mpc.gen matrix. Page 78 of the manual lists columns 11 and 12 as PC1 and PC2 > while the idx_gen that defines the labels for the mpc.gen columns (found in > many files, printpf being the one I’m looking at) shows columns 11 and 12 > defined as MU_PMAX, MU_PMIN. It appears that all the columns following PMIN > (column 10) have different orders depending on the document being examined. > Can you clarify which is correct? > > Trevor
