A method for thermal characterization and modeling of large gantry-type machine tools