Simuveliq

Thermodynamic cycle calculator: steam, gas, engines and refrigeration

Solve the cycles of a thermodynamics course, grouped in four families: steam power, gas turbines and propulsion, piston engines, and refrigeration and heat pumps. The properties of water and the refrigerants come from the same reference equations of state as the site's thermodynamic tables; air uses the ideal-gas table or the cold-air standard. Every state appears in the table and on the T-s, P-h or P-v diagrams, and the energy balance gives the work, the heat, the thermal efficiency or the COP, with the detailed solution as a PDF.

Theory and worked examples: Thermodynamic cycles: Rankine, Brayton and refrigeration · Piston engines: Otto, Diesel, dual and Stirling cycles · Advanced cycles: regeneration, propulsion and heat pumps · Exergy (second law) and polytropic processes.

What you can do

Frequently asked questions

How is the efficiency of a Rankine cycle computed?

η = w_net/q_in, with w_net = (h₃ − h₄) − (h₂ − h₁) and q_in = h₃ − h₂. For example, between 3 MPa, 350 °C and 75 kPa the ideal cycle gives 26.0 %.

What is the efficiency of the Otto cycle?

With the cold-air standard, η = 1 − 1/r^(k−1): with r = 8 and k = 1.4 it is 56.5 %. With the air table (variable specific heats) the same engine gives less: 52.3 % with 800 kJ/kg of heat added from 290 K and 100 kPa.

What is the COP of a refrigerator?

It is the heat removed in the evaporator divided by the compressor work: COP = (h₁ − h₄)/(h₂ − h₁). Unlike an efficiency, it is usually greater than 1. A heat pump divides the heat delivered in the condenser instead: COP_HP = COP_R + 1.

Where do the properties come from?

For water and the refrigerants, from each fluid's reference equation of state as implemented in CoolProp (MIT license), the same as in the site's thermodynamic tables. Air uses the ideal-gas table or constant specific heats; in Stirling and Ericsson you type the cₚ and cᵥ of the gas.

Guide: power cycles, engines and refrigeration

A steam power plant, a gas turbine, a car engine and a refrigerator are cycles: a fluid goes through several processes and returns to its initial state. To analyze them, each state is fixed by two properties, the first law is applied to each process and what is spent is compared with what is obtained. The tool groups the cycles in four families: steam power (Rankine), gas turbines and propulsion (Brayton, turbojet, Ericsson), piston engines (Otto, Diesel, dual or Sabathé, Stirling) and refrigeration and heat pumps (vapor compression and gas cycle). This guide summarizes each one and works examples with their numbers.

Rankine cycle

Water leaves the condenser as saturated liquid (1), the pump raises it to the boiler pressure (2), the boiler turns it into superheated steam (3), the steam expands in the turbine (4) and condenses again. In steady flow, per kg: q − w = hout − hin.

wnet = (h3 − h4) − (h2 − h1) qin = h3 − h2 η = wnet/qin

Brayton cycle, two stages, Ericsson and turbojet

Air is compressed (1→2), receives heat at constant pressure (2→3), expands in the turbine (3→4) and leaves. With variable specific heats, h(T) and the relative pressure Pr(T) come from the air table and in an isentropic process Pr2 = rp·Pr1; with the cold-air standard, T2s/T1 = rp(k−1)/k and η = 1 − rp−(k−1)/k.

Piston engines: Otto, Diesel, dual and Stirling

They are closed systems: the same mass of air goes through the processes and, per kg, q − w = Δu. At constant volume q = Δu; at constant pressure q = Δh. The compression ratio is r = V1/V2.

Otto: η = 1 − 1/rk−1 Diesel: η = 1 − (rck − 1)/(k rk−1(rc − 1)) MEP = wnet/(v1 − v2)

Refrigeration and heat pumps

In vapor compression the refrigerant enters the compressor as vapor (1), leaves at the condenser pressure (2), rejects heat and leaves as liquid (3), goes through the valve without changing its enthalpy (h4 = h3) and absorbs heat in the evaporator.

COPR = (h1 − h4)/(h2 − h1) COPHP = (h2 − h3)/(h2 − h1) = COPR + 1 COPCarnot = TL/(TH − TL)

Worked examples

  1. Ideal Rankine between 3 MPa, 350 °C and 75 kPa: h1 = 384.44, h2 = 387.47, h3 = 3116.1 and h4 = 2403.0 kJ/kg (x4 = 0.886); wnet = 710.0 kJ/kg, qin = 2728.6 kJ/kg and η = 26.0 %.
  2. Open feedwater heater: 15 MPa, 600 °C, 10 kPa and extraction at 1.2 MPa. y = 0.2271 of the steam is extracted and η = 46.3 %. With a closed heater and the same data, y = 0.2903 and η = 44.5 %.
  3. Two-stage Brayton with rp = 8, 300 K and 1300 K (variable specific heats): Pi = 282.8 kPa and η = 35.7 %; with an ideal regenerator, η = 69.6 %.
  4. Otto with r = 8, 290 K, 100 kPa and 800 kJ/kg: with the cold-air standard η = 1 − 8−0.4 = 56.5 %; with variable specific heats T3 = 1575 K, η = 52.3 % and MEP = 574 kPa.
  5. Diesel with the cold-air standard, r = 18 and rc = 2: η = 63.2 %. Dual with r = 14, rp = 1.5 and rc = 1.5: η = 63.0 %.
  6. Stirling with air between 300 K and 800 K, r = 10 and an ideal regenerator: η = 62.5 %, Carnot's; without the regenerator it drops to 37.2 %.
  7. Turbojet at 260 m/s, −40 °C and 34.5 kPa, rp = 10 and 1373 K at the turbine (cold-air standard): V6 = 1006 m/s, specific thrust 745.8 N·s/kg (33.6 kN with 45 kg/s), propulsive efficiency 41.1 % and overall 22.5 %.
  8. Gas refrigeration between −18 °C and 27 °C with rp = 4: the turbine leaves the air at 201.9 K and COP = 2.06. Heat pump with R-134a between −10 °C and 45 °C, 80 % compressor: COPHP = 3.99.

All of them are in the «Load an example» menu of each cycle. The R-134a enthalpies use the ASHRAE reference state (h = 0 and s = 0 for saturated liquid at −40 °C); enthalpy differences, and therefore the COP, do not depend on that choice.

How to use the tool

  1. Under «Which cycle do you want to analyze?» pick the family and, below it, the cycle: two clicks reach any of them.
  2. Type the data of the problem. In the air cycles choose the model: variable specific heats (air table) or the cold-air standard (k, cp and, in the engines, cv). In Otto, Diesel and dual say what you know about the heat: the heat added, the maximum temperature or the cutoff ratio.
  3. Add the optional data: efficiencies (100 % = ideal), reheat, feedwater heater, two stages, regenerator, power, capacity, engine data or air flow.
  4. Read the cards, the state table, the diagrams (T-s, P-h or P-v), the step by step and the «Detailed solution (PDF)». Rankine, Brayton and vapor-compression refrigeration can be opened in the cycle simulator.

Common mistakes

Further reading

The chapters on vapor power cycles, gas power cycles and refrigeration of any engineering thermodynamics textbook. Water and refrigerant properties come from each fluid's reference equation of state, as implemented in CoolProp 8.0.0 (I. H. Bell and coworkers, MIT license), the same as in the site's thermodynamic tables; air with variable specific heats, from its ideal-gas table. The tool cites the authors of each equation below the results. Simuveliq is not affiliated with the CoolProp project.

More tools

Versión en español

© 2026 Simuveliq. All rights reserved.