Text this: Mathematical modeling of the pyrolysis process