Öffnet in neuem Fenster Opens in a new window Öffnet externe Seite Opens an external site Öffnet externe Seite in neuem Fenster Opens an external site in a new window

Department Accelerator Operation, Development and Technology

P12- Lattice Designer

P12 is a fast calculating analytical programme for Lattice Design based on linear beam optics, which is equiped with special subroutines for undulator focussing and transverse space-charge influences.

P12 was developed at the Helmholtz-Zentrum Berlin für Materiaien und Energie (HZB), Germany, by Lutz Hein, as part of his diploma thesis. It is an open source, noncommercial product. P12 is maintained by Lutz Hein at HZB; the code as well as the manual will be updated regularly on this website. Please contact him for further information or questions on P12.

If you download P12 for the first time or you are not registered, please register yourself by e-Mail. All registered users will be notified by e-Mail on new information on the code (found bugs, new features etc).


  • Graphical user interface
  • Ascii I/O-files
  • Subroutines for the analytical approach of the space charge effects
  • Subroutines for several undulator models

Source Code

1a18/09/2009Pascal/Delphi (2007) Code, Windows executable
P12 -> Code (zip, 1.5 MB)
P12 -> Windows executable (zip, 1.2 MB)
1bPascal/Delphi Code, Windows executable
P12 ->Code
P12 -> Windows executable


PDF (4.7 MB)
Diploma Thesis "Space Charge Effects in Cascaded HGHG-FELs"
von Lutz Hein
PDF (247 KB)
User Manual
PDF (1.8 MB)
Presentation " Space Charge Effects in Cascaded HGHG-FELs "
von Lutz Hein