How can I read values of the voltage for all terminals in my project and place them in a list?
Category:
Scripting
Answer
Example how you can quickly read all values of the voltage and to place them in a list after Load Flow calculation has been executed.
terms=app.GetCalcRelevantObjects('*.ElmTerm')
ldf.Execute()
Voltages=[Volt.GetAttribute('m:u') for Volt in terms ]
app.PrintPlain(Voltages)
Tags