Hub training course: An introduction to electrical machines