An improved model for fixed-bed coal combustion and gasification: sensitivity analysis and applications