Determination of Critical Parameters in Electrical Machine Thermal Models