Deakstadieđáhus: Thermodynamics of energy production from biomass