What each block of the Chemical CAD means

Every block of the Chemical CAD is a steady model that calculates its outlet gas stream from its inlet streams. The mixer, splitter, heater, cooler and heat exchanger leave the composition unchanged (no reaction); the equilibrium reactor, conversion reactor, combustor, PFR, CSTR and Residence Time Reactor change it by chemical equilibrium, a given conversion or the kinetics of the mechanism.

A block carries the name of real equipment but represents only part of its behaviour. The “combustor”, for example, does not model the flame or how fast it burns: it is a box that burns the mixed gas to equilibrium (or by a given fraction). Knowing what each block represents, and what it leaves out, keeps you from giving the wrong conditions or misreading the results.

Mixing methane and air, heating the mixture and reacting it in a PFR, then reading the composition at the outlet takes six blocks: gas source (methane), gas source (air) → mixer → heater → PFR → outlet. The composition does not change in the mixer or the heater; the reaction starts only inside the PFR.

This page explains the 14 blocks in the Chemical CAD's block list: what each represents in the calculation (the model), what it connects to (ports), its inputs (the variables you set) and outputs (the result variables), and what is checked. The “?” next to an input explains that field; this page gathers what the blocks themselves mean. Pipes, pumps and liquid blocks are on What each block of the Engineering CAD means.

## Contents
- What all blocks share · Reading the input and output tables
- Sources and outlets: Gas Source · Outlet
- Mixing and splitting: Mixer · Splitter
- Heating, cooling and heat exchange: Heater · Cooler · Heat Exchanger (gas–gas) · Quench
- Reactors: Equilibrium Reactor · Conversion Reactor · Combustor · PFR · CSTR · Residence Time Reactor

## What all blocks share
- Steady calculations: each block calculates its outlet stream from its inlet streams at steady state (only the Residence Time Reactor follows the change over its reaction time and passes the final state on). The network is calculated from upstream to downstream; recycle loops cannot be drawn.
- What a stream carries: a connection carries a gas stream (composition, temperature, pressure, mass flow and reaction mechanism). The mechanism is chosen at the gas source; downstream blocks calculate with the mechanism of their inlet stream. Streams with different mechanisms cannot be combined.
- With or without chemical reaction: the mixer, splitter, heater, cooler and heat exchanger do not change the composition (no reaction). The equilibrium reactor and the combustor (equilibrium) go to chemical equilibrium; the conversion reactor and the combustor (conversion) apply the conversion you give; the PFR, CSTR and Residence Time Reactor react by the mechanism's kinetics. The quench lets you choose frozen or equilibrium after it.
- Pressure loss: the mixer, heater, cooler, equilibrium reactor, conversion reactor, combustor, PFR and CSTR share a “pressure loss” setting (none / fixed / K value). The loss is taken at the outlet at constant specific enthalpy and composition (the reaction or heating itself is calculated at the pressure before the loss).
- Signs: heat is positive when added to the stream (for the cooler's and quench's “heat removed”, positive when taken away).
- Where it is calculated, and reuse: the gas source and outlet are calculated at once on the web server; all other blocks are calculated by a worker (with Cantera). Each block's result is stored and reused while its inlet streams stay the same (the cache).
- Showing the results: select a block and the property panel's “Results” shows the key results (flow, velocity, temperature, pressure, pressure loss), followed by the other results and a composition table by species.

## Reading the input and output tables
Each block's input table has the columns quantity, unit, description and required / optional; the output table has quantity, unit and description (outputs are results, so they have no required / optional column). The quantity names are those of the form fields and result items on screen.

The required / optional column

- Required: always give a value; the calculation cannot run with it blank.
- Required (when …): shown and required only with the choice in brackets. Otherwise it is hidden, and giving it a value is an error (“does not apply with the other settings”).
- Optional (default …): starts with a value; you need not change it.
- Optional: may be left blank; the description says what blank means.

The unit column: the SI unit used inside the calculation; every pressure is absolute. On screen, pressures can be entered and shown in kPa, bar, atm or MPa, temperatures in °C, heat and power in kW, flows in kg/h or m³/h, and so on. “−” is a dimensionless quantity (a ratio or fraction), “(choice)” a field chosen from a list, “(on / off)” a switch, “(text)” a field typed as text.

The description column: an “initial” value is a rough starting value in a newly placed block, not a recommended or standard value. Fields marked “[Advanced]” are in the collapsible “Advanced settings” at the bottom of the form (it opens by itself when a field inside has an error). The ranges are the physical and calculation-protection limits; the operational input range is shown below each field as “Input range”.

Solver settings: numbers of steps, tolerances, iteration limits and the like. They are part of the calculation conditions: changing one makes it a different calculation (the cache of the old conditions is not used).

An output shared by all blocks: an outlet connection passes the following stream downstream. In each block's output table it is the single row “Outlet stream”. The state can be checked in the results of the outlet block it leads to.
Quantity — Unit — Description
Composition — − — Amount of each species (normalized by the sum).
Composition basis — (category) — Mole or mass fractions. Outlet streams of blocks calculated with Cantera are in mole fractions.
Temperature — K —
Pressure — Pa — Absolute.
Mass flow — kg/s — Empty for a stream without a flow (for example the quick equilibrium calculation).
Reaction mechanism — (file) — Carried unchanged from the gas source; identified by the hash of its content.
## Sources and outlets
### Gas Source block
- Represents: Defines a gas stream entering the system: composition, temperature, pressure, flow and reaction mechanism, passed downstream. It calculates nothing (except converting a volumetric flow to a mass flow, and the temperature of a state given by h or s).
- Ports: Outlet (gas, required).
- Checks and cautions: Composition species must be in the mechanism. A volumetric flow needs the mechanism's molar masses (ideal-gas phases only). A stream with no flow is refused by blocks that need a flow.

Inputs
Quantity — Unit — Description — Required / optional
Composition — − — Species and their amounts. The amounts are normalized by their sum (they need not add up to 1). Only species of the chosen reaction mechanism. Initially air (O2 0.21, N2 0.79). — Required
Amounts given as — (choice) — Whether the composition amounts are mole or mass fractions. Used for: Decides whether the composition values are read as mole or mass fractions. — Optional (default mole basis)
State given by — (choice) — Temperature, specific enthalpy or specific entropy (advanced). Used for: with h or s the temperature is found from the composition and pressure (in a worker), passed on and shown. — Optional (default temperature)
Temperature — K — Temperature of the stream (absolute). Greater than 0. Initial 300 K (26.85 °C). — Required (state by temperature)
Specific enthalpy — J/kg — On the mechanism's reference (formation enthalpy included). — Required (state by h)
Specific entropy — J/(kg·K) — Absolute entropy at this pressure. Greater than 0. — Required (state by s)
Pressure — Pa — Pressure of the stream (absolute). Greater than 0. Initial 101325 Pa (101.325 kPa). — Required
Flow given as — (choice) — How the flow is given: mass flow / volumetric flow (at this stream's temperature and pressure) / normal volumetric flow (0 °C, 1 atm) / no flow. Used for: Chooses the field that gives the flow. A volume is converted to a mass flow for the blocks downstream. No flow is a state only: blocks that need a flow (mixer, PFR, a heater given a duty, …) refuse it. — Optional (default mass flow)
Mass flow — kg/s — Mass flow; at least 0. At least 0. Initial 0.01 kg/s. — Required (when Flow given as = mass flow)
Volumetric flow — m³/s — Volumetric flow at the stream's temperature and pressure, converted to a mass flow with the ideal-gas density \rho = PM/(RT). At least 0. Initial 0.01 m³/s. — Required (when Flow given as = volumetric flow)
Normal volumetric flow — Nm³/s — Volumetric flow at 0 °C and 1 atm (Nm³/s), converted to a mass flow with the ideal-gas density. At least 0. Initial 0.01 Nm³/s. — Required (when Flow given as = normal volumetric flow)
Reaction mechanism — (choice) — The file with the species' thermodynamic data and reactions. The blocks downstream calculate with it. Streams with different mechanisms cannot be combined. — Required
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
↑ Contents

### Outlet block
- Represents: The boundary where a stream leaves the system. It reports the arriving state and, with a boundary pressure, checks the pressure margin.
- Ports: Inlet (gas, required).
- Checks and cautions: A warning when the arriving pressure is below the boundary pressure. Mean molar mass, density, volumetric and molar flows appear only when the mechanism's molar masses are registered.

Inputs
Quantity — Unit — Description — Required / optional
Boundary pressure (optional) — Pa — Pressure of what the stream discharges into (absolute). Greater than 0. Used for: The result shows the margin between the arriving pressure and this value, with a warning when it falls short. A splitter in pressure balance uses it as the branch's end pressure. Blank: no margin. — Optional
Outputs
Quantity — Unit — Description
Pressure — Pa — Pressure of the arriving stream (absolute).
Temperature — K — Temperature of the arriving stream.
Mass flow — kg/s — Mass flow of the arriving stream (when it has a flow).
Margin to the boundary pressure — Pa — Arriving pressure − boundary pressure; negative means short, with a warning (only with a boundary pressure).
Mean molecular weight — kg/kmol — Mean molar mass (when the mechanism's molar masses are registered).
Density — kg/m³ — Ideal-gas density \rho = PM/(RT) (with registered molar masses).
Volumetric flow — m³/s — Volumetric flow at the arriving temperature and pressure (with a flow and molar masses).
Volumetric flow at normal conditions (0 °C, 1 atm) — Nm³/s — Volumetric flow at 0 °C and 1 atm (with a flow and molar masses).
Molar flow — kmol/s — Molar flow (with a flow and molar masses).
Composition (mole, mass, dry) — − — Mole fraction of each species (wet); with molar masses also mass fractions, and with H2O the dry mole fractions (water removed). Below 1000 ppm also in ppm.
↑ Contents

## Mixing and splitting
### Mixer block
- Represents: Mixes several streams adiabatically. Mass and enthalpy are conserved; the composition is only mixed, not reacted (no chemical reaction).
- Ports: Inlet (accepts several streams, required) and outlet (required), both gas.
- Checks and cautions: Every inlet needs a flow. Gas streams must use the same mechanism; liquids must be the same liquid (there is no mixing rule for different liquids). With different inlet pressures and a blank outlet pressure, the streams are mixed at the lowest inlet pressure.

Inputs
Quantity — Unit — Description — Required / optional
Outlet pressure — Pa — [Advanced] Pressure after mixing (absolute). Blank: the lowest inlet pressure. Greater than 0. Used for: Used as the pressure of the mixed state, for the outlet temperature and density; the block's pressure loss is taken from it. — Optional
Pressure loss — (choice) — [Advanced] How the block's irreversible pressure loss is given: none / a fixed value / a K value. Used for: Used for the outlet pressure. The loss is taken at the outlet at constant specific enthalpy and composition (the mixing, heating or reaction itself is calculated at the pressure before the loss). — Optional (default none)
Pressure loss Δp — Pa — [Advanced] The fixed pressure loss \Delta p. At least 0. Initial 1000 Pa (1 kPa). — Required (when Pressure loss = fixed Δp)
Loss coefficient K — − — [Advanced] Loss coefficient K: \Delta p = K \rho u^2/2 with u = \dot m/(\rho A_{\mathrm{ref}}). At least 0. Initial 1. — Required (when Pressure loss = K factor)
Reference cross-section area — m² — [Advanced] Cross-section A_{\mathrm{ref}} for the reference velocity u of the K value. Greater than 0. Initial 0.01 m². — Required (when Pressure loss = K factor)
Reference density — (choice) — [Advanced] Density used in the K formula: inlet / outlet. Default inlet. — Required (when Pressure loss = K factor)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Mean molecular weight — kg/kmol — Mean molar mass.
Pressure loss — Pa — The block's pressure loss \Delta p (fixed or K value).
Reference density — kg/m³ — Density used in the K formula.
Reference velocity — m/s — Reference velocity u used in the K formula.
↑ Contents

### Splitter block
- Represents: Divides one stream into outlets 1 and 2. The split is given, or found so that the pressures at the ends of the two branches balance (pressure balance). Temperature and composition are unchanged.
- Ports: Inlet (required), outlets 1 and 2 (required), all gas.
- Checks and cautions: Pressure balance works only when two branches of pipes, heaters and reactors end at outlets (both with or both without a boundary pressure) or at the same mixer. With no pressure loss in either branch the split is undetermined and the calculation fails.

Inputs
Quantity — Unit — Description — Required / optional
Flow split — (choice) — How the flow is split: a given fraction / pressure balance (the fraction at which the ends of both branches balance). Used for: Decides the flows to outlets 1 and 2. Pressure balance works when two branches of pipes, heaters and reactors only end at outlets (both with or both without a boundary pressure) or at the same mixer. — Optional (default given fraction)
Fraction to outlet 1 (0–1) — − — Fraction of the inlet mass flow sent to outlet 1 (0–1); the rest goes to outlet 2. At least 0 and at most 1. Initial 0.5. — Required (when Flow split = given fraction)
Junction — (choice) — [Advanced] Junction loss: ideal (no loss) / a K value per outlet. Used for: Used for each outlet's pressure: with K values, \Delta p = K \rho u^2/2 (that outlet's velocity) and the static change from the velocity change enter the outlet pressure. — Optional (default ideal)
Inlet diameter — m — [Advanced] Inner diameter of the junction inlet, for the inlet velocity. Greater than 0. Initial 0.05 m. — Required (when Junction = K per outlet with diameters)
Outlet 1 diameter — m — [Advanced] Inner diameter of outlet 1, for its velocity u. Greater than 0. Initial 0.05 m. — Required (when Junction = K per outlet with diameters)
Outlet 2 diameter — m — [Advanced] Inner diameter of outlet 2, for its velocity u. Greater than 0. Initial 0.05 m. — Required (when Junction = K per outlet with diameters)
K to outlet 1 (outlet 1 velocity) — − — [Advanced] Loss coefficient to outlet 1 (on outlet 1's velocity). No correlation depending on the flow ratio is registered, so you give the value. At least 0. Initial 1. — Required (when Junction = K per outlet with diameters)
K to outlet 2 (outlet 2 velocity) — − — [Advanced] Loss coefficient to outlet 2 (on outlet 2's velocity). At least 0. Initial 1. — Required (when Junction = K per outlet with diameters)
Junction loss — (on / off) — [Advanced] Whether this loss is calculated. Default on. — Required (when Junction = K per outlet with diameters)
Solver settings
Quantity — Unit — Description — Required / optional
Maximum iterations — − — Iteration limit for the pressure-balance split. At least 5. Used for: Without balance within this many iterations the calculation fails. — Optional (default 60)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Fraction to outlet 1 — − — Fraction sent to outlet 1.
Fraction to outlet 2 — − — Fraction sent to outlet 2.
Mass flow to outlet 1 — kg/s — Mass flow of outlet 1.
Mass flow to outlet 2 — kg/s — Mass flow of outlet 2.
Outlet 1 pressure — Pa — Pressure at outlet 1.
Outlet 2 pressure — Pa — Pressure at outlet 2.
Junction loss to outlet 1 — Pa — Junction loss to outlet 1 (0 when ideal).
Junction loss to outlet 2 — Pa — Junction loss to outlet 2 (0 when ideal).
Pressure at the end of branch 1 — Pa — Pressure at the end of branch 1 found by the balance (pressure balance only).
Pressure at the end of branch 2 — Pa — Pressure at the end of branch 2 (pressure balance only).
Branch evaluations — − — Iterations of the pressure balance (pressure balance only).
Pressure surplus at the boundaries — Pa — Mean excess pressure over the boundary pressures at both branch ends; negative gives a warning (both boundaries given).
↑ Contents

## Heating, cooling and heat exchange
### Heater block
- Represents: Heats a gas without changing its composition (no chemical reaction). Give the outlet temperature or the heat duty; the other becomes the result.
- Ports: Inlet and outlet (gas, required), heat inlet (optional). The heat inlet may be connected only when the heat duty is given.
- Checks and cautions: A flow is needed when the heat duty is given, and for the heat duty to be reported. The pressure loss is taken at the outlet at constant specific enthalpy and composition.

Inputs
Quantity — Unit — Description — Required / optional
Specify — (choice) — How the outlet is given: outlet temperature / heat duty. Used for: The chosen field fixes the outlet; the other quantity becomes a result. — Optional (default outlet temperature)
Outlet temperature — K — Outlet temperature; the composition is unchanged (frozen). Greater than 0. Initial 500 K (226.85 °C). — Required (when Specify = outlet temperature)
Heat duty — W — Heat added to the stream; positive = heating, negative = cooling. Initial 10000 W. — Required (when Specify = heat duty)
Pressure loss — (choice) — [Advanced] How the block's irreversible pressure loss is given: none / a fixed value / a K value. Used for: Used for the outlet pressure. The loss is taken at the outlet at constant specific enthalpy and composition (the mixing, heating or reaction itself is calculated at the pressure before the loss). — Optional (default fixed Δp)
Pressure drop — Pa — [Advanced] A fixed pressure drop. At least 0. Default 0 Pa. — Required (when Pressure loss = fixed Δp)
Loss coefficient K — − — [Advanced] Loss coefficient K: \Delta p = K \rho u^2/2 with u = \dot m/(\rho A_{\mathrm{ref}}). At least 0. Initial 1. — Required (when Pressure loss = K factor)
Reference cross-section area — m² — [Advanced] Cross-section A_{\mathrm{ref}} for the reference velocity u of the K value. Greater than 0. Initial 0.01 m². — Required (when Pressure loss = K factor)
Reference density — (choice) — [Advanced] Density used in the K formula: inlet / outlet. Default inlet. — Required (when Pressure loss = K factor)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Pressure loss — Pa — The block's pressure loss \Delta p (fixed or K value).
Heat duty — W — Heat added to the stream (positive = heating). Given by an outlet temperature, it needs a flow.
Reference density — kg/m³ — Density used in the K formula.
Reference velocity — m/s — Reference velocity u used in the K formula.
↑ Contents

### Cooler block
- Represents: Cools a gas without changing its composition (no chemical reaction). Same calculation as the heater, with the heat counted as removed.
- Ports: Inlet and outlet (gas, required).
- Checks and cautions: If the outlet is hotter than the inlet, the heat removed is negative and a note says it actually heats.

Inputs
Quantity — Unit — Description — Required / optional
Given — (choice) — How the outlet is given: outlet temperature / heat removed. Used for: The chosen field fixes the outlet; the other quantity becomes a result. — Optional (default outlet temperature)
Outlet temperature — K — Outlet temperature; the composition is unchanged (frozen). Greater than 0. Initial 300 K (26.85 °C). — Required (when Given = outlet temperature)
Heat removed — W — Heat removed from the stream. Initial 10000 W. — Required (when Given = heat removed)
Pressure loss — (choice) — [Advanced] How the block's irreversible pressure loss is given: none / a fixed value / a K value. Used for: Used for the outlet pressure. The loss is taken at the outlet at constant specific enthalpy and composition (the mixing, heating or reaction itself is calculated at the pressure before the loss). — Optional (default fixed Δp)
Pressure drop — Pa — [Advanced] A fixed pressure drop. At least 0. Default 0 Pa. — Required (when Pressure loss = fixed Δp)
Loss coefficient K — − — [Advanced] Loss coefficient K: \Delta p = K \rho u^2/2 with u = \dot m/(\rho A_{\mathrm{ref}}). At least 0. Initial 1. — Required (when Pressure loss = K factor)
Reference cross-section area — m² — [Advanced] Cross-section A_{\mathrm{ref}} for the reference velocity u of the K value. Greater than 0. Initial 0.01 m². — Required (when Pressure loss = K factor)
Reference density — (choice) — [Advanced] Density used in the K formula: inlet / outlet. Default inlet. — Required (when Pressure loss = K factor)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Pressure loss — Pa — The block's pressure loss \Delta p (fixed or K value).
Heat removed — W — Heat removed from the stream; negative means it was actually heated (with a note).
Reference density — kg/m³ — Density used in the K formula.
Reference velocity — m/s — Reference velocity u used in the K formula.
↑ Contents

### Heat Exchanger (gas–gas) block
- Represents: A steady, single-phase heat exchanger without heat loss, moving heat from the hot stream to the cold one. The duty comes from one of UA (with the log-mean temperature difference, LMTD), effectiveness, a duty or an outlet temperature; both outlets follow from the heat balances.
- Ports: Hot inlet and outlet, cold inlet and outlet (all gas, required).
- Checks and cautions: The hot inlet must be hotter than the cold inlet. Specifications that cross the temperatures (counterflow: hot outlet below cold inlet, and so on) are refused, as are conditions that would boil a liquid (phase change is not modelled). The LMTD uses the end temperature differences; the change of specific heat along the exchanger is not resolved.

Inputs
Quantity — Unit — Description — Required / optional
Exchanger given by — (choice) — How the exchanger is given: UA / effectiveness / heat duty / hot outlet temperature / cold outlet temperature. Used for: The chosen field gives the heat duty. — Optional (default UA)
UA (coefficient × area) — W/K — UA (overall coefficient × area); Q = UA \cdot \mathrm{LMTD} is solved for Q. Greater than 0. Initial 100 W/K. — Required (when Exchanger given by = UA)
Effectiveness ε (0–1) — − — Effectiveness \varepsilon; Q = \varepsilon Q_{\max}. At least 0 and at most 1. Initial 0.7. — Required (when Exchanger given by = effectiveness)
Heat duty — W — Heat passed from the hot to the cold side; at least 0. At least 0. Initial 10000 W. — Required (when Exchanger given by = heat duty)
Hot outlet temperature — K — Hot side outlet temperature. Greater than 0. Initial 400 K (126.85 °C). — Required (when Exchanger given by = hot outlet temperature)
Cold outlet temperature — K — Cold side outlet temperature. Greater than 0. Initial 350 K (76.85 °C). — Required (when Exchanger given by = cold outlet temperature)
Flow arrangement — (choice) — Flow arrangement: counter-flow / parallel flow. Used for: Used for the temperature-cross check, the LMTD and, for parallel flow, the largest duty (both outlets at the same temperature). — Optional (default counterflow)
Hot side pressure drop — Pa — [Advanced] Pressure drop on the hot side. At least 0. Used for: Used for the hot outlet state: outlet pressure = inlet pressure − pressure drop. — Optional (default 0 Pa)
Cold side pressure drop — Pa — [Advanced] Pressure drop on the cold side. At least 0. Used for: Used for the cold outlet state: outlet pressure = inlet pressure − pressure drop. — Optional (default 0 Pa)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Heat duty — W — Heat passed from the hot to the cold side.
Effectiveness ε — − — Effectiveness Q/Q_{\max}.
Hot outlet temperature — K — Hot outlet temperature.
Cold outlet temperature — K — Cold outlet temperature.
Log-mean temperature difference — K — Log-mean temperature difference (from the end differences).
Minimum approach — K — The smaller of the two end temperature differences.
Hot side pressure drop — Pa — Hot side pressure drop (as given).
Cold side pressure drop — Pa — Cold side pressure drop (as given).
UA (achieved) — W/K — UA from the resulting duty and the LMTD.
↑ Contents

### Quench block
- Represents: Rapidly cools a hot gas: to a target temperature, by a heat removal, or by mixing with a quench stream. Afterwards the composition is frozen or reacted to HP equilibrium.
- Ports: Inlet and outlet (gas, required), quench stream inlet (optional; connect it only for mixing quench).
- Checks and cautions: Mixing quench without a quench stream, or a quench stream connected with another method, is an error. The time and kinetics of the quench itself are not calculated.

Inputs
Quantity — Unit — Description — Required / optional
Quench by — (choice) — How the gas is quenched: a target temperature / a heat removal / mixing with a quench stream. Used for: Decides the state right after the quench. The quench stream inlet is used only with mixing; connected with another method it is an error. — Optional (default temperature after the quench)
Temperature after the quench — K — Temperature right after the quench. Greater than 0. Initial 500 K (226.85 °C). — Required (when Quench by = temperature after the quench)
Heat removed — W — Heat removed from the stream. Initial 10000 W. — Required (when Quench by = given heat removal)
Chemistry after the quench — (choice) — Chemistry after the quench: frozen (composition unchanged) / equilibrium (reacts to HP equilibrium). Used for: Decides the outlet composition and temperature: frozen passes the quenched state, equilibrium the state after reacting to HP equilibrium. — Optional (default stopped)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Heat removed — W — Heat removed (target temperature or heat removal).
Temperature right after the quench — K — Temperature right after the quench (before any reaction after it).
Temperature — K — Outlet temperature (after the post-quench chemistry).
Quench stream mass flow — kg/s — Mass flow of the quench stream (mixing only).
↑ Contents

## Reactors
### Equilibrium Reactor block
- Represents: Reacts the inlet stream to chemical equilibrium (Cantera equilibrate), without kinetics. Choose TP (constant temperature and pressure), HP (constant enthalpy and pressure: adiabatic) or SP (constant entropy and pressure).
- Ports: Inlet and outlet (gas, required).
- Checks and cautions: It works without a flow; results that depend on the flow (heat in W and the like) are then omitted. Non-converging equilibrium is an error. Equilibrium NO and the like do not predict real emissions.

Inputs
Quantity — Unit — Description — Required / optional
Constraint — (choice) — Equilibrium constraint: TP (constant temperature and pressure) / HP (constant enthalpy and pressure = adiabatic) / SP (constant entropy and pressure). Used for: Decides which quantity stays as before the reaction; it changes the equilibrium temperature and where the reaction heat goes (surroundings or gas temperature). — Optional (default HP — adiabatic, constant pressure)
Pressure loss — (choice) — [Advanced] How the block's irreversible pressure loss is given: none / a fixed value / a K value. Used for: Used for the outlet pressure. The loss is taken at the outlet at constant specific enthalpy and composition (the mixing, heating or reaction itself is calculated at the pressure before the loss). — Optional (default none)
Pressure loss Δp — Pa — [Advanced] The fixed pressure loss \Delta p. At least 0. Initial 1000 Pa (1 kPa). — Required (when Pressure loss = fixed Δp)
Loss coefficient K — − — [Advanced] Loss coefficient K: \Delta p = K \rho u^2/2 with u = \dot m/(\rho A_{\mathrm{ref}}). At least 0. Initial 1. — Required (when Pressure loss = K factor)
Reference cross-section area — m² — [Advanced] Cross-section A_{\mathrm{ref}} for the reference velocity u of the K value. Greater than 0. Initial 0.01 m². — Required (when Pressure loss = K factor)
Reference density — (choice) — [Advanced] Density used in the K formula: inlet / outlet. Default inlet. — Required (when Pressure loss = K factor)
Solver settings
Quantity — Unit — Description — Required / optional
Solver — (choice) — Cantera's equilibrium solver: auto / Gibbs minimization / VCS / element potential. Used for: Chooses the solver; the converged equilibrium should not depend on it. Switch when it does not converge. — Optional (default automatic)
Relative tolerance — − — Relative tolerance. Greater than 0. Used for: Used to judge convergence; smaller is more accurate and slower. — Optional (default 1×10⁻⁹)
Maximum steps — − — Iteration limit of the equilibrium solver. At least 1. Used for: Exceeding it is a calculation error (no result). — Optional (default 1000)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Temperature — K — Equilibrium temperature (before the pressure loss).
Reaction heat (per unit mass of gas) — J/kg — Reaction heat per kg of gas, q_r = h(T_{\mathrm{in}}, X_{\mathrm{in}}) - h(T_{\mathrm{in}}, X_{\mathrm{eq}}).
Heat to the surroundings (per unit mass of gas) — J/kg — Heat to the surroundings per kg, q_{\mathrm{out}} = h_{\mathrm{in}} - h_{\mathrm{eq}} (0 for HP).
Heat that changed the gas's temperature (per unit mass of gas) — J/kg — Heat that changed the gas temperature per kg, q_s = q_r - q_{\mathrm{out}} (0 for TP).
Temperature before the reaction — K — Inlet temperature.
Heat release — W — Heat to the surroundings \dot m\, q_{\mathrm{out}} (TP and SP, with a flow).
Pressure loss — Pa — The block's pressure loss \Delta p (fixed or K value).
Reference density — kg/m³ — Density used in the K formula.
Reference velocity — m/s — Reference velocity u used in the K formula.
↑ Contents

### Conversion Reactor block
- Represents: Advances the reactions you write by a given conversion of each one's key reactant; up to three reactions, applied in order. No kinetics or equilibrium.
- Ports: Inlet and outlet (gas, required).
- Checks and cautions: Reactions read “reactants => products” with species of the mechanism. A reaction that does not balance its elements, a key species not among the reactants, or a conversion that consumes more than the stream carries is an error.

Inputs
Quantity — Unit — Description — Required / optional
Number of reactions — (choice) — Number of reactions (1–3). Used for: Shows the fields of reactions 2 and 3; the reactions are applied in order. — Optional (default 1)
Reaction 1 — (text) — Reaction equation (e.g. CH4 + 2 O2 => CO2 + 2 H2O); every element must balance. Initial CH4 + 2 O2 => CO2 + 2 H2O. — Required
Key reactant 1 — (text) — Reactant the conversion refers to (on the left of the equation). Initial CH4. — Required
Conversion 1 (0–1) — − — Fraction of the key reactant consumed by this reaction (0–1); extent \xi = X\, n_{\mathrm{key}}/|\nu_{\mathrm{key}}|. At least 0 and at most 1. Initial 0.5. — Required
Reaction 2 — (text) — The second reaction equation; every element must balance. Initial CO + 0.5 O2 => CO2. — Required (when Number of reactions = 2 / 3)
Key reactant 2 — (text) — Reactant reaction 2's conversion refers to. Initial CO. — Required (when Number of reactions = 2 / 3)
Conversion 2 (0–1) — − — Fraction of the key reactant consumed by reaction 2 (0–1), of the amount left after reaction 1. At least 0 and at most 1. Initial 0.5. — Required (when Number of reactions = 2 / 3)
Reaction 3 — (text) — The third reaction equation; every element must balance. Initial H2 + 0.5 O2 => H2O. — Required (when Number of reactions = 3)
Key reactant 3 — (text) — Reactant reaction 3's conversion refers to. Initial H2. — Required (when Number of reactions = 3)
Conversion 3 (0–1) — − — Fraction of the key reactant consumed by reaction 3 (0–1), of the amount left after reaction 2. At least 0 and at most 1. Initial 0.5. — Required (when Number of reactions = 3)
Heat — (choice) — Heat condition: adiabatic / given heat duty / isothermal. Used for: Decides the outlet temperature: adiabatic keeps the specific enthalpy, isothermal the inlet temperature (the heat it takes is a result), a heat duty changes the enthalpy by the heat added. — Optional (default adiabatic)
Heat into the reactor — W — Heat added to the reactor; positive = heating, negative = cooling. Initial 1000 W. — Required (when Heat = given heat duty)
Pressure loss — (choice) — [Advanced] How the block's irreversible pressure loss is given: none / a fixed value / a K value. Used for: Used for the outlet pressure. The loss is taken at the outlet at constant specific enthalpy and composition (the mixing, heating or reaction itself is calculated at the pressure before the loss). — Optional (default none)
Pressure loss Δp — Pa — [Advanced] The fixed pressure loss \Delta p. At least 0. Initial 1000 Pa (1 kPa). — Required (when Pressure loss = fixed Δp)
Loss coefficient K — − — [Advanced] Loss coefficient K: \Delta p = K \rho u^2/2 with u = \dot m/(\rho A_{\mathrm{ref}}). At least 0. Initial 1. — Required (when Pressure loss = K factor)
Reference cross-section area — m² — [Advanced] Cross-section A_{\mathrm{ref}} for the reference velocity u of the K value. Greater than 0. Initial 0.01 m². — Required (when Pressure loss = K factor)
Reference density — (choice) — [Advanced] Density used in the K formula: inlet / outlet. Default inlet. — Required (when Pressure loss = K factor)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Extent of reaction 1 — kmol/s — Extent \xi of reaction 1 (molar flow).
Temperature — K — Temperature after the reactions (before the pressure loss).
Extent of reaction 2 — kmol/s — Extent of reaction 2.
Extent of reaction 3 — kmol/s — Extent of reaction 3.
Heat duty — W — Heat added (isothermal: the heat needed to hold the temperature; none when adiabatic).
Pressure loss — Pa — The block's pressure loss \Delta p (fixed or K value).
Reference density — kg/m³ — Density used in the K formula.
Reference velocity — m/s — Reference velocity u used in the K formula.
↑ Contents

### Combustor block
- Represents: Mixes the fuel, oxidizer (and diluent) streams adiabatically and burns them to HP equilibrium, or by a given fuel conversion as complete oxidation to CO2, H2O, N2 and SO2. Also reports the equivalence ratio, air ratio and O2.
- Ports: Fuel inlet and oxidizer inlet (required, each accepts several streams), diluent inlet (optional, several allowed) and outlet (required). Five inlet streams at most in total.
- Checks and cautions: The conversion mode handles fuels of C, H, O, N and S only and fails without enough oxygen. Equilibrium NOx is the equilibrium value, not a predicted emission (the conversion mode does not model NOx).

Inputs
Quantity — Unit — Description — Required / optional
Combustion model — (choice) — Combustion model: HP equilibrium / a given fuel conversion. Used for: Equilibrium solves HP equilibrium after adiabatic mixing; a given conversion fully oxidizes that fraction of the fuel (no reaction rates). — Optional (default chemical equilibrium)
Fuel conversion (0–1) — − — Fraction of the fuel that burns (0–1); what burns is fully oxidized to CO2, H2O, N2 and SO2. At least 0 and at most 1. Initial 1. — Required (when Combustion model = specified conversion)
Heat loss to the surroundings — W — Heat lost from the combustor to the surroundings. Used for: Q/\dot m is taken from the mixture's specific enthalpy before combustion; 0 = adiabatic. — Optional (default 0 W)
Pressure loss — (choice) — [Advanced] How the block's irreversible pressure loss is given: none / a fixed value / a K value. Used for: Used for the outlet pressure. The loss is taken at the outlet at constant specific enthalpy and composition (the mixing, heating or reaction itself is calculated at the pressure before the loss). — Optional (default none)
Pressure loss Δp — Pa — [Advanced] The fixed pressure loss \Delta p. At least 0. Initial 1000 Pa (1 kPa). — Required (when Pressure loss = fixed Δp)
Loss coefficient K — − — [Advanced] Loss coefficient K: \Delta p = K \rho u^2/2 with u = \dot m/(\rho A_{\mathrm{ref}}). At least 0. Initial 1. — Required (when Pressure loss = K factor)
Reference cross-section area — m² — [Advanced] Cross-section A_{\mathrm{ref}} for the reference velocity u of the K value. Greater than 0. Initial 0.01 m². — Required (when Pressure loss = K factor)
Reference density — (choice) — [Advanced] Density used in the K formula: inlet / outlet. Default inlet. — Required (when Pressure loss = K factor)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Temperature — K — Temperature after combustion (before the pressure loss).
Equivalence ratio φ — − — Equivalence ratio \varphi of all inlets (complete oxidation of C, H, S; Cantera's definition).
Air ratio λ — − — Air ratio \lambda = 1/\varphi.
O2 (wet, mole fraction) — − — O2 mole fraction at the outlet (wet).
O2 (dry, mole fraction) — − — O2 mole fraction at the outlet (dry, without H2O).
Unburned fuel fraction — − — Unburned fuel fraction 1 - conversion (given conversion only).
Pressure loss — Pa — The block's pressure loss \Delta p (fixed or K value).
Reference density — kg/m³ — Density used in the K formula.
Reference velocity — m/s — Reference velocity u used in the K formula.
Composition (mole fractions) — − — Mole fraction of each species at the outlet.
↑ Contents

### PFR block
- Represents: Plug flow reactor: the gas moves through the tube without mixing along its length and reacts by the mechanism's kinetics from inlet to outlet, at the constant inlet pressure.
- Ports: Inlet and outlet (gas, required).
- Checks and cautions: A flow is needed. Failure to integrate to the outlet within the steps is an error. With a pressure loss, the reaction is still calculated at the inlet pressure and the loss taken at the outlet.

Inputs
Quantity — Unit — Description — Required / optional
Length — m — Reactor length. Greater than 0. Initial 1 m. — Required
Cross-section area — m² — Reactor cross-section; it sets the velocity u = \dot m/(\rho A) and the residence time. Greater than 0. Initial 0.001 m². — Required
Energy equation — (on / off) — Whether the energy equation is solved. Used for: On: the reaction heat changes the temperature (adiabatic). Off: it reacts at the inlet temperature (isothermal). — Optional (default on)
Pressure loss — (choice) — [Advanced] How the block's irreversible pressure loss is given: none / a fixed value / a K value. Used for: Used for the outlet pressure. The loss is taken at the outlet at constant specific enthalpy and composition (the mixing, heating or reaction itself is calculated at the pressure before the loss). — Optional (default none)
Pressure loss Δp — Pa — [Advanced] The fixed pressure loss \Delta p. At least 0. Initial 1000 Pa (1 kPa). — Required (when Pressure loss = fixed Δp)
Loss coefficient K — − — [Advanced] Loss coefficient K: \Delta p = K \rho u^2/2 with u = \dot m/(\rho A_{\mathrm{ref}}). At least 0. Initial 1. — Required (when Pressure loss = K factor)
Reference cross-section area — m² — [Advanced] Cross-section A_{\mathrm{ref}} for the reference velocity u of the K value. Greater than 0. Initial 0.01 m². — Required (when Pressure loss = K factor)
Reference density — (choice) — [Advanced] Density used in the K formula: inlet / outlet. Default inlet. — Required (when Pressure loss = K factor)
Solver settings
Quantity — Unit — Description — Required / optional
Steps (resolution) — − — Divisions that set the largest time step to \tau_0/n (\tau_0: residence time at the inlet density). At least 2. Used for: Used for accuracy and for the resolution of the profiles along the reactor. — Optional (default 200)
Relative tolerance — − — Relative tolerance. Greater than 0. Used for: Error target of the time integration (Cantera ReactorNet); smaller is more accurate and slower. — Optional (default 1×10⁻⁹)
Absolute tolerance — − — Absolute tolerance. Greater than 0. Used for: Error target of the integration (matters for very small amounts). — Optional (default 1×10⁻¹⁵)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Residence time — s — Residence time (for the PFR, integrated from inlet to outlet with the changing velocity).
Outlet temperature — K — Outlet temperature.
Inlet gas velocity (cross-section average) — m/s — Cross-section average inlet velocity u = \dot m/(\rho A).
Outlet gas velocity (cross-section average) — m/s — Cross-section average outlet velocity.
Pressure loss — Pa — The block's pressure loss \Delta p (fixed or K value).
Reference density — kg/m³ — Density used in the K formula.
Reference velocity — m/s — Reference velocity u used in the K formula.
Profiles along the reactor (charts) — m, s, K, − — Temperature, residence time t and species mass fractions against the position x.
↑ Contents

### CSTR block
- Represents: Finds the steady state of a continuous stirred-tank reactor (CSTR): gas flows in and out continuously and mixes instantly with the gas inside. Give the volume or the mean residence time (Cantera IdealGasReactor).
- Ports: Inlet (accepts several streams, mixed adiabatically first; required) and outlet (required).
- Checks and cautions: A flow is needed. Not reaching a steady state, or exceeding the maximum integration time, is an error; unconverged results are not shown. Species and energy balances are checked afterwards and their residuals reported.

Inputs
Quantity — Unit — Description — Required / optional
Specify — (choice) — How the reactor size is given: volume / mean residence time. Used for: The chosen field sets the reactor size; with a residence time, V = \tau \dot m/\rho is iterated for the volume. — Optional (default reactor volume)
Reactor volume — m³ — Reactor volume. Greater than 0. Initial 0.001 m³. — Required (when Specify = reactor volume)
Mean residence time — s — Mean residence time \tau = \rho V/\dot m (\rho: density inside the reactor, the outlet state). Greater than 0. Initial 0.01 s. — Required (when Specify = mean residence time)
Operating pressure (empty: inlet pressure) — Pa — Pressure inside the reactor (absolute). Greater than 0. Used for: The pressure the reactor is held at (the outlet pressure). Blank: the lowest inlet pressure. — Optional
Heat — (choice) — Heat condition: adiabatic / given heat duty / isothermal. Used for: Decides the energy equation; isothermal holds the reactor temperature and reports the heat it takes. — Optional (default adiabatic)
Heat into the reactor — W — Heat added to the reactor; positive = heating, negative = cooling. Initial 1000 W. — Required (when Heat = given heat duty)
Reactor temperature — K — Reactor temperature held in the isothermal case. Greater than 0. Initial 1200 K (926.85 °C). — Required (when Heat = isothermal)
Start the solution from — (choice) — Where the search for the steady state starts: the inlet's equilibrium / the inlet state. Used for: A CSTR may have several steady states (burning, extinguished, …), so the start can change the result; the result is the steady state reached from it. — Optional (default equilibrium)
Pressure loss — (choice) — [Advanced] How the block's irreversible pressure loss is given: none / a fixed value / a K value. Used for: Used for the outlet pressure. The loss is taken at the outlet at constant specific enthalpy and composition (the mixing, heating or reaction itself is calculated at the pressure before the loss). — Optional (default none)
Pressure loss Δp — Pa — [Advanced] The fixed pressure loss \Delta p. At least 0. Initial 1000 Pa (1 kPa). — Required (when Pressure loss = fixed Δp)
Loss coefficient K — − — [Advanced] Loss coefficient K: \Delta p = K \rho u^2/2 with u = \dot m/(\rho A_{\mathrm{ref}}). At least 0. Initial 1. — Required (when Pressure loss = K factor)
Reference cross-section area — m² — [Advanced] Cross-section A_{\mathrm{ref}} for the reference velocity u of the K value. Greater than 0. Initial 0.01 m². — Required (when Pressure loss = K factor)
Reference density — (choice) — [Advanced] Density used in the K formula: inlet / outlet. Default inlet. — Required (when Pressure loss = K factor)
Solver settings
Quantity — Unit — Description — Required / optional
Relative tolerance — − — Relative tolerance. Greater than 0. Used for: Error target of the integration and the default steady-state threshold (10 \times rtol). — Optional (default 1×10⁻⁹)
Absolute tolerance — − — Absolute tolerance. Greater than 0. Used for: Error target of the integration (matters for very small amounts). — Optional (default 1×10⁻¹⁵)
Maximum steps — − — Maximum integrator steps. At least 10. Used for: Exceeding it is a calculation error (no result). — Optional (default 20000)
State-change threshold for steady state (0 = 10 × rtol) — − — How small the change of the state (temperature and mass fractions) must be at steady state. 0 = 10 \times the relative tolerance. At least 0. Used for: Used to judge that the steady state is reached. — Optional (default 0)
Balance check tolerance — − — Allowed (relative) residual of the steady-state species and energy balances. Greater than 0. Used for: The integration continues until the residuals are below it, and they are checked at the end. — Optional (default 1×10⁻⁶)
Maximum integration time (steady-state search) — s — Limit on the time integrated to find the steady state; not the residence time. Greater than 0. Used for: Without a steady state within this time the calculation fails (no unconverged result). — Optional (default 10000 s)
Residence time tolerance (residence time given) — − — With a residence time given: allowed (relative) difference between the resulting and the given residence time. Greater than 0. Used for: Used to stop the volume iteration. — Optional (default 1×10⁻⁶)
Maximum volume iterations (residence time given) — − — With a residence time given: iteration limit for the volume. At least 1. Used for: Without matching the residence time within this many iterations the calculation fails. — Optional (default 30)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Temperature — K — Temperature inside the reactor (= outlet, before the pressure loss).
Pressure — Pa — Pressure inside the reactor (operating pressure).
Mean residence time — s — Mean residence time \tau = \rho V/\dot m (density inside the reactor).
Reactor volume — m³ — Reactor volume (found, when a residence time is given).
Mass flow — kg/s — Mass flow through the reactor (sum of the inlets).
Heat duty — W — Heat added to the reactor (isothermal: the heat needed to hold the temperature).
Species balance residual (relative) — − — Relative residual of the steady species balance.
Energy balance residual (relative) — − — Relative residual of the steady energy balance.
Integration time to reach the steady state (not the residence time) — s — Time integrated to reach the steady state; not the residence time.
Pressure loss — Pa — The block's pressure loss \Delta p (fixed or K value).
Reference density — kg/m³ — Density used in the K formula.
Reference velocity — m/s — Reference velocity u used in the K formula.
Composition and net production rate — −, kmol/(m³·s) — Mole and mass fractions in the reactor (= outlet) and each species' net production rate \dot\omega; at steady state, rate × volume balances the difference between in and out.
↑ Contents

### Residence Time Reactor block
- Represents: A batch reactor that reacts the inlet state for the given time, with no flow in or out; constant pressure or constant volume, adiabatic or isothermal (Cantera ReactorNet).
- Ports: Inlet and outlet (gas, required). The connections only pass the state before and after.
- Checks and cautions: The outlet mass flow is carried over from the inlet for the CAD connections (a note says it is not a continuous reactor). At constant volume a pressure change of 0.1 % or more gives a warning, and the changed pressure goes downstream.

Inputs
Quantity — Unit — Description — Required / optional
Reaction time — s — Time the gas reacts (at least 0). At least 0. Initial 0.01 s. — Required
Constraint — (choice) — Constraint: constant pressure / constant volume. Used for: Constant pressure lets the volume change; constant volume lets the pressure change. A change above 0.1 % at constant volume gives a warning, and that pressure goes downstream. — Optional (default constant pressure)
Heat — (choice) — Heat condition: adiabatic / isothermal. Used for: Adiabatic: the reaction heat changes the temperature. Isothermal: the inlet temperature is kept (no energy equation). — Optional (default adiabatic)
Solver settings
Quantity — Unit — Description — Required / optional
Points in the time history — − — Number of evenly spaced points saved in the time history. At least 2. Used for: The number of points in the charts; the integrator takes its own steps in between. — Optional (default 200)
Relative tolerance — − — Relative tolerance. Greater than 0. Used for: Error target of the time integration (Cantera ReactorNet); smaller is more accurate and slower. — Optional (default 1×10⁻⁹)
Absolute tolerance — − — Absolute tolerance. Greater than 0. Used for: Error target of the integration (matters for very small amounts). — Optional (default 1×10⁻¹⁵)
Maximum integrator steps per output interval — − — Maximum integrator steps between two points of the time history. At least 10. Used for: Exceeding it is a calculation error (no result). — Optional (default 20000)
Outputs
Quantity — Unit — Description
Outlet stream — (common table) — The state passed on at the outlet (common table).
Temperature — K — Temperature after the reaction time.
Pressure — Pa — Pressure after the reaction time (changes at constant volume).
Reaction time — s — Reaction time.
Heat release rate — W/m³ — Heat release rate per volume at the end.
Composition and net production rate — −, kmol/(m³·s) — Mole and mass fractions at the end of the reaction time, and each species' net production rate.
Time history (charts) — s, K, Pa, W/m³, − — Temperature, pressure, heat release rate, and the mass fractions and net production rates of the species that appear, against time t, at evenly spaced output points.
↑ Contents

## Adiabatic mixing (mixer; the inlets of the CSTR and combustor)
\dot m = \sum_i \dot m_i, \qquad \dot m\, h = \sum_i \dot m_i h_i, \qquad \dot m\, Y_k = \sum_i \dot m_i Y_{k,i}
The mixed state follows from this specific enthalpy h, the composition and the pressure.
## Heater and cooler (frozen composition)
h_{\mathrm{out}} = h_{\mathrm{in}} + \dot Q/\dot m
For the cooler, \dot Q = -\dot Q_{\mathrm{removed}}.
## Shared pressure loss
Fixed: p_{\mathrm{out}} = p - \Delta p. K value:
\Delta p = K \frac{\rho u^2}{2}, \qquad u = \frac{\dot m}{\rho A_{\mathrm{ref}}}
taken at the outlet at constant specific enthalpy and composition.
## Heat exchanger
\dot Q = UA \cdot \Delta T_{\mathrm{lm}}, \qquad \Delta T_{\mathrm{lm}} = \frac{\Delta T_1 - \Delta T_2}{\ln(\Delta T_1/\Delta T_2)}, \qquad \dot Q = \varepsilon\, \dot Q_{\max}
h_{h,\mathrm{out}} = h_{h,\mathrm{in}} - \dot Q/\dot m_h, \qquad h_{c,\mathrm{out}} = h_{c,\mathrm{in}} + \dot Q/\dot m_c
\Delta T_1 and \Delta T_2 are the end temperature differences; \dot Q_{\max} is the smaller duty that brings one stream to the other's inlet temperature. Given UA, the equation is solved for \dot Q.
## Where the equilibrium reactor's heat goes (per unit mass of gas)
q_r = h(T_{\mathrm{in}}, X_{\mathrm{in}}) - h(T_{\mathrm{in}}, X_{\mathrm{eq}}), \quad q_{\mathrm{out}} = h_{\mathrm{in}} - h_{\mathrm{eq}}, \quad q_s = h_{\mathrm{eq}} - h(T_{\mathrm{in}}, X_{\mathrm{eq}}), \quad q_r = q_{\mathrm{out}} + q_s
## Conversion reactor
Reaction j advances by \xi_j = X_j\, \dot n_{\mathrm{key},j} / |\nu_{\mathrm{key},j}| (X_j: conversion; \dot n_{\mathrm{key},j}: the key reactant's molar flow at that point), and each species changes as \dot n_k \leftarrow \dot n_k + \nu_{kj} \xi_j. Reactions are applied in the order 1, 2, 3.
## Combustor
The equivalence ratio \varphi is the inverse of the actual oxygen over the oxygen needed to oxidize the fuel's C, H and S completely (Cantera's definition); the air ratio is \lambda = 1/\varphi.
## PFR
A constant-pressure Lagrangian batch reactor follows the gas as it moves; the position comes from
\frac{dx}{dt} = u = \frac{\dot m}{\rho A}
(the last step is interpolated linearly to x = L). The residence time is \tau = \int_0^L dx/u.
## CSTR (steady)
\dot m\,(Y_{k,\mathrm{in}} - Y_k) + V \dot\omega_k W_k = 0, \qquad \dot m\,(h_{\mathrm{in}} - h) + \dot Q = 0, \qquad \tau = \frac{\rho V}{\dot m}
\dot\omega_k is the net production rate and W_k the molar mass. The steady state is reached by integrating in time from the initial state, for longer and longer, until both residuals are within the tolerance.
## Residence Time Reactor
\frac{dY_k}{dt} = \frac{\dot\omega_k W_k}{\rho}
integrated to the given reaction time at constant pressure or volume, adiabatic (with the energy equation) or isothermal.

- Steady calculations only (the Residence Time Reactor follows a batch in time, without flow). Recycle loops cannot be drawn.
- NOx and the like from equilibrium or combustion do not predict real emissions.
- Only the PFR, CSTR and Residence Time Reactor use kinetics; their results depend on the chosen mechanism.
- When a calculation's definition changes, this page is updated too.