Ask Your Question

Revision history [back]

click to hide/show revision 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

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