Optimization of the on-board linear generator in EMS-MAGLEV trains