Neoclassical Tearing Modes (NTMs) are a class of MHD instability in high beta tokamak plasmas which significantly increase radial transport, thus capping the performance of fusion plasmas. More importantly, NTMs can lead to disruptions which compromise the lifetime of structural components. Several tokamaks have demonstrated that electron cyclotron resonant heating (ECRH) can stabilise NTMs if the power deposition is aligned with the mode location. The deposition location depends on the toroidal magnetic field, flux and density profiles, and can be controlled by tilting the mirror in the ECRH launcher. Until recently, the mirror angle was set by feedforward control at ASDEX Upgrade.In order to adapt automatically to different discharge scenarios, the system at ASDEX Upgrade has been extended to steer the mirror using feedback control. The mirror must react on the current diffusion time scale, on the order of 100 ms. This is within the capabilities of the mechanical subsystem and real-time plasma diagnostics, but requires careful interfacing between these components. For example, asynchronous data transfer and non-linearities make it difficult to design an analytically optimal controller. Therefore a simulation has been used to test and tune different controller architectures. This simulation is the subject of the current contribution. Performing the optimisation process offline saves valuable experiment time and allows risk-free experimentation with novel designs. Settings which were optimised in the simulation led to considerable improvement of the system performance.