Periodic blow down of boiler water is based on