AMC for RO, ETP, STP, and DM plants