Development of a Thermal Model for an Inner Stator Type Reluctance Motor