Use ext2int() in your code. On Feb 20, 2013, at 7:15 PM, mohammad esmali wrote:
> > Shri, > Thanks for your comments but, I am using it in a code that I need them to be > consistent with the bus numbers in mpc.bus :( > From: Shri <[email protected]> > To: MATPOWER discussion forum <[email protected]> > Sent: Wednesday, 20 February 2013, 18:13 > Subject: Re: Bus numbers in Branch matrix for case3375wp > > I believe they are consistent. You might have been confused since the fbus > and tbus numbering is more than 10000. However, note that the first 350 or so > buses are numbered greater than 10000. Hence the big numbers in fbus and > tbus. These numbers do not actually matter during the solve phase since this > is just external bus numbering. > > Shri > On Feb 20, 2013, at 5:53 PM, mohammad esmali wrote: > >> Dear all, >> >> I was working with case3375wp and I realized that the numbers in fbus and >> tbus columns in mpc.branch are not consistent with the bus number that are >> used in mpc.bus. Do you know why these numbers are this much big?! >> >> Thanks in advanced > > >
