Analogy between Electrical Machines and Power Electronic Converters