A theoretical simulation model of a direct injection Diesel engine for control applications