Switched-reluctance motor performance analysis based on an improved modeling of its magnetic characteristics