Application of DARS 1D on in-cylinder combustion and aftertreatment