The size of the square Jacobian matrix, returned by makeJac(), in MATPOWER is 2*npv + npq, where npv is the number of PV buses and npq is number of PQ buses. You can create appropriate permutation vectors to reorganize the matrix entries. However, from what I understand, you want to put the entries in a matrix with a different size. You¹ll have to create the appropriate transformation matrix that maps the original matrix to your new matrix for doing what you want.
Shri -----Original Message----- From: Kanis Kanis <kaniskanis...@gmail.com> Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu> Date: Sunday, September 6, 2015 at 2:36 PM To: MATPOWER discussion forum <matpowe...@list.cornell.edu> Subject: Jacobian matrix >Hello, >the Jacobian matrix from full(makeJac) function is a matrix which >elements are placed, all PV buses before PQ buses for the real power >rows and voltage angle columns. Is there any way to reform the matrix in >a (n-1+m)x(n-1+m) matrix, where n the number of buses and m the number >of PQ buses; > >Thanks in advance for your interest. > > >--- >This email has been checked for viruses by Avast antivirus software. >https://www.avast.com/antivirus > >