Determining the expenses for heating of a residential building using different energy sources