Simulation of magnetic control of the plasma shape on the DEMO tokamak