Thermodynamic cycles using thermal diluent