Ask Your Question
0

Create model library error

asked 2020-06-22 01:50:47 -0500

john.durban gravatar image

updated 2020-06-22 08:05:56 -0500

jconto gravatar image

Hi All

I get the following error when I use "create model library" with PSSe33. Could someone advise on this issue please?

Thanks

Traceback (most recent call last):
  File "C:\Python27\Lib\site-packages\psse_env_manager\psse_env_manager_w_fromPSSE33.pyw", line 34, in <module>
    psse_env_manager_gui._run_fromPSSE(_pssevrsn)
  File "psse_env_manager_gui.py", line 4126, in _run_fromPSSE
  File "psse_env_manager_gui.py", line 4114, in RunApp
  File "psse_env_manager_gui.py", line 4088, in __init__
  File "psse_env_manager_gui.py", line 1434, in __init__
AttributeError: 'Button' object has no attribute 'SetBitmap'
edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2020-06-22 08:19:41 -0500

jconto gravatar image

updated 2020-06-22 12:09:45 -0500

What is your PSSe version (v33.xx.y), What is your Fortran compiler version?

PSSe v33 shall be installed in its default folder, same as the corresponding Fortran compiler. When compiling fails, questions first your set up, next, your code. Check the forum for "Fortran" or "User Defined", or directly:

- "Model writing and Create User DLL"
- "I want to use user-defined model with fortran"
- "BASIC MODEL WRITING EXAMPLE IN FORTRAN FOR PSS/E"

In my setup, as shown by double clicking on the PSSe tool "Create User DLL":

 ------------- PSS(R)E 33 Environment settings, EM 9.0.1, Py 2.7.13 [x86]

 Fortran PATH paths (IVF 12.1.325):
    c:\program files (x86)\intel\composer xe 2011 sp1\bin\ia32
    c:\program files (x86)\intel\composer xe 2011 sp1\redist\ia32\compiler

 Visual Studio PATH paths (VS 2010):
    c:\program files (x86)\microsoft visual studio 10.0\intel fortran\microsoft files\vc\bin
    C:\Program Files (x86)\windows kits\10\bin\10.0.18362.0\x86
    c:\program files (x86)\microsoft visual studio 10.0\common7\ide

 Fortran LIB paths (IVF 12.1.325):
    c:\program files (x86)\intel\composer xe 2011 sp1\compiler\lib\ia32

 Visual Studio LIB paths (VS 2010):
    c:\program files (x86)\microsoft visual studio 10.0\intel fortran\microsoft files\vc\lib
    C:\Program Files (x86)\windows kits\10\Lib\10.0.18362.0\um\x86

 Successfully added PSSE paths to local PATH and LIB environment.
edit flag offensive delete link more
0

answered 2020-06-22 12:01:23 -0500

john.durban gravatar image

PSSE 33.12 and IVF 12.1.357

edit flag offensive delete link more

Comments

Check your path setup, as shown by double clicking on the PSSe tool "Create User DLL"

jconto gravatar imagejconto ( 2020-06-22 12:11:02 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2020-06-22 01:50:47 -0500

Seen: 1,103 times

Last updated: Jun 22 '20