Prediction of multicomponent ion exchange equilibria