Vector control of a synchronous reluctance motor including iron loss