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

  • Protein crystallography at BESSY II: faster, better and more and more automatic
    Interview
    04.03.2026
    Protein crystallography at BESSY II: faster, better and more and more automatic
    Many diseases are linked to malfunctions of proteins in the organism. The three-dimensional architecture of these molecules is often highly complex, but it can provide valuable insights into biological processes and the development of drugs. X-ray diffraction at the MX beamlines of BESSY II can be used to decipher the 3D structure of proteins. To date, more than 5000 structures have been solved at the three MX beamlines. Here, we present a review and an outlook with  Manfred Weiss, head of the research group for macromolecular crystallography. 
  • What Zinc concentration in teeth reveals
    Science Highlight
    19.02.2026
    What Zinc concentration in teeth reveals
    Teeth are composites of mineral and protein, with a bulk of bony dentin that is highly porous. This structure is allows teeth to be both strong and sensitive. Besides calcium and phosphate, teeth contain trace elements such as zinc. Using complementary microscopy imaging techniques, a team from Charité Berlin, TU Berlin and HZB has quantified the distribution of natural zinc along and across teeth in 3 dimensions. The team found that, as porosity in dentine increases towards the pulp, zinc concentration increases 5~10 fold. These results help to understand the influence of widely-used zinc-containing biomaterials (e.g. filling) and could inspire improvements in dental medicine.
  • Fascinating archaeological find becomes a source of knowledge
    News
    12.02.2026
    Fascinating archaeological find becomes a source of knowledge
    The Bavarian State Office for the Preservation of Historical Monuments (BLfD) has sent a rare artefact from the Middle Bronze Age to Berlin for examination using cutting-edge, non-destructive methods. It is a 3,400-year-old bronze sword, unearthed during archaeological excavations in Nördlingen, Swabia, in 2023. Experts have been able to determine how the hilt and blade are connected, as well as how the rare and well-preserved decorations on the pommel were made. This has provided valuable insight into the craft techniques employed in southern Germany during the Bronze Age. The BLfD used 3D computed tomography and X-ray diffraction to analyse internal stresses at the Helmholtz-Zentrum Berlin (HZB), as well as X-ray fluorescence spectroscopy at a BESSY II beamline supervised by the Bundesanstalt für Materialforschung und -prüfung (BAM).