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

Ask Your Question
0

Ip and Iq output from BESS

asked Mar 13 '4

Zhnoob gravatar image

updated Mar 13 '4

Hi, I am using REGCA1 and REECCU1 to model an BESS.

If I want to observe the Ip and Iq value output from REGCA1, what will be the best approach? (Also I didn't found to option to output these channels in ''chsb" function.)

If to get Ip and Iq from REGCA1 is not possible, would getting Ipcmd and Iqcmd these two VARs from reeccu1 be an option?


Edit: If I want to use GUI to test first, (Dynamics > Define simulation output (CHAN) > Misc quantity), how could I choose the VARs in REGCA1 and REECCU1 by using the GUI by using only VARs this blank?

Later I'll also tend to use python also, will "var_channel" work in this case?

Thanks! Any suggestion will be much appreciate!

2 answers

Sort by » oldest newest most voted
1

answered Mar 19 '4

dat gravatar image

You may use PELEC/ETERM to represent Ip.

link
0

answered Mar 23 '4

IndiraX gravatar image

You can use this format:

##Monitoring internal variables of a model
##ierr, variableNumber = psspy.mdlind(busNumber, 'machine id', 'GEN', 'VAR')
##psspy.var_channel([-1,variableNumber],"variableName")

For example:

Bess_lbl="14850[BESS6       0.6000]1"
ierr, varNum = psspy.windmind(14850, '1', 'WAUX', 'VAR')       ##PLANT Control variables - REPCAU
psspy.var_channel([-1,varNum],"PCv1" + Bess_lbl)                   ##Vref
psspy.var_channel([-1,varNum+1],"PCv2" + Bess_lbl)                 ##Qref

I hope this helps.

link

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

2 followers

Stats

Asked: Mar 13 '4

Seen: 251 times

Last updated: Mar 22 '24