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

Ask Your Question
0

Monitoring VAR and STATES - Dyn simulation

asked Sep 16 '0

IndiraX gravatar image

updated Sep 17 '0

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.

1 answer

Sort by » oldest newest most voted
0

answered Sep 16 '0

perolofl gravatar image

updated Sep 17 '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.

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 gravatar imageIndiraX (Sep 17 '0)

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: Sep 16 '0

Seen: 1,278 times

Last updated: Sep 17 '20