Design of pyrolysis reactor for production of bio-oil and bio-char simultaneously