Optimization of the magnetic configuration in EMS-MAGLEV systems