Energy consumption in carbon capture