Model-based monitoring of a non-uniform batch in a freeze-drying process