Integrated process design and control — a new paradigm with applications to mechatronics