TMA infiltration was modelled by adding an increasing number of TMA molecules into the polymer supercell, up to a maximum of one TMA per monomer (16 TMA molecules) and optimizing the structure and volume. The TMA molecules were initially placed in close proximity to the C=O groups in the polymers to allow formation of the adduct structure found in the non-periodic model.