Retention modelling of the bivalent cations in crossflow nanofiltration investigation in the porous models