N-1 contingent analysis