Principles of Electric Machines and Power Electronics