Molecular simulation of alkane and alkene diffusion in nanoporous membranes to allow for an energy-efficient separation.