Breve descrizione dei contenuti: Atomistic modelling was employed to investigate the effect of microstrain on X-ray diffraction patterns in nanocrystal microstructures. A strain defined on atomic scale from atom positions is computed to represent the local deformation associated with microstructures such as grain boundaries. Our emphasis is put on the separate contributions from dynamic and static atomic displacements to the corresponding powder diffraction patterns.