Modelling complex molecular interactions in catalytic materials for energy storage and conversion in nuclear magnetic resonance