First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

How to access / plot the calculation / internal variables of a user defined model

asked Apr 8 '2

PSSE_Learner gravatar image

Hi Guys,

I have created a user model of the exciter and would like to analyze / access the internal / calculation variable and plot it in the dynamic simulation in PSSE.

I just wonder how to do it since i can not find any information about it.

This is how my code looks like. I would like to plot the VERROR.

VERROR = VREF(MC)-ECOMP(MC) ! This variable I want to plot in PSSE DSTATE(K) = (CON(J)*VERROR-STATE(K))/CON(J+1) EFD (MC) = STATE (K) ! This is the output

I would really appreciate any help / guidance on this regard.

1 answer

Sort by » oldest newest most voted
0

answered Apr 8 '2

perolofl gravatar image

Assign VERROR to a VAR:

VAR(L) = VERROR

Declare that the model uses one VAR in the DYRE-record.

The VAR can be assigned to a channel and plotted.

link

Comments

Thank you very much for your very helpful answer. It helped me

PSSE_Learner gravatar imagePSSE_Learner (Apr 8 '2)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Apr 8 '2

Seen: 450 times

Last updated: Apr 08 '22