Simulation of a moving bed gasifier for a western coal