An automatic system for multi-element solvent extractions