Optimization of industrial crystallization processes