Performance Optimization of Fault Diagnosis Methods for Power Systems