Text this: A systems engineering approach to metallurgical accounting of integrated smelter complexes