Optimum performance of thermal trap collectors