Ask Your Question

user defined library in PSSE34 - Library not found

asked 2017-09-20 10:59:22 -0500

mohammad_PSSE gravatar image

updated 2018-01-15 12:44:32 -0500

jconto gravatar image

Hi Guys, I have tried to add a user defined library to PSSE34 through dynamics>model library>load model library. but, I receive this error: Library not found (000281). can anyone help me on this please? I could add dll files with no problem in PSSE33. I upgraded to PSSE34 and now, I encounter to the above mentioned error (Library not found 000281) whenever I try to add a dll file to PSSE to run a dynamic simulation.

edit retag flag offensive close merge delete


Hi, I am also experiencing this same issue (loading third party .dll error during dynamic initialisation) after transitioning from PSSE V32 to V34 running on the following: PSS/E 34.2, WIndows 7 (64 bit) and IVF 11.

BillW gravatar imageBillW ( 2017-10-19 01:38:12 -0500 )edit

I am having the same issue - were you able to find a solution?

patrickrossiter gravatar imagepatrickrossiter ( 2017-11-16 00:34:03 -0500 )edit

I am also have same issue. api addmodellibrary error 00281

shuaibyes gravatar imageshuaibyes ( 2018-12-25 12:30:46 -0500 )edit

Hi, I am struggling with a case very similar to this issue but a little bit different. I have got a new laptop and installed the same version of PSSe which I had in my old laptop (34.2.0).I transferred all my dlls in new one and when run the project using user defined library, receive 000281 message gravatar ( 2021-08-22 18:47:47 -0500 )edit

4 answers

Sort by » oldest newest most voted

answered 2018-12-25 12:28:26 -0500

shuaibyes gravatar image

updated 2018-12-25 12:29:38 -0500

hi , I am also facing the same issue in pss/e ver 34 student version error lib not found 00281

please help anyone

edit flag offensive delete link more

answered 2018-07-03 19:36:37 -0500

IanMelbourne93 gravatar image

Hi, When a model is compiled in v34.0-34.2 it can only be used in PSSE v34.0-34.2. If it has been compiled in a version above 34.2 (ie 34.3 or 34.4), it cannot be used in the older versions. This is due to an update that PTI made to the NUMBUS() array. In versions prior to 34.3 this was an array, however in 34.3 and above this is now an actual function call. This has created an incompatibility with NUMBUS() that will affect the model.

If the model has not been compiled in v34 at all and was compiled in a previous version, you will need to compile this in v34

Please see below an extract from an email from PTI:

Dear Users of PSS®E 34, On behalf of Siemens PTI and our engineering team, we would like to inform you of a current issue you may experience when using PSS®E 34.

When user model dlls are compiled against PSS®E 34.4 or PSS®E 34.3 it cannot be loaded into PSS®E 34.2 or PSS®E 34.1, and vice versa. This was a result of upgrades completed to the core engine of PSS®E 34.3 to support Node-Breaker modeling. We changed bus numbers, NUMBUS(), previously referenced as an array to an actual function call and did not realize the ramification it would have on user written models. We are advising all our users to recompile PSS®E 34 user models against PSS®E 34.4 which will then continue to work for all future versions of PSS®E 34 as expected.

Our team fully understands the challenges this poses for our users. We conduct a thorough testing process to provide a seamless upgrade experience – if you encounter other issues, please contact our global customer support team at

Kind regards, Siemens PTI PSS®E Team

edit flag offensive delete link more

answered 2018-07-03 15:24:40 -0500

Juan gravatar image

updated 2018-07-03 15:26:37 -0500

I am having the same issue

image description

edit flag offensive delete link more


Yours is a v.33 case. My guess is that the path where the copia.dll is store cannot be read by PSSe. As a test, copy the copia.dll to the working directory and when loading, do not enter a path for it.

jconto gravatar imagejconto ( 2018-07-03 20:21:44 -0500 )edit

Thanks, I have another case for example model.dll and this is added by PSSE without any problem, however copia.dll does not,

Juan gravatar imageJuan ( 2018-07-04 09:17:42 -0500 )edit

In my machine I have a versión 33.5 PSSE but The error is displayed when trying to load a dll. however my partner has the same version of PSSE 33.5 and he can load the dll without any problema

Juan gravatar imageJuan ( 2018-07-04 09:32:46 -0500 )edit

answered 2017-09-20 20:28:44 -0500

jconto gravatar image

did you get dlls for v.34? if not, v.33 dlls cannot be used in v.34 and would let to errors. The source code of the UDM will have to be [fortran] compiled under v.34 for properly usage.

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



Asked: 2017-09-20 10:59:22 -0500

Seen: 2,767 times

Last updated: Dec 25 '18