Using the Thermal Cycle CAD and what it assumes — 5 / 12

Reading the diagrams: the T–s and P–h diagrams

The simple Rankine cycle calculated in part 3 is looked at in the T–s and P–h diagrams of the results' “Diagrams” tab. The part explains what the inside and outside of the dome-shaped saturation line mean, which line each of the four machines draws, how the gap between the turbine's ideal (dashed) line and its real line shows its loss, and how horizontal lengths on the P–h diagram are the heat and work per kilogram.

Numbers in the state table make it hard to see the shape of the whole cycle. A diagram draws every state point as a point and the change through each machine as a line on one picture. Where the water boils and which machine has losses can be seen at a glance.

Textbooks and papers on thermal cycles also use diagrams a lot. Once you can read them, you can compare a calculation with a textbook's figure.

## A map and roads
A diagram is like a map of the states of water and steam. State points ① to ④ are places on the map; the machines are the roads between them. A cycle is a round trip back to the same place, so on the diagram it forms a closed shape.

On the map is a dome-shaped line (the saturation line). It is the border “beyond here water and steam are mixed”: inside the dome water and steam are mixed (two-phase), outside to the left is water only, outside to the right steam only.

## Opening the diagrams
1. After calculating, press “📊 Results” in the toolbar and open the “Diagrams” tab.
2. You can choose the kind of diagram (P–v, T–s, P–h). Choose T–s first.
3. “Reading the lines ?” in the controls explains the kinds of lines and points.

The lines and points of the diagram are:
On the diagram — Meaning
dome-shaped line — the saturation line (the border of the region where water and steam are mixed)
numbered points — state points ① to ④ (the same numbers as the lines on the canvas)
coloured solid lines — the change of state from a machine's inlet to its outlet
thin dashed line of the same colour — the ideal line of a pump or turbine (with no losses at all)
Pressing a point or line selects that state point or machine, and the same one is highlighted in the state table and on the canvas.

## Going round the T–s diagram
The vertical axis is temperature T, the horizontal axis specific entropy s. Specific entropy is an unfamiliar quantity, but here it is enough to read “moving right means heat was received” (receiving heat moves a state to the right, throwing heat away to the left).
Leg — Machine — Shape of the line — What happens
① → ② — boiler — up from the lower left; on the way a long horizontal stretch to the right at 311 °C, then out of the right side of the dome and up to 500 °C — the water warms → boils at 311 °C (turning into steam at constant temperature) → the steam gets hotter still (superheating)
② → ③ — turbine — down from 500 °C to 45.8 °C, shifted slightly to the right — the steam expands, does work and cools; it enters the dome and droplets appear
③ → ④ — condenser — horizontal to the left at 45.8 °C, to the left side of the dome — the steam turns back into water at constant temperature (condensation)
④ → ① — pump — almost a point (a very short step up) — pushes the water up; the temperature hardly changes
The temperature of the boiler line's horizontal part (311 °C) is the temperature at which water boils at 10 MPa; the condenser's 45.8 °C is the boiling temperature at 10 kPa. On the diagram, boiling and condensing are “horizontal lines at constant temperature”.

## Ideal line and real line: seeing the loss
The turbine's line (② → ③) has a thin dashed line of the same colour. This is the line of an ideal turbine with no losses at all, which goes straight down (constant specific entropy). The real line ends at ③, shifted slightly to the right.
— Ideal turbine (dashed) — Real turbine (isentropic efficiency 0.9)
Outlet specific enthalpy — 2089.6 kJ/kg — 2218.2 kJ/kg
Work per kg — 1285.4 kJ/kg — 1156.9 kJ/kg
Outlet quality — 0.793 — 0.847
1156.9 ÷ 1285.4 = 0.9, the isentropic efficiency entered. Work lost to friction and other losses turns into heat that stays in the steam, so the real outlet holds a little more heat than the ideal one (it shifts right) and its quality is higher. The gap between the ends of the dashed and solid lines is the size of the loss.

## The P–h diagram: horizontal length is heat and work
Switch the diagram to P–h. The vertical axis is pressure p (a logarithmic scale can be chosen), the horizontal axis specific enthalpy h.

- The boiler (① → ②) and the condenser (③ → ④) keep the pressure, so they are horizontal lines.
- The turbine (② → ③) runs down and the pump (④ → ①) up, as nearly vertical lines.

Because the horizontal axis is specific enthalpy, the horizontal length of a line is directly the heat or work per kilogram.
Line — Horizontal length — Meaning
boiler (① → ②) — 205.3 → 3375.1: 3169.8 kJ/kg — heat received by 1 kg
turbine (② → ③) — 3375.1 → 2218.2: 1156.9 kJ/kg — work done by 1 kg
condenser (③ → ④) — 2218.2 → 191.8: 2026.4 kJ/kg — heat thrown away by 1 kg
pump (④ → ①) — 191.8 → 205.3: 13.5 kJ/kg — work given to 1 kg (too short to see well)
The numbers worked out from the tables in part 4 appear as lengths on the picture. You can also see that the boiler line's length (heat in) equals the turbine line's (work) plus the condenser line's (heat thrown away).

## The P–v diagram
P–v has pressure on the vertical axis and specific volume on the horizontal one. Steam and water differ so much in volume that a logarithmic horizontal axis (“log x”) helps. The steam at ③ (12.43 m³/kg) and the water at ④ (0.00101 m³/kg) are drawn far apart, at the right and left ends.

## Specific entropy and isentropic efficiency
Specific entropy s adds up the heat received in a reversible change divided by the temperature, ds = \delta q_{\mathrm{rev}} / T. In a loss-free (reversible and adiabatic) expansion or compression s does not change, so the lines of an ideal turbine or pump go straight down or up on the T–s diagram. Losses increase s and shift the line to the right.
\eta_{s,\mathrm{turbine}} = \frac{h_2 - h_3}{h_2 - h_{3s}} = \frac{3375.1 - 2218.2}{3375.1 - 2089.6} = 0.900
## How the lines are drawn (reference paths)
- The points at the ends of a line are exactly the values of the state table.
- The lines in between are not found by the Thermal Cycle CAD's calculation; they are reference paths that make the picture readable: for machines that keep the pressure (boilers, condensers), pressure and specific enthalpy are straight lines against the heat; for turbines and pumps the pressure is divided in equal logarithmic steps and the specific enthalpy interpolated; each point is evaluated from the properties.
- The saturation line is that of pure water.
- Output and heat are found from each machine's energy balance, not from areas on the diagram.

See reading thermal cycle diagrams for more.

## The diagrams of the shared result
“📊 Results” → “Diagrams” of this shared result shows the diagrams of this part as they are.

Shared result: the simple Rankine cycle (opens without an account or login)

## How to read a shared result
The link opens the calculated flowsheet as it was (no account or login needed; viewing never recalculates).

- Select a block to see its results and its input conditions on the right (below on a phone).
- The cells of the result tables are painted as entered values (blue, marked “entered”) or calculated values (green). Use the colours to see what was given and what was found.
- Each block shows its own (type) name in large letters and, below it in smaller letters, the name given in this article.
- You can move blocks, but nothing is saved. To change conditions and calculate, build the same flowsheet in your own CAD (sign-up and login required).

- The numbers are calculated with Laplaxian's engine (TESPy 0.11.3, CoolProp 8.0.0; water and steam by IAPWS-IF97). The conditions are chosen for explanation; they are not recommended or standard values.

Comparing cases, saving and sharing