Ask Your Question
0

Monitoring VAR and STATES - Dyn simulation

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

IndiraX gravatar image

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

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 -0500

perolofl gravatar image

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

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 -0500 )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 -0500

Seen: 1,143 times

Last updated: Sep 17 '20