Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am also using Win10 and Excel 2013 but I installed PSSe v.33.12.1 in its default path, without problems! In your code above, the line:

if str(win10.upper())=='N': PSSE_LOCATION = r"C:\Program Files\PTI\PSSE33\PSSBIN"

indicates that your path for Win10 is not the default path. PSSe v33 is a 32-bit program and it is recommended to be installed in the default "C:\Program Files (x86)\PTI\PSSE33" path.

Also, it is better to use the "import psse33" module to set PSSe paths, valid for any OS version:

import psse33     #sets PSSe path
import psspy
import redirect
import pssarrays
import pssexcel