This example provides a set of MatCalc scripts for simulation of AlN precipitation in steel. This study was published in ref.1) The main feature of these examples is the simultaneous precipitation of AlN on dislocations and grain boundaries. The simulations make use of volumetric misfit data for AlN in the nucleation stage as well as the special diffusion geometry for grain boundary precipitation developed in ref.2)