answered 2018-10-04 10:20:04 -0500
Change the branch id with API mbidbrn:
ierr = mbidbrn(frmbus, tobus, id, idnew)
For example:
psspy.mbidbrn(30715,30719,'1','*1') # switch psspy.mbidbrn(35441,35597,'1','@1') # breaker