A comparison of projected thermoelectric and thermionic refrigerators