Design and finite element analysis of switched reluctance motors