Best way to read *.out file with PSSExplore34? Excel or python?
Hi,
I want to perform some analysis on my PSSE *.out file and not sure what the best approach is, as I am struggling to setup python to use "pssexcel" or dyntools. Not sure if this issue is related to my setup or the fact I have PSSExplore 34. So any pointers or suggestions would be really helpful!
Thanks!
First, So far I have this code below, but keep getting errors when trying to run in python
import os
import sys
DIRECTORY_PATH =r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSPY27'
PSSE_PATH = r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSBIN'
sys.path.append(DIRECTORY_PATH)
os.environ['PATH'] =+ ";" + PSSE_PATH
import excelpy
I also followed a suggestion from other posts of running existing examples from PSSE installation. I tried running "dyntools_demo.py" and got the error:
Traceback (most recent call last):
File "C:\Python27\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 326, in RunScript
exec codeObject in __main__.__dict__
File "C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\dyntools_demo.py", line 405, in <module>
import psse34
ImportError: No module named psse34
Second, How do I import *.out file and "detect" all its entries? Or I need to know beforehand?
(added an update to the question, as it was not directly asked)