![]() | 1 | initial version |
Before simulation: Create dict1 with key (ibus,id) och value Pgen for all in-service generators in the system using APIs psspy.amachint, amachchar and amachreal
.
After simulation: Create dict2 for all in-service generators after the simulation.
Tripped generators are: tripped_gens = {key: dict1[key] for key in dict1 if key not in dict2}
Dict tripped_gens shows the tripped generators and their original Pgen.