Text this: Development of non-stationary model of pyrolysis