First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

Use a .lib file on PSSE 34.6 and later

asked Dec 18 '19

pssuser gravatar image

Hello, i've received a .lib file for a user defined model created in PSSE 33. I am using PSSE 34.6 and would like to use the same model library. Do i need to convert it in a .dll file or can i use it ? I precise that i don't have the code used to generate the .lib file.

3 answers

Sort by » oldest newest most voted
0

answered Dec 18 '19

jconto gravatar image

OBJ or LIB files (compiled Fortran code of models) have to be recompiled into DLL for the PSSE version in which is going to be used.

A UDM model file (*.obj, *.lib, *.dll) for v33 cannot be used for v.34

link

Comments

Thank you.

pssuser gravatar imagepssuser (Dec 19 '19)

Hi, I am looking for some hints to compile user defined *.obj file and make dll. Do you have a short note for that.

Clarck gravatar imageClarck (Apr 30 '1)

run the PTI tool "Create User DLL", drag and drop all the *.obj into the box "User Model Object Library FiIes" and then click the icon "compile DLL". For a demo to compile search the forum for "User Defined Models" and download a demo data set for v.33. You have to have a Fortran compiler!

jconto gravatar imagejconto (Apr 30 '1)
0

answered Dec 21 '19

please is this version available free on net ?

link
0

answered Dec 19 '19

jfconroy gravatar image

I second the answer from jconto; you will need to revert to whoever created the v33 *.lib file and ask them to use the Fortran source code to create a new *.lib or (even better) a new *.dll file for v34.6.

link

Comments

Thank you so much for you answers. I will request for the Fortran source code.

pssuser gravatar imagepssuser (Dec 19 '19)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

2 followers

Stats

Asked: Dec 18 '19

Seen: 1,226 times

Last updated: Dec 21 '19