All MATPOWER functions contain their own documentation, available by typing, for example ‘help ext2int’. Or you can look it up in the MATPOWER Online Function Reference <http://www.pserc.cornell.edu/matpower/docs/ref/> listed in the documentation section of the MATPOWER home page <http://www.pserc.cornell.edu/matpower/>.
Here’s the direct link for ext2int.m: http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0b2/ext2int.html The differing dimensions has to do with the fact that (from the above docs): "all isolated buses, off-line generators and branches are removed along with any generators or branches connected to isolated buses" Ray > On Dec 11, 2016, at 11:02 PM, 郭贤 <guoxian2...@gmail.com> wrote: > > Hi, > > Sorry to bother you. I have a question regarding "psse2mpc". After taking > psse data to mpc format, I use "MPC=ext2int(mpc)". It seems that mpc and MPC > have different dimensions, as shown in the Figure. > > <image.png> <image.png> > > I cannot understand why the bus and branch dimensions are different. Is > there any documententation about how MATPOWER do the "ext2int" process? > > > > Thanks a lot. I really appreciate it. > > > -- > ————————— > Thanks & Regards > Xian Guo >