order_radial

order_radial(mpc)

order_radial() - Performs oriented ordering to buses and branches.

mpc = order_radial(mpc)

orders the branches by the the principle of oriented ordering:
indicies of sending nodes are smaller than the indicies of the
receiving nodes. The branch index is equal to the index of their
receiving node. The ordering is taken from:
D. Rajicic, R. Ackovski and R. Taleski, "Voltage correction power flow,"
IEEE Transactions on Power Delivery, vol. 9, no. 2, pp. 1056-1062, Apr 1994.

See also radial_pf().