Theory-based modelling of ASDEX Upgrade discharges with ECH modulation