Skip to content


2022 Bmad/Tao Introductory Course

Registration: For information on course dates and registration, please visit the course Indico (

Bmad is an object oriented, open source, subroutine library for charged-particle dynamics simulations in accelerators and storage rings. Tao is a general purpose simulation program (much like MAD) built with Bmad as its calculational engine. There is a long list of things Bmad can do such as:

  • Design ERLs
  • Optics matching
  • Particle tracking
  • Polarized beams
  • Nonlinear dynamics and Taylor maps
  • Synchrotron radiation tracking
  • etc., etc.

Bmad is particularly adept at handling multi-pass beamlines, including proper phase control of RF cavities, and thus is an ideal tool for design and simulation of ERLs. Further information on the Bmad library can be found at:

The majority of the course will consist of an interactive introduction on how to create Bmad lattice files and use Tao to examine and design lattices. The latter part of the course will then show how to use Bmad and Tao to construct an ERL lattice.

The course format will be "reverse classroom" with students reading and doing exercises from the "Tutorial to Bmad and Tao" tutorial ( aided by the teachers.

Prerequisites: Having a laptop is the only formal prerequisite. Familiarity with basic Linux commands and the command line along with knowledge of basic accelerator physics concepts will be assumed.

Slack: A place to ask questions is the Bmad/Tao discussion on Slack. To join, follow the link: If you have any problems joining the Slack workspace, please contact