Fast Nonlinear Model Predictive Control Algorithms and Applications in Process Engineering



Similar documents
Nonlinear Model Predictive Control: From Theory to Application

CONTROL SYSTEMS, ROBOTICS AND AUTOMATION Vol. XVI - Fault Accomodation Using Model Predictive Methods - Jovan D. Bošković and Raman K.

SYSTEMS, CONTROL AND MECHATRONICS

Efficient Robust Economic Nonlinear Model Predictive Control of an Industrial Batch Reactor

Dynamic Real-time Optimization with Direct Transcription and NLP Sensitivity

Optimization of Supply Chain Networks

Specialized Course on Process Safety Engineering : PROCESS SAFETY IN UNIT OPERATIONS. 14 th 17 th OF MARCH 2016 LEUVEN FACULTY CLUB

OpenFOAM Optimization Tools

Applicazione di tecniche di controllo predittivo multivariabile ad impianti di produzione a Ciclo Combinato

Analysis One Code Desc. Transaction Amount. Fiscal Period

PROCESS CONTROL SYSTEM DESIGN Process Control System Design. LECTURE 6: SIMO and MISO CONTROL

How To Become A Computer Scientist

Nonlinear Model Predictive Control of Hammerstein and Wiener Models Using Genetic Algorithms

Domain Decomposition Methods. Partial Differential Equations

Full professor and 6 assistant professors of IT A new school in IT Cameroon

POLITECNICO DI TORINO. International Activities. Politecnico di Torino 0/40

Model Predictive Control Algorithms for Applications with Millisecond Timescales

Lecture 9 Modeling, Simulation, and Systems Engineering

Robotic motion planning for 8- DOF motion stage

3TU Master of Science in Systems and Control. An essential engineering qualification for future decades

C21 Model Predictive Control

VENDOR MANAGED INVENTORY

TOMLAB - For fast and robust largescale optimization in MATLAB

Summer course on Convex Optimization. Fifth Lecture Interior-Point Methods (1) Michel Baes, K.U.Leuven Bharath Rangarajan, U.

AC : MATHEMATICAL MODELING AND SIMULATION US- ING LABVIEW AND LABVIEW MATHSCRIPT

Chapter 3 Nonlinear Model Predictive Control

Optimization of warehousing and transportation costs, in a multiproduct multi-level supply chain system, under a stochastic demand

From Control Loops to Software

Numerical Methods for Engineers

Variable Neighbourhood Search for the Global Optimization of Constrained NLPs

TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAA

OROCOS, the open source reference when it comes to real-time and control

Solutions of Equations in One Variable. Fixed-Point Iteration II

G.A. Pavliotis. Department of Mathematics. Imperial College London

June Zhang (Zhong-Ju Zhang)

Enhancing the SNR of the Fiber Optic Rotation Sensor using the LMS Algorithm

Valeria Leggieri Curriculum Vitae

Introduction to Process Optimization

Harrisonburg, VA 22807

Implementation of Fuzzy and PID Controller to Water Level System using LabView

Z-Knipsers Team Description Paper for RoboCup 2016

Artificial Intelligence and Politecnico di Milano. Presented by Matteo Matteucci

A Technical Writing Program Implemented in a First Year Engineering Design Course at KU Leuven

Speed up numerical analysis with MATLAB

EE 402 RECITATION #13 REPORT

Mobatec in a nutshell

Supporting Education and Training in the field of Satellite Navigation in Europe. Gabriella Povero. Istituto Superiore Mario Boella

AdTheorent s. The Intelligent Solution for Real-time Predictive Technology in Mobile Advertising. The Intelligent Impression TM

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method

Industrial Automation course

HPC enabling of OpenFOAM R for CFD applications

Final Year Projects at itm. Topics 2010/2011

Joints Workshop Vibration and Turbomachinery

EU SUSTAINABLE ENERGY WEEK JUNE 2013

AT&T Global Network Client for Windows Product Support Matrix January 29, 2015

AN INTRODUCTION TO NUMERICAL METHODS AND ANALYSIS

Brian Alan Snyder, Ph. D.

Victoria Kostina Curriculum Vitae - September 6, 2015 Page 1 of 5. Victoria Kostina

Dual Methods for Total Variation-Based Image Restoration

Simple and efficient online algorithms for real world applications

Product Synthesis. CATIA - Product Engineering Optimizer 2 (PEO) CATIA V5R18

Simulation in design of high performance machine tools

MODELING, SIMULATION AND DESIGN OF CONTROL CIRCUIT FOR FLEXIBLE ENERGY SYSTEM IN MATLAB&SIMULINK

Master Specialization in Digital Design: Design and Programming of Embedded Systems

Big Data Optimization at SAS

EQUITY DERIVATIVES AND STRUCTURED EQUITY PRODUCTS


Mean-Shift Tracking with Random Sampling

METHODOLOGICAL CONSIDERATIONS OF DRIVE SYSTEM SIMULATION, WHEN COUPLING FINITE ELEMENT MACHINE MODELS WITH THE CIRCUIT SIMULATOR MODELS OF CONVERTERS.

Levels of Analysis and ACT-R

Department of Information Technology and Electrical Engineering. Master. Electrical Engineering and Information Technology

Balancing Manufacturability and Optimal Structural Performance for Laminate Composites through a Genetic Algorithm

An Overview of the Finite Element Analysis

Towards an effective interoperability of models within the System Engineering applied to aeronautics

The Basics of FEA Procedure

Industry Environment and Concepts for Forecasting 1

Continuous Quality Improvement using Centricity EMR

Curriculum vitae. July 2007 present Professor of Mathematics (W3), Technische

RETIS Lab Real-Time Systems Laboratory

Safety-Critical Applications Built via Agile Discipline

An innovative approach combining industrial process data analytics and operator participation to implement lean energy programs: A Case Study

1. Introduction 1. INTRODUCTION

IMPROVED NETWORK PARAMETER ERROR IDENTIFICATION USING MULTIPLE MEASUREMENT SCANS

How To Become An Electrical Engineer

Customer Experience Strategy

Copyright 2014 IEEE. Reprinted from Proceedings of the 2014 European Control Conference

Transcription:

Fast Nonlinear Model Predictive Control Algorithms and Applications in Process Engineering Moritz Diehl, Optimization in Engineering Center (OPTEC) & Electrical Engineering Department (ESAT) K.U. Leuven, Belgium INRIA-Rocquencourt, May 30, 2007

Outline of the Talk K.U.Leuven s Optimization in Engineering Center OPTEC Nonlinear Model Predictive Control (NMPC) How to solve dynamic optimization problems? Four crucial features for fast NMPC algorithms Application to a Distillation Column

OPTEC Aim: Connect Optimization Methods & Applications Applications: Smart problem formulations allow efficient solution (e.g. convexity) Methods: New developments are inspired and driven by application needs

Optimization in Engineering Center OPTEC Five year project, from 2005 to 2010, 500.000 Euro per year, about 20 professors, 10 postdocs, and 60 PhD students involved in OPTEC research Promoted by four departments: Electrical Engineering Mechanical Engineering Chemical Engineering Computer Science Many real world applications at OPTEC...

Quarterly Stevin Lecture: Everyone Invited! Quarterly Simon Stevin Lecture on Optimization in Engineering : Dec 6: Larry Biegler, CMU Pittsburgh Apr 18: Stephen Boyd, Stanford July 9: Steve Wright, Madison, Wisconsin Oct 24: Manfred Morari, ETH Zurich Dec X: David Mayne, Imperial, London K.U. Leuven Seminar on Optimization in Engineering : Jan. 31: Mario Milanese (Torino): MPC of semi-active damping Feb. 8: Philippe Toint (Namur): large scale optimization methods Feb. 22: Peter Kuehl (Heidelberg): Robust optimal feedback control March 1: Yurii Nesterov (UCL)/ Florian Jarre (Duesseldorf): new optimization algorithms Simon Stevin, 1548-1620) Lecture and following Reception in Arenberg Castle, Leuven

Outline of the Talk K.U.Leuven s Optimization in Engineering Center OPTEC Nonlinear Model Predictive Control (NMPC) How to solve dynamic optimization problems? Four crucial features for fast NMPC algorithms Online MPC of a combustion engine

First Principle Dynamic System Models E.g. some equations modelling a distillation column (in Stuttgart) Nonlinear differential algebraic equations (DAE) often in modeling languages like gproms, SIMULINK, Modelica typical order of magnitude: some hundreds to thousands variables difficulties: stiffness, discontinuities, high index Can we use these models directly for optimization and feedback control?

Principle of Optimal Feedback Control / Nonlinear MPC: x 0 u 0 x 0 u 0

Nonlinear Model Predictive Control When We Drive a Car Always look a bit into the future! Brain predicts and optimizes: e.g. slow down before curve Main challenge for NMPC: fast and reliable real-time optimization!

NMPC applications, with decreasing timescales Distillation column (with Univ. Stuttgart) Chromatographic Separation (with Univ. Dortmund) Looping kites for power generation, with TU Delft, Politecnico di Torino Polymerisation reactor (with BASF) Combined Cycle Power Plant (with Univ. Pavia) PET plant: Plant wide control project with Politecnico di Milano Robot arms (with Columbia Univ. & INRIA Grenoble) Car Engines: EU Project with Univ. Linz, Stuttgart, Politecnico di Milano

Outline of the Talk K.U.Leuven s Optimization in Engineering Center OPTEC Nonlinear Model Predictive Control (NMPC) How to solve dynamic optimization problems? Four crucial features for fast NMPC algorithms Application to a Distillation Column

Optimal Control Family Tree

Optimal Control Family Tree

Optimal Control Family Tree

Optimal Control Problem in Simplest Form

Simplest Approach: Single Shooting

Nonlinear Program (NLP) in Single Shooting After control discretization, obtain NLP: Solve with NLP solver, e.g. Sequential Quadratic Programming (SQP)

Sequential Quadratic Programming (SQP)

Toy Problem with One ODE for Illustration Mildly nonlinear and unstable system.

Single Shooting

Single Shooting: First Iteration

Single Shooting: Second Iteration

Single Shooting: Third Iteration

Single Shooting: 4th Iteration

Single Shooting: 5th Iteration

Single Shooting: 6th Iteration

Single Shooting: 7th Iteration (Solution)

Single Shooting: Pros and Cons

Alternative: Direct Multiple Shooting [Bock, Plitt 1981]

Nonlinear Program in Multiple Shooting

SQP for Multiple Shooting Summarize NLP:

Toy Example: Multiple Shooting Initialization

Multiple Shooting: First Iteration

Multiple Shooting: Second Iteration

Multiple Shooting: 3 rd Iteration (already solution!)

Multiple Shooting: 3 rd Iteration (already solution!) Single shooting converged much slower!

The MUSCOD-II Developer Team [Heidelberg, Leuven, Madrid]

Outline of the Talk K.U.Leuven s Optimization in Engineering Center OPTEC Nonlinear Model Predictive Control (NMPC) How to solve dynamic optimization problems? Four crucial features for fast NMPC algorithms Online MPC of a combustion engine

NMPC Computation from 1998 to 2006 1998: 5th order distillation model allows sampling times of only 5 minutes [Allgower, Findeisen, 1998] 2001: 206th order distillation model, sampling times of 20 seconds [D. et al. 01] 2006: 5th order engine model, sampling times of 10-20 milliseconds [Ferreau et al. 06] 5*60*1000 / 20 = 15 000 times faster, due to Moore s law + Algorithm Development

NMPC Computation from 1998 to 2006 1998: 5th order distillation model allows sampling times of only 5 minutes [Allgower, Findeisen, 1998] 2001: 206th order distillation model, sampling times of 20 seconds [D. et al. 01] cf. [Biegler] 2006: 5th order engine model, sampling times of 10-20 milliseconds [Ferreau et al. 06], [Albersmeyer, Findeisen `06] 5*60*1000 / 20 = 15 000 times faster, due to Moore s law + Algorithm Development

Four Crucial Features for Fast NMPC Direct, simultaneous optimal control: Multiple Shooting Efficient derivative generation for ODE/DAE solvers Initialization by Initial Value Embedding Real-Time Iterations for fast tracking of optimal solutions

x 0

x 0

x 0

x 0

x 0

x 0

x 0

Never simulate a nonlinear system open-loop! Conventional: Initial Value Embedding:

x 0 x 0

x 0 x 0

x 0 x 0

x 0 u 0

Real-Time Iterations minimize feedback delay

x 0 u 0

Outline of the Talk K.U.Leuven s Optimization in Engineering Center OPTEC Nonlinear Model Predictive Control (NMPC) How to solve dynamic optimization problems? Four crucial features for fast NMPC algorithms Application to a Distillation Column

Transient in 15 minutes instead of 2 hours!

Conclusions Recent progress makes Nonlinear MPC with first principles models in millisecond range possible (now 15 000 x faster than 1998) Emerging consensus for NMPC algorithms: employ direct, simultaneous methods use Initial Value Embedding (first order predictor) perform Real-Time Iterations to trace NMPC problem solution while data change Use SQP type method to track active set changes

An Invitation 13th Czech-French-German Conference on Optimization (CFG07), Heidelberg, Germany, September 17-21, 2007. (inv. speakers: Fletcher, Scherer, Trelat, Waechter,...) Traditionally strong in optimal control.

4 PhD Positions in Numerical Optimization: Sequential Convex Programming Algorithms for Nonlinear SDP Large Scale & PDE Constrained Real-Time Optimization Algorithms Fast Model Predictive Control Applications in Mechatronic Systems Shape Optimization of Mechanical Parts under Inertia Loading (deadline: June 21, 2007)