Prediction of residual capacity in thin adsorbers