Run PSS/E from Jupyter Notebook
Has anyone tried to open PSS/E from Jupyter Notebook? I can run my PSSE34 on Python 2.7 command line and open PSS/E. However, when I try the same code on Jupyter Notebook the error psspy not found is occurring.
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
Has anyone tried to open PSS/E from Jupyter Notebook? I can run my PSSE34 on Python 2.7 command line and open PSS/E. However, when I try the same code on Jupyter Notebook the error psspy not found is occurring.
I have prepared a simple jupyter file to load a case, run a load flows and save to a new case (jupyter on Anaconda3 32-bit, python 3.9.7, PSSe 34.9) Visit JContogoogledrive, enter the folder "python code" and then select “lf_demo.ipynb”. An icon on the top-center screen will perform the download. Once downloaded, open it with jupyter.
A few API functions results in error! (check the commented API function in the code) Please post your findings.
Make sure that you use python 2.7 intepreter on your Jupyter Notebook.
Thankyou for your comment. My interpreter shows python 2 on Jupyter Notebook. The following error appears. Import error: No module named psse34 I am using python 2 as the interpreter on Jupyter Notebook and my psse34.py file is in PSSPY27. C:\Program Files (x86)\PTI\PSSE34\PSSPY27.
Asked: 2022-05-25 01:50:34 -0600
Seen: 456 times
Last updated: Jun 01 '22