Pellets are used in ASDEX Upgrade  to control plasma density under conditions of ELM control or divertor detachment. In experiments presented here direct fuelling by gas is negligible. Relative pellet size and pellet deposition are aimed to approach those in ITER but differences still remain. ELMs are controlled by n=2 RMPs in feed forward mode . Divertor detachment is controlled by nitrogen gas in feedback mode.