Ask Your Question
0

Monitoring VAR and STATES - Dyn simulation

asked 2020-09-16 00:27:29 -0600

IndiraX gravatar image

updated 2020-09-16 22:01:49 -0600

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-09-16 02:15:49 -0600

perolofl gravatar image

updated 2020-09-17 02:27:26 -0600

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.

edit flag offensive delete link more

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 gravatar imageIndiraX ( 2020-09-16 20:06:40 -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: 2020-09-16 00:27:29 -0600

Seen: 1,188 times

Last updated: Sep 17 '20