Ask Your Question
0

How can I let PSSE find my user defined model in dyr?

asked 2024-07-12 02:32:12 -0600

memo gravatar image

updated 2024-07-12 04:39:24 -0600

I writed a user defined model of machine's exciter and have created a dll of it. I loaded the dll into model library but I can't find my model in model selection of machine's exciter in dyr.I also try to use API but the psse show my model name is not defined. Why and How can I let PSSE find it? My PSSE version is 33

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2024-07-12 04:08:11 -0600

perolofl gravatar image

updated 2024-07-12 07:27:16 -0600

The model must be read into PSSE in a .DYR file or a .DYA file so the program knows that the model exists.

The DYRE-record informs PSSE what kind of model it is (e.g. exciter) and how many ICON, CON, STATE and VAR the model is using.

EDIT:

Record for an exciter model:

BUSID 'USRMDL' ID 'model name' IC IT NI NC NS NV data list /

For example exciter model MYEXC using 6 CONs, 3 STATEs and 2 VARs at machine 1, bus 101:

101 'USRMDL' 1 'MYEXC' 4  0  0 6  3  2  data list /

Data list contains the values of the 6 CONs.

Whenever at least one instance of a user model is read into PSSE dynamic setup via a .DYR file another instances can be added through the GUI or with an API.

edit flag offensive delete link more

Comments

Transform the dll into dyr? Is there a operating process to make the dll of model to be recognized by PSSE. Thank you so much

memo gravatar imagememo ( 2024-07-12 04:13:22 -0600 )edit

In My dyr the model selection of machines' exciter does not have my model for me to choose.Is there anyting wrong? And how can I make DYR know what kind of model my model is?Thank you so much

memo gravatar imagememo ( 2024-07-12 04:19:00 -0600 )edit

DYR is the dynamic raw data file. You must call your model in that text file.

perolofl gravatar imageperolofl ( 2024-07-12 05:01:03 -0600 )edit

Add the record for a user written exciter model. See the manual.

perolofl gravatar imageperolofl ( 2024-07-12 05:01:53 -0600 )edit

Note that .DYR is a text file, not the GUI in PSSE.

perolofl gravatar imageperolofl ( 2024-07-12 07:11:35 -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: 2024-07-12 02:32:12 -0600

Seen: 1,298 times

Last updated: Jul 12