The bio-energy production system generally consists of two process stages, first, biomass production and second, biomass (pre-)treatment and conversion into energy products, e.g. heat, electricity, gaseous and liquid fuels like methane, ethanol and biodiesel.