First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
The brnflo method will return MW and MVAR for a branch with sign according to first bus to second bus. The branch ID must always be in single quotes.
ierr, branchflow = psspy.brnflo(68168,64124,'1')
To see the result, use print branchflow
. To see just the MW, use print branchflow.real
. To see just the MVAR, use print branchflow.imag
2 | No.2 Revision |
The brnflo method will return MW and MVAR for a branch with sign according to first bus to second bus. The branch ID must always be in single quotes.
ierr, branchflow = psspy.brnflo(68168,64124,'1')
psspy.brnflo(12,13,'1')
To see the result, use print branchflow
. To see just the MW, use print branchflow.real
. To see just the MVAR, use print branchflow.imag