A new structural framework for parity equation-based failure detection and isolation