Python Simulation of Linear and Non-Linear Accelerator Elements
I mitt exjobb har jag programmerat en partikelsimulator vid forskningsanläggningen ESS. Partikelsimulatorn håller reda på var partiklarna är och vart de är på väg i partikelacceleratorn.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