Formation of dioxin in industrial combustors and pyrometallurgical plants