Ask Your Question

Revision history [back]

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.