expert system for an intelligent supply of thermal energy