| 1 | initial version |
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.
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.