Analysis of faulted power systems