First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
You can run PSSPLT with a response file from Python in the following way:
import os
pssbindir = r"C:\Program Files (x86)\PTI\PSSE33\PSSBIN"
os.environ['PATH'] = pssbindir + ';' + os.environ['PATH']
os.system("pssplt -inpdev test.idv")
The response file may first be written by your script before calling upon PSSLT.
2 | No.2 Revision |
You can run PSSPLT with a response file from Python in the following way:
import os
pssbindir = r"C:\Program Files (x86)\PTI\PSSE33\PSSBIN"
os.environ['PATH'] = pssbindir + ';' + os.environ['PATH']
os.system("pssplt -inpdev test.idv")
The response file may first be written by your script before calling upon PSSLT.PSSPLT.
Edit: Remember to have STOP at the last line in the response file so PSSPLT GUI will be closed after execution.