SMS dit: Design and optimization of thermal systems