Friction work evaluation in Diesel engine