Adaptive rational Krylov subspaces for large-scale dynamical systems. V. Simoncini

Similar documents
The rational Krylov subspace for parameter dependent systems. V. Simoncini

ADAPTIVE RATIONAL KRYLOV SUBSPACES FOR LARGE-SCALE DYNAMICAL SYSTEMS. 1. Introduction. The time-invariant linear system

On the numerical solution of large-scale linear matrix equations. V. Simoncini

u(t) = Au(t), u(0) = B, (1.1)

Order reduction numerical methods for the algebraic Riccati equation. V. Simoncini

Approximation of functions of large matrices. Part I. Computational aspects. V. Simoncini

Recent advances in approximation using Krylov subspaces. V. Simoncini. Dipartimento di Matematica, Università di Bologna.

EXTENDED KRYLOV SUBSPACE FOR PARAMETER DEPENDENT SYSTEMS

ON THE NUMERICAL SOLUTION OF LARGE-SCALE RICCATI EQUATIONS

Matrix Equations and and Bivariate Function Approximation

An iterative SVD-Krylov based method for model reduction of large-scale dynamical systems

Computational methods for large-scale matrix equations and application to PDEs. V. Simoncini

Model Reduction for Unstable Systems

EXTENDED KRYLOV SUBSPACE FOR PARAMETER DEPENDENT SYSTEMS

Valeria Simoncini and Daniel B. Szyld. Report October 2009

Computational methods for large-scale matrix equations and application to PDEs. V. Simoncini

The Nullspace free eigenvalue problem and the inexact Shift and invert Lanczos method. V. Simoncini. Dipartimento di Matematica, Università di Bologna

Approximation of the Linearized Boussinesq Equations

Efficient Implementation of Large Scale Lyapunov and Riccati Equation Solvers

Computational methods for large-scale matrix equations: recent advances and applications. V. Simoncini

Model reduction of large-scale dynamical systems

Inexact Solves in Krylov-based Model Reduction

Model Order Reduction by Approximate Balanced Truncation: A Unifying Framework

University of Maryland Department of Computer Science TR-4975 University of Maryland Institute for Advanced Computer Studies TR March 2011

MODEL REDUCTION BY A CROSS-GRAMIAN APPROACH FOR DATA-SPARSE SYSTEMS

Efficient iterative algorithms for linear stability analysis of incompressible flows

CONVERGENCE ANALYSIS OF THE EXTENDED KRYLOV SUBSPACE METHOD FOR THE LYAPUNOV EQUATION

Preconditioned inverse iteration and shift-invert Arnoldi method

Numerical Solution of Matrix Equations Arising in Control of Bilinear and Stochastic Systems

On Solving Large Algebraic. Riccati Matrix Equations

CONVERGENCE ANALYSIS OF PROJECTION METHODS FOR THE NUMERICAL SOLUTION OF LARGE LYAPUNOV EQUATIONS

Fluid flow dynamical model approximation and control

An iterative SVD-Krylov based method for model reduction of large-scale dynamical systems

Implicit Volterra Series Interpolation for Model Reduction of Bilinear Systems

An iterative SVD-Krylov based method for model reduction of large-scale dynamical systems

AN OVERVIEW OF MODEL REDUCTION TECHNIQUES APPLIED TO LARGE-SCALE STRUCTURAL DYNAMICS AND CONTROL MOTIVATING EXAMPLE INVERTED PENDULUM

Lecture 3: Inexact inverse iteration with preconditioning

arxiv: v2 [math.na] 19 Oct 2014

A Newton-Galerkin-ADI Method for Large-Scale Algebraic Riccati Equations

c 2017 Society for Industrial and Applied Mathematics

Krylov Subspace Type Methods for Solving Projected Generalized Continuous-Time Lyapunov Equations

Model Reduction of Inhomogeneous Initial Conditions

Model order reduction of large-scale dynamical systems with Jacobi-Davidson style eigensolvers

Iterative Rational Krylov Algorithm for Unstable Dynamical Systems and Generalized Coprime Factorizations

H 2 -optimal model reduction of MIMO systems

Spectral Properties of Saddle Point Linear Systems and Relations to Iterative Solvers Part I: Spectral Properties. V. Simoncini

DELFT UNIVERSITY OF TECHNOLOGY

Numerical Methods for Large-Scale Nonlinear Systems

An Interpolation-Based Approach to the Optimal H Model Reduction

Towards high performance IRKA on hybrid CPU-GPU systems

Low Rank Approximation Lecture 7. Daniel Kressner Chair for Numerical Algorithms and HPC Institute of Mathematics, EPFL

Model reduction of large-scale systems by least squares

We G Model Reduction Approaches for Solution of Wave Equations for Multiple Frequencies

Projection of state space realizations

The Newton-ADI Method for Large-Scale Algebraic Riccati Equations. Peter Benner.

On the Superlinear Convergence of MINRES. Valeria Simoncini and Daniel B. Szyld. Report January 2012

Inexact inverse iteration with preconditioning

Efficient Wavefield Simulators Based on Krylov Model-Order Reduction Techniques

Krylov Techniques for Model Reduction of Second-Order Systems

H 2 optimal model reduction - Wilson s conditions for the cross-gramian

Krylov-Subspace Based Model Reduction of Nonlinear Circuit Models Using Bilinear and Quadratic-Linear Approximations

Eigenvalue Problems CHAPTER 1 : PRELIMINARIES

Computational methods for large-scale linear matrix equations and application to FDEs. V. Simoncini

Model Order Reduction via Matlab Parallel Computing Toolbox. Istanbul Technical University

Model Order Reduction of Continuous LTI Large Descriptor System Using LRCF-ADI and Square Root Balanced Truncation

Applied Mathematics 205. Unit V: Eigenvalue Problems. Lecturer: Dr. David Knezevic

Finding Rightmost Eigenvalues of Large, Sparse, Nonsymmetric Parameterized Eigenvalue Problems

Model Reduction for Dynamical Systems

Balanced Truncation Model Reduction of Large and Sparse Generalized Linear Systems

University of Maryland Department of Computer Science TR-5009 University of Maryland Institute for Advanced Computer Studies TR April 2012

The Conjugate Gradient Method

Preconditioning for Nonsymmetry and Time-dependence

BALANCING-RELATED MODEL REDUCTION FOR DATA-SPARSE SYSTEMS

Model reduction via tangential interpolation

Solution of eigenvalue problems. Subspace iteration, The symmetric Lanczos algorithm. Harmonic Ritz values, Jacobi-Davidson s method

The Lanczos and conjugate gradient algorithms

Alternative correction equations in the Jacobi-Davidson method

Solving large sparse eigenvalue problems

Nested Krylov methods for shifted linear systems

Solving Ill-Posed Cauchy Problems in Three Space Dimensions using Krylov Methods

Preconditioned multishift BiCG for H 2 -optimal model reduction. Mian Ilyas Ahmad, Daniel B. Szyld, and Martin B. van Gijzen

Factorized Solution of Sylvester Equations with Applications in Control

Problem set 5 solutions 1

Structured Preconditioners for Saddle Point Problems

A POD Projection Method for Large-Scale Algebraic Riccati Equations

Solution of eigenvalue problems. Subspace iteration, The symmetric Lanczos algorithm. Harmonic Ritz values, Jacobi-Davidson s method

Interpolatory Model Reduction of Large-scale Dynamical Systems

On ADI Method for Sylvester Equations

Iterative solvers for saddle point algebraic linear systems: tools of the trade. V. Simoncini

Lecture 11: CMSC 878R/AMSC698R. Iterative Methods An introduction. Outline. Inverse, LU decomposition, Cholesky, SVD, etc.

Gramians of structured systems and an error bound for structure-preserving model reduction

MODEL-order reduction is emerging as an effective

Preconditioned multishift BiCG for H 2 -optimal model reduction. Mian Ilyas Ahmad, Daniel B. Szyld, and Martin B. van Gijzen

Structure preserving Krylov-subspace methods for Lyapunov equations

Rational Krylov Methods for Model Reduction of Large-scale Dynamical Systems

Chris Beattie and Serkan Gugercin

Conjugate Gradient Method

Iterative methods for Linear System

Optimal Approximation of Dynamical Systems with Rational Krylov Methods. Department of Mathematics, Virginia Tech, USA

Transcription:

Adaptive rational Krylov subspaces for large-scale dynamical systems V. Simoncini Dipartimento di Matematica, Università di Bologna valeria@dm.unibo.it joint work with Vladimir Druskin, Schlumberger Doll Research 1

Given the continuous-time system Model Order Reduction Σ = A B C, A C n n Analyse the construction of a reduced system ˆΣ = à B C with à of size m n 2

Projection methods and Linear Dynamical Systems Time-invariant linear system: x (t) = Ax(t)+Bu(t), x(0) = x 0 y(t) = Cx(t) Approximation of the matrix Transfer function Solvers for the Lyapunov matrix equation Emphasis: A large dimensions, W(A) C 3

Projection methods: the general idea Given space K R n of size m and (orthonormal) basis V m, A A m = V mav m, B B m = V mb, C C m = CV m Solve with A m,b m,c m Choices of K in the literature: Standard Krylov subspace: K m (A,B) = span{b,ab,...,a m 1 B} Shift-Invert Krylov subspace: K m ((A σi) 1,B) = span{b,(a σi) 1 B,...,(A σi) (m 1) B}; often σ = 0 Extended Krylov subspace: EK m (A,B) = K m (A,B)+K m (A 1,A 1 B) Rational Krylov subspace: K m (A,B,s) = span{(a s 1 ) 1 B,(A s 2 ) 1 B,...,(A s m ) 1 B}; usually s = [s 1,...,s m ] a-priori 4

Projection methods: the general idea Given space K R n of size m and (orthonormal) basis V m, A A m = V mav m, B B m = V mb, C C m = CV m Solve with A m,b m,c m Choices of K in the literature: Standard Krylov subspace: K m (A,B) = span{b,ab,...,a m 1 B} Shift-Invert Krylov subspace: K m ((A σi) 1,B) = span{b,(a σi) 1 B,...,(A σi) (m 1) B}; often σ = 0 Extended Krylov subspace: EK m (A,B) = K m (A,B)+K m (A 1,A 1 B) Rational Krylov subspace: K m (A,B,s) = span{(a s 1 ) 1 B,(A s 2 ) 1 B,...,(A s m ) 1 B}; usually s = [s 1,...,s m ] a-priori 5

Projection methods: the general idea Given space K R n of size m and (orthonormal) basis V m, A A m = V mav m, B B m = V mb, C C m = CV m Solve with A m,b m,c m Choices of K in the literature: Standard Krylov subspace: K m (A,B) = span{b,ab,...,a m 1 B} Shift-Invert Krylov subspace: K m ((A σi) 1,B) = span{b,(a σi) 1 B,...,(A σi) (m 1) B}; often σ = 0 Extended Krylov subspace: EK m (A,B) = K m (A,B)+K m (A 1,A 1 B) Rational Krylov subspace: K m (A,B,s) = span{(a s 1 ) 1 B,(A s 2 ) 1 B,...,(A s m ) 1 B}; usually s = [s 1,...,s m ] a-priori 6

Projection methods: the general idea Given space K R n of size m and (orthonormal) basis V m, A A m = V mav m, B B m = V mb, C C m = CV m Solve with A m,b m,c m Choices of K in the literature: Standard Krylov subspace: K m (A,B) = span{b,ab,...,a m 1 B} Shift-Invert Krylov subspace: K m ((A σi) 1,B) = span{b,(a σi) 1 B,...,(A σi) (m 1) B}; often σ = 0 Extended Krylov subspace: EK m (A,B) = K m (A,B)+K m (A 1,A 1 B) Rational Krylov subspace: K m (A,B,s) = span{(a s 1 ) 1 B,(A s 2 ) 1 B,...,(A s m ) 1 B}; usually s = [s 1,...,s m ] a-priori 7

Projection methods: the general idea Given space K R n of size m and (orthonormal) basis V m, A A m = V mav m, B B m = V mb, C C m = CV m Solve with A m,b m,c m Choices of K in the literature: Standard Krylov subspace: K m (A,B) = span{b,ab,...,a m 1 B} Shift-Invert Krylov subspace: K m ((A σi) 1,B) = span{b,(a σi) 1 B,...,(A σi) (m 1) B}; often σ = 0 Extended Krylov subspace: EK m (A,B) = K m (A,B)+K m (A 1,A 1 B) Rational Krylov subspace: K m (A,B,s) = span{(a s 1 I) 1 B,(A s 2 I) 1 B,...,(A s m I) 1 B} usually s = [s 1,...,s m ] a-priori 8

Transfer function approximation h(ω) = c(a iωi) 1 b, ω [α,β] Given space K of size m and V s.t. K=range(V), h(ω) cv(v AV iωi) 1 (V b) Next: Classical benchmark experiment with Standard, Shift-invert and Extended Krylov 9

An example: CD Player, h(ω) = C i,: (A iωi) 1 B :,j 10 8 CDplayer, m=20, (1,1) 10 6 true Std Krylov 10 4 CDplayer, m=20, (1,2) 10 2 true Std Krylov 10 4 10 2 10 0 10 0 10 2 10 2 10 4 10 4 10 6 10 6 10 8 10 1 10 0 10 1 10 2 10 3 10 4 10 5 10 6 10 2 CDplayer, m=20, (2,1) 10 1 true Std Krylov 10 8 10 1 10 0 10 1 10 2 10 3 10 4 10 5 10 6 10 4 CDplayer, m=20, (2,2) 10 3 true Std Krylov 10 0 10 2 10 1 10 1 10 2 10 0 10 3 10 1 10 4 10 2 10 5 10 3 10 6 10 4 10 7 10 1 10 0 10 1 10 2 10 3 10 4 10 5 10 6 10 5 10 1 10 0 10 1 10 2 10 3 10 4 10 5 10 6 10

An example: CD Player, h(ω) = C i,: (A iωi) 1 B :,j 10 8 CDplayer, m=20, (1,1) 10 6 true Std Krylov 10 2 CDplayer, m=50, (1,2) 10 1 true Std Krylov 10 0 10 4 10 1 10 2 10 2 10 0 10 3 10 2 10 4 10 5 10 4 10 6 10 6 10 7 10 8 10 1 10 0 10 1 10 2 10 3 10 4 10 5 10 6 10 2 CDplayer, m=20, (2,1) 10 1 true Std Krylov 10 8 10 1 10 0 10 1 10 2 10 3 10 4 10 5 10 6 10 4 CDplayer, m=20, (2,2) 10 3 true Std Krylov 10 0 10 2 10 1 10 1 10 2 10 0 10 3 10 1 10 4 10 2 10 5 10 3 10 6 10 4 10 7 10 1 10 0 10 1 10 2 10 3 10 4 10 5 10 6 10 5 10 1 10 0 10 1 10 2 10 3 10 4 10 5 10 6 11

Rational Krylov Subspace Method. Choice of poles K m (A,B,s) = span{(a s 1 I) 1 B,(A s 2 I) 1 B,...,(A s m I) 1 B} cf. General discussion in Antoulas, 2005. Various attempts: Gallivan, Grimme, Van Dooren (1996, ad-hoc poles) Penzl (1999-2000, ADI shifts - preprocessing, Ritz values)... Sabino (2006 - tuning within preprocessing) IRKA Gugercin, Antoulas, Beattie (2008) 12

A new adaptive choice of poles for RKSM K m (A,b,s) = span{(a s 1 I) 1 b,(a s 2 I) 1 b,...,(a s m I) 1 b} s = [s 1,...,s m ] to be chosen sequentially The fundamental idea: Assume you wish to solve (A si)x = b with a Galerkin procedure in K m (A,b,s). Let V m be orth. basis. The residual satisfies: b (A si)x m = r m(a)b m r m (s), r z λ j m(z) = z s j with λ j = eigs(v mav m ). Moreover, r m (A)b = min θ 1,...,θ m j=1 m (A θ j I)(A s j I) 1 b j=1 13

A new adaptive choice of poles for RKSM. Cont d r m (z) = m j=1 z λ j z s j, λ j = eigs(v mav m ) For A symmetric: ( s m+1 := arg max s [ λ max, λ min ] ) 1 r m (s) [λ min,λ max ] spec(a) (Druskin, Lieberman, Zaslavski (SISC 2010)) For A nonsymmetric: ( ) 1 s m+1 := arg max s S m r m (s) where S m C + approximately encloses the eigenvalues of A 14

Example of S m. CD Player, m = 12 S m : encloses mirrored current Ritz values: -eigs(v mav m ) and initial estimates: s (0) 1 = 0.1, s (0) 2,3 = 900±i5 104 5 x 104 4 3 2 imaginary part 1 0 1 2 3 4 5 0 100 200 300 400 500 600 700 800 900 real part poles + -eigs(a) S m 15

Transfer function evaluation. EADY Data set 10 3 true arnoldi invert arnoldi rational krylov 10 2 10 0 10 2 h(ω) h(ω) h approx (ω) 10 4 10 6 10 2 10 8 10 10 arnoldi invert arnoldi rational krylov 10 1 10 0 10 1 frequency ω 10 12 10 1 10 0 10 1 frequency ω m = 20. A of size 598 (nonsym), s (0) 1 = A /condest(a), s (0) 2,3 arg(maxr(eigs(a))) 16

Transfer function evaluation. Flow Data set h(ω) h(ω) h approx (ω) 10 0 10 0 10 2 10 2 10 4 10 4 10 6 10 6 invert arnoldi rational krylov 10 8 10 10 true invert arnoldi rational krylov 10 8 10 10 10 12 10 1 10 0 10 1 10 2 10 3 10 4 10 12 10 1 10 0 10 1 10 2 10 3 10 4 m = 80. A,E of size 9669 (nonsym) s (0) 1 = A /(condest(a) E F ), s (0) 2 arg(max R(eigs(A))) (all real poles) 17

Comparison with optimal (a-priori) theoretical shifts. A sym Equidistributed nested sequence of real shifts (EDS) (from classical Zolotaryov sol n) asymptotically optimal rational space for ir Rate for the L error of h(ω): [ ( )] O exp π2 m(1+o(1)) 2log 4λ max λ min, for λ max λ min 1 Druskin, Knizhnerman, Zaslavsky (SISC 2009) 18

Comparison with optimal (a-priori) theoretical shifts. Cont d A R 900 900 : Diagonal matrix with log-uniformly distributed values in [ 1, 3.316410 9 ] h(ω) h m (ω) h(ω) h approx (ω) (m = 20) 10 8 10 6 10 5 arnoldi invert arnoldi rational krylov EDP poles max ω h(ω) h approx (ω) 10 4 10 2 10 0 10 2 arnoldi invert arnoldi rational krylov EDS poles h(ω) h approx (ω) 10 0 10 5 10 10 10 4 0 5 10 15 20 25 30 35 40 45 50 space dimension 10 15 10 10 10 5 10 0 10 5 10 10 frequency range 19

The Lyapunov matrix equation AX +XA +bb = 0 Approximation by projection: K of dim. m, V m orthonormal basis. X X m = V m YV m V mav m Y +YV ma V m +V mbb V m = 0 Connection to Rational functions: X = R x(ω)x(ω) dω with x(ω) = (A ωii) 1 b 20

X X m = V m YV m with Approximation by projection (V mav m )Y +Y(V mav m ) +(V mb)(v mb) = 0 Some technical issues: K m (A,b,s) = span{b,(a s 2 I) 1 b,..., m j=2 (A s ji) 1 b} (includes b) All real poles (all real arithmetic work) Cheap computation of V mav m at each iteration m (K m (A,b,s) K m+1 (A,b,s)) Cheap computation of the residual norm R m = AX m +X m A +bb Cheap factorized form of solution X m = Xˆm := Zˆm Z ˆm, ˆm m 21

Some numerical experiments Competitors: ADI problem: computation of parameters Extended Krylov Subspace method outperforms ADI in general EK m (A,b) = K m (A,b)+K m (A 1,A 1 b) Comparison measures: Efficiency (CPU time) Memory (space dimension) Rank of solution 22

The RAIL (symmetric) data set n Rational Extended Rational Extended space space space space direct direct iterative iterative 1357 CPU time (s) 0.84 0.36 0.96 1.60 dim. Approx. Space 21 64 21 68 Rank of Solution 21 47 21 45 20209 CPU time (s) 11.19 10.97 25.31 201.94 dim. Approx. Space 25 124 25 126 Rank of Solution 25 75 25 75 79841 CPU time (s) 51.54 73.03 189.48 2779.95 dim. Approx. Space 26 168 26 170 Rank of Solution 26 103 26 98 Inner solves: PCG with IC(10 2 ) 23

The RAIL (symmetric) data set n Rational Extended Rational Extended space space space space direct direct iterative iterative 1357 CPU time (s) 0.84 0.36 0.96 1.60 dim. Approx. Space 21 64 21 68 Rank of Solution 21 47 21 45 20209 CPU time (s) 11.19 10.97 25.31 201.94 dim. Approx. Space 25 124 25 126 Rank of Solution 25 75 25 75 79841 CPU time (s) 51.54 73.03 189.48 2779.95 dim. Approx. Space 26 168 26 170 Rank of Solution 26 103 26 98 Inner solves: PCG with IC(10 2 ) 24

More Tests: two nonsymmetric problems n Rational Extended Rational Extended space space space space direct direct iterative iterative 9669 CPU time (s) 3.16 3.06 3.01 9.95 dim. Approx. Space 16 36 16 36 Rank of Solution 16 24 16 24 20082 CPU time (s) 59.99 45.84 13.01 25.28 dim. Approx. Space 15 26 15 26 Rank of Solution 15 22 15 22 Convective thermal flow problems (FLOW, CHIP data sets) All real shifts used 25

Conclusions and outlook Adaptive procedure makes Rational Krylov subspace appealing Competitive in terms of both reduction space and CPU time Balanced Truncation? www.dm.unibo.it/~simoncin valeria@dm.unibo.it References: V. Simoncini, A new iterative method for solving large-scale Lyapunov matrix equations SIAM J. Scient. Computing, v.29, n.3 (2007), pp. 1268-1288 V. Simoncini, The Extended Krylov subspace for parameter dependent systems Applied Num. Math. v.60 n.5 (2010) 550-560. V. Druskin and V. Simoncini, Adaptive rational Krylov subspaces for large-scale dynamical systems pp.1-20, August 2010. (Under revision) 26