Diffusion in energy materials: Governing dynamics from atomistic modelling