First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Based on your question, I assume you have an IEEET1 exciter model and you'd like to monitor KE. My assumption is that the exciter is for a generator on bus 30 and has an ID of "1" though this is not clear from your question.
generatorBusNumber = 30
generatorID = "1"
VAR = psspy.mdlind(generatorBusNumber, generatorID, "EXC", "VAR")[1]
psspy.var_channel([_i,VAR + 0],"Bus30_KE")
Hope that helps.