0

Monitoring VAR and STATES - Dyn simulation

Hi there,

I would like to monitor variables and states of a specific model in a bus. Based on the API document, it is possible using CHSB. May anyone kindly provide the python code for it?

I want to monitor REECU and REGCAU models.

Thanks for your help.

IndiraX's avatar
27
IndiraX
asked 2020-09-16 00:27:29 -0500, updated 2020-09-16 22:01:49 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Use API

var_channel

And

state_channel

Edit: The starting index for plant model are calulated with:

ierr, index = psspy.mdlind()

The starting index for wind model are calculated with:

ierr, index = psspy.windmind()

See the API manual for the arguments of the functions.

perolofl's avatar
3.8k
perolofl
answered 2020-09-16 02:15:49 -0500, updated 2020-09-17 02:27:26 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks for your comments. I found a similar post here, but it seems that it's not for Renewable Machines https://psspy.org/psse-help-forum/question/6290/how-to-get-the-model-vars-value-output-in-dynamic-simulation/%3C/p%3E (https://psspy.org/psse-help-forum/question/6290/how-to-get-the-model-vars-value-output-in-dynamic-simulation/)

IndiraX's avatar IndiraX (2020-09-16 20:06:40 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer