controlling the operation of electric heaters