Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

SOLVED

I was able to get it working. All that was missing was import psse34 as well.

import sys, os
PSSE_LOCATION = r'''C:\Program Files (x86)\PTI\PSSE34\PSSPY39'''
sys.path.append(PSSE_LOCATION)
os.environ['PATH'] = os.environ['PATH'] + ';' + PSSE_LOCATION
import psse34
import psspy

This solves the DLL import issue. I'm not sure why, but there's the fix.