get bus number using facts device name
I used the code below to get a list of FACTS device names (not dynamic model names). How can I retrieve the bus # for each loadflow model?
ierr = psspy.inifax()
ierr, nextfax = psspy.nxtfax()
while ierr ==0:
ierr, nextfax = psspy.nxtfax()
print nextfax
return #exit out of the script