First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Hello everyone, I'm new in learning user defined model. I'm trying to compile the DEMOEX by using "Create User DLL",but when I follow the PSSE environment manager user guide to run "psseenvmanager_w.pyw" here comes a problem.
Traceback (most recent call last): File "C:\Python27\Lib\site-packages\psseenvmanager\psseenvmanagerw.pyw", line 6, in <module> import commonem as comonpy ImportError: DLL load failed:The specified module could not be found.
I wondering if "common_em" is a package of python, when check my "pip list" there exist common(0.1.2),it is the same thing?
could anyone can help me fix it? Very apperciate!! My PSSE version is 34.6.1
2 | No.2 Revision |
Hello everyone, I'm new in learning user defined model. I'm trying to compile the DEMOEX by using "Create User DLL",but when I follow the PSSE environment manager user guide to run "psseenvmanager_w.pyw" here comes a problem.
Traceback (most recent call last): File "C:\Python27\Lib\site-packages\psseenvmanager\psseenvmanagerw.pyw", line 6, in <module> import commonem as comonpy ImportError: DLL load failed:The specified module could not be found.
I wondering if "common_em" is a package of python, when check my "pip list" there exist common(0.1.2),it is the same thing?
could anyone can help me fix it? Very apperciate!! My PSSE version is 34.6.1
3 | No.3 Revision |
Hello everyone, I'm new in learning user defined model. I'm trying to compile the DEMOEX by using "Create User DLL",but when I follow the PSSE environment manager user guide to run "psseenvmanager_w.pyw" here comes a problem.
Traceback (most recent call last): File "C:\Python27\Lib\site-packages\psseenvmanager\psseenvmanagerw.pyw", line 6, in <module> import commonem as comonpy ImportError: DLL load failed:The specified module could not be found.
I wondering if "common_em" is a package of python, when check my "pip list" there exist common(0.1.2),it is the same thing?
could anyone can help me fix it? Very apperciate!! My PSSE version is 34.6.1
import os import sys
PSSEPATH = r"C:\Program Files (x86)\PTI\PSSE34\PSSBIN" sys.path.append(PSSEPATH) os.environ['PATH'] = os.environ['PATH'] + ';' + PSSE_PATH import psspy
from psspy import _i from psspy import _f
psspy.psseinit(100000) psspy.case(r"""C:\Program Files (x86)\PTI\PSSE33\EXAMPLE\savnw.sav""") psspy.fdns([0,0,0,1,1,0,99,0]) psspy.fdns([0,0,0,1,1,0,99,0]) psspy.cong(0) psspy.conl(0,1,1,[0,0],[ 100.0,0.0,0.0, 100.0]) psspy.conl(0,1,2,[0,0],[ 100.0,0.0,0.0, 100.0]) psspy.conl(0,1,3,[0,0],[ 100.0,0.0,0.0, 100.0]) psspy.ordr(0) psspy.fact() psspy.tysl(0) psspy.dyre_new([1,1,1,1],r"""C:\Program Files (x86)\PTI\PSSE33\EXAMPLE\savnw.dyr""","","","")
workdir = os.getcwd() dllname= 'dsusr_34.dll' ierr = psspy.addmodellibrary(workdir + "\" + dllname) #load dll
psspy.chsb(0,1,[-1,-1,-1,1,4,0]) psspy.chsb(0,1,[-1,-1,-1,1,5,0]) psspy.chsb(0,1,[-1,-1,-1,1,13,0]) psspy.chsb(0,1,[-1,-1,-1,1,16,0]) psspy.strt_2([0,1],r"""C:\Users\EE106\Desktop\try.out""")
Messages for api ADDMODELLIBRARY Library not found (000301) "C:\Python27\Lib\site-packages\psseenvmanager\dsusr_34.dll"
4 | No.4 Revision |
Hello everyone, I'm new in learning user defined model. I'm trying to compile the DEMOEX by using "Create User DLL",but when I follow the PSSE environment manager user guide to run "psseenvmanager_w.pyw" here comes a problem.
Traceback (most recent call last): File "C:\Python27\Lib\site-packages\psseenvmanager\psseenvmanagerw.pyw", line 6, in <module> import commonem as comonpy ImportError: DLL load failed:The specified module could not be found.
I wondering if "common_em" is a package of python, when check my "pip list" there exist common(0.1.2),it is the same thing?
could anyone can help me fix it? Very apperciate!! My PSSE version is 34.6.1
import os
PSSEPATH = r"C:\Program Files (x86)\PTI\PSSE34\PSSBIN" sys.path.append(PSSEPATH) os.environ['PATH'] = os.environ['PATH'] + ';' + PSSE_PATH import psspy
from psspy import _i from psspy import _f
psspy.psseinit(100000) psspy.case(r"""C:\Program Files (x86)\PTI\PSSE33\EXAMPLE\savnw.sav""") psspy.fdns([0,0,0,1,1,0,99,0]) psspy.fdns([0,0,0,1,1,0,99,0]) psspy.cong(0) psspy.conl(0,1,1,[0,0],[ 100.0,0.0,0.0, 100.0]) psspy.conl(0,1,2,[0,0],[ 100.0,0.0,0.0, 100.0]) psspy.conl(0,1,3,[0,0],[ 100.0,0.0,0.0, 100.0]) psspy.ordr(0) psspy.fact() psspy.tysl(0) psspy.dyre_new([1,1,1,1],r"""C:\Program Files (x86)\PTI\PSSE33\EXAMPLE\savnw.dyr""","","","")
workdir = os.getcwd()
dllname= 'dsusr_34.dll'
ierr = psspy.addmodellibrary(workdir + "\" + dllname) #load dll
psspy.chsb(0,1,[-1,-1,-1,1,4,0]) psspy.chsb(0,1,[-1,-1,-1,1,5,0]) psspy.chsb(0,1,[-1,-1,-1,1,13,0]) psspy.chsb(0,1,[-1,-1,-1,1,16,0]) psspy.strt_2([0,1],r"""C:\Users\EE106\Desktop\try.out""")
Messages for api ADDMODELLIBRARY Library not found (000301) "C:\Python27\Lib\site-packages\psseenvmanager\dsusr_34.dll"
5 | No.5 Revision |
Hello everyone, I'm new in learning user defined model. I'm trying to compile the DEMOEX by using "Create User DLL",but when I follow the PSSE environment manager user guide to run "psseenvmanager_w.pyw" here comes a problem.
Traceback (most recent call last): File "C:\Python27\Lib\site-packages\psseenvmanager\psseenvmanagerw.pyw", line 6, in <module> import commonem as comonpy ImportError: DLL load failed:The specified module could not be found.
I wondering if "common_em" is a package of python, when check my "pip list" there exist common(0.1.2),it is the same thing?
could anyone can help me fix it? Very apperciate!! My PSSE version is 34.6.1
import
`import
osimport sys
from psspy import _i from psspy import _f
psspy.psseinit(100000) psspy.case(r"""C:\Program Files (x86)\PTI\PSSE33\EXAMPLE\savnw.sav""") psspy.fdns([0,0,0,1,1,0,99,0]) psspy.fdns([0,0,0,1,1,0,99,0]) psspy.cong(0) psspy.conl(0,1,1,[0,0],[ 100.0,0.0,0.0, 100.0]) psspy.conl(0,1,2,[0,0],[ 100.0,0.0,0.0, 100.0]) psspy.conl(0,1,3,[0,0],[ 100.0,0.0,0.0, 100.0]) psspy.ordr(0) psspy.fact() psspy.tysl(0) psspy.dyre_new([1,1,1,1],r"""C:\Program Files (x86)\PTI\PSSE33\EXAMPLE\savnw.dyr""","","","")
workdir = os.getcwd() dllname= 'dsusr_34.dll' ierr = psspy.addmodellibrary(workdir + "\" + dllname)
psspy.chsb(0,1,[-1,-1,-1,1,4,0])
psspy.chsb(0,1,[-1,-1,-1,1,5,0])
psspy.chsb(0,1,[-1,-1,-1,1,13,0])
psspy.chsb(0,1,[-1,-1,-1,1,16,0])
psspy.strt_2([0,1],r"""C:\Users\EE106\Desktop\try.out""")psspy.strt_2([0,1],r"""C:\Users\EE106\Desktop\try.out""")`
Messages for api ADDMODELLIBRARY Library not found (000301) "C:\Python27\Lib\site-packages\psseenvmanager\dsusr_34.dll"
6 | No.6 Revision |
Hello everyone, I'm new in learning user defined model. I'm trying to compile the DEMOEX by using "Create User DLL",but when I follow the PSSE environment manager user guide to run "psseenvmanager_w.pyw" here comes a problem.
Traceback (most recent call last): File "C:\Python27\Lib\site-packages\psseenvmanager\psseenvmanagerw.pyw", line 6, in <module> import commonem as comonpy ImportError: DLL load failed:The specified module could not be found.
I wondering if "common_em" is a package of python, when check my "pip list" there exist common(0.1.2),it is the same thing?
could anyone can help me fix it? Very apperciate!! My PSSE version is 34.6.1
`import
import
os
import sys
could anyone can help me fix it? Very apperciate!! My PSSE version is 34.6.1
Messages for api ADDMODELLIBRARY Library not found (000301) "C:\Python27\Lib\site-packages\psseenvmanager\dsusr_34.dll"