Waste heat recovery for industrial plants