An expert system for the real time control of a building heating plant