CCU and waste heat recovery system design