Implementation and assessment of a model-based controller of torque and nitrogen oxide emissions in an 11 L heavy-duty diesel engine