Real-time simulation of torque and nitrogen oxide emissions in an 11.0 L heavy-duty diesel engine for model-based combustion control