the shift reactor i after the shift reaction the synthesis gas is fed through line 240 to heat exchanger j and fed to a knockout drum k where process condensate which is mainly water and traces of co 2 leaves unit operation k through line 270 the synthesis gas is fed through line 250 to a compressor l which feeds the compressed synthesis gas to a pressure swing adsorption unit m pressure 15 to 35 barg temperature 25 u00b0 to 50 u00b0 c which will separate the trace carbon dioxide and the methane from the hydrogen and nitrogen present in the synthesis gas mixture the carbon dioxide and methane are fed through line 280 to join with line 440 for feed as a fuel into the regenerator f the hydrogen and nitrogen are fed from the pressure swing adsorption unit m through line 290 to a compressor n where they are then fed through line 301 to a heat exchanger o before entering the ammonia reactor p pressure 150 to 250 barg and temperature 350 u00b0 to 490 u00b0 c the result of the pressure swing adsorption unit m operation will yield hydrogen and nitrogen in a ratio of 3 to 4 which is an appropriate.