sequence control of water treatment system