Polymer/additive analysis by flash pyrolysis