Heterogeneous model for moving-bed coal gasification reactors