A New Model for the Simulation of Ion-Exchange Equilibria