Revision history  [back]

from API manual:

ierr, rval = brnmsc(ibus,jbus,ickt,string)
P Branch MW flow at the IBUS end of the branch.
Q Branch Mvar flow at the IBUS end of the branch.

You can get P and Q at the desired branch end just by placing correct bus number into ibus place. Formula for MVA:

S=sqrt(P^2+Q^2)