What do you mean by rapid compression machine? Is it an internal combustion engine? If so what type of engine? Spark Ignition or Compression Ignition?
If you want the heat released from the fuel you just simply multiply the quantity of fuel used by the calorific value of the fuel. This will give you the total amount of heat released by the fuel.