First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
You'll need to tell Python where PSSE is installed. Otherwise it cannot find the psspy
library.
There is a question about that here:
https://psspy.org/psse-help-forum/question/122/how-do-i-import-the-psspy-module-in-a-python-script/
To summarise that link, you'll need to append your pssbin
folder to the sys.path
variable before you can import psspy.
You should do this in your main.py
before you start importing other modules that require psspy
.