retrieving a list of specific contingencies

asked 2022-10-22 12:21:19 -0500

Vlad gravatar image

updated 2022-10-22 12:42:07 -0500

psspy.acccsinglerunreport4 or pssarrays.acccviolationsreport can list only the contingencies with overloads over a certain procent, let's say 100%.

so it can give you:

single 1
    results
single 4
    results
single 45
    results

how can I get a list with only with those singles 1,4 and 45? so this: ['single 1','single 4','single 45] from the functions mentioned at the beginning

from pssarrays.accc_summary I can get all contingencies in colabel but I want only those with certain problems. Is there an easy way to do this?

edit retag flag offensive close merge delete