Stability analysis of a pressure swing adsorption process