Stav dette: Modeling and high performance control of electric machines