Optimal Control Algorithms for Klystron Efficiency in ESS
European Spallation Source (ESS) is a linear particle accelerator planned to be built in Lund, Sweden. There is a need to control the electric field in the cavities in the particle accelerator, according to given specifications of the field. The aim of this thesis is to compare a traditional PI controller to an MPC controller, to see if there is any difference in the performance that can be achiev