Ternary desorption and displacement kinetics of gases in activated carbon