Mining energy consumption as a function of ore grade decline: the case of lead and zinc