Reduced System Computing and MMOs. Warren Weckesser. Department of Mathematics Colgate University

Similar documents
CANARDS AND HORSESHOES IN THE FORCED VAN DER POL EQUATION

Numerical Computation of Canards

Canard dynamics: applications to the biosciences and theoretical aspects

1 1

Global Analysis of Dynamical Systems Festschrift dedicated to Floris Takens for his 60th birthday

MIXED-MODE OSCILLATIONS WITH MULTIPLE TIME SCALES

The Forced van der Pol Equation I: The Slow Flow and Its Bifurcations

Journal of Differential Equations

A Study of the Van der Pol Equation

arxiv: v2 [math.ds] 8 Feb 2016

Mixed mode oscillations as a mechanism for pseudo-plateau bursting

B5.6 Nonlinear Systems

The Forced van der Pol Equation II: Canards in the Reduced System

Piecewise-linear (PWL) canard dynamics : Simplifying singular perturbation theory in the canard regime using piecewise-linear systems

Canards and Mixed-Mode Oscillations in a Singularly Perturbed Two Predators-One Prey Model Susmita Sadhu

The selection of mixed-mode oscillations in a Hodgkin-Huxley model with multiple timescales

arxiv: v1 [math.ds] 24 Aug 2018

arxiv: v1 [math.ds] 30 Jan 2012

The Rela(onship Between Two Fast/ Slow Analysis Techniques for Burs(ng Oscilla(ons

1. Introduction. We consider singularly perturbed ordinary differential equations (ODEs) in the standard form

Interaction of Canard and Singular Hopf Mechanisms in a Neural Model

Stochastic differential equations in neuroscience

Canards at Folded Nodes

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

Analysis of the Takens-Bogdanov bifurcation on m parameterized vector fields

UNIVERSITY OF CALIFORNIA SANTA BARBARA. Controlling Canards Using Ideas From The Theory of Mixed-Mode Oscillations. Joseph William Durham

Some results on interspike interval statistics in conductance-based models for neuron action potentials

Chapter 3 Canard Theory and Excitability

Towards a Global Theory of Singularly Perturbed Dynamical Systems John Guckenheimer Cornell University

Abrupt changes and intervening oscillations in conceptual climate models

CANARDS AT FOLDED NODES

Spike-adding canard explosion of bursting oscillations

arxiv: v2 [math.ds] 21 Feb 2014

Example of a Blue Sky Catastrophe

THREE TIME-SCALES IN AN EXTENDED BONHOEFFER-VAN DER POL OSCILLATOR

Computing Periodic Orbits and their Bifurcations with Automatic Differentiation

The Plan. Initial value problems (ivps) for ordinary differential equations (odes) Review of basic methods You are here: Hamiltonian systems

THE GEOMETRY OF SLOW MANIFOLDS NEAR A FOLDED NODE

Mixed-mode oscillations in a three time-scale model for the dopaminergic neuron

Discretized Fast-Slow Systems near Pitchfork Singularities

arxiv: v3 [math.ds] 27 Nov 2013

Math 4200, Problem set 3

Problem Set Number 5, j/2.036j MIT (Fall 2014)

1. (i) Determine how many periodic orbits and equilibria can be born at the bifurcations of the zero equilibrium of the following system:

Two models for the parametric forcing of a nonlinear oscillator

Synchronization of Elliptic Bursters

Nonlinear Dynamics and Chaos

Feedback control of canards

Computing Periodic Orbits

ODE solvers in Julia. Gabriel Ingesson. October 2, 2015

Coupling SUNDIALS with OpenFOAM 6 th OpenFOAM Workshop. E. David Huckaby June 14, 2011

BIFURCATION FOR NON LINEAR ORDINARY DIFFERENTIAL EQUATIONS WITH SINGULAR PERTURBATION

7 Two-dimensional bifurcations

Logistic Map, Euler & Runge-Kutta Method and Lotka-Volterra Equations

COMPLEX DYNAMICS AND CHAOS CONTROL IN DUFFING-VAN DER POL EQUATION WITH TWO EXTERNAL PERIODIC FORCING TERMS

Elements of Applied Bifurcation Theory

10.34: Numerical Methods Applied to Chemical Engineering. Lecture 19: Differential Algebraic Equations

Dynamical Systems in Neuroscience: The Geometry of Excitability and Bursting

Slow Manifold of a Neuronal Bursting Model

BIFURCATION PHENOMENA Lecture 1: Qualitative theory of planar ODEs

The relationship between two fast/slow analysis techniques for bursting oscillations

New Developments in Dynamical Systems Arising from the Biosciences. The Effect of Noise on Mixed-Mode Oscillations

The Effect of a Smart Predator in a One Predator, Two Prey System

Mathematical Modeling I

Problem set 6 Math 207A, Fall 2011 Solutions. 1. A two-dimensional gradient system has the form

The Hopf-van der Pol System: Failure of a Homotopy Method

Morse Theory for Lagrange Multipliers

c 2000 Society for Industrial and Applied Mathematics

Computational Neuroscience. Session 4-2

HOPF BIFURCATION AND HETEROCLINIC CYCLES IN A CLASS OF D 2 EQUIVARIANT SYSTEMS

Chapter 23. Predicting Chaos The Shift Map and Symbolic Dynamics

BIFURCATION PHENOMENA Lecture 4: Bifurcations in n-dimensional ODEs

BLUE SKY CATASTROPHE IN SINGULARLY-PERTURBED SYSTEMS

MCE693/793: Analysis and Control of Nonlinear Systems

BIFURCATIONS OF SELF - EXCITATION REGIMES IN OSCILLATORY SYSTEMS WITH NONLINEAR ENERGY SINK

Mathematical Analysis of Bursting Electrical Activity in Nerve and Endocrine Cells

CHAPTER 1. Bifurcations in the Fast Dynamics of Neurons: Implications for Bursting

Relaxation Oscillation and Canard Explosion 1

Lectures on Dynamical Systems. Anatoly Neishtadt

Long Term Dynamics for Two Three-Species Food Webs

WIDELY SEPARATED FREQUENCIES IN COUPLED OSCILLATORS WITH ENERGY-PRESERVING QUADRATIC NONLINEARITY

Dynamical Systems in Neuroscience: Elementary Bifurcations

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

Numerical Continuation and Normal Form Analysis of Limit Cycle Bifurcations without Computing Poincaré Maps

Numerical Continuation of Bifurcations - An Introduction, Part I

A Remark on Singular Perturbations of Strongly Monotone Systems

2:1 Resonance in the delayed nonlinear Mathieu equation

DIFFERENTIAL GEOMETRY APPLIED TO DYNAMICAL SYSTEMS

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

Singular perturbation methods for slow fast dynamics

Dynamical modelling of systems of coupled oscillators

8.1 Bifurcations of Equilibria

Computational Methods in Dynamical Systems and Advanced Examples

Exponentially small splitting of separatrices of the pendulum: two different examples. Marcel Guardia, Carme Olivé, Tere M-Seara

Faraday waves, streaming flow, and relaxation oscillations in nearly circular containers

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

Homoclinic Orbits of Planar Maps: Asymptotics and Mel nikov Functions

BIFURCATIONS AND CHAOS IN A PERIODICALLY FORCED PROTOTYPE ADAPTIVE CONTROL SYSTEM 1

A Mathematical Study of Electrical Bursting in Pituitary Cells

11 Chaos in Continuous Dynamical Systems.

Transcription:

Reduced System Computing and MMOs Warren Weckesser Department of Mathematics Colgate University

Acknowledgments NSF Grant DMS-54468: RUI: Reduced System Computing for Singularly Perturbed Differential Equations

Acknowledgments NSF Grant DMS-54468: RUI: Reduced System Computing for Singularly Perturbed Differential Equations Undergraduate students: Brian Kinney Tomas Gruszka Dimitar Simeonov

Slow and Fast Subsystems, x R m, y R n εẋ = f(x,y) ẏ = g(x,y)

Slow and Fast Subsystems, x R m, y R n εẋ = f(x,y) ẏ = g(x,y) ε = Slow Subsystem (DAE) = f(x,y) ẏ = g(x,y)

Slow and Fast Subsystems, x R m, y R n εẋ = f(x,y) ẏ = g(x,y) t εt ẋ = f(x,y) ẏ = εg(x,y) ε = Slow Subsystem (DAE) = f(x,y) ẏ = g(x,y)

Slow and Fast Subsystems, x R m, y R n εẋ = f(x,y) ẏ = g(x,y) t εt ẋ = f(x,y) ẏ = εg(x,y) ε = Slow Subsystem (DAE) = f(x,y) ẏ = g(x,y) ε = Fast Subsystem ẋ = f(x,y) ẏ =

Slow and Fast Subsystems, x R m, y R n εẋ = f(x,y) ẏ = g(x,y) t εt ẋ = f(x,y) ẏ = εg(x,y) ε = Slow Subsystem (DAE) = f(x,y) ẏ = g(x,y) ε = Fast Subsystem ẋ = f(x,y) ẏ = Critical Manifold = f(x,y)

Reduced System Computing Goal: Create computational tools for the study of the reduced system of a singularly perturbed differential equation.

Reduced System Computing Goal: Create computational tools for the study of the reduced system of a singularly perturbed differential equation. Simple Idea: Concatenate solutions to fast and slow subsystems. Create zero th order approximations.

Reduced System Computing Goal: Create computational tools for the study of the reduced system of a singularly perturbed differential equation. Simple Idea: Concatenate solutions to fast and slow subsystems. Create zero th order approximations. Complications:

Reduced System Computing Goal: Create computational tools for the study of the reduced system of a singularly perturbed differential equation. Simple Idea: Concatenate solutions to fast and slow subsystems. Create zero th order approximations. Complications: Canards

Reduced System Computing Goal: Create computational tools for the study of the reduced system of a singularly perturbed differential equation. Simple Idea: Concatenate solutions to fast and slow subsystems. Create zero th order approximations. Complications: Canards Fast periodic orbits (and more general ω limit sets of the fast subsystem)

Slow Subsystem - A Few More Details = f(x,y) ẏ = g(x,y)

Slow Subsystem - A Few More Details = f(x,y) ẏ = g(x,y) Differentiate = f(x,y), solve for ẋ to obtain ẋ = (D x f) (D y f)g(x,y). Multiply by det(d x f). Desingularized slow equations: ẋ = (adjd x f)(d y f)g(x,y) ẏ = det(d x f)g(x,y)

Slow Subsystem - A Few More Details = f(x,y) ẏ = g(x,y) Differentiate = f(x,y), solve for ẋ to obtain ẋ = (D x f) (D y f)g(x,y). Multiply by det(d x f). Desingularized slow equations: ẋ = (adjd x f)(d y f)g(x,y) ẏ = det(d x f)g(x,y) Fold points: f(x,y) =, det(d x f) = Fold points are saddle-node equilibria of the fast subsystem.

Example: Two Coupled Neurons v = v + tanh(σ v ) q ω f(v 2 )(v + 4) v 2 = v 2 + tanh(σ 2 v 2 ) q 2 ω f(v )(v 2 + 4) q = ε( q + v ) q 2 = ε( q 2 + v 2 ) f(v) = +e 4(v /75) Each (v i,q i ) is a relaxation oscillator. When one is firing, the other s v nullcline is depressed ( reciprocal inhibition ). This system has two fast variables and a two dimensional critical manifold.

Fast/Slow System Definition File: cpldosc.fs # Definitions for the coupled oscillator fast/slow system. cpldosc # Fast variables: v, v2 2 v v2 # Slow variables: q, q2 2 q q2 # Parameters: 3 omega sigma sigma2 # Vector field for the fast variables -v+tanh(sigma*v) - q - omega*(v+4)/(+exp(-4*(v2-/75))) -v2+tanh(sigma2*v2) - q2 - omega*(v2+4)/(+exp(-4*(v-/75))) # Vector field for the slow variables -q + v -q2 + v2

Fast/Slow System Definition File: cpldosc.fs # Definitions for the coupled oscillator fast/slow system. cpldosc # Fast variables: v, v2 2 v v2 # Slow variables: q, q2 2 q q2 # Parameters: 3 omega sigma sigma2 # Vector field for the fast variables -v+tanh(sigma*v) - q - omega*(v+4)/(+exp(-4*(v2-/75))) -v2+tanh(sigma2*v2) - q2 - omega*(v2+4)/(+exp(-4*(v-/75))) # Vector field for the slow variables -q + v -q2 + v2

Fast/Slow System Definition File: cpldosc.fs # Definitions for the coupled oscillator fast/slow system. cpldosc # Fast variables: v, v2 2 v v2 # Slow variables: q, q2 2 q q2 # Parameters: 3 omega sigma sigma2 # Vector field for the fast variables -v+tanh(sigma*v) - q - omega*(v+4)/(+exp(-4*(v2-/75))) -v2+tanh(sigma2*v2) - q2 - omega*(v2+4)/(+exp(-4*(v-/75))) # Vector field for the slow variables -q + v -q2 + v2

Fast/Slow System Definition File: cpldosc.fs # Definitions for the coupled oscillator fast/slow system. cpldosc # Fast variables: v, v2 2 v v2 # Slow variables: q, q2 2 q q2 # Parameters: 3 omega sigma sigma2 # Vector field for the fast variables -v+tanh(sigma*v) - q - omega*(v+4)/(+exp(-4*(v2-/75))) -v2+tanh(sigma2*v2) - q2 - omega*(v2+4)/(+exp(-4*(v-/75))) # Vector field for the slow variables -q + v -q2 + v2

Fast/Slow System Definition File: cpldosc.fs # Definitions for the coupled oscillator fast/slow system. cpldosc # Fast variables: v, v2 2 v v2 # Slow variables: q, q2 2 q q2 # Parameters: 3 omega sigma sigma2 # Vector field for the fast variables -v+tanh(sigma*v) - q - omega*(v+4)/(+exp(-4*(v2-/75))) -v2+tanh(sigma2*v2) - q2 - omega*(v2+4)/(+exp(-4*(v-/75))) # Vector field for the slow variables -q + v -q2 + v2

Fast/Slow System Definition File: cpldosc.fs # Definitions for the coupled oscillator fast/slow system. cpldosc # Fast variables: v, v2 2 v v2 # Slow variables: q, q2 2 q q2 # Parameters: 3 omega sigma sigma2 # Vector field for the fast variables -v+tanh(sigma*v) - q - omega*(v+4)/(+exp(-4*(v2-/75))) -v2+tanh(sigma2*v2) - q2 - omega*(v2+4)/(+exp(-4*(v-/75))) # Vector field for the slow variables -q + v -q2 + v2

Fast/Slow System Definition File: cpldosc.fs # Definitions for the coupled oscillator fast/slow system. cpldosc # Fast variables: v, v2 2 v v2 # Slow variables: q, q2 2 q q2 # Parameters: 3 omega sigma sigma2 # Vector field for the fast variables -v+tanh(sigma*v) - q - omega*(v+4)/(+exp(-4*(v2-/75))) -v2+tanh(sigma2*v2) - q2 - omega*(v2+4)/(+exp(-4*(v-/75))) # Vector field for the slow variables -q + v -q2 + v2

Computer Code Generation C code is generated, to be used with the SUNDIALS suite [http://www.llnl.gov/casc/sundials] SUNDIALS includes CVODE for ODEs and IDA for DAEs.

Computer Code Generation C code is generated, to be used with the SUNDIALS suite [http://www.llnl.gov/casc/sundials] SUNDIALS includes CVODE for ODEs and IDA for DAEs. Jacobians are generated automatically (via GiNaC)

Computer Code Generation C code is generated, to be used with the SUNDIALS suite [http://www.llnl.gov/casc/sundials] SUNDIALS includes CVODE for ODEs and IDA for DAEs. Jacobians are generated automatically (via GiNaC) Some MATLAB code is also generated. Other target languages or libraries could be implemented.

Computer Code Generation C code is generated, to be used with the SUNDIALS suite [http://www.llnl.gov/casc/sundials] SUNDIALS includes CVODE for ODEs and IDA for DAEs. Jacobians are generated automatically (via GiNaC) Some MATLAB code is also generated. Other target languages or libraries could be implemented. Input file: cpldosc.fs Output files: fs_cpldosc.c fs_cpldosc_cvode.c fs_cpldosc_ida.c fs_cpldosc.m General C functions C functions for CVODE C functions for IDA MATLAB functions

Computer Code Generated The generated code includes:

Computer Code Generated The generated code includes: Fast vector field and IVP solver Fast vector field, to be used with CVODE int cpldoscf_cv(realtype t, N_Vector Xvec, N_Vector Xdotvec, void *params) Fast vector field Jacobian int cpldoscfx_cv(long int N, DenseMat Fx, realtype t, N_Vector Xvec, N_Vector Fvec, void *params, N_Vector tmp, N_Vector tmp2, N_Vector tmp3) Solve the fast subsystem IVP void cpldosc_fast(file *fastfile, double X[], double Y[], double params[], SolverParams *solver_params)

Computer Code Generated The generated code includes: Slow subsystem DAE, configured for IDA Compute residuals for the IDA DAE solver int cpldosc_idares(realtype t, N_Vector Zvec, N_Vector Zdotvec, N_Vector rvec, void *params) Jacobian for IDA DAE solver int cpldosc_idajac(long int Neq, realtype t, N_Vector Zvec, N_Vector Zdotvec, N_Vector rvec, realtype c_j, void *params, DenseMat jacmat, N_Vector tmp, N_Vector tmp2, N_Vector tmp3) Solve the slow subsystem DAE IVP void cpldosc_slow_dae(file *slowfile, double X[], double Y[], double params[], SolverParams *solver_params)

Computer Code Generated The generated code includes: Desingularized slow subsystem (for CVODE) Desingularized slow subsystem vector field int cpldosc_slowde(realtype t, N_Vector Zvec, N_Vector Zdotvec, void *params) Desingularized slow subsystem IVP solver void cpldosc_slow_des(file *slowfile, double X[], double Y[], double params[], SolverParams *solver_params)

Computer Code Generated The generated code includes: Fold function and Jacobian Fold function realtype cpldosc_foldfunc_nv(n_vector Zvec, void *params) Fold function gradient (with respect to all variables) void cpldosc_foldfunc_grad_nv(double *grad, N_Vector Zvec, void *params)

Example: Initial Value Problem for the Coupled Oscillator System.5.6.4.2.5 v 2 q.2.4.5.6.5.5.5.5.5 v.8 v 2.5.5 v.5.5 (ω =.5, σ =.5, σ 2 = 2.6)

Periodic Orbits of the Coupled Oscillator System (ω =.5, σ 2 =.2).5.6.5.4.2 v 2.5 q.2.4.6.8.5.5.5.5.5.5.5.5.5 v v 2 v σ =.2

Periodic Orbits of the Coupled Oscillator System (ω =.5, σ 2 =.2).5.6.5.4.2 v 2.5 q.2.4.6.8.5.5.5.5.5.5.5.5.5 v v 2 v σ =.3

Periodic Orbits of the Coupled Oscillator System (ω =.5, σ 2 =.2).5.6.5.4.2 v 2 q.2.5.4.6.8.5.5.5.5.5.5.5.5.5 v v 2 v σ =.4

Periodic Orbits of the Coupled Oscillator System (ω =.5, σ 2 =.2).5.6.5.4.2 v 2 q.2.5.4.6.8.5.5.5.5.5.5.5.5.5 v v 2 v σ =.5925

Periodic Orbits of the Coupled Oscillator System (ω =.5, σ 2 =.2).5.6.5.4.2 v 2 q.2.5.4.6.8.5.5.5.5.5.5.5.5.5 v v 2 v σ =.625

Periodic Orbits of the Coupled Oscillator System (ω =.5, σ 2 =.2).5.6.5.4.2 v 2 q.2.5.4.6.8.5.5.5.5.5.5.5.5.5 v v 2 v σ =.625

Periodic Orbits of the Coupled Oscillator System (ω =.5, σ 2 =.2).5.6.5.4.2 v 2 q.2.5.4.6.8.5.5.5.5.5.5.5.5.5 v v 2 v σ =.6325

Periodic Orbits of the Coupled Oscillator System (ω =.5, σ 2 =.2).5.6.5.4.2 v 2.5 q.2.4.6.8.5.5.5.5.5 v v 2.5.5 v.5.5 σ =.8

Periodic Orbits of the Coupled Oscillator System (ω =.5, σ 2 =.2).5.6.5.4.2 v 2.5 q.2.4.6.8.5.5.5.5.5 v v 2.5.5 v.5.5 σ = 2.5

Periodic Orbits of the Coupled Oscillator System (ω =.5, σ 2 =.2).5.6.5.4.2 v 2.5 q.2.4.6.8.5.5.5.5.5 v v 2.5.5 v.5.5 σ = 3

Periodic Orbits of the Coupled Oscillator System (ω =.5, σ 2 =.2) σ =.2.5 σ =.8.5.5 v v.5.5.5.5.5 2 2.5 3 3.5 4 4.5 t.5 2 3 4 5 6 7 t σ =2.5 σ =3..5.5.5.5 v v.5.5.5 5 5 2 25 3 t.5 2 4 6 8 2 4 t

Bifurcation Diagram: Stable Periodic Orbits ( Poor man s continuation; not a complete diagram)..5 L2 norm (slow subsystem).95.9.85.8.75.7.2.4.6.8 2 2.2 2.4 2.6 2.8 3 σ

Bifurcation Diagram: Stable Periodic Orbits ( Poor man s continuation; not a complete diagram)..5 L2 norm (slow subsystem).95.9.85.8.75.7.2.4.6.8 2 2.2 2.4 2.6 2.8 3 σ

Observations Bifurcations observed at:

Observations Bifurcations observed at: Fold-to-fold fast transition (SN-SN connection in fast subsystem)

Observations Bifurcations observed at: Fold-to-fold fast transition (SN-SN connection in fast subsystem) (Fold-to-fold examples where the slow flow is towards the fold or away from the fold have been observed.)

Observations Bifurcations observed at: Fold-to-fold fast transition (SN-SN connection in fast subsystem) (Fold-to-fold examples where the slow flow is towards the fold or away from the fold have been observed.) Periodic orbits homoclinic to a folded saddle.

Observations Bifurcations observed at: Fold-to-fold fast transition (SN-SN connection in fast subsystem) (Fold-to-fold examples where the slow flow is towards the fold or away from the fold have been observed.) Periodic orbits homoclinic to a folded saddle. The investigation is not complete!

Current and Future Development

Current and Future Development RSC boundary value problem solver that handles canards.

Current and Future Development RSC boundary value problem solver that handles canards. Computing and continuing periodic orbits.

Current and Future Development RSC boundary value problem solver that handles canards. Computing and continuing periodic orbits. Find fast/slow orbit homoclinic to folded singular points. These play an import role in the bifurcations of periodic orbits: J. Guckenheimer, K. Hoffman, W. Weckesser, Bifurcations of relaxation oscillations near folded saddles, Int. J. Bif. Chaos 5(), (25) M. Brøns, M. Krupa, M. Wechselberger, Mixed Mode Oscillations Due to the Generalized Canard Phenomenon, Fields Institute Communications Vol. 49, 39-63 (26)