This paper describes a technique which allows impaired functions to be automatically determined from the faulty components and vice versa. Moreover a knowledge base containing the criticality of the fault in addition to t abstraction levels. The construction of the hierarchical structure can largely follow automatically because higher variation independent functions can be drawn from a database.