A simple model of pH in slurry