Rotor design optimization of a 4000 rpm permanent magnet synchronous generator using moth flame optimization algorithm | Synapse