First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
The variable 'archivo_sav.name', 'Ruta' are not defined, add something like:
archivo_sav_name = 'savnw.sav'
Ruta = 'c:\temp'
To run a python script: From the PSSe GUI, select the play icon, then set file type as *.py and select your python code. Functions names (like xx) in the API manuals require to be called with "psspy.xx" in your code.