Fundamentals of Alternating-Current Machines