Dynamic simulation of high-purity twin-bed N2-PSA plants