Stav dette: Design and optimization of thermal systems