Qualitative and quantitative approaches to the diagnosis of plant faults