Numerical bifurcation analysis of delay differential equations

Similar documents
DDE-BIFTOOL v Manual Bifurcation analysis of delay differential equations

Continuation and bifurcation analysis of delay differential equations

B.1 Numerical Continuation

Reliably computing all characteristic roots of delay differential equations in a given right half plane using a spectral method

Numerical Continuation of Bifurcations - An Introduction, Part I

Krauskopf, B., Erzgraber, H., & Lenstra, D. (2006). Dynamics of semiconductor lasers with filtered optical feedback.

Computational Methods in Dynamical Systems and Advanced Examples

Collocation approximation of the monodromy operator of periodic, linear DDEs

Three ways of treating a linear delay differential equation

from delay differential equations to ordinary differential equations (through partial differential equations)

Numerical techniques: Deterministic Dynamical Systems

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 9

Numerical Methods for Approximating Invariant Manifolds of Delayed Systems

University of Bristol - Explore Bristol Research. Early version, also known as pre-print

An Introduction to Numerical Continuation Methods. with Application to some Problems from Physics. Eusebius Doedel. Cuzco, Peru, May 2013

Chapter 14 Three Ways of Treating a Linear Delay Differential Equation

Neural Excitability in a Subcritical Hopf Oscillator with a Nonlinear Feedback

CS 450 Numerical Analysis. Chapter 9: Initial Value Problems for Ordinary Differential Equations

Delay Differential Equations Part II: Time and State dependent Lags

An Arnoldi method with structured starting vectors for the delay eigenvalue problem

Analysis of a lumped model of neocortex to study epileptiform ac

Description of the extension ddebiftool_nmfm

Complex Dynamic Systems: Qualitative vs Quantitative analysis

Scientific Computing: An Introductory Survey

7 Two-dimensional bifurcations

B5.6 Nonlinear Systems

Research Article Numerical Stability Test of Neutral Delay Differential Equations

CS520: numerical ODEs (Ch.2)

Joris Vanbiervliet 1, Koen Verheyden 1, Wim Michiels 1 and Stefan Vandewalle 1

An introduction to numerical continuation with AUTO

Problem set 7 Math 207A, Fall 2011 Solutions

NUMERICAL SOLUTION OF DELAY DIFFERENTIAL EQUATIONS VIA HAAR WAVELETS

= F ( x; µ) (1) where x is a 2-dimensional vector, µ is a parameter, and F :

Delay Differential Equations Part I: Constant Lags

Nonlinear dynamics & chaos BECS

arxiv: v2 [math.ds] 8 Dec 2014

Section 5.4 (Systems of Linear Differential Equation); 9.5 Eigenvalues and Eigenvectors, cont d

Mathematical Foundations of Neuroscience - Lecture 7. Bifurcations II.

Bifurcations in Delayed Lotka-Volterra Intraguild Predation Model

as Hopf Bifurcations in Time-Delay Systems with Band-limited Feedback

STABILITY AND BIFURCATION ANALYSIS ON DELAY DIFFERENTIAL EQUATIONS. Xihui Lin. Master of Science. Applied Mathematics

Delay Differential Equations with Constant Lags

The integrating factor method (Sect. 1.1)

Lecture 4: Numerical solution of ordinary differential equations

BIFURCATION PHENOMENA Lecture 1: Qualitative theory of planar ODEs

NUMERICAL METHODS USING MATLAB

Lecture 3 : Bifurcation Analysis

Lecture 5. Outline: Limit Cycles. Definition and examples How to rule out limit cycles. Poincare-Bendixson theorem Hopf bifurcations Poincare maps

Bifurcations and multiple traffic jams in a car-following model with reaction-time delay

University of Bristol - Explore Bristol Research. Early version, also known as pre-print

tutorial ii: One-parameter bifurcation analysis of equilibria with matcont

Numerical solution of ODEs

An Introduction to Numerical Continuation Methods. with Applications. Eusebius Doedel IIMAS-UNAM

Large scale continuation using a block eigensolver

Fast Step-response Evaluation of Linear Continuous-time Systems With Time Delay in the Feedback Loop

Analysis of the Chatter Instability in a Nonlinear Model for Drilling

arxiv: v2 [physics.optics] 15 Dec 2016

Lectures on Dynamical Systems. Anatoly Neishtadt

B5.6 Nonlinear Systems

Numerical Methods for Approximating Invariant Manifolds of Delayed Systems

DYNAMICS OF THREE COUPLED VAN DER POL OSCILLATORS WITH APPLICATION TO CIRCADIAN RHYTHMS

B5.6 Nonlinear Systems

Lotka Volterra Predator-Prey Model with a Predating Scavenger

RESEARCH ARTICLE. Delay Induced Canards in High Speed Machining

Lecture 5. Numerical continuation of connecting orbits of iterated maps and ODEs. Yu.A. Kuznetsov (Utrecht University, NL)

8.1 Bifurcations of Equilibria

Parameter Estimation of Mathematical Models Described by Differential Equations

Ordinary Differential Equations

HOMEWORK 3: Phase portraits for Mathmatical Models, Analysis and Simulation, Fall 2010 Report due Mon Oct 4, Maximum score 7.0 pts.

NBA Lecture 1. Simplest bifurcations in n-dimensional ODEs. Yu.A. Kuznetsov (Utrecht University, NL) March 14, 2011

Suboptimal feedback control of PDEs by solving Hamilton-Jacobi Bellman equations on sparse grids

Superconvergence analysis of multistep collocation method for delay Volterra integral equations

A review of stability and dynamical behaviors of differential equations:

Identification Methods for Structural Systems

CHALMERS, GÖTEBORGS UNIVERSITET. EXAM for DYNAMICAL SYSTEMS. COURSE CODES: TIF 155, FIM770GU, PhD

Multistep Methods for IVPs. t 0 < t < T

Cloud modeling and Lotka-Voltera Spence Lunderman December 9, 2017 University of Arizona Department of Mathematics

Numerical Mathematics

Numerical Methods - Initial Value Problems for ODEs

Dynamical Systems and Chaos Part I: Theoretical Techniques. Lecture 4: Discrete systems + Chaos. Ilya Potapov Mathematics Department, TUT Room TD325

Phase Synchronization

The use of cubic spline and far-side boundary condition for the collocation solution of a transient convection-diffusion problem

Stability of flow past a confined cylinder

2 Discrete growth models, logistic map (Murray, Chapter 2)

Dynamical Systems in Neuroscience: Elementary Bifurcations

Katholieke Universiteit Leuven Department of Computer Science

Solutions to Math 53 Math 53 Practice Final

Chapter 6 - Ordinary Differential Equations

Modified Milne Simpson Method for Solving Differential Equations

Laboratory Sessions : FreeFem + + CIMPA Workshop Navier Stokes Stabilization Code July 06 th July 17 th 2015 IIT Mumbai

Nonlinear Normal Modes of a Full-Scale Aircraft

Exam in TMA4215 December 7th 2012

FROM EQUILIBRIUM TO CHAOS

Numerical Oscillations and how to avoid them

Application demonstration. BifTools. Maple Package for Bifurcation Analysis in Dynamical Systems

Chapter 23. Predicting Chaos The Shift Map and Symbolic Dynamics

Department of Mathematics IIT Guwahati

Dynamics of Two Coupled van der Pol Oscillators with Delay Coupling Revisited

2:1 Resonance in the delayed nonlinear Mathieu equation

Additive resonances of a controlled van der Pol-Duffing oscillator

Transcription:

Numerical bifurcation analysis of delay differential equations Dirk Roose Dept. of Computer Science K.U.Leuven Dirk.Roose@cs.kuleuven.be

Acknowledgements Many thanks to Koen Engelborghs Tatyana Luzyanina Koen Verheyden Giovanni Samaey Kirk Green Robert Szalai because they did the work... 1

Overview Lecture 1 numerical methods for delay differential equations (DDEs) with constant pointwise delays stability analysis of steady state solutions short introduction to software package DDE-BIFTOOL Practical session Demo & hands-on experience with DDE-BIFTOOL 2

Overview (2) Lecture 2 computation & stability analysis of periodic solutions computation of connecting orbits (homo- & heteroclinic orbits) short introduction to software package PDDE-CONT for continuation and bifurcation analysis of periodic solutions of DDEs Practical session Demo & hands-on experience with DDE-BIFTOOL and PDDE-CONT 3

Delay Differential Equations h"p://www.scholarpedia.org/ar2cle/delay differen2al_equa2ons Delay differential equations (DDEs) differ from ODEs in that the derivative at any time depends on the solution at prior times (and in the case of neutral equations on the derivative at prior times) d dt y(t) = f (y(t), y(t! " ), y(t! " ),..., y(t! " )) 1 2 m constant or state-dependent point delays τ i (y(t)) DDEs often arise when traditional pointwise modeling assumptions are replaced by more realistic distributed assumptions, for example, when the birth rate of predators is affected by prior levels of predators or prey rather than by only the current levels in a predator-prey model. 4

Initial Function Because the derivative y (t) depends on the solution at previous time(s), it is necessary to provide an initial history function to specify the value of the solution before time t = 0. In many common models the history is a constant; but non constant history functions are encountered routinely. y(t) y t0 For most problems there is a jump derivative discontinuity at the inital time. 5

Discontinuity propagation In most models, the DDE and the initial function are incompatible: for some derivative order, usually the first, the left and right derivatives at t = 0 are not equal. const. history Fascinating property: how such derivative discontinuities are propagated in time. For the equation and history just described, for example, the initial first discontinuity is propagated as a second degree discontinuity at time t = 1, as a third degree discontinuity at time t = 2, and, more generally, as a discontinuity in the (n+1)st derivative at time t = n. 6

Discontinuity propagation This behavior is typical of that for a wide class of delay differential equations: generalized smoothing occurs as the initial derivative discontinuity is propagated successively to higher order derivatives. Smoothing need not occur for neutral equations or for non-neutral equations with vanishing delays. 7

Introduction to DDEs used in various application areas Biology, physiology population dynamics (cells, viruses) control systems semiconductor lasers (optical feedback) high-speed cutting, milling & drilling congestion control in communication networks car following models 8

Example: climate modeling α = 2; τ = 1 9

Example: physiology Mackey-Glass equation physiological control system (feedback system) breathing control control variable is sensed and appropriate changes are made in the rates of production and/or decay. control variable: e.g. concentration blood cells 10

Example: laser with optical feedback In many laser systems delay arises due to the finite travel time of light between components of the system and may lead to different types of dynamic behaviour including chaos DDE model of a semiconductor laser with filtered optical feedback E: complex optical field, N: population inversion of the laser, F: complex optical field of filter, τ : delay (external feedback) 11

Example: milling machine Regenerative effect: cutting tool cuts a surface that was produced by the same tool some time ago. The cutting forces nonlinearly depend on the chip geometry, which in turn depends on the current and a delayed tool position. Rotation of each tooth periodic coefficients Delay is inversely proportional to speed 12

Example: control of heating system Lab. Tomas Vyhlidal, CTU Prague setpoint temperature to be controlled 13

Example: heating system (2) $ Th x& h( t) = # xh( t #! h ) + Kbxa( t #" b) + Kuxh, set ( t #" u ) % % 1+ q 1# q Tax& ' & a( t) = # xa( t) + xc( t #" e) + Ka xh( t) # xa( t) # xc( t #" e) % ( ) * 2 2 + %, Td x& d ( t) = # xd ( t) + Kd xa( t #" d ) % Tc x& c( t) = # xc( t #! c ) + Kcxd ( t #" c ) % % x& e( t) = xc, set ( t) # xc( t) % - 7 delays! Control law (PI+ state feedback) x = K! # x x x x x " $ h, set h a d c e T 14

Introduction to DDEs d dt y(t) = f (y(t), y(t! " ), y(t! " ),..., y(t! " )) 1 2 m constant or state-dependent delays τ i (y(t)) τ : max τ i y(t) y t0 initial function segment!(")," #[$%,0] has to be specified state at t = t 0 : function segment y t0 (!),! "[#$,0] infinite dimensional state space analytical & numerical calculations more difficult than for ODEs 15

Computation Steady state solutions d dt y(t) = f (y(t), y(t! " 1 ), y(t! " 2 ),..., y(t! " m )) y *! R n " f (y *, y *,..., y * ) = 0 Stability: constant delays: consider variational equation determine roots λ of characteristic equation A i! "f ( ) = ( y*,y *,...,y * ) "y i y 0,y 1,...,y m nonlinear generalised eigenvalue problem state-dependent delay: linearisation: τ can be treated as constant 16

Characteristic equation [Shampine http://faculty.smu.edu/shampine/read1.pdf] 17

Stability of steady state solutions stable infinite number roots of characteristic equation ( eigenvalues ) unstable only finite number of eigenvalues with Re(λ ) > r 18

Numerical stability analysis numerical methods to determine stability of a steady state solution by computing the rightmost eigenvalues based on discretization of solution operator of variational equation via time integration (e.g. linear multistep method (LMS)) pseudospectral discretization based on discretization of infinitisimal generator via time integration pseudospectral discretization 19

Discretization of solution operator S(t) : solution operator of variational equation S(t 0 ) y(t) y t0 eigenvalues of solution operator S(t 0 ) µ = exp(λt 0 )!(µ)!(µ) 20

Computation of dominant eigenvalues of S(t 0 ) discretize S(t 0 ) -> (large) matrix M(h,t 0 ) linear multistep method step length h calculate (dominant) eigenvalues correct via characteristic equation QR or subspace iteration starting values locking deflation Newton iteration on Δ(λ)v = 0 c T v - 1= 0 21

Computation of dominant eigenvalues of S(t 0 ) matrix M(h) = M(h,t 0 ) : approximation / discretisation of S(t 0 ) eigenvalues µ = exp (λt 0 ) dimension of M = # mesh points in [-τ,0] x # eqs preferably: dominant eigenvalues easy to compute choice of t 0 t 0 large : + : expensive time integration - : well separated eigenvalues x x x x t 0 small : + : integration over short time interval - : µ s not well separated use QR x x x x we use t 0 = h (= step length)!!! 22

Discretization of solution operator (extended) delay interval discretized by equidistant mesh with spacing h solution represented by y i = y(t i ), t i = ih i=-l,...,0 % m ( LMS method: e.g. y 1 = y 0 + h ' A 0 y 0 + $ A j y (t 0 " # j ) * & j=1 ) approximations y (t 0 " # j ) by interpolation discretization of solution operator [ y! L+1... y 0 y ] T 1 = M (h)[ y! L... y!1 y ] T 0 23

Construction of matrix M(h) y -k y 0 y 1 y -L h t -L t 0 t 1 -τ m -τ 2 -τ 1 0 [ y! L+1... y 0 y ] T 1 = M (h)[ y! L... y!1 y ] T 0 24

Computation of rightmost eigenvalues Compute eigenvalues of M(h) by QR-algorithm ( eig in Matlab) -> approximate (dominant) eigenvalues of solution operator recover roots λ from eigenvalues µ h should be chosen that all rightmost roots λ with real part > r are approximated accurately steplength heuristic in DDE-BIFTOOL approximate eigenvalues can be corrected by Newton s method applied to characteristic equation 25

Reliable stability computation approximate all roots λ with Re(λ) > 0 accurately suppose that steady state solution of DDE is delayindependent stable (sol. variational eq. stable for all τ) determine region enclosing all λ with Re(λ) > r determine radius of LMS stability region ρ LMS such that stability of solution of DDE and of LMS integrator coincide heuristic for h : h = 0.9 " LMS A i # m i =0 approximate all eigenvalues λ with Re(λ) > r accurately h = 0.9 " LMS A + r + % A exp(#r$ ) 0 i i 26

Stability of solution of DDE Characteristic equation define! " (#) = $(A 0 + % A j e &#" j ) if C +! " # ( C + ) = $ m j=1 max! " ( C + ) # $ A j m j=0! "#(A 0 + $ A j e %!& j ) ; λ is root iff then solution is stable all roots with pos. real part lie in circle with radius : radius of disc in which imaginary axis is approximated by LMS(i[0,2π]) up to ε m j=1! "# $ (!) m! A j j=0 27

Stability of solution of discrete system Characteristic equation for discrete system can be written as %µ = exp( %!h) 28

Step length heuristic [Engelborgs & R., 2002] if step size of LMS method < h then delay independent stability is preserved in the discrete system up to ε 29

Computed eigenvalues: examples x: exact eigenvalues +: computed eigenvalues r r r r 30

Improved step length heuristic Heuristic implemented in original version of DDE-BIFTOOL: robust, but too conservative too many roots are computed accurately h too small, large eigenvalue problem, expensive Current version of DDE-BIFTOOL: improved heuristic: larger h, cheaper procedure 31

Improved step length heuristic h = 0.9 Towards larger h Numerator: region in which eigenvalues are preserved by LMS time integration properties not important special purpose LMS methods (of maximal order) Denominator : boundary of region enclosing all λ with Re(λ) > r often large overestimation, especially when DDE system is discretization of PDE with delay ( long tail ) more realistic bound " LMS A + r + % A exp(#r$ ) 0 i i 32

Example: 4 DDEs with 1 delay 33

Example: 4 DDEs with 1 delay 34

Example: 4 DDEs with 1 delay Computed approximate roots and corrected roots (Newton on characteristic equation) 35

Large scale DDE system of DDE and PDE (laser dynamics) spatial variable x 2d order finite diff. discretization in space resulting DDE system: dimension n =131 parameters such that close to Hopf bifurcation (with large ω) spectrum : long tail! old heuristic with BDF order 6 : very small h size eigenvalue problem N = ± 1 000 000 new heuristic : N = ± 3 500 36

Large scale DDE Computed approximate roots and corrected roots (Newton on characteristic equation) 37

Other approaches B) discretization of solution operator using pseudospectral approximation C) discretization of infinitisimal generator using time integrator (LMS or Runge-Kutta) using pseudospectral approximation 38

Spectral discretization solution operator can be discretized by pseudospectral discretization (polynomial of high degree instead of points on uniform mesh) matrix eigenvalue problem asymptotic convergence properties better than for LMS methods for relatively low accuracy: both methods lead to a matrix eigenvalue problem of similar size but no automatic selection of appropriate degree of polynomial 39

Infinitisimal generator Since S(t) is a strongly continuous semi-group, one can define the corresponding infinitesimal generator A by For variat. eq. the infinitesimal generator becomes eigenvalues of A roots of characteristic eq. 40

Computation of eigenvalues of A discretise A into matrix A(h) calculate (rightmost) eigenvalues of A(h) (correct via Newton on characteristic equation ) Discretisation of A [Breda, Maset and Vermiglio] discretise C into vector space X N mesh: equidistant or not approximate dy /dθ pseudo-spectral discretisation time integration methods LMS (k steps BDF) Runge-Kutta (Radau II) 41

Pseudo-spectral discretization Breda et al.: pseudo-spectral discretization of the infinitesimal generator. An eigenfunction of the infinitesimal generator ve λt, t in [ τ, 0], is approximated by a polynomial P(t) of degree p. Collocation for the eigenvalue problem for the infinitisimal generator leads to an equation of the form collocation points t i, i = 1...p are chosen as the shifted and scaled roots of an (orthogonal) polynomial of degree p. System-specific information 42

Pseudo-spectral discretization The resulting matrix eigenvalue problem has size n(p+1) The matrix is full but can be of much smaller size than in the previous case,due to the ʻspectral accuracy convergence 43

Pseudo-spectral discretisation (cont.) max 1" i"# Convergence analysis $ exact % $ i = O(( C N ) p # ) = O(( Ch & ) p # ) ν : multiplicity of λ exact with p = k p = 2s-1 p = N BDF Runge-Kutta Pseudo-spectral 44

Software packages DDE-BIFTOOL PDDE-CONT K. Engelborghs et al R. Szalai 45

DDE-BIFTOOL Functionality no time integration (use Matlab dde23 or ARCHI, DKLAG6, XPPAUT, DDVERK,...) continuation of steady state & periodic solutions of DDEs with constant & state-dependent delays (no branch switching) computation of stability of solutions monitoring of relevant eigenvalues (no automatic detection of bifurcation points) continuation of fold and Hopf points continuation of homo- & heteroclinic orbits no normal forms... 46

DDE-BIFTOOL Implementation a set of Matlab routines can be adapted and extended easily no GUI, command line Matlab commands graphical output from Matlab user has to provide the system equations (and derivatives) and to write (interactively) a high level program Availability free for research purposes 47

Structure of DDE-BIFTOOL uses provides 48

DDE-BIFTOOL: numerical methods stability of steady states: discretization of solution operator by LMS method; automatic procedure to approx. accurately all eigenvalues with real part > r (r : user defined) approximate eigenvalues corrected by Newton iteration on characteristic equation periodic solutions and stability: based on collocation continuation: secant prediction, pseudo-arclength, Newton correction, steplength strategy based on extrapolations/interpolations determining systems for fold, Hopf,... 49

Usage of DDE-BIFTOOL Layer 0 system definitions: user provides sys_init.m (path) sys_rhs.m (system eqs.) sys_deri.m (derivatives, or use sys_deriv.m) sys_tau.m only in special cases sys_cond.m (extra conditions, e.g. to enforce unique solution) only for state-dependent delays sys_ntau.m 50

Structure of DDE-BIFTOOL Layer 2 routines to manipulate individual points point types: determines which information is stored stst (steady state): parameter, state hopf : parameter, state, ω, eigenvector fold psol : periodic orbit :..., degree of collocation polynomial, mesh hcli : homoclinic or heteroclinic orbit additional : stability information routines to correct points, compute & plot stability, convert type and correct immediate acess to all points via matlab command line 51

Structure of DDE-BIFTOOL Layer 3 branches branch = array of points; method parameters; free parameters method parameters : data structure, 3 substructures: point : st.st. : max. Newton iterations, accuracy,... periodic: extra: phase cond., collocation par. continuation strategy stability computation : r (eigenvalues real part > r) free parameters: parameters bounds; max. step sizes routines to extend branch, to compute stability, to visualize branch & stability 52

Example of DDE-BIFTOOL output One parameter branch of steady state solutions Prediction steps shown in green; corrected points in blue 53

Example of DDE-BIFTOOL output Stability along the branch can then be computed real part of roots Crossings of the imaginary axis show bifurcations against point number (left) along the branch (right); stabilising Hopf bifurcation at point 26. 54

Example of DDE-BIFTOOL output From this Hopf bifurcation, a one parameter branch of periodic solutions can be computed (The shape of this branch indicates the Hopf bifurcation was subcritical) 55

Example of DDE-BIFTOOL output Again, stability along the branch can then be computed trivial Floquet multiplier Crossings of the unit circle show bifurcations against point number (right) along the branch (left); stabilising saddle-node bifurcation at point 33. 56

Example of DDE-BIFTOOL output Final branch plotted manually Lower branch shows stable steady state (green), born in a saddle-node bifurcation (x), destabilised in a Hopf bifurcation (*). Initially unstable branch of periodic solutions stabilised in saddle-node bifurcation of limit cycles (x) and destabilised in a period-doubling bifurcation (diamond). 57

DDE-BIFTOOL run branch of steady state solutions generate 1st point (build data structure) set method parameters correct steady state solution [set method parameters & compute stability] copy 1st point into 2d point change parameter correct steady state solution build brach with 2 points set method parameters (incl. continuation parameter) 58