The science (and what this model leaves out)

The engine is modelled as an air-standard cycle: a fixed mass m of ideal gas (air, γ=1.4, cv=0.718 and cp=1.005 kJ/kg K) is compressed, heated, expanded and cooled. Combustion is replaced by instantaneous heat addition q: at constant volume for the Otto cycle (T3=T2+q/cv), at constant pressure for the Diesel cycle (T3=T2+q/cp, cut-off ratio rc=T3/T2).

Compression and expansion are reversible adiabats, pVγ=const; the piston position follows the real slider-crank geometry V(θ)=Vc+A[(R+l)-(R cosθ+√(l²-R²sin²θ))] (bore 86 mm, stroke 86 mm, rod 143 mm). Four strokes = 720° of crank angle. Intake and exhaust are drawn at ambient pressure (no throttling or valve losses); the exhaust gas is shown at the intake temperature, as the closed-cycle idealisation requires.

Closed forms: ηOtto=1-r1-γ, ηDiesel=1-r1-γ(rcγ-1)/(γ(rc-1)). Mean effective pressure MEP=W/Vd; power of a four-stroke engine P=W·N/120 (N in rpm).

Self-check: the net work is integrated numerically as ∮p dV over the 720° trace, compared with the energy balance m(q-cv(T4-T1)) from the state temperatures and with the textbook efficiency formula.

Simplifications: constant specific heats, no heat loss to the walls, no friction, no dissociation, no knock limit, no real combustion duration. Real engines reach roughly 30-40 % (petrol) and 40-45 % (diesel), well below the ideal figures shown. Otto compression ratio is limited to ~12 by knock; diesels ignite by compression heat, so they run 14-22.

How does an internal combustion engine work?

An internal combustion engine converts the chemical energy of fuel into mechanical work: the burning mixture raises the pressure on the piston, which turns the crankshaft. The simulator above shows the real piston motion and the pressure-volume diagram whose enclosed area is the work per cycle.

The four strokes

  1. Intake: the intake valve opens and the descending piston draws in air (or air-fuel mixture).
  2. Compression: valves closed, the rising piston compresses the charge; temperature and pressure climb.
  3. Power: heat is released (spark in a petrol engine, hot-air ignition of injected fuel in a diesel), the gas pushes the piston down.
  4. Exhaust: the exhaust valve opens and the rising piston expels the burnt gas.

Why does a higher compression ratio help?

Efficiency of the ideal cycle depends on how much the gas is expanded relative to the heat-addition temperature: a higher r gives a larger temperature drop during expansion and so more of the heat becomes work. Real engines are limited by knock, materials and emissions.