Event-based receding horizon control for two-stages multi-product production plants