Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The answer is provided by @miltonfrey on question "[SOLVED] Cannot load psscommon". I can't post links, so I have to provide an answer like this. The working code, adapted from this question is:

import sys

PSSPY_PATH = r"C:\Program Files\PTI\PSSE35\35.4\PSSPY39"
sys.path.append(PSSPY_PATH)

import psse35
import psspy

psspy.psseinit()