A dynamic flotation model for predictive control incorporating froth physics. Part I: Model development. (1st November 2021)