First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Hi, I try to run this script
import sys, os
sys.path.insert(0, r"C:\Program Files\PTI\PSSE33\PSSBIN") # xx --> substitute xx with Version Number here.
os.environ['PATH'] = r"C:\Program Files\PTI\PSSE33\PSSBIN" + ";" + os.environ['PATH']
import redirect
redirect.psse2py() # this redirects PSS(R)E progress, report output to Python Shell/Console
import psspy
CASE = r"H:\PortableAppscom\Documents\PSSE group\PSSPY\EMT_CAMax_SEP_12_Exp_PA_SN.sav"
psspy.psseinit(12000)
psspy.case(CASE)
But I got a pop up
"Bad version number 33 for program PSSE Was expecting 32"
I have installed both version.
Can you help me to find the problem?
Thanks, Waltter