An ideal gasoline-engine cycle with constant-volume combustion.
Theoretical efficiency is higher than the 30-35% typically seen in real engines.
$$\eta_{Carnot} = 1 - \frac{T_L}{T_H}$$
Carnot efficiency (maximum theoretical efficiency): $T_H,T_L$ are the absolute temperatures [K] of the hot and cold reservoirs.
$$\eta_{Otto} = 1 - \frac{1}{r^{\gamma-1}}, \quad \eta_{Diesel} = 1 - \frac{r_c^\gamma - 1}{\gamma r^{\gamma-1}(r_c-1)}$$
Otto and Diesel efficiencies: $r$ is the compression ratio, $r_c$ the cutoff ratio, $\gamma$ the heat capacity ratio.
$$W_{net} = Q_H - Q_L, \quad COP = \frac{Q_L}{W_{net}}$$
Net work and coefficient of performance (refrigeration cycle).
What is a Thermodynamic Cycle?
Physical Model & Key Equations
The universal measure of performance for any heat engine cycle is its thermal efficiency, defined as the net work output divided by the total heat input.
$$\eta = 1 - \frac{Q_L}{Q_H}$$Where $\eta$ is thermal efficiency, $Q_H$ is heat added (from the hot reservoir/fuel combustion), and $Q_L$ is heat rejected (to the cold reservoir/atmosphere). For the ideal Carnot cycle, this simplifies to a function of absolute temperatures only.
For practical cycles like Otto and Diesel, efficiency depends on geometric ratios and material properties. The Otto cycle efficiency is derived from the compression ratio and the heat capacity ratio of the working fluid.
$$\eta_\text{Otto}= 1 - \frac{1}{r_c^{\gamma-1}}$$Here, $r_c = V_1/V_2$ is the compression ratio (try the slider!), and $\gamma = c_p/c_v$ is the heat capacity ratio (around 1.4 for air). This shows why increasing $r_c$ improves efficiency—it raises the term $r_c^{\gamma-1}$.
Real-World Applications
Automotive Engines (Otto Cycle): This is the fundamental model for gasoline/petrol engines. Every time you adjust the "Compression Ratio" in the simulator, you're exploring the core design parameter that engineers balance against fuel octane rating to prevent engine knock while maximizing mileage.
Heavy-Duty & Marine Engines (Diesel Cycle): Diesel engines use a constant-pressure heat addition process, modeled by the "Cutoff Ratio" ($r_{CO}$) in the simulator. This allows for higher compression ratios and efficiency, which is why they are used in trucks and ships, but often at the cost of higher emissions.
Jet Engines & Power Plants (Brayton Cycle): This cycle models gas turbines. The key parameter here is the "Pressure Ratio" ($r_p$). By increasing this ratio in the simulator, you directly increase the efficiency of jet engines for aircraft and the gas turbines used in modern electricity power plants.
Ideal Benchmarking (Carnot Cycle): No real engine achieves Carnot efficiency, but it provides the absolute theoretical limit. Engineers use it as a gold standard to gauge how close their real-world designs (like the ones you can select) come to the ideal, highlighting where losses occur.
Common Misconceptions and Points to Note
There are a few key points you should be especially mindful of when starting to use this tool. First, understand that the calculation results are not the actual performance of a real engine. This is a "theoretical model" based on significant assumptions of the "air-standard cycle" (constant specific heats, ideal gas, combustion replaced by heat addition, no friction or heat losses). For example, even if the simulator shows an Otto cycle efficiency of 60%, the best actual thermal efficiency for a gasoline engine is around 40% at most. This gap illustrates the magnitude of real-world losses (wall heat losses, pumping losses, incomplete combustion, etc.).
Next, it's important to understand the practical reasons why parameters cannot be increased without limit. While increasing the compression ratio improves efficiency, gasoline engines face a knocking limit (e.g., 10-12:1), and diesel engines face limits of mechanical strength and maximum combustion pressure (e.g., 18-22:1). Raising the inlet temperature T₁ in a Brayton cycle also hits a wall—the limit of what turbine blade materials can withstand (even in advanced aircraft engines, this is around 1700°C). Don't just chase ideals with the tool; get into the habit of thinking, "Why can't we push this further?"
Finally, note that the "Carnot cycle is not always the best". While it indeed offers the highest efficiency for given temperature limits, realistically, its work output (power) is extremely small. Recall that the area inside the P-V diagram represents work output. In design, the perspective of trade-offs—"how to extract large amounts of work at high efficiency with a practical structure"—becomes critically important, not just pursuing efficiency alone.
How to Use
- Set gamma (specific heat ratio) using gammaSlider: 1.4 for air, 1.67 for monatomic gases
- Input T1 (cold reservoir temperature in Kelvin) and T3 (hot reservoir temperature in Kelvin) using respective sliders
- Adjust compression ratio (rc) with rcSlider to modify cycle geometry
- Select cycle type (Carnot, Otto, Diesel, or Brayton) from dropdown to update P-V and T-s diagrams in real time
- Read thermal efficiency (%), net work output (kJ/kg), heat input (kJ/kg), and heat rejection (kJ/kg) from results panel
Worked Example
Otto cycle with air (gamma=1.4), T1=300K, T3=1500K, compression ratio=10. Initial state: P1=101kPa, V1=1m³. After adiabatic compression: T2=771K, P2=2540kPa. Peak combustion: T3=1500K, P3=5084kPa. Net work output=600kJ/kg, thermal efficiency=60.2%. Carnot efficiency at same temperatures=80%, confirming Otto's real-world limitation.
Practical Notes
- Diesel cycles show lower efficiency than Otto at identical compression ratios because cutoff ratio extends expansion; use rc=16-24 for diesel engines versus rc=8-12 for gasoline
- Brayton cycle efficiency increases with pressure ratio; jet engines operate at pr=30-40 for 45% thermal efficiency
- T-s diagram area represents net work; larger enclosed area indicates higher power output
- Carnot cycle represents theoretical maximum; no real engine achieves this due to irreversibilities and finite temperature differences