First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Hi everybody,
I'm using a PSS/E version 32 and in my python programs use the following code:
import os,sys
PATHPSSEINSTALLATION="C:\Program Files (x86)\PTI\PSSE32\PSSBIN" PATHLOCALPROGRAM="D:\MyProgram"
sys.path.append(PATHPSSEINSTALLATION) sys.path.append(PATHLOCALPROGRAM) os.environ['PATH']=os.environ['PATH']+";"+PATHPSSEINSTALLATION
I hope the code be useful for you.