First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
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)