Generic electric machine thermal model development using an automated finite difference approach | IEEE Conference Publication | IEEE Xplore