This document presents a robust algorithm for fault diagnosis in power systems using a Failure-Sensitive Matrix (FSM) framework. The algorithm integrates real-time and offline data from multiple sources, applying artificial intelligence techniques to identify and locate faults in complex industrial systems effectively. Testing of the algorithm underscores its efficacy in detecting incipient failures, thereby reducing maintenance costs and enhancing system reliability.