Modelling of adsorption in cyclic operation of a PSA plant for H2 recovery