2D modelling of the ASDEX-Upgrade scrape-off layer and divertor plasma