Estimation of the Engine Thermal State by in-Cylinder Pressure Measurement in Automotive Diesel Engines