Simulating the changes in carbon structure during the burn-off process.