First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Well, in my file PSSBIN there isn't any psspyc.pyd so i guess some files are missing in my PSS30. I will check it out with my friends and see if they have those files. Meanwhile, i try python 2.5 with PSS32 student version. Another error appears, i run the code and the follow message appears:
"Messages for api LIST
PSS(R)E not properly initialized"
Thus anyone knows how to solve this problem?
My code was:
import os,sys
sys.path.append(r"D:\COMPONENTE_LOGICA\PTI\PSSEUniversity32\PSSBIN")
os.environ['PATH'] = (r"D:\COMPONENTE_LOGICA\PTI\PSSEUniversity32\PSSBIN"+";" + os.environ['PATH'])
import psspy
import redirect
redirect.psse2py()
psspy.fdns([0,0,0,1,1,0,99,0])
2 | code formatting |
Well, in my file PSSBIN there isn't any psspyc.pyd so i guess some files are missing in my PSS30. I will check it out with my friends and see if they have those files. Meanwhile, i try python 2.5 with PSS32 student version. Another error appears, i run the code and the follow message appears:
"Messages for api LIST
PSS(R)E not properly initialized"
Thus anyone knows how to solve this problem?
My code was:
import sys.path.append(r"D:\COMPONENTE_LOGICA\PTI\PSSEUniversity32\PSSBIN")
import redirect
redirect.psse2py()
psspy.fdns([0,0,0,1,1,0,99,0])