Electro-magnetic modeling and design optimization of synchronous reluctance machines and single-phase induction machines