An investigation on the pyrolysis of municipal solid waste