A flexible, model based fault detection and isolation (FDI) system for an arbitrary configuration of a water tank world has been designed and implemented in MATLAB, SIMULINK and dSPACE. The fault detection is performed with local change detection algorithms, and the fault isolation is performed with residual patterns automatically generated from the total configuration