Ask Your Question

Missing CON descriptions for user-defined model

asked 2020-08-24 16:44:03 -0600

chroelo gravatar image

Is it normal for CON descriptions to be missing after loading the .sav and .dyr files? I have a feeling the user-defined model code that I wrote is not being used in simulation for whatever reason.

I tried jconto's useful example here (, and I'm seeing the same issue. (see below.) Does this model still work with PSSE 34?

I am inexperienced with user-defined modeling and dynamics simulations in general, so I may be missing something here.

Any help is appreciated.

edit retag flag offensive close merge delete

2 answers

Sort by ┬╗ oldest newest most voted

answered 2020-08-25 09:01:12 -0600

jconto gravatar image

updated 2020-08-25 09:49:33 -0600

Yes, the demo model works in v.34 as well v.33. UDM are loaded explicitly with (except if named DSUSR.dll and located at working folder):


check in the log if there is a error during this step.
In a dynamic run, after loading the case, the snp file and the dll file, to get a print out of the UDM CON description for machine at bus 101, add the following:

edit flag offensive delete link more


This is very helpful information, thank you. And sorry for the slow response. Turns out psse was not loading the working directory dsusr.dll, and even then it was failing to move the dsusr.dll file from the .pssenvmgr folder. When I added your model, constants loaded, but for mine they still don't.

chroelo gravatar imagechroelo ( 2020-09-07 14:48:06 -0600 )edit

So despite not getting a flecs error or anything, I'm fairly sure the problem is with the model that I wrote.

chroelo gravatar imagechroelo ( 2020-09-07 14:48:57 -0600 )edit

answered 2020-08-25 00:48:20 -0600

perolofl gravatar image

A DLL-file for rev 33 cannot be used in rev 34. The user model must be compiled and linked again.

edit flag offensive delete link more

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


Asked: 2020-08-24 16:44:03 -0600

Seen: 288 times

Last updated: Aug 25 '20