In this paper the simulation of a thermodynamic power cycle for a 4-stroke, single-cylinder, spark-ignition engine was studied. In this simulation the cylinder volume was restricted to two zones, a burnt and an unburnt zone, and the convective heat transfer from cylinder contents to surroundings was considered. The chemical species in burnt gas considered was 12 species including H$_{2}$O, H$_{2}$, OH, H, N$_{2}$, NO, N, CO$_{2}$, CO, $O_{2}$, O and Ar. Using this model, computer program for compression, ignition and expansion processes was composed and pressure, temperature and composition of cylinder gas at each crank angle were computed. The composition of CO$_{2}$, CO, $O_{2}$ in the burnt gas when exhaust valve opens, the maximum temperature, the maximum flame speed and the combustion duration were also computed as a function of equivalence ratio. The relation between burnt mass fraction and burnt volume fraction was also computed.