When gas mixtures are put under pressure each gas behaves as if it is the only gas under pressure. Example: If gas A is 80 percent of a mixture, and gas B is 20 percent and the pressure is 100PSI,then Gas B only contributes 20 percent of the pressure, Gas A 80%.
This is the principle of LP refrigerators.
https://thewiredshopper.com/wp-content/uploads/2022/12/How-Does-a-Propane-Refrigerator-Work.jpg
With that in mind it should be possible to select 2 or more gasses with different boiling points to create a cooling cycle, with waste heat exhausted back into the attic to enhance efficiency, maybe by utilizing heat pipes to improve heat movement..
The attic heat would be the compressor, sort of like the LP in a gas powered refrigerator.
The boiling point must be within the attic temperature range to work, but on the hottest days, they would work the best, when you need it the most.
I am sure someone has thought of this before and it will not work, but I would like some feedback on why it will not work.
"Almost" Good Answers: