Ask Your Question
0

Compile models not supplied by PSSE and create user dll

asked 2025-07-02 09:01:52 -0500

sgqiao gravatar image

updated 2025-07-04 10:58:21 -0500

perolofl gravatar image

I have successfully compiled the UDM model and loaded it into the library file, but it cannot run. Could you please help check what the problem is? Thank you. log file is shown as follows:

Library added:D:\Project\PSSE_model\xd_PVtest\two_plntb\MyUsrdll.dll
Out of file data--switch to terminal input mode
Generator models use:
 CONS         1-      2
 STATES       1-      2

Renewable Generator models use:
 CONS         3-     30
 STATES       3-      8
 VARS         1-      8
 ICONS        1-      2

Renewable Electrical models use:
 CONS        31-    120
 STATES       9-     20
 VARS         9-     26
 ICONS        3-     14

*Bus Other models use:* (the UDM)
 CONS       121-    122
 VARS        27-     32
 ICONS       15-     17


SUMMARY OF MODELS READ:

GENS:  GENCLS
          1

REGEN: REGCA1
          2

REELC: REECA1
          2

USER:  USRBUS
          1

NEXT AVAILABLE ADDRESSES ARE:
    CON   STATE     VAR    ICON
    123      21      33      18

**Compile models not supplied by PSSE and create user dll**  

4 diagonal and 3 off-diagonal elements
  1   0.0                                         0.0000E+00     0.0000E+00

 PTI INTERACTIVE POWER SYSTEM SIMULATOR--PSS(R)E Xplore WED, JUL 02 2025  22:33
BATTERY DYNAMIC MODEL ACCEPTANCE TEST CASE

Initial condition Load Flow used 1 iterations

----------------------------- Machine initial condition -----------------------------
  BUS#-SCT X-- NAME --X BASKV ID  ETERM   EFD    POWER    VARS   P.F.  ANGLE     ID      IQ
  1000     WTGBUS1     0.6900 1  1.0000 0.0000   50.00   -2.73 0.9985   2.31  -0.0273   0.5000
  1001     WTGBUS2     0.6900 1  1.0000 0.0000   50.00   -2.73 0.9985   2.31  -0.0273   0.5000
  4000     INFBUS      220.00 1  1.0000 1.4807  -99.70    9.48-0.9955 -42.32   0.7414  -0.6733
edit retag flag offensive close merge delete

Comments

Do you get "Initial conditions suspect"?

perolofl gravatar imageperolofl ( 2025-07-04 10:59:39 -0500 )edit

What is going wrong for you when you say that it cannot run?

QuinnP gravatar imageQuinnP ( 2025-07-06 20:53:35 -0500 )edit

try adding the model manually from menu and see if there is any error in loading.

chandv gravatar imagechandv ( 2025-07-09 03:41:37 -0500 )edit

Did you previously generate an snapshot of the dynamics arrays and later compile the model?

jbarberia gravatar imagejbarberia ( 2025-07-10 21:02:11 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2025-07-11 21:38:30 -0500

sgqiao gravatar image

updated 2025-07-11 21:39:20 -0500

Thanks for all friends.There is a mistake in UDM program. I corrected and recompiled it, now i can use the udm in psse

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

Stats

Asked: 2025-07-02 09:01:52 -0500

Seen: 1,088 times

Last updated: Jul 11