A control oriented study on the numerical solution of the population balance equation for crystallization processes