The relay applies protection elements such as overcurrent, distance, differential, voltage, frequency, thermal, directional, or ground fault logic. Core idea: Protective relays monitor electrical quantities and command protective devices to isolate faults or abnormal operating conditions. In case of a grid failure (figure 2), captive generators tend to supply power to other consumers connected to the substation. These devices safeguard assets and maintain power stability by swiftly detecting and isolating faults.