power systems fault detection and diagnosis