One is known as "stockpile management," whereby an analyzer located upstream of the pile is able to track the cumulative chemistry of the pile.  This allows the operator to direct haul trucks to different sections of the quarry in a way that will result in the final elemental composition of the pile close to target.