Part 1 How a gas turbine works: compress, burn, expand

## Introduction: how does a gas turbine make electricity?
A gas turbine uses air and fuel to turn a bladed wheel, and makes electricity from that rotational energy. It is used in many places, from thermal power plants to aircraft engines.

A gas turbine is built from three basic machines:

1. Compressor: draws in air and raises its pressure
2. Combustor: adds fuel to the compressed air and burns it, making hot gas
3. Turbine: lets the hot, high-pressure gas expand and uses its energy to turn a bladed wheel

Part of the energy the turbine takes out is used to drive the compressor. The energy that is left is passed to the generator, which makes electricity.

In other words, the energy available for generating electricity is the energy the turbine takes out minus the energy needed to drive the compressor.

Not all of the fuel's energy can be turned into electricity, though: some leaves with the exhaust gas, and the machines have losses.

In this part we calculate a gas turbine with Laplaxian's Thermal Cycle CAD and check two things:

- Of the energy the turbine takes out, how much is used by the compressor?
- Of the heat put in, how much can be turned into electricity?

## 1. Does compressing air make it hotter?
To understand how a gas turbine works, start with an everyday observation.

Push a bicycle pump hard and its barrel can get warm. That is because energy is put into the air from outside to squeeze it, and the air's temperature rises.

The same happens in a gas turbine's compressor. The compressor receives rotational energy from outside and compresses the air; as a result, not only the air's pressure but also its temperature rises.

The other way round, when hot, high-pressure gas expands and gives energy away, the gas's temperature falls. A gas turbine uses this to turn its turbine.

The key is to make the energy taken out by expanding the gas in the turbine larger than the energy used to squeeze the air in the compressor. That is why a combustor sits between the compressor and the turbine.

The combustor adds fuel to the compressed air and burns it, raising the gas's temperature a great deal. The hot gas can then give more energy to the turbine as it expands.

This way of taking energy out by compressing air, adding heat and expanding it is called the Brayton cycle.

## 2. Let's calculate a gas turbine
Now let's calculate a gas turbine's performance. We use the Thermal Cycle CAD tutorial “Brayton: the basic gas turbine”. The conditions are:
Item — Value
air mass flow — 10 kg/s
temperature of the air drawn in — 300 K (about 27 °C)
pressure of the air drawn in — 1 bar (about 1 atm)
compressor pressure ratio — 10
turbine inlet temperature — 1400 K (about 1127 °C)
compressor isentropic efficiency — 85 %
turbine isentropic efficiency — 88 %
generator efficiency — 98 %
A pressure ratio of 10 means the compressor's outlet pressure is ten times its inlet pressure.

The isentropic efficiency tells how a compressor or turbine actually performs compared with an ideal one. For a compressor, it compares the energy an ideal compression needs to reach a given pressure with the energy actually needed. A real compressor has losses, for example from the flow inside it, so it needs more energy than the ideal one. Here the compressor's isentropic efficiency is 85 % and the turbine's 88 %.

Note: these values are chosen for explanation; they are not the performance of any particular gas turbine.

### Result: the basic gas turbine (pressure ratio 10, 1400 K)
- Shared result: the basic gas turbine (pressure ratio 10, 1400 K)

The link opens the gas turbine's flowsheet. Select a block to see that machine's results. The circled numbers on the lines are the state points of the next section.

## 3. How do the air's temperature and pressure change?
Inside a gas turbine the air's temperature and pressure change a lot. We look at four places:
State — Where — Temperature — Pressure
① — compressor inlet — 300.0 K (27 °C) — 1 bar
② — compressor outlet — 621.4 K (348 °C) — 10 bar
③ — turbine inlet — 1400.0 K (1127 °C) — 10 bar
④ — turbine outlet — 864.6 K (591 °C) — 1 bar
### ① → ② Compressor: squeezing the air
The compressor raises the air's pressure from 1 bar to 10 bar. Meanwhile the air's temperature rises from 300 K to 621 K — a difference of about 321 K, that is about 321 °C.

Notice that the air gets hotter without any fuel being burnt. This is because the compressor puts energy into the air: the compressor consumes energy to raise the pressure.

### ② → ③ Combustor: heating the air
Next, the combustor heats the compressed air. Here it takes the air from 621 K to 1400 K. The heat put into the air is 8.866 MJ per second (8.866 MW).

The MW (megawatt) is a unit of energy moved or converted per second. 1 MW is one million W, that is one million J per second. So 8.866 MW means about 8.87 million J of heat are put into the air every second.

This calculation does not calculate the combustion reaction itself: the combustor is treated as “a device that heats air”. The pressure loss in the combustor is also neglected, so the pressure stays at 10 bar.

### ③ → ④ Turbine: taking energy out by expansion
The hot, high-pressure gas goes to the turbine and expands. Inside the turbine the gas turns the bladed wheel, and part of the gas's energy becomes rotational energy. Because the gas gives part of its energy to the turbine, its temperature falls.

Here the temperature falls from 1400 K to about 865 K, and the pressure from 10 bar to 1 bar. Even so, the exhaust is still very hot, at about 591 °C, and still holds a lot of thermal energy.

Real power plants sometimes use the exhaust heat to make steam and generate more electricity with a steam turbine; this is called combined-cycle power generation. Here we look at the gas turbine on its own, so the exhaust heat is not recovered.

## 4. Where does the energy taken out by the turbine go?
We have seen how the air's temperature and pressure change. Next, look at the energy balance. The results are:
Item — Result
turbine power — 6.227 MW
power consumed by the compressor — 3.296 MW
net shaft power — 2.931 MW
electric power from the generator — 2.873 MW
The turbine takes out 6.227 MJ of energy per second. Not all of it can be used to generate electricity, because driving the compressor takes 3.296 MJ per second. So the net shaft power available for generation is
6.227 - 3.296 = 2.931\ \mathrm{MW}
The generator has losses too. With a generator efficiency of 98 %, the electric power is
2.931 \times 0.98 \approx 2.873\ \mathrm{MW}
(the engine multiplies the unrounded values, so the last digit differs slightly from multiplying the values shown).

So of the 6.227 MJ the turbine takes out every second, 2.873 MJ finally come out as electricity.

### More than half of the turbine's energy goes to the compressor
There is one more number to look at. Divide the power consumed by the compressor by the turbine power:
3.296 \div 6.227 \times 100 = 52.9\ \%
About 53 % of the energy the turbine takes out is used to turn the compressor. This share is called the back-work ratio.

Here the compressor consumes more than half of what the turbine takes out. This is one of the main features of a gas turbine: the more energy the compressor needs, the less is left for generating electricity.

Raising the air's pressure in the compressor lets the turbine take out more energy as the gas expands.

But compressing the air to a higher pressure also takes more energy.

In other words, a higher pressure increases both the energy the turbine takes out and the energy the compressor consumes.

So a higher pressure does not necessarily increase the energy available for generating electricity.

What matters is the difference between the energy the turbine takes out and the energy the compressor consumes.

Part 3 looks at this relation in detail.

## 5. How much of the heat put in becomes electricity?
Finally, let's calculate the gas turbine's thermal efficiency. The thermal efficiency is the share of the heat put in that comes out as useful energy.

Here the heater standing for the combustor puts in 8.866 MW of heat, and the net shaft power is 2.931 MW. So the cycle thermal efficiency is
2.931 \div 8.866 \times 100 = 33.06\ \%
That is, about 33 % of the heat put in comes out as mechanical energy of rotation.

This 33.06 % does not include the generator's loss, though. The electric power actually obtained is 2.873 MW, so the efficiency at the generator terminals is
2.873 \div 8.866 \times 100 \approx 32.4\ \%
About 32 % of the heat put in comes out as electricity. Most of the rest leaves with the hot exhaust.

Note that this is a calculated efficiency based on the heat put into the air. It is not necessarily the same as a generating efficiency based on the fuel actually consumed.

## 6. Calculate it yourself
Everything so far can be reproduced with Laplaxian's Thermal Cycle CAD.

1. Open the Thermal Cycle CAD (login required).
2. From “⋮” on the toolbar, choose “Tutorials”.
3. Choose “Brayton: the basic gas turbine” and press “Place on the canvas”.
4. Press “Calculate” to run the calculation.
5. Look at the results with “Open results (state table and diagrams)”.

Besides each state point's temperature and pressure, the results show diagrams such as the T–s diagram (Reading thermal cycle diagrams). A T–s diagram plots temperature (T) against entropy (s). Entropy is the physical quantity used to think about how heat moves and what losses arise when energy is turned into work.

To start, change the compressor's pressure ratio or the turbine inlet temperature and see how the power and the thermal efficiency change.

## 7. The equations used
Here are the equations behind this calculation.

Each machine of a gas turbine obeys the conservation of energy. We consider a “steady state”, where the flows and states at each machine's inlet and outlet do not change with time. We also neglect the energy differences from the gas's velocity and height, and heat lost to the surroundings.

Under these conditions, each machine's power and heat transfer rate follow from the difference in specific enthalpy between its inlet and outlet. Specific enthalpy is the energy carried by a flowing gas, including the work done by pressure as it flows.

Power consumed by the compressor
\dot W_C = \dot m\,(h_2 - h_1)
Heat put in by the heater standing for the combustor
\dot Q_{in} = \dot m\,(h_3 - h_2)
Turbine power
\dot W_T = \dot m\,(h_3 - h_4)
The variables are:

- \dot m: air mass flow [kg/s]
- h_1: specific enthalpy at the compressor inlet [J/kg]
- h_2: specific enthalpy at the compressor outlet [J/kg]
- h_3: specific enthalpy at the turbine inlet [J/kg]
- h_4: specific enthalpy at the turbine outlet [J/kg]
- \dot W_C: power consumed by the compressor [W]
- \dot W_T: turbine power [W]
- \dot Q_{in}: heat transfer rate of the heater [W]

With these, the cycle thermal efficiency is
\eta_{th} = \frac{\dot W_T - \dot W_C}{\dot Q_{in}}
and the back-work ratio is
r_{bw} = \frac{\dot W_C}{\dot W_T}
In this calculation:

- net shaft power: 6.227 − 3.296 = 2.931 MW
- cycle thermal efficiency: 2.931 ÷ 8.866 = 33.06 %
- back-work ratio: 3.296 ÷ 6.227 = 52.9 %

## 8. How this calculation differs from a real gas turbine
This calculation is a simplified model for understanding how a gas turbine basically works. Laplaxian's Thermal Cycle CAD uses the idea of an “air-standard cycle”.

A real gas turbine mixes fuel into the air and burns it, so the gas's composition and mass flow change across the combustor. This calculation leaves out the fuel's mass and the change of composition by combustion, and treats the combustor as a simple heater.

A real gas turbine also has pressure losses in the combustor and ducts, air for cooling the turbine, and mechanical losses such as in the bearings; this calculation neglects them.

Further, to represent the Brayton cycle as a thermal cycle, the exhaust cooling down in the atmosphere back to the starting state is represented as a cooler. This cooler exists only for the calculation; it is not fitted to a real open-cycle gas turbine.

The results do not reproduce a real gas turbine's performance exactly; they are for understanding the basic principle of compression, heating and expansion. The air's thermophysical properties are from CoolProp's “HEOS::Air”.

## Summary
From this calculation we found that:

- Air gets hotter when compressed, and cooler when it expands and gives energy away.
- Making the air hot in the combustor lets the turbine take out a lot of energy.
- Part of the energy the turbine takes out is used to turn the compressor.
- Under these conditions, the compressor consumed about 53 % of the turbine's power.
- About 33 % of the heat put in became shaft power, and about 32 % became electricity through the generator.

What matters for a gas turbine's performance is not simply taking a lot of energy out of the turbine, but how much energy is left for generating electricity after subtracting what the compressor consumes.

The following parts change the pressure ratio and the turbine inlet temperature and look at how the gas turbine's power and thermal efficiency change.