First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Hi,
I am trying to run psspy in psse xplore v34 using the following block of script:
import os
import sys
PSSE_PY27 = r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSPY27'
PSSBIN = r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSBIN'
PSSE_PY34 = r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSPY34'
sys.path.append(PSSBIN)
sys.path.append(PSSE_PY27)
sys.path.append(PSSE_PY34)
import pssexplore34
However, there is the following error message:
Error in opening PSSE PSSE Xplore 34 registry key 'Product Paths'
Traceback:
File '.\psseloc.py', line 140, in _set_psse_loc
WindowsError: [Error 2] The system cannot find the file specified
Can someone help me with this? Is there some other path that I need to provide?
2 | No.2 Revision |
Hi,
I am trying to run psspy in psse xplore v34 using the following block of script:
import os
import sys
PSSE_PY27 = r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSPY27'
PSSBIN = r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSBIN'
PSSE_PY34 = r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSPY34'
sys.path.append(PSSBIN)
sys.path.append(PSSE_PY27)
sys.path.append(PSSE_PY34)
os_path_PSSE=r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSBIN'
os.environ['PATH'] += ';' + os_path_PSSE
os.environ['PATH'] += ';' + sys_path_PSSE
import pssexplore34
However, there is the following error message:
Error in opening PSSE PSSE Xplore 34 registry key 'Product Paths'
Traceback:
File '.\psseloc.py', line 140, in _set_psse_loc
WindowsError: [Error 2] The system cannot find the file specified
Can someone help me with this? Is there some other path that I need to provide?
3 | No.3 Revision |
Hi,
I am trying to run psspy in psse xplore v34 using the following block of script:
import os
import sys
PSSE_PY27 = r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSPY27'
PSSBIN = r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSBIN'
sys.path.append(PSSBIN)
sys.path.append(PSSE_PY27)
os_path_PSSE=r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSBIN'
os.environ['PATH'] += ';' + os_path_PSSE
os.environ['PATH'] += ';' + sys_path_PSSE
import pssexplore34
However, there is the following error message:
Error in opening PSSE PSSE Xplore 34 registry key 'Product Paths'
Traceback:
File '.\psseloc.py', line 140, in _set_psse_loc
WindowsError: [Error 2] The system cannot find the file specified
Can someone help me with this? Is there some other path that I need to provide?