Model of Water Purification Using an alternating Electric Current