Model Based Optimization Of Internal Heat Sources In Machine Tools