Dynamic analysis of sorption of hydrogen in activated carbon