Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

From v.34 PSSPY is not locate at the same path as PSSe, but within its own folder. Use the following code when developing for both v.33 and v.34 (psseversion and pssepath are defined above these code, according to your installation):

if PSSEVERSION==34:
   import psse34               # it sets new path for psspy
else:
   sys.path.append(PSSEPATH])

import psspy

From Starting from v.34 PSSPY is not locate located at the same path as PSSe, but within its own folder. Use the following code when developing for both v.33 and v.34 (psseversion and pssepath are defined above these code, according to your installation):

if PSSEVERSION==34:
   import psse34               # it sets new path for psspy
else:
   sys.path.append(PSSEPATH])
sys.path.append(PSSEPATH]
import psspy

import psspy