Optimized design of switched reluctance motors by