A bench-scale reactor for pyrolysis and gasification: state of the art and design