First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Here is how load psse from python on a 64 bit windows machine:
import os,sys
PSSE_LOCATION = r"C:\Program Files (x64)\PTI\PSSE33\PSSBIN"
sys.path.append(PSSE_LOCATION)
os.environ['PATH'] = os.environ['PATH'] + ';' + PSSE_LOCATION
Put that at the top of your file. It will set your Python path and your os environment variables. Particularly the environment variables are important otherwise PSS/E will crash when you try to actually solve something or load data.