Thermodynamic Modelling of an
Internal Combustion Engine
(Otto Cycle)
Name: Tejas Sanjay Dukare
Faculty-in-charg: Dr.M.R
Nandgaonkar
Introduction
Internal Combustion (IC) engines power most vehicles today.
Model the IC engine using ideal gas laws and Otto cycle assumptions.
Thermodynamic cycles help model engine efficiency and performance.
The Otto cycle is used to model spark ignition (gasoline) engines.
Calculate: Temperatures at each process stage, Thermal efficiency,
Visualize the cycle on a P-V diagram
Otto Cycle Overview
Processes:
1. Isentropic Compression
(1→2)
Assumptions:
2. Constant Volume Heat
1. Ideal gas
Addition (2→3)
2. No friction or heat loss
3. Isentropic Expansion (3→4)
4. Constant Volume Heat 3. Reversible processes
Rejection (4→1)
Thermodynamic Equations
Let γ=CpCv\gamma = \frac{C_p}{C_v}γ=CvCp, r=V1V2r = \frac{V_1}{V_2}r=V2V1
T2=T1⋅rγ−1T_2 = T_1 \cdot r^{\gamma - 1}T2=T1⋅rγ−1
T3=T2+QinCvT_3 = T_2 + \frac{Q_{in}}{C_v}T3=T2+CvQin
T4=T3⋅(1r)γ−1T_4 = T_3 \cdot \left( \frac{1}{r} \right)^{\gamma - 1}T4=T3⋅(r1)γ−1
Efficiency:
η=1−1rγ−1\eta = 1 - \frac{1}{r^{\gamma - 1}}η=1−rγ−11
gamma = 1.4;
Cv = 0.718;
compression_ratio = 10;
T1 = 300;
Q_in = 1800;
T2 = T1 * compression_ratio^(gamma - 1);
T3 = T2 + Q_in / Cv;
T4 = T3 * (1 / compression_ratio)^(gamma - 1);
efficiency = 1 - (1 / compression_ratio^(gamma - 1));
MATLAB Implementation
(Code Part 1)
fprintf('T1 = %.2f K\n', T1);
fprintf('T2 = %.2f K\n', T2);
fprintf('T3 = %.2f K\n', T3);
fprintf('T4 = %.2f K\n', T4);
fprintf('Thermal Efficiency = %.2f %%\n', efficiency *
100);
MATLAB Implementation
(Code Part 2)
P-V Diagram
V1 = 1;
V2 = V1 / compression_ratio;
P-V Diagram Plot Code V = linspace(V2, V1, 100);
P1 = 101.325;
P_compression = P1 * (V1 ./ V).^gamm
P3 = P1 * (T3 / T1);
P_expansion = P3 * (V ./ V2).^(-gamma
plot(V, P_compression); hold on;
plot(V, P_expansion);
xlabel('Volume (m^3)');
MATLAB Code
Results Summary
T1 = 300 K
T2 = Computed
T3 = Computed
T4 = Computed
Efficiency ≈ 60% (varies with compression ratio)
Conclusion
Otto cycle gives insights into ideal engine
performance.
Efficiency increases with compression ratio.
Real engines differ due to friction, heat loss, and
combustion dynamics.
Thank You