Thermodynamic Analysis of Digestate Pyrolysis Coupled with CO2 Sorption (Lecture notes in computer science)