Modelling of measured tungsten spectra from ASDEX Upgrade and predictions for ITER