Advanced Electric Machines/ Transformer Modeling