Mathematical Analysis of Optimal Operating Conditions in Heating Systems. (6th May 2019)