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

  • Disorder creates new properties in compound semiconductors
    Science Highlight
    29.06.2026
    Disorder creates new properties in compound semiconductors
    An international research team has demonstrated that the intrinsic disorder of the compound semiconductor CuInSnS₄ can be exploited to influence its optical properties. While the atomic vibrations also sense the local disorder, their response is averaged over many different local environments and therefore appear isotropic, as expected for a cubic crystal. In contrast, the optical excitations, known as excitons, are much more sensitive to the local arrangement of atoms. Surprisingly, they show a direction-dependent optical response even though the average crystal structure is cubic. These findings shed new light on the relationship between disorder and material properties, opening up new options for targeted 'disorder engineering' in optoelectronic and photocatalytic devices.
  • Superconducting TES array X-ray spectrometer goes into operation at BESSY II
    Science Highlight
    15.06.2026
    Superconducting TES array X-ray spectrometer goes into operation at BESSY II
    Europe's first and only TES-spectrometer at a synchrotron source is now in operation at BESSY II, developed within a collaboration between the HZB, the MPI-CEC (Mühlheim-an-der-Ruhr, Germany) and the NIST (Boulder CO, USA). The photon detection efficiency of the new instrument exceeds that of wavelength-dispersive X-ray emission spectrometers by a factor of 100 to 1000.  It will be used to investigate the electronic properties of atomically thin layers, nanostructures and highly diluted atomic and molecular samples. The team is looking forward to receiving exciting research proposals from the user community.
  • Magnon momentum microscopy: A new window into nanoscale spin-waves
    Science Highlight
    08.06.2026
    Magnon momentum microscopy: A new window into nanoscale spin-waves
    An international team lead by the Max Born Institute has developed a new type of momentum microscopy to image magnons — the quanta of collectively excited spins — directly in two-dimensional reciprocal space using soft X-rays. Measurements have taken place at BESSY II and PETRA III, first author ist the HZB physicist Steffen Wittrock. Owing to its remarkable sensitivity, simplicity, and access to nanometer-scale wavelengths, this novel technique establishes a powerful and versatile platform for exploring nonlinear magnon interactions, which are promising for future computing schemes.