Introduction to XPP - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

Introduction to XPP

Description:

Introduction to XPP Yanni Xiao Group meeting, 31st January 2006 XPP is a tool for solving Differential equations Difference equations Delay equations ... – PowerPoint PPT presentation

Number of Views:77
Avg rating:3.0/5.0
Slides: 17
Provided by: yanni7
Category:

less

Transcript and Presenter's Notes

Title: Introduction to XPP


1
Introduction to XPP
Yanni Xiao Group meeting, 31st
January 2006
2
What is XPP/ XPPAUT ?
  • XPP is a tool for solving
  • Differential equations
  • Difference equations
  • Delay equations
  • Functional equations
  • Boundary value problems
  • Stochastic equations

XPP contains the code for the bifurcation program
AUTO (You can switch back and forth between
XPP and AUTO, using the values of one program
in the other and vice-versa)
Free download from http//www.math.pitt.edu/ba
rd/xpp/xpp.html
3
Capabilities of XPP
  • Handle up to 590 differential equations
  • Over a dozen solvers including several for
    stiff systems(or integral equations)
  • Up to 10 graphics windows can be visible at
    once
  • PostScript output, or GIF
  • Equilibria, linear stability and 1-d invariant
    sets can be computed
  • Nullclines and flow fields aid in the
    qualitative understanding 2-d models
  • Poincare maps and equations on cylinders and
    tori are supported
  • Automatically generate movies of
    three-dimensional views of attractors or
    parametric changes in the attractor as some
    parameters vary.

The basic unit for Xpp a single ode file
including variables, parameters, equations and
etc.
4
Creating and running an ODE file
The basic unit for XPP is a single ode file that
has
  • Equations,
  • Parameters,
  • Variables,
  • Boundary conditions,
  • Functions

5
Simple example Lorenz equation
Where s, r and b are parameters.
6
ODE file for Lorenz equation
7
Plotting options
AXES(2,3) determine whether a 2D or 3D plot will
be displayed. PHIvalue,THETAvalue
set the angles for the
three-dimensional plots XLOvalue,YLOvalue,
XHIvalue,YHIvalue set the limits for two
dimensional plots XMAXvalue, XMINvalue,
YMAXvalue, YMINvalue, ZMAXvalue, ZMINvalue
set the scaling for three-d plots.
8
(No Transcript)
9
Solutions (y versus t) to the Lorenz equation
10
Solutions in 3-d to the Lorenz equation
11
Bifurcation Calculations with AUTO Contents
  • Preparation
  • Choosing the hot parameters
  • Choosing the plotting axes
  • Setting up the numerical parameters
  • Use defined points (EP, LP, HB)
  • Running and continuing from a point
  • Specially labeled points
  • Traversing the diagram and selecting points
  • Stropping a calculation
  • Saving printing resetting diagrams

12
AUTO window
13
Example 1
A vaccination model with backward bifurcation
S Susceptibles I Infectives V
Vaccinated
14
One-parameter bifurcation diagram
(Infecteds
versus the transmission rate )
15
Example 2
SIRS model with three routes of transmission
S Susceptibles I Infectives R
Recovered W Infectious units in the
environment
16
Two-parameter bifurcation diagram
LAS
US
Write a Comment
User Comments (0)
About PowerShow.com