Lecture note on electrical machine 1