retrieving a list of specific contingencies

asked Oct 22 '2

Vlad gravatar image

updated Oct 22 '2

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?