ProcessChem

Chemical Equilibrium

About

Enter any set of components and amounts; finds which compounds are most stable at a chosen temperature and pressure, with the composition, phases and heat duty.

Inputs
Inputs
Results
Results

What This Models

Chemical reaction equilibrium. You give a feed — any components, in mass or moles — and the calculation finds the combination of compounds with the lowest total Gibbs energy at your final temperature and pressure, conserving every element.

This is a different question from the other Thermo modes. Phase Equilibrium holds the chemical identity fixed and moves temperature, pressure and energy around; Reaction takes the reaction and the conversion from you. Here the species turn into one another and the answer is a composition.

Inputs

The form has three cards, Feed, Species allowed to form and Conditions, with Calculate pinned at the bottom.

Feed

Each row is one component: its name in the first box (suggestions appear as you type) and its amount in the second. + Add component adds a row, up to 8, and ✕ removes one. The default is 5 mol of calcium carbonate with 1 mol of nitrogen.

The unit button beside each amount opens a menu grouped by kind: Moles, Mass, Volume, Molar flow, Mass flow, Volumetric flow and Normal flow. A normal flow (such as Nm³/h) is turned into moles at the normal reference set on the Units tab. Each row has its own unit, so one component can be in kg and another in mol. Picking another unit of the same kind converts that row's number; picking another kind of amount (kg after mol) changes that row only and keeps its number as typed. Switching between an amount and a flow (kg/h after kg) switches every row, since an amount and a rate cannot be added. A rate makes every result a rate too: a feed in kg/h gives moles per hour, and the heat is reported as a power. Each row is saved with its own unit.

Tap Scale to a total if you would rather enter a composition than absolute quantities: a total field appears, your amounts are treated as proportions and scaled to it, so 1 and 3 against a total of 100 kg mean 25 kg and 75 kg. The normalised split is shown under the field. Proportions need one unit, so this asks every row to be in the same unit.

Species allowed to form

The app works out every compound your feed's elements could form that it has thermodynamic data for, and says which elements it found: "Suggested from the elements in your feed (C, Ca, N, O)". The species allowed are summarised in one row each for Gas, Liquid and Solid: how many there are and the first few names. Tap a row to open that phase's list. There, ✕ beside a species leaves it out, Remove all clears the phase, and + Add offers the phase's other candidates, smallest first, with a search and Select all shown. A long list shows its first 120 species with a search box and a count of the rest. Opening a saved set or Reset to defaults works the list out again for the feed it brings.

Small molecules (up to 6 atoms) are allowed by default, because those are the species that actually appear at equilibrium: a large hydrocarbon is never an equilibrium product of combustion. Where the feed's elements form only a modest number of candidates (about 60 or fewer), the list is not cut by size at all and everything up to 20 atoms is allowed by default, because a cut would remove real condensed phases such as magnetite. Species above 20 atoms are never allowed by default, since a very large formula unit makes the solver fail to converge.

+ Add beside each group opens a sheet of that phase's other candidates, smallest first. Tap one to allow it. Every candidate is listed, the smallest first. Its search box matches name, formula or CAS number, and Done takes you back to the phase's list. Select all shown allows everything currently listed, up to the 120 rows shown at once, with a count of how many more your search would narrow to. Taps answer at once: the row dims while it is added.

Large selections

You can allow as many species as you like, including thousands. Above 40 the calculation screens them first, the way NASA's CEA program does. It solves with the likely species, reads off each element's chemical potential at that equilibrium, and from those works out the most each other candidate could reach. A gas that cannot reach one part in 10¹², or a condensed phase that would not be stable, is left out and shown as zero. The candidates that pass are added and it solves again, until nothing more passes. A large molecule is only looked up from tables first: using the highest heat capacity it could physically have, its Gibbs energy cannot be lower than a bound, and only if even that bound lets it matter is its full data prepared. The answer is the same as solving everything at once, to well within what the results show, and it takes seconds instead of hours: 300 species took 32 s solved whole and 0.25 s screened, and 2,400 C-H-O gases take about 2 s. The results say how many species were screened out.

While it works, the Calculate button shows its progress ("Cancel · preparing 12 of 48") and acts as Cancel.

Some phases have two descriptions, such as the ideal FeO and the real non-stoichiometric wüstite. Only one of the two can be allowed: adding one removes the other, and Select all shown skips the superseded one, because the solver would otherwise treat them as two coexisting substances. Changing the feed so that its elements change works out the list again; retyping a name or an amount keeps the species you chose.

Conditions

Conditions offers One condition, Inlet and outlet or Heat added. With one condition, the default, you give the Temperature and Pressure of the equilibrium; the feed is taken to be already there, so the heat is the heat of reaction alone and the results show the equilibrium only (Out). With Inlet and outlet, you give an Inlet and an Outlet temperature and pressure. The app solves the feed's own equilibrium at the inlet (shown as In) and the equilibrium at the outlet (Out), and the heat is the change between the two, sensible heat included. A feed typed as a compound is placed in the phase it really has at the inlet: water entering at 25 °C is a liquid, and at a 700 °C outlet it is a gas.

With Heat added you give the Inlet temperature and pressure and the heat added (0 = adiabatic, with an Adiabatic (0) shortcut). The app finds the temperature at which the products are at equilibrium and the energy balances. Every trial temperature is a full equilibrium, so it starts from a quick estimate, reuses each answer as the next start, and solves the final temperature once more with every start, so it agrees with One condition at that temperature. A big species list takes a few seconds; the button says where it is ("Solving at 1,950 °C …"). Species that cannot exist at a trial temperature are left out of that trial, and the ones excluded at the answer are named at the bottom. Methane in stoichiometric air from 25 °C reaches 2226.8 K with dissociation, against NASA CEA's 2226 K (3,299 C-H-O-N species, about a second on a laptop).

Ignore species below (mol % of everything present, 0.0001 % by default) is the cutoff: a species below it counts as not formed, so it is left out of the tables and the chart and named under "allowed, not formed". Raise it to see only the main products; lower it to see traces.

Equilibrium at gives the Temperature and Pressure the equilibrium is solved at, 900 °C and 1.01325 bar by default. Press Calculate. The results open on their own screen; Edit on the Inputs strip takes you back.

What comes back

The Inputs strip repeats the feed and the conditions, for example "calcium carbonate 5 + nitrogen 1 mol · 900.0 °C · 1.01325 bara".

The dark card says what happens, as reactions. Main reaction is the one that forms the most by mass, for example "CaCO₃(s) → CaO(s) + CO₂", with what it forms: "Forms 5 mol (280.4 g) CaO(s) · uses all the CaCO₃(s)". Competing lists the next three, each with what it forms. Any more sit behind More reactions (N). Where nothing reacts by half a percent or more, the card says "Nothing reacts", or "No reaction: water changes phase" when a feed only changes phase.

The reactions run from the feed as entered (One condition) or from the inlet equilibrium to the outlet (Inlet and outlet). They are found per compound, so a substance changing phase is not counted as a reaction. For each product, largest first, the app finds the smallest set of the compounds used up (and any by-products) that balances into a reaction, then fits how far each reaction runs so that together they reproduce the change exactly. Each reaction is named after the product it accounts for most of. When the change cannot be split that way, the card shows the overall change instead, never a wrong breakdown.

Conversion shows a bar for each compound that makes up at least 1 % of what went in and was used, largest share first (a trace, such as CO or NO below 0.1 %, is left out): here "CaCO₃(s) 100 %", since the nitrogen is not used.

In and out lists every compound above the cutoff, largest amount first, with In beside Out and a Total row that is the mass balance. The Share menu offers mol %, mass %, ppm, and mg/m³. mg/m³ applies to gases only, at the normal reference set on the Units tab, so the figure can be compared with the exposure limits on the Property tab's Hazards sheet. The Amount menu takes any amount or mass unit.

The heat follows, Heat in or Heat out, as an energy for a quantity or a power for a rate. Tap its ⓘ to see the data source for each species: every Gibbs energy is built from an enthalpy of formation, an absolute entropy and a heat capacity correlation.

Then one dropdown per phase, Gas phase, Liquid phase and Solid phase, closed until tapped; the header gives the number of species and the total, such as "6 species · 0.0386 mol/s". Inside, the species run largest first, with the same Share menu (ppm too, and mg/m³ for the gas). Each lists the species at equilibrium (Out), each a share of that phase and an amount. With a Known initial condition, In (the inlet's own equilibrium) sits beside Out. The menus above the table set the columns: Share in mol % or mass %, Amount in any amount or mass unit. Thin lines separate the columns, and a number always stays on one line. A trace share reads "<0.01". Species you allowed that did not form are named in a line under the table, "… allowed, not formed"; a phase with nothing in it says "none at equilibrium". A species counts as present only above the cutoff (Ignore species below, 0.0001 mol % by default), so a trace of ozone or atomic oxygen does not clutter an industrial result.

A note confirms the result was "Found by minimising the total Gibbs energy over the allowed species", and Methods used at the foot shows the method and the data each species came from.

Amber banners flag species left out for want of a complete heat capacity ("Left out for want of complete data", at the top of the results), and a feed component used as the ideal stoichiometric phase where a more realistic one exists. Species excluded as impossible at this temperature — a liquid below its melting point, or a solid above it — are named in a grey note, since that is the app doing the right thing.

Method

Each species' own Gibbs energy at temperature is built from its standard enthalpy of formation, its absolute entropy and its heat capacity, and the feed settles into whatever combination of species makes the total lowest, one balance per element.

Key Relations

Gᵢ(T) = Hf,298 + ∫Cp dT − T·(S°₂₉₈ + ∫(Cp/T) dT)     per species
minimise  Σ nᵢ·μᵢ   subject to one balance per element
μᵢ = Gᵢ + RT·ln(yᵢP)     gas — depends on how much is present
μᵢ = Gᵢ                  solid/liquid — pure phase, unit activity

Hf,298 and S°₂₉₈ are the formation enthalpy and absolute entropy at 298.15 K; the two integrals carry each up to your temperature. μᵢ is the chemical potential the minimisation actually balances element-by-element, numerically, not by hand. A condensed phase's μᵢ does not depend on how much of it is present, which is why a solid either survives or disappears entirely rather than settling at some intermediate amount — only a gas's does, through the yᵢP mixing term.

The heat duty is the full energy balance: enthalpy of the products at the final temperature, less enthalpy of the feed at its own temperature (with a known initial condition, of the feed's equilibrium at that temperature and pressure). It therefore includes both the heat of reaction and the sensible heat.

These are the standard relations of Gibbs energy minimisation (Smith and Missen 1982; Gordon and McBride 1994). The species data are NASA Glenn polynomials (McBride, Zehe and Gordon 2002) and the CRC, NIST-JANAF and Barin tables. See References.

About The Initial Pressure

It does not affect this result, and the field is not pretending otherwise. Feed enthalpy is pressure-independent for an ideal gas and for a condensed phase, so an isothermal-isobaric equilibrium depends only on the final pressure. It is still recorded, for completeness alongside the other conditions on the sheet.

The Limitation That Matters Most

Only the species you allow can form. Gibbs minimisation finds the best combination of what it is given, so a species left out simply cannot appear, and its absence from the answer means nothing at all. If you expect a product and do not see it, check it is in that phase's list under Species allowed to form before concluding it is not favoured.

Metastable Products Will Not Appear

Equilibrium is the state reached once every reaction has run to completion, so anything that survives in practice only because it decomposes slowly is absent from the answer — correctly, and unhelpfully if it is the thing being designed for.

Hydrogen peroxide is the clearest case. H₂O₂(l) → H₂O(l) + ½O₂ releases about 98 kJ/mol, so at equilibrium a peroxide solution has all decomposed: feed H₂O₂ and water here and the answer is water and oxygen. The decomposition it reports is real, but it says nothing about how long a stored solution keeps its strength, which is the number a product is rated on. Most partial-oxidation intermediates behave the same way.

For those, use the Reaction mode instead: it takes the stoichiometry and the conversion from you rather than deriving them, which is exactly what a kinetically controlled product needs.

Dissolved Species Are Modelled As Pure Phases

Every condensed species is treated as a pure phase at unit activity. In a solution it is not: salt in water is dissolved ions, and its activity is far from one — a 20 % NaCl solution is about 4.3 molal. Results for aqueous systems are therefore qualitative. They will get the direction and the stoichiometry right and the amounts only approximately.

Other Limitations

Ionic species are excluded: the solver balances elements but not charge, so admitting an ion would let it create charge from nothing. There are no solution phases — no molten slag, no solid solutions — so a system that really forms a melt is modelled only approximately; this handles calcination well and clinkering roughly. There is no kinetics. A heat capacity correlation used outside its fitted range is flagged for each species present, so compositions much above 1700 °C should be treated as indicative. The gas is treated as ideal, and a note says so above 50 bar: ammonia synthesis at 450 °C comes out 5 % low at 100 atm and 13 % low at 300 atm. Accuracy and limits has the measured deviations.

References

Method

  • Gibbs energy minimisation, one balance per element, and the chemical potentials (μᵢ = Gᵢ + RT ln(yᵢP) for a gas, unit activity for a pure solid or liquid): Smith, W. R. and Missen, R. W., Chemical Reaction Equilibrium Analysis: Theory and Algorithms, Wiley, 1982. Also Smith, J. M., Van Ness, H. C., Abbott, M. M. and Swihart, M. T., Introduction to Chemical Engineering Thermodynamics, 8th ed., McGraw-Hill, 2018.
  • Energy balance and heat duty (enthalpy of the products less enthalpy of the feed, with the heat capacity integrals carrying each species from 298.15 K to your temperature): Smith, Van Ness, Abbott and Swihart, as above.
  • Screening of large species lists, and the adiabatic flame check (methane in air, 2226 K): the approach of NASA's CEA program. Gordon, S. and McBride, B. J., Computer Program for Calculation of Complex Chemical Equilibrium Compositions and Applications. I. Analysis, NASA Reference Publication 1311, 1994. McBride, B. J. and Gordon, S., Computer Program for Calculation of Complex Chemical Equilibrium Compositions and Applications. II. Users Manual and Program Description, NASA Reference Publication 1311, 1996.

Species data

  • NASA polynomials (the heat capacity, enthalpy and entropy forms used for the 1,820 NASA species): McBride, B. J., Zehe, M. J. and Gordon, S., NASA Glenn Coefficients for Calculating Thermodynamic Properties of Individual Species, NASA/TP-2002-211556, 2002. The file format is described in NASA RP-1311 Part II, Appendix A.
  • Enthalpy of formation, absolute entropy and heat capacity from the CRC tables: CRC Handbook of Chemistry and Physics, CRC Press. The data draw on evaluated compilations such as NIST-JANAF (Chase, M. W., Jr., NIST-JANAF Thermochemical Tables, 4th ed., Journal of Physical and Chemical Reference Data, Monograph 9, 1998) and the Active Thermochemical Tables (ATcT, Argonne National Laboratory).
  • Condensed phases such as the cement clinker minerals and magnetite: Barin, I., Thermochemical Data of Pure Substances, 1997. Tetracalcium aluminoferrite: Hanein, T., Glasser, F. P. and Bannerman, M. N., "Thermodynamic data for cement clinkering", Cement and Concrete Research 132, 2020.

Comparison data

  • Ammonia at equilibrium (450 °C, 10, 100 and 300 atm, the 5 % and 13 % deviations): Larson, A. T. and Dodge, R. L., measurements published in the Journal of the American Chemical Society, 1923 and 1924.

See also the combined list on Methods and sources.