A Fast Way of Electron Orbit Simulation in Complex Magnetic Fields

Vertical cut through a quadrupole magnet: Black: Field distribution at a fixed vertical distance to the midplane. Magenta: Electron trajectories for various initial coordinates.

Vertical cut through a quadrupole magnet: Black: Field distribution at a fixed vertical distance to the midplane. Magenta: Electron trajectories for various initial coordinates. © C. Rethfeldt/HZB

The design  of  advanced synchrotron radiation sources requires precise  algorithms  for the  simulation of electron trajectories in  complex magnetic fields. However, multi-parameter studies can  be very time consuming. Now, a team of the HZB has developed a new algorithm which significantly reduces the computation time.  This approach is now published in the renowned journal “Physical Review Special Topics Accelerator & Beams”.

In a storage ring like BESSY II electrons circulate nearly with the speed of light passing complex magnetic structures. These magnets guide the electron beam and focus it on the ideal orbit. They are comparable to optical lenses which focus the light. To evaluate the stability of the electron trajectories in the magnetic fields, several thousands of turns need to be simulated.  After each revolution the trajectories are slightly different, passing the magnets at slightly different positions. These combined and complex orbit and field calculations require a precise algorithm which could easily result in time consuming simulations.

Already in 2011, a team out of the HZB undulator group and of the HZB-institute of accelerator physics has published  a first paper of a new simulation algorithm [2], which drastically speeds up the simulation time for trajectories in complex undulator fields. This simulation routine was implemented into the public domain code “elegant“ of the Advanced Photon source / Argonne, and it is available, worldwide.

Now, Malte Titze together with Johannes Bahrdt and Godehard Wüstefeld could extend this method to another important class of  three dimensional magnets: multipoles such as  quadrupoles or sextupoles  [1].

“The paper demonstrates, that this method yields very precise results, particularly within the fast changing fringing fields of the magnets”, Malte Titze explains. He is now engaged in research activities at CERN. “Such simulation methods are of great  interest for future light sources, especially for diffraction limited storage rings, which may include combined function magnets and exhibit significant cross talking between neighboring magnets” comments Johannes Bahrdt. “This is of clear relevance for a successor of BESSY II”. The scientists describe their methods in the renowned journal of “Physical Review Special Topics Accelerator & Beams“.


[1] M. Titze, J. Bahrdt, G. Wüstefeld, „Symplectic tracking through straight three dimensional fields by a method of generating functions“

DOI: 10.1103/PhysRevAccelBeams.19.014001

[2] J. Bahrdt, G. Wüstefeld, “Symplectic tracking and compensation of dynamic field integrals in complex undulator structures”, Phys. Rev. ST Accel. Beams 14, 040703 (2011).

arö

  • Copy link

You might also be interested in

  • Only at BESSY II worldwide: IR nanoscopy at very long THz wavelengths
    Science Highlight
    30.10.2026
    Only at BESSY II worldwide: IR nanoscopy at very long THz wavelengths
    The team at the IRIS beamline at BESSY II has created a new experimental option: They achieved infrared nanoscopy with a spatial resolution of around 50 nm at very long THz wavelengths. This was possible thanks to a temporal pattern of light pulses known as the low-alpha operating mode at BESSY II. Worldwide, BESSY II is the only synchrotron light source at which users could perform nanoscopy in a single setup from 25 to 4000 cm-1, a unique opportunity for ultra-broadband characterisation of complex materials at the nanoscale in both the life sciences and materials sciences.
  • Ultrafast demagnetisation - Thinner iron, stronger effect
    Science Highlight
    23.10.2026
    Ultrafast demagnetisation - Thinner iron, stronger effect
    The thinner an iron film, the more easily it can be demagnetised by a laser pulse. Researchers at the University of Duisburg-Essen, working with Helmholtz-Zentrum Berlin and other partners, have discovered why: the key lies in the magnetic order at the material's interfaces. In the long term, these findings could contribute to the development of new technologies for magnetic data storage. The results have been published in the scientific journal Advanced Science.
  • Spin waves inside a nano-oscillator imaged for the first time
    Science Highlight
    23.09.2026
    Spin waves inside a nano-oscillator imaged for the first time
    For the first time, researchers have directly imaged the magnetisation dynamics inside a spin Hall nano-oscillator — a nanoscale device that converts direct current into tunable microwave signals and is a promising building block for energy-efficient wireless communication and brain-inspired computing. A Swedish–German team led by the University of Gothenburg and Helmholtz-Zentrum Berlin (HZB) achieved this using time-resolved scanning transmission X-ray microscopy at the MAXYMUS instrument at BESSY II. The results, now published in Advanced Materials, reveal spin-wave features that had escaped previous, indirect measurement techniques.