This document discusses a computer simulation of a compression ignition engine using MATLAB. The simulation models the engine cycle in two zones - a burned zone and unburned zone. It uses a Wiebe function to determine the mass fraction burned and calculates parameters like pressure, temperature, heat release and emissions over the engine cycle. The simulation is first validated against experimental engine test data. Sensitivity studies are then conducted by varying combustion model constants to better understand their impact on predictions and combustion mechanisms. The simulation calculates performance parameters like brake power, fuel consumption and efficiencies over the engine's operating range. It aims to provide insights into combustion and pollutant formation at different loads and injection timings.