A method and apparatus of identifying engine gas composition in an engine
cylinder comprise obtaining a measure of cylinder pressure from a
cylinder pressure sensor, deriving the polytropic index from said measure
and obtaining a measure of the quantity of an engine gas component
therefrom.