A coarse-grained method based on the analysis of short molecular dynamics trajectories for the simulation of non-Markovian dynamics of molecules adsorbed in microporous materials.