Analysis of gasification and tar reforming with in-situ generated char and steam