function of photocell in boiler