Vanadium and vanadium compounds to wastewater