Construction and principle of electric machines operation