First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
answered Feb 23 '17
If you add the following at the top of your code it should work correctly.
_i, _f = psspy.getbatdefaults()