First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
PSSE_PATH = r'C:\Program Files (x86)\PTI\PSSE32\PSSBIN'
sys.path.append(PSSE_PATH)
os.environ['PATH'] += ';' + PSSE_PATH
import psspy
psspy.psseinit(0)
psspy.case(str(archivo_sav.name))
Here: "Run Automation File with python API"
psspy.save(os.path.join(Ruta,r"Archivo_prueba.sav"))
psspy.close_powerflow()
2 | No.2 Revision |
PSSE_PATH = r'C:\Program Files sys.path.append(PSSE_PATH)
import psspy
psspy.psseinit(0)
psspy.case(str(archivo_sav.name))
Here:
psspy.save(os.path.join(Ruta,r"Archivo_prueba.sav"))
psspy.close_powerflow()