Rapid modelling and control of exhaust after-treatment systems