The cellulose and hemicellulose will be converted into fermentation sugars in a so-called biorefinery. The remaining lignin-rich fraction will be combusted or gasified to produce steam which will in turn provide thermal energy for the various conversion processes;