Measurement and modeling of lignin pyrolysis