Energy resource from wood processing waste