Mercury release from municipal solid waste in the thermal treatment process