Technological advancements drive vertical integration of waste heat from mining and reduce overall renewable energy costs by a factor of two