Model order reduction of thermal models of machine tools with varying boundary conditions