Open loop optimal control for plasma scenarios in the presence of eddy currents