An adaptation of the tool MINIMATOR for the control of Partial - - PowerPoint PPT Presentation

an adaptation of the tool minimator for the control of
SMART_READER_LITE
LIVE PREVIEW

An adaptation of the tool MINIMATOR for the control of Partial - - PowerPoint PPT Presentation

An adaptation of the tool MINIMATOR for the control of Partial Differential Equations using interpolating model order reduction techniques Adrien Le Cont 1 , Florian De Vuyst 1 , Christian Rey 2 , Ludovic Chamoin 2 , Laurent Fribourg 3 2nd


slide-1
SLIDE 1

An adaptation of the tool MINIMATOR for the control of Partial Differential Equations using interpolating model order reduction techniques

Adrien Le Coënt 1, Florian De Vuyst 1, Christian Rey 2, Ludovic Chamoin 2, Laurent Fribourg 3

Cargèse 2014 2nd International Workshop on Simulation at the System Level

  • 1. CMLA Centre de Mathématiques et de Leurs Applications
  • 2. LMT-Cachan Laboratoire de Mécanique et Technologie
  • 3. LSV Laboratoire de Spécification et Vérification

Adrien LE COËNT MINIMATOR for PDEs 1 / 42

slide-2
SLIDE 2

Introduction

Framework

Goal : control the evolution of an operating system with the help of actuators Framework of the switched control systems : one selects the working modes of the system over time, every mode is described by differential equations (ODEs or PDEs) Application to transient heat transfer :

Stability control Reachabiity control

Adrien LE COËNT MINIMATOR for PDEs 2 / 42

slide-3
SLIDE 3

Introduction

A switched control system

Described by the differential equation : ˙ u(t) = fp(t)(u(t)) (1) u(t) ∈ Rn : state variable (temperature field) p(t) ∈ {1, ..., N} : control variable (mode to select) Idea : impose the right p(t) such that u verifies some properties (stability, reachability...)

Adrien LE COËNT MINIMATOR for PDEs 3 / 42

slide-4
SLIDE 4

Classical approach of the control theory

Very useful for on-line control

Aim : research of the solution of the dual minimisation problem Stability control :

Lyapunov method, late 19th

Optimal control :

Hamilton-Jacobi-Bellmann, 1950 Lev Pontryagin, 1956 Extension to PDEs : J.L.Lions, 1968

Adrien LE COËNT MINIMATOR for PDEs 4 / 42

slide-5
SLIDE 5

Approach elaborated at the LSV

Off-line control synthesis

MINIMATOR : code developed at the LSV [L.Fribourg and R.Soulat, 2013]

Based on the invariant sets theory Permits the synthesis of state-dependant controllers (correct-by-design) Operational for ODEs Based on a technique of decomposition of the state-space into local regions where the control is uniform (for a given mode)

Adrien LE COËNT MINIMATOR for PDEs 5 / 42

slide-6
SLIDE 6

Outline

1

The tool MINIMATOR

2

MINIMATOR and PDEs

3

Model Order Reduction

4

Conclusions and future work

Adrien LE COËNT MINIMATOR for PDEs 6 / 42

slide-7
SLIDE 7

Outline

1

The tool MINIMATOR

2

MINIMATOR and PDEs

3

Model Order Reduction

4

Conclusions and future work

Adrien LE COËNT MINIMATOR for PDEs 7 / 42

slide-8
SLIDE 8

MINIMATOR

Principle (for the stability) :

Let R be a region of the state space one wants to control One looks for a pattern (a sequence of control modes) which sends R in itself If no pattern is found, R is divided into smaller regions and one looks for patterns which send these sub-regions in R

Underlying ideas :

Temporal discretization Measures carried out at the end of every pattern Linearity of the equations which allows the use of zonotopes (matrices) to represent the regions of the state-space

Adrien LE COËNT MINIMATOR for PDEs 8 / 42

slide-9
SLIDE 9

MINIMATOR

Example : Schematic representation of the boxes R and their images

Adrien LE COËNT MINIMATOR for PDEs 9 / 42

slide-10
SLIDE 10

MINIMATOR

Properties [L.Fribourg and R.Soulat, 2013] :

The convergence properties are proved under limited hypotheses (contracting modes, verified in practice) Computational cost at most in O(2ndNk) n : dimension of the state-space d : maximal length of decomposition N : number of modes k : maximal length of the patterns

Consequence : dimension of the state-space very limited (< 10 in practice)

Adrien LE COËNT MINIMATOR for PDEs 10 / 42

slide-11
SLIDE 11

Outline

1

The tool MINIMATOR

2

MINIMATOR and PDEs

3

Model Order Reduction

4

Conclusions and future work

Adrien LE COËNT MINIMATOR for PDEs 11 / 42

slide-12
SLIDE 12

MINIMATOR and PDEs

The case of the heat equation

PDE problem to control (boundary control) :            ˙ u(x, t) = λ ρcv ∂2 ∂x2 u(x, t) (x, t) ∈ Ω × (0, T) ∂ ∂nu(x, t) = ϕp(t) (x, t) ∈ Σ × (0, T) u(x, 0) = u0(x) x ∈ Ω (2) Weak discrete form writing then classic FE discretization :

  • M ˙

u + Ku = bp u(x, 0) = u0(x) x ∈ Ω (3)

Adrien LE COËNT MINIMATOR for PDEs 12 / 42

slide-13
SLIDE 13

MINIMATOR and PDEs

Retained system

Described by two modes (sub-systems) : Robin BC on external boundaries Inhomogeneous Neumann BC on internal boundaries

Adrien LE COËNT MINIMATOR for PDEs 13 / 42

slide-14
SLIDE 14

MINIMATOR and PDEs

1D finite differences (few dofs) [L.Fribourg, E.Goubault, S.Mohamed, S.Putot, R.Soulat, 2014] Direct implementation of a finite element problem in MINIMATOR :

Dimension of the state space = number of dof

⇒ Intractable problem for large-scale systems ⇒ Necessity of a model order reduction (MOR)

Adrien LE COËNT MINIMATOR for PDEs 14 / 42

slide-15
SLIDE 15

Outline

1

The tool MINIMATOR

2

MINIMATOR and PDEs

3

Model Order Reduction Spectral decomposition and POD Interpolating Model Order Reduction Synthesis of controllers

4

Conclusions and future work

Adrien LE COËNT MINIMATOR for PDEs 15 / 42

slide-16
SLIDE 16

Outline

1

The tool MINIMATOR

2

MINIMATOR and PDEs

3

Model Order Reduction Spectral decomposition and POD Interpolating Model Order Reduction Synthesis of controllers

4

Conclusions and future work

Adrien LE COËNT MINIMATOR for PDEs 16 / 42

slide-17
SLIDE 17

Model order reduction

u(x, t) =

nr

  • k=1

ak(t)ϕk(x) avec nr < 10 Spectral decomposition Kϕi = λMϕi i ∈ {1, ..., nddl} (4) POD (snapshot method, see [L.Cordier, M.Bergmann, 2003]) SVD of the (normalized) snapshot matrix A : USV T = M1/2A ∈ Rnddl×nsnap Computation of the basis (M norm) : [ϕ1...ϕnsnap] = (M1/2T)−1U

Adrien LE COËNT MINIMATOR for PDEs 17 / 42

slide-18
SLIDE 18

Model Order Reduction

Firsts eigen modes : Firsts POD modes computed on the first subsystem : Firsts POD modes computed on the second subsystem :

Adrien LE COËNT MINIMATOR for PDEs 18 / 42

slide-19
SLIDE 19

Model Order Reduction

Spectrum associated to the eigen-modes and the POD modes :

Adrien LE COËNT MINIMATOR for PDEs 19 / 42

slide-20
SLIDE 20

Model Order reduction

Establishment of the reduced model : M ˙ u + Ku = bp ⇒

nr

  • k=1

M ˙ akϕk +

nr

  • k=1

Kakϕk = bp ⇒

nr

  • k=1

˙ akϕ⊤

i Mϕk + nr

  • k=1

akϕ⊤

i Kϕk = ϕ⊤ i bp

i ∈ {1, ..., nr} ⇒ Mr ˙ a + Kra = Bp Equivalent writing : state-space representation ˙ a(t) = Ara(t) + Brp(t) Ar is the state matrix and Br is the input (or control) matrix.

Adrien LE COËNT MINIMATOR for PDEs 20 / 42

slide-21
SLIDE 21

Model Order Reduction

Implementation of the reduced basis in MINIMATOR : Synthesis of controllers in reasonable computation time Remaining difficulty : relating the decomposition coefficients (i.e. the controlled state variables) to global state conditions u(x, t) =

nr

  • k=1

ak(t)ϕk(x)

Adrien LE COËNT MINIMATOR for PDEs 21 / 42

slide-22
SLIDE 22

Outline

1

The tool MINIMATOR

2

MINIMATOR and PDEs

3

Model Order Reduction Spectral decomposition and POD Interpolating Model Order Reduction Synthesis of controllers

4

Conclusions and future work

Adrien LE COËNT MINIMATOR for PDEs 22 / 42

slide-23
SLIDE 23

Interpolating Model Order Reduction

Idea : establishing a basis {ψl(x)}nc

l=1, linear combination of the

eigen/POD modes, such that : ψl(xj) =

nmodes

  • m=1

bl

mϕm(xj) = δjl

(5) The interpolation points correspond to the sensors. Equivalent writing in state-space representation : ˙ a(t) = Ara(t) + Brp(t) v(t) = Cra(t) with v the output and Cr = I in the case we interpolate all the sensors.

Adrien LE COËNT MINIMATOR for PDEs 23 / 42

slide-24
SLIDE 24

Interpolating Model Order Reduction

Interpolation points chosen a priori :

Figure 1 : Map of the interpolation points and simulation of the system.

Adrien LE COËNT MINIMATOR for PDEs 24 / 42

slide-25
SLIDE 25

Optimization of the sensors locations

First idea : One notes J m the m-order interpolation : J mu(x) =

m

  • i=1

u(xi)ψi(x) (6) Research of the best m + 1-order interpolation : xm+1 = argmin

xm+1∈Ω

sup

t∈Sτ

sup

x∈Ωh

|u(x, t) − J m+1u(x)(t)| (7) avec : Sτ = {kτ}k∈[1,...,nsnap] Adaptation of the Empirical Interpolation Method (EIM, [Y.Maday, N.C.Nguyen et al., 2007])

Adrien LE COËNT MINIMATOR for PDEs 25 / 42

slide-26
SLIDE 26

Optimization of the sensors locations

Results obtained with the interpolating basis built with the eigen modes :

First interpolated point in green (a given quantity of interest) Optimal locations of the sensors : red → black

Adrien LE COËNT MINIMATOR for PDEs 26 / 42

slide-27
SLIDE 27

Optimization of the sensors locations

Results obtained with the interpolating basis built with 6 eigen modes :

Interpolating modes :

Adrien LE COËNT MINIMATOR for PDEs 27 / 42

slide-28
SLIDE 28

Optimization of the sensors locations

Results obtained with the interpolating basis built with POD modes :

Map of the optimal locations and decrease of the error :

ǫ = u − J nc(u)∞ u∞

Adrien LE COËNT MINIMATOR for PDEs 28 / 42

slide-29
SLIDE 29

Optimization of the sensors locations

Results obtained with the interpolating basis built with 6 POD modes :

Interpolating modes :

Adrien LE COËNT MINIMATOR for PDEs 29 / 42

slide-30
SLIDE 30

Optimization of the sensors locations

Results obtained with the interpolating basis built with POD modes :

Reconstruction error (on the last snapshot) :

Computation of the basis coefficients : {arec} = [ψ]−1{T EF} Reconstruction : {T rec} = [ψ]{arec} Computation of the nodal errors : ǫi =

  • T EF

i

− T rec

i

  • T EF∞

i ∈ {1, ..., nddl}

Adrien LE COËNT MINIMATOR for PDEs 30 / 42

slide-31
SLIDE 31

Optimization of the sensors locations

Results obtained with the interpolating basis built with POD modes :

Reconstruction error (on the last snapshot) : Figure 2 : Reconstruction error on the subsystem 1 (left) and the subsystem 2 (right).

Adrien LE COËNT MINIMATOR for PDEs 31 / 42

slide-32
SLIDE 32

Optimization of the sensors locations

Results obtained with the interpolating basis built with POD modes :

Error between the finite element solution and the reduced order solution for a pattern of length 1 : Figure 3 : Error map obtained after application of the mode 1 during τ (left) and the mode 2 during τ (right).

Adrien LE COËNT MINIMATOR for PDEs 32 / 42

slide-33
SLIDE 33

Outline

1

The tool MINIMATOR

2

MINIMATOR and PDEs

3

Model Order Reduction Spectral decomposition and POD Interpolating Model Order Reduction Synthesis of controllers

4

Conclusions and future work

Adrien LE COËNT MINIMATOR for PDEs 33 / 42

slide-34
SLIDE 34

Optimization of the sensors locations

Results obtained with the interpolating basis built with POD modes : application to stability control

Stabilizing in R = [15, 20]6 R decomposed in 26 = 64 zonotopes Simulation with a uniform temperature field equal to 20◦C for initial condition :

Adrien LE COËNT MINIMATOR for PDEs 34 / 42

slide-35
SLIDE 35

Optimization of the sensors locations

Results obtained with the interpolating basis built with POD modes : application to reachability control

Start zonotope : R1 = [5, 15]6 Arrival zonotope : R2 = [15, 20] × [0, 25]5 Simulation with a uniform temperature field equal to 5◦C for initial condition :

Adrien LE COËNT MINIMATOR for PDEs 35 / 42

slide-36
SLIDE 36

Validation of the proposed method

Evaluation of the errors : ǫn = u − J nuL∞ u∞ (8) Comparison with the projection error (Lebesgue constant) : Λn = u − ΠnuL∞ u∞ with Πnu =

n

  • i=1

ϕi(u, ϕi)L2 (9)

Adrien LE COËNT MINIMATOR for PDEs 36 / 42

slide-37
SLIDE 37

Numerical validation of the controller

Stabilization of the system in R = [15, 20]6, simulation of the reduced system (left) and the complete system (right) :

Adrien LE COËNT MINIMATOR for PDEs 37 / 42

slide-38
SLIDE 38

Outline

1

The tool MINIMATOR

2

MINIMATOR and PDEs

3

Model Order Reduction

4

Conclusions and future work

Adrien LE COËNT MINIMATOR for PDEs 38 / 42

slide-39
SLIDE 39

Conclusions

The use of reduced bases allows us to synthesize controllers for medium-scale systems. Designing interpolating reduced basis functions allows us to control some quantities of interest. The proposed method leads to reasonably low errors. The obtained controllers are efficient on the tested cases. Remaining work : theoretical error estimation.

Adrien LE COËNT MINIMATOR for PDEs 39 / 42

slide-40
SLIDE 40

Future work

New procedure : Offline : Synthesis of a correct-by-design controller :

Fine model :

  • ˙

u(t) = Au(t) + Bp(t) v(t) = Cu(t) Reduced solution :

  • ˙

ˆ u(t) = ˆ Aˆ u(t) + ˆ Bp(t) vr(t) = ˆ Cˆ u(t) with ˆ C = I Synthesis of a ˆ u-dependent controller (decomposition of the space of the ˆ u).

Online : Control of the system

Observations : v Reconstruction of the ˆ u with Kalman filters (two possibilities : Kalman filtering on the fine model then reduction or reduction then Kalman filtering)

Adrien LE COËNT MINIMATOR for PDEs 40 / 42

slide-41
SLIDE 41

Future work

New procedure :

Adrien LE COËNT MINIMATOR for PDEs 41 / 42

slide-42
SLIDE 42

Some references

[1] L. Cordier and M. Bergmann. Proper orthogonal decomposition : An

  • verview. In von Karman Institute for Fluid Dynamics, Lecture Series

2003-04. LEMTA, France, February 17-21, 2003. [2] L. Fribourg, U. Kühne, and R. Soulat. Minimator : a tool for controller synthesis and computation of minimal invariant sets for linear switched systems, March 2013. [3] L. Fribourg and R. Soulat. Control of Switching Systems by Invariance

  • Analysis. Focus series. John Wiley and Sons, ISTE Ltd, 2013.

[4] Y. Maday, N. C. Nguyen, A. T. Patera, and George S.H. Pau. A general, multipurpose interpolation procedure : the magic points. September 2007. [5] Happy birthday Marie ! ! !

Adrien LE COËNT MINIMATOR for PDEs 42 / 42