English

JuTrack: a Julia package for auto-differentiable accelerator modeling and particle tracking

Accelerator Physics 2024-12-30 v2

Abstract

Efficient accelerator modeling and particle tracking are key for the design and configuration of modern particle accelerators. In this work, we present JuTrack, a nested accelerator modeling package developed in the Julia programming language and enhanced with compiler-level automatic differentiation (AD). With the aid of AD, JuTrack enables rapid derivative calculations in accelerator modeling, facilitating sensitivity analyses and optimization tasks. We demonstrate the effectiveness of AD-derived derivatives through several practical applications, including sensitivity analysis of space-charge-induced emittance growth, nonlinear beam dynamics analysis for a synchrotron light source, and lattice parameter tuning of the future Electron-Ion Collider (EIC). Through the incorporation of automatic differentiation, this package opens up new possibilities for accelerator physicists in beam physics studies and accelerator design optimization.

Keywords

Cite

@article{arxiv.2409.20522,
  title  = {JuTrack: a Julia package for auto-differentiable accelerator modeling and particle tracking},
  author = {Jinyu Wan and Helena Alamprese and Christian Ratcliff and Ji Qiang and Yue Hao},
  journal= {arXiv preprint arXiv:2409.20522},
  year   = {2024}
}
R2 v1 2026-06-28T19:02:41.129Z