First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
As jconto wrote, there are several examples on how to loop all buses. Here is an example using psspy:
ierr, buses = psspy.abusint(-1, 2, ['NUMBER'])
for ibus in buses[0]:
print ibus