At MAX IV a photoinjector is used for producing electron beams for further acceleration. These electron beams are then used as driver for the short pulse facility or the storage rings, thus creating the possibility for experiments on the beamlines.
For research into improvement of the electron beam, a simulation program called ASTRA is used. These simulations are used to improve the quality of the electron beam as well as finding new working points.
The run times on a single-core for are pretty long, and there is a parallelized version of ASTRA which benefits from multiple cores. Running the parallel version both enables quicker simulations and also the usage of a higher number of particles in each simulation, thus improving the simulation result.