First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Use inibrn and nxtbrn3, for example, to loop all branches and transfomers connected to ibus:
ibus = 154
ierr = psspy.inibrn(ibus, 2)
while True:
ierr, jbus, kbus, ickt = psspy.nxtbrn3(ibus)
if ierr>0: break