First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
The following code works in v.33.10:
import os,sys
psseversion = 33
if psseversion== 34 or psseversion== 33:
exec('import psse%s'%psseversion)
else:
pssepath = r"C:\Program Files (x86)\PTI\PSSE32\PSSBIN"
if pssepath not in sys.path:
sys.path.append(pssepath)