First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Hi Andre,
I see that you already worked out the answer. Just in case anyone else was having the same problem. Here is how to import if you are on a 64bit machine.
import os,sys
PSSE_PATH = r'c:\Program Files (x86)\PTI\PSSE33\PSSBIN'
sys.path.append(PSSE_PATH)
os.environ['PATH'] += ';' + PSSE_PATH
import redirect
redirect.psse2py()
import psspy
import excelpy
PSSE is installed in the "Program Files (x86)"
folder not the "Program Files"
folder for 64bit windows systems.
There are other ways to set up your PSSE path too. Check out this answer by chip for importing psspy