First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
While importing PSSE V34 into python2.7 :
PYTHONPATH1=r'C:\Program Files (x86)\PTI\PSSE34\PSSPY27' PYTHONPATH2=r'C:\Program Files (x86)\PTI\PSSE34\PSSBIN' sys.path.append(PYTHONPATH1) sys.path.append(PYTHONPATH2) os.environ['PATH']+=';'+PYTHONPATH1 os.environ['PATH']+=';'+PYTHONPATH2
While importing PSSE V34 into python3.7 :
PYTHONPATH1=r'C:\Program Files (x86)\PTI\PSSE34\PSSPY37' PYTHONPATH2=r'C:\Program Files (x86)\PTI\PSSE34\PSSBIN' sys.path.append(PYTHONPATH1) sys.path.append(PYTHONPATH2) os.environ['PATH']+=';'+PYTHONPATH1 os.environ['PATH']+=';'+PYTHONPATH2
2 | No.2 Revision |
While importing PSSE V34 into python2.7 :
PYTHONPATH1=r'C:\Program Files (x86)\PTI\PSSE34\PSSPY27' PYTHONPATH2=r'C:\Program Files (x86)\PTI\PSSE34\PSSBIN' sys.path.append(PYTHONPATH1) sys.path.append(PYTHONPATH2) os.environ['PATH']+=';'+PYTHONPATH1 os.environ['PATH']+=';'+PYTHONPATH2
While importing PSSE V34 into python3.7 :
PYTHONPATH1=r'C:\Program Files (x86)\PTI\PSSE34\PSSPY37' PYTHONPATH2=r'C:\Program Files (x86)\PTI\PSSE34\PSSBIN' sys.path.append(PYTHONPATH1) sys.path.append(PYTHONPATH2) os.environ['PATH']+=';'+PYTHONPATH1 os.environ['PATH']+=';'+PYTHONPATH2