How to use Pilot Mode of the Thermal Cycle CAD

Pilot Mode operates a cycle built in the Thermal Cycle CAD virtually. Change a temperature, a pressure, an efficiency or another value and press “Recalculate”: the new steady operating point is solved with the same calculation as Design Mode. The changes stay in the pilot session; the design is not changed.

Changing conditions one at a time in Design Mode means keeping your own notes of which change gave which result, and it overwrites the design. Pilot Mode keeps the history of operations, compares operating points and goes back to an earlier point, so you can try “what happens to the whole system if this changes” step by step while the design stays as it was.

Operating a gas turbine (an air-standard Brayton cycle) in Pilot Mode, lowering the turbine inlet temperature by 100 K drops the net electric power from 2.873 MW to 2.420 MW (−15.8 %) and the cycle efficiency by 0.87 points. The gas turbine example below goes on to compare, for a hotter intake, “constant turbine inlet temperature” with “constant heat input”.

## Contents
- The idea of Pilot Mode
- Getting started
- The running screen
- Changing values and recalculating
- Changing a fixed condition (approval)
- Compare, history, going back
- Sharing (viewer)
- Gas turbine example
- What it cannot do

### The idea of Pilot Mode
- Quasi-steady: each recalculation solves a new steady operating point. The response in time between operations (warming up, inertia, control lag) is not calculated. The trend's horizontal axis is the operation number, not time.
- The same calculation as Design Mode: an operating point is the design with the pilot's changes laid over it, sent to the same calculation as Design Mode's “Calculate”. The same conditions give the same result as Design Mode, and conditions already calculated are shown at once.
- The design is not changed: at the start the cycle shown in the CAD (saved or not) is copied. Changes stay in that session; “Back to Design Mode” shows the original design in the CAD.
- Kinds of operation: the screen keeps three apart.
Kind — What it changes — Examples
Condition change — an operating condition given to the cycle directly — outlet temperature of a heater or cooler, pressure, heat, flow, power, split fraction, the size target
Virtual parameter change — a design or performance value (to see sensitivities; not something an operator changes in operation) — isentropic efficiency, pressure ratio, UA, pressure drop, generator efficiency
Equipment operation — speed (the shaft speed of compressors and turbines on maps), IGV angle (a user map with IGV data) — only with compressors and turbines given by maps; valve opening, pump or fan speed and load demand are not supported (no valve characteristics or performance curves)
Capacity limits (maximum heat, maximum flow, …) do not change the operating point, so they are not offered.

### Getting started
1. Build a cycle in the Thermal Cycle CAD, or place one from ⋮ → “📘 Tutorials”. It need not be calculated in Design Mode first.
2. Press Pilot in the “Design / Pilot” switch of the toolbar. It is disabled for a cycle without blocks and for the “measured balance check” mode.
3. The setup (wizard) opens and calculates the initial operating point (the design's conditions as they are).
1. Cycle: numbers of blocks and connections, working fluid, calculation mode, the copied version.
2. Check and initial operating point: READY (it solves and the balances hold), LIMITED (it runs but some operations cannot be used; the reasons are listed), BLOCKED (cannot start; fix it in Design Mode).
3. Choose what to operate: items extracted from the block settings, in two tabs. “Control panel” holds what an operator usually sets from a control panel (fuel or heat input, steam pressure and temperature set points, pump discharge, extraction and cooling-water flow, the size target = the load); only these are selected at first. “Other conditions and efficiencies” holds conditions an operator does not set directly (outlet quality, subcooling, condenser pressure, cooling-water temperature, ambient) and the virtual parameter changes (efficiencies, pressure ratio, UA, pressure drops). The operations panel of the running screen has the same two tabs. An item marked “changes a fixed condition” asks for approval before it is calculated (below).
4. Ranges: the slider limits, inside the setting's physical range.
5. Instruments: the values to watch (system indicators, block work and heat, state temperature, pressure, flow and volume flow, capacity use), in your order.
6. Start: “Start Pilot”.

### The running screen
The screen follows the order of use: read the results → operate → recalculate.
- PC: instruments on the left, the flowsheet in the middle (T, p, m or h on the connections), the controls on the right with “▶ Recalculate (n)” (n = changes not applied yet) right below them, and Trend, Compare, History and Log tabs below.
- Phone and tablet: from the top, three key instruments (fixed at the top), the flowsheet, the controls and “▶ Recalculate (n)”; the flowsheet and the controls are always shown. Below them, instruments, trend, compare, history and log are shown one at a time in tabs. At the bottom of the screen, “✎ Controls” (go to the controls) and “▶ Recalculate (n)” sit side by side.
- Toolbar: the state (waiting / changes not applied / calculating / calculated / failed), automatic recalculation on or off, sharing, and “Back to Design Mode”.

### Changing values and recalculating
1. Move a slider, or type a number and confirm it (Enter or leaving the field). The row shows “applied” and “new value”, and the state becomes “changes not applied”.
2. “▶ Recalculate” sends all changes not applied yet as one calculation, so several values can be changed and calculated at once.
3. On success the operating point, instruments, flowsheet and trend are updated. On failure the last good operating point stays on screen and the values you entered are kept (the reason is in the log).
- Automatic recalculation (off by default): when on, a calculation starts shortly after a slider is released or a number is confirmed.
- If a new change is sent while one is calculating, only the latest request's result is adopted; an older one is kept in the history as “completed after a newer request (not adopted)” and does not overwrite the operating point.

### Changing a fixed condition (approval)
Some values of a block are not used by the way it is specified now. For a heater given by its outlet temperature, “heat to the working fluid” is a result, not a condition. Operating it means switching the heater from “outlet temperature” to “heat”; the outlet temperature then stops being fixed and becomes a result.

Change such an item (marked “changes a fixed condition”) and recalculate, and “Change a fixed condition?” appears before anything is calculated.
- A table shows the settings that change, “now” and “after”, the reason and the effect on the calculation.
- When two conditions would set the same pressure, choose the condition to release.
- Approve and calculate solves with the change. The approval is recorded in the session and not asked again for the same change.
- Cancel calculates and changes nothing (only the values you entered are kept).

An approved condition change becomes effective in the session only when the calculation succeeds; if it fails the conditions stay as they were. The design is unchanged either way.

### Compare, history, going back
- Trend: one point per successful operation; add instruments to it. It can also be shown as a table.
- Compare: choose operating points A and B and press “Compare”: B − A and the relative change (B − A)/A (not given when A is zero). Differences of efficiencies, COP, dryness and capacity use are in percentage points (pt), temperature differences in K. While comparing, the connections of the flowsheet show the differences too. Save it as CSV.
- History: number, kind, content and result of every operation (CSV). “Recalculate from this point” goes back to that point's conditions; “Back to the initial (design) point” goes back to the design's. Approved condition changes go back to what they were at that point too.
- Log: sending, completion, failures and approvals.

### Sharing (viewer)
Turn on “Share in the viewer” under “🔗 Share” on the running screen to get a link. Anyone who opens it can operate this pilot without an account or a login.
- Only the values in the Controls tab can be changed (the controls the sharer put on the panel, in either tab, within their operating ranges). Change a value and press “Recalculate”. An operation that needs a fixed condition to change asks for approval in the same way.
- The cycle, the controls on the panel, the operating ranges, the instruments and the automatic recalculation setting are the sharer's and cannot be changed; there is no going back to an earlier point. The flowsheet, instruments, trend, comparison, history and log can be viewed.
- Each person operates an operating point of their own, all starting at the initial operating point (opening the link calculates nothing). The sharer's session and design do not change. Reopening in the same browser tab continues; after a period without use (24 hours by default) the record is removed.
- The share is a copy of the controls, ranges and instruments as they were when shared. If you change them, press “Update the share to the current settings”. Turning sharing off stops the link from opening; turning it on again gives the same link. “Make a new link” stops the old one from opening.
- The gas turbine example below is shared here: Shared pilot: Brayton (gas turbine). Open it without logging in, change the values in the Controls tab and recalculate.

### Gas turbine example
Use the tutorial “Brayton: the basic gas turbine” (air; compressor inlet 300 K and 100 kPa, pressure ratio 10, 1400 K after heating, isentropic efficiencies 0.85 for the compressor and 0.88 for the turbine, 10 kg/s of air, generator efficiency 0.98). Combustion and exhaust are represented by a heater and a cooler (a closed air-standard cycle), so the outlet temperature of “Exhaust heat rejection (as a cooler)” is the temperature of the air the compressor draws in (the ambient temperature), the outlet temperature of “Combustor (as a heater)” is the turbine inlet temperature, and its heat is the heat input standing for the fuel. The numbers are illustrative inputs, not a real machine's.

What this example assumes (important)
- Each operating point is the same steady calculation as the design point, solved again with the operated values. The compressor's isentropic efficiency 0.85, the turbine's 0.88, the generator efficiency 0.98, the pressure ratio 10 and the air mass flow 10 kg/s stay the same at every operating point unless you change them.
- In a real gas turbine, when the operating point moves, the efficiencies, the pressure ratio and the flow drawn in all change together along the compressor and turbine characteristics (how pressure ratio and efficiency depend on flow, speed and inlet temperature). With fixed efficiencies this example does not calculate that matching. With the compressor and turbine given by maps, Pilot Mode also calculates the operating point along the maps at a speed (tutorial 5 of the Thermal Cycle CAD).
- The numbers therefore show the trend when one thing changes and the rest is held; they do not predict a real machine's part load or hot-day output. Matching the mass flow by hand in step 4 approximates only one property (a nearly constant intake volume).

How it is calculated (initial point; properties of air from CoolProp, HEOS::Air): ① compressor inlet 100 kPa, 300 K → ② outlet p_2 = 10 \times 100 kPa, h_2 = h_1 + (h_{2s} - h_1)/0.85 (with h_{2s} = h(p_2, s_1)), 621.4 K; compressor work \dot m (h_2 - h_1) = 3.296 MW → ③ combustor at 1 MPa to 1400 K, heat input \dot m (h_3 - h_2) = 8.866 MW → ④ turbine outlet at the cooler's 100 kPa, h_4 = h_3 - 0.88 (h_3 - h_{4s}), 864.6 K; turbine work 6.227 MW → the cooler brings it back to 300 K, rejecting 5.935 MW. Net shaft power 6.227 − 3.296 = 2.931 MW, net electric power 0.98 × 2.931 = 2.873 MW, cycle efficiency 2.931 ÷ 8.866 = 33.06 %. The actual calculation solves these equations together (TESPy), with the same result.

Preparation
1. In the Thermal Cycle CAD: ⋮ → “📘 Tutorials” → “Brayton: the basic gas turbine” → “Place on the canvas”.
2. Press “Pilot”. The check says LIMITED: items without a value in the way the cycle is specified (the compressor's polytropic efficiency, electric power, …) are listed as unavailable. This does not affect the operations below.
3. Choose these six items to operate (the others may be removed):
- “Control panel” tab: Combustor (as a heater) · Outlet temperature; Combustor (as a heater) · Heat to the working fluid (effective heat) (changes a fixed condition); Mass flow of the size target
- “Other conditions and efficiencies” tab: Compressor · Pressure ratio (outlet / inlet) (virtual parameter change); Compressor · Isentropic efficiency (virtual parameter change); Exhaust heat rejection (as a cooler) · Outlet temperature (condition change; it stands for the ambient temperature, not something an operator sets)
4. As instruments, add net electric power, cycle efficiency, heat input to the working fluid, back work ratio, “Point 3 · Temperature” (turbine inlet), “Point 4 · Temperature” (turbine outlet) and “Point 1 · Volume flow” (the volume the compressor draws in), and start.

The state after preparation steps 1–4 is shared here: Shared pilot: Brayton (gas turbine). Open it without logging in and try steps 1–6 below straight away (each person gets an operating point of their own, starting at the initial point). A shared pilot cannot “Go back to the initial (design) point”, so where a step says to return to the design point, enter the initial values again (combustor outlet temperature 1400 K, pressure ratio 10, compressor isentropic efficiency 0.85, exhaust heat rejection outlet temperature 300 K, size target 10 kg/s) and recalculate. The operation numbers therefore differ from the text.

The initial operating point (operation 0): net electric power 2.873 MW, cycle efficiency 33.06 %, heat input 8.866 MW, back work ratio 52.9 %, turbine outlet 864.6 K, intake volume flow 8.609 m³/s.

1. Lower the turbine inlet temperature (operation 1): set the combustor's outlet temperature to 1300 K and recalculate. Net electric power 2.420 MW (−15.8 %), cycle efficiency 32.19 % (−0.87 pt), turbine outlet 798.3 K. The compressor's work is unchanged and only the turbine's falls, so the power drops a lot. Go back with “Back to the initial (design) point” in the history (operation 2).

2. Raise the pressure ratio (operation 3): set the compressor's pressure ratio to 15. The cycle efficiency rises to 35.65 % (+2.59 pt), but the net electric power falls slightly to 2.807 MW (−2.3 %) and the back work ratio becomes 59.1 %: at this temperature the pressure ratio of the best efficiency is not that of the most power. Go back to the design point (operation 4).

3. Compressor fouling as an efficiency loss (operation 5): set the compressor's isentropic efficiency to 0.80. Net electric power 2.671 MW (−7.0 %), cycle efficiency 31.47 % (−1.59 pt). This is a virtual parameter change showing a sensitivity; fouling itself is not calculated. Go back to the design point (operation 6).

4. A hotter day (operations 7 and 8): set the outlet temperature of the exhaust heat rejection (the compressor inlet) to 315 K (41.85 °C).
- Operation 7 (the air mass flow stays at 10 kg/s): net electric power 2.714 MW (−5.5 %), cycle efficiency 32.37 % (−0.69 pt). But the intake volume flow has risen to 9.040 m³/s (+5.0 %). A real gas turbine at constant speed draws nearly the same volume, so warmer air means less mass.
- Operation 8: set the mass flow of the size target to 10 × 300/315 = 9.524 kg/s. The volume flow returns to 8.610 m³/s, nearly the design's, and the net electric power is 2.584 MW (−10.0 % from the design point). The turbine inlet temperature stays at 1400 K and the heat input falls to 8.146 MW.
- Constant volume is not a feature of Pilot Mode but an approximation made by setting the mass flow by hand (the closed-cycle model cannot take the intake volume as a condition).

Go back to the design point (operation 9).

5. Constant heat input (fuel) on the hotter day (operation 10): set the combustor's heat to the working fluid to 8.87 MW, the exhaust heat rejection's outlet temperature to 315 K and the mass flow of the size target to 9.524 kg/s, and recalculate them together.
- “Change a fixed condition?” appears: the combustor's outlet specification changes from “outlet temperature” to “heat”, and the turbine inlet temperature turns from a condition into a result. Press “Approve and calculate”.
- Result: turbine inlet temperature 1463.1 K (63.1 K above the design's 1400 K), turbine outlet 906.5 K, net electric power 2.857 MW (−0.6 % from the design point), cycle efficiency 32.86 % (−0.20 pt).
- Enter a heat different from the initial value (8.866 MW). The same value counts as “no change”, and the specification is not switched.

6. Compare: in the Compare tab choose A = operation 8 and B = operation 10. Net electric power +0.272 MW (+10.5 %), heat input +0.724 MW (+8.9 %), turbine inlet temperature +63.1 K. With the heat input held, the power hardly falls — because the turbine inlet temperature ends up 63 K above the design. In a real gas turbine the turbine inlet temperature is at the limit the materials allow, and the maximum power is set at that temperature. That is why the effect of the ambient temperature on output is usually compared at constant turbine inlet temperature (operation 8).

### What it cannot do
- Equipment operation such as valve opening, pump or fan speed or load demand (no valve characteristics or performance curves). Speed and IGV angle can be operated only with compressors and turbines on maps.
- The response in time (dynamic pilot); it is shown as unavailable.
- Alarms and trips (planned); the toolbar shows “Alarms: not set up”.
- Switching the calculation mode (flow, heat input, power); only the size target's value can be operated.
- Writing an operating point back into the design: change the design by entering the values in Design Mode.

## How an operating point is solved
A pilot operating point is the design's cycle definition D with the overlay O (operated values, approved specification switches, released conditions) laid over it, D \oplus O, sent to the same thermal cycle calculation as Design Mode. With an empty O the conditions are Design Mode's, and so is the result (the same fingerprint).

## Checks before calculating
1. Is the value inside the control's range and the setting's physical range?
2. Does a value that needs its specification switched have an approval (otherwise 409 asks for one)?
3. Is D \oplus O free of missing or duplicated conditions (one pressure per pressure level, …)? If not, nothing is calculated.

## Comparison
\Delta = B - A, \qquad r = \frac{B - A}{A} \times 100\ \% \quad (r \text{ is not given when } |A| \text{ is numerically zero})
Efficiencies, COP, dryness and capacity use show 100\,(B - A) in percentage points (pt).

## The gas turbine example's values
The example's numbers are this calculation (air from CoolProp's HEOS::Air) of the tutorial cycle with each operation laid over it. The intake volume flow is \dot V = \dot m\, v at state 1.

- Pilot results are quasi-steady operating points, not transients in operation (start-up, during a load change).
- A virtual parameter change (an efficiency, …) shows a sensitivity; what would cause it (fouling, wear) is not calculated.
- The example is a closed air-standard cycle without the change of composition by combustion, cooling air, pressure drops or part-load characteristics.