Chemical plant for production of ammonia and nitrogen fertilization