Simulation of turbocharged diesel engines under transient conditions