The system can roughly be partitioned into the following four units: (1) a gas supply unit, (2) a torrefaction unit, (3) a gas condensation and treatment unit, and (4) a solid cooling unit. Nitrogen was adopted as the carrier gas to sweep samples, and its volumetric flow rate was controlled by a mass flow controller (Alicat Scientific).