Classification of diesel and gasoline dual-fuel combustion modes by the analysis of heat release rate shapes in a compression ignition engine