Python Simulation of Linear and Non-Linear Accelerator Elements

Oscar Elmqvist Sandvik · Lund University Publications Student Papers (Lund University) · 2016

For this thesis I have programmed and tested a particle simulator. It was coded in the Python programming language. In this simulator, both linear and non-linear elements can be used. The design philosophy was to make the program object-oriented for easy addition of new element types with a modular result. The Python language allowed for a smooth implementation and kept the code clear. In order to benchmark and test the code's correctness, its results have been compared with the results of TraceWin, a widely used particle-tracking package, with good agreement for the essential parts.

Read the paper · More papers on PaperTik