A new model to predict pyrolysis, ignition and burning of flammable materials in fire tests