Design And Analysis of an Electronically Switchable Ion Exchange System