A general model of pulverized coal devolatilization