added few more bits to the implementation of HeatingOptimizedSchedule. WIP.