how to calculate the energy consumption of ball mill