Advances in modeling gas adsorption in porous materials for the characterization applications