Ask Your Question
0

Can no longer load model libraries

asked 2025-04-14 19:36:24 -0600

Tassie Dave gravatar image

Hi all

I am using a legacy PSSE version 34.5. The is a dlls that I have used many times in the past, but I can no longer load in PSSE. Has anyone else had this issue?

ierr = psspy.addmodellibrary('..\\case\\241024_LTU_PSSE_PSCAD_CUO_fix\\SMASC_G190_344_IVF150.dll')

returns ierr=1 -> file not found

Messages for API ADDMODELLIBRARY Library not found (000284) "..\case\241024LTUPSSEPSCADCUOfix\SMASCG190344IVF150.dll"

The file is definitely there. Also I can load another dll which is located in the same place. When I try to load the file manually through the PSSE GUI I get a similar error. So it seems the that PSSE, which used to be happy with this file, now has a problem with it. The file has not changed; it is binary identical to the version I have loaded many times.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2025-04-16 10:13:03 -0600

chandv gravatar image

User defined models are sensitive to version of PSS/E, though mostly working fine with minor revision of PSS/E. Specifically, version 34 had many transformative changes, even in handling number of elements. You may please check specific version of PSS/E with which the said model is successfully tested by the supplier.

edit flag offensive delete link more

Comments

Also, update the path to the dll file to be full path (c:\...)

jconto gravatar imagejconto ( 2025-04-16 12:29:10 -0600 )edit

The issue is not related to the PSSE version. It is unchanged. I have previously run the exact same same script, with the exact same .dll file, and the exact same PSSE installation. But now it doesn't work. I suspect that it has to do with codemeter, or the Azure /SharePoint / OneDrive file

Tassie Dave gravatar imageTassie Dave ( 2025-04-16 17:41:33 -0600 )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: 2025-04-14 19:36:24 -0600

Seen: 25 times

Last updated: yesterday