How do I capture skipped contingencies in contingency analysis automation?
Hello All, I have built a python based PSS/E automation to run contingency analysis using a predefined Contingency definitions. I have to run this predefined contingencies on several PSS/E models. One issue that I see is there might be a contingency definition which might not be valid on a given PSS/E base case and therefore can skip executing the analysis. This information is shown on the progress window. Since, I'm running thousands of contingencies, I would like to capture all such skipped contingencies into a variable and present to the user in the log file. I see the flag for the unsolved contingencies but I couldn't find anything that I may use to capture all skipped contingencies.
One way to address this issue is to redirect from the output progress window to log file and then read the log file and filter the data with key words to find such skipped contingencies. I would like to know if there is any other easy/best method to capture the skipped contingencies.
Your input is appreciated!!
Thanks