On the Thermoeconomic Approach to the Diagnosis of Energy System Malfuntions. Part-1 The TADEUS Problem.