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

  • Peat as a sustainable precursor for fuel cell catalyst materials
    Science Highlight
    25.11.2025
    Peat as a sustainable precursor for fuel cell catalyst materials
    Iron-nitrogen-carbon catalysts have the potential to replace the more expensive platinum catalysts currently used in fuel cells. This is shown by a study conducted by researchers from the Helmholtz-Zentrum Berlin (HZB), Physikalisch-Technische Bundesanstalt (PTB) and universities in Tartu and Tallinn, Estonia. At BESSY II, the team observed the formation of complex microstructures within various samples. They then analysed which structural parameters were particularly important for fostering the preferred electrochemical reactions. The raw material for such catalysts is well decomposed peat.
  • Helmholtz Investigator Group on magnons
    News
    24.11.2025
    Helmholtz Investigator Group on magnons
    Dr Hebatalla Elnaggar is setting up a new Helmholtz Investigator Group at HZB. At BESSY II, the materials scientist will investigate so-called magnons in magnetic perovskite thin films. The aim is to lay the foundations for future terahertz magnon technology: magnonic devices operating in the terahertz range could process data using a fraction of the energy required by the most advanced semiconductor devices, and at speeds up to a thousand times faster.
  • The future of corals – what X-rays can tell us
    Interview
    12.11.2025
    The future of corals – what X-rays can tell us
    This summer, it was all over the media. Driven by the climate crisis, the oceans have now also passed a critical point, the absorption of CO2 is making the oceans increasingly acidic. The shells of certain sea snails are already showing the first signs of damage. But also the skeleton structures of coral reefs are deteriorating in more acidic conditions. This is especially concerning given that corals are already suffering from marine heatwaves and pollution, which are leading to bleaching and finally to the death of entire reefs worldwide. But how exactly does ocean acidification affect reef structures?

    Prof. Dr. Tali Mass, a marine biologist from the University of Haifa, Israel, is an expert on stony corals. Together with Prof. Dr. Paul Zaslansky, X-ray imaging expert from Charité Berlin, she investigated at BESSY II the skeleton formation in baby corals, raised under different pH conditions. Antonia Rötger spoke online with the two experts about the results of their recent study and the future of coral reefs.