Modeling of CO2 sorption on coal