energy balance for ball mill