Dynamic multipole shimming of the APPLE undulator UE112

The dynamic multipoles of the BESSY APPLE undulator UE112 have successfully been shimmed for the elliptical mode using Fe-shims. In the inclined mode the multipoles have to be minimized actively. This can be accomplished either with an array of flat current wires or with rotating permanent magnets. Both methods are compared with respect to accuracy, flexibility and complexity. For both strategies the dynamic properties of the device have been studied in tracking simulations which are based on a generating function formalism using an analytic description of the undulator and the shim field integrals.