A versatile pressurized reactor is required for performing lignocellulose biorefinery operations. The purpose is to have a reactor system allowing to run different pretreatment methods, e.g., hydrothermal, organosolv, acid-catalyzed, and alkali-catalyzed processes.