Equilibrium theory for hysteresis-dependent fixed-bed desorption