Calculation of combustion