The simulation of an Axial-Flux Permanent Magnet Synchronous Generator in no-load condition