Thermodynamics

Property packages you can see inside

Every separation and every reactor rests on the phase equilibrium and the properties underneath it. AI Process Simulator gives you 23 property methods to choose from, lets you edit their parameters and draw their phase diagrams, and names the source of every number underneath.

Fluid packages

A component list, a method, and the options that matter

A fluid package is the components and the thermodynamic method a stream is calculated with. Build as many as you need in the Fluid Package Manager, and give each stream, or each sub-flowsheet, the one that suits it.

  • Activity models take a vapour-phase model of their own: Ideal, RK, SRK or Peng-Robinson
  • Liquid density by COSTALD or by the equation of state
  • Free water: the immiscible water phase, simplified or rigorous
  • Streams on different packages are reconciled wherever they meet, and nothing is dropped silently
The Fluid Package Manager with a water-ethanol package on the NRTL method with a Peng-Robinson vapour model, the package's components and the properties of water
A water–ethanol package on NRTL with a Peng-Robinson vapour phase.
Since version 2.1.0

Sour water, with its pH

Water carrying ammonia, H2S and CO2 does not behave like a gas dissolved in water. The three ionise, and ammonia and H2S hold each other in the water by an amount that depends on its pH. Sour PR and Sour SRK put G. M. Wilson’s sour water model, API Publication 955, under the water phase, the one HYSYS cites.

  • A feed holding water splits into vapour, hydrocarbon liquid and sour water, in every flash, stream, separator and column
  • A stream shows its pH, how much of each gas is ionised, the partial pressures over the water and the true species
  • Sodium hydroxide is in the library: caustic stays in the water and raises its pH
  • A sour water stripper solves on the Newton engine on Auto, and a line in Messages names any stream outside Wilson’s range

Wilson gives his model 20 to 140 °C, up to about 30 wt% dissolved and pH 2 to 14, with an average error of 24 % for NH3, 17 % for CO2 and 18 % for H2S against measured partial pressures. The app gives back his printed model column within 1.65 %.

Captioned, no sound needed.

Methods

Equations of state and activity models

The choice between the two families is the most consequential one in a simulation. Both are here, and each tells you plainly what it can and cannot do for your components.

MethodFamilyTypical use
Peng-Robinson (PR)Cubic equation of stateNatural gas, gas processing, refining, hydrocarbon systems at any pressure
PRSVPeng-Robinson with the Stryjek–Vera alpha functionBetter vapour pressures, including for polar components
Soave-Redlich-Kwong (SRK)Cubic equation of stateGas and light-hydrocarbon systems
PR-Twu, SRK-TwuPeng-Robinson and SRK with Twu’s alpha functionBetter vapour pressures for polar and heavy components: Twu’s constants are fitted to each component’s own vapour-pressure curve
Sour PR, Sour SRKPeng-Robinson or SRK, with G. M. Wilson’s sour water model (API Publication 955) as the water phaseRefinery sour water: NH3, H2S and CO2 in water, sour water strippers, hydrotreater separators; the water is always a phase of its own
Twu-Sim-TassoneHYSYS’s third cubic with Twu’s alpha, its own volume functionHydrocarbons and polar components where the cubic’s liquid volumes matter; 179 components carry their own fitted set
Glycol PackageTwu-Sim-Tassone with an NRTL model in its mixing rule for the glycol pairsGas dehydration with TEG or DEG, and MEG injection; every pair fitted to published data and shown with its source
Chao-Seader, Grayson-StreedCorresponding-states K-value correlations, with a Redlich–Kwong vapour and Lee–Kesler enthalpiesRefinery hydrocarbons: crude and vacuum towers, and on Grayson-Streed hydrogen-rich hydrotreaters; water always as free water
Kent-EisenbergReacting amine solution, with a Peng-Robinson vapourGas sweetening: CO2 and H2S in aqueous MEA, DEA or MDEA, with loadings, pH and the heat of absorption
NRTLActivity-coefficient modelStrongly non-ideal liquids: water, alcohols, azeotropes, liquid–liquid splits
UNIQUACActivity-coefficient modelNon-ideal liquids and liquid–liquid splits, its component sizes from the UNIFAC groups
WilsonActivity-coefficient modelMiscible non-ideal liquids such as alcohols and water; it cannot split a liquid in two
Margules, van LaarActivity-coefficient modelsSimple non-ideal mixtures, in HYSYS’s multicomponent forms
Chien-NullActivity-coefficient model, a form for each pairMixing forms pair by pair, Henry’s law for a dissolved gas included
UNIFAC, UNIFAC-LL, UNIFAC-NISTPredictive group contributionNon-ideal systems with no measured binary data; separate published parameter sets for vapour–liquid and liquid–liquid work
IdealRaoult’s lawNear-ideal mixtures, quick checks and teaching
IncompressibleSingle-fluid packageHeat-transfer fluids and thermal oils

Liquid density by COSTALD

Cubic equations are 5 to 25% off on liquid volume. The equation-of-state packages use COSTALD for liquid density by default, which lands within 1.9% of NIST on the reference set.

Binary interaction parameters

Edit kij for the equations of state and every activity model’s pairs, see where each pair came from, and check them for a false liquid split or azeotrope. A pair from HYSYS, Aspen Plus, DWSIM or ChemSep can be typed in that program’s own form. Parameters that arrive in a case file stay with that case and never change your other work.

Every flash you need

Temperature–pressure, pressure–enthalpy, pressure–entropy, temperature–entropy and vapour-fraction flashes, with a free-water three-phase flash where water drops out.

The NRTL Binary Coefficients dialog with a water-ethanol pair typed in HYSYS's form - its Aij, Bij and Alphaij matrices - and below them the same pair in this app's form, worked out as it is typed
A water–ethanol pair typed as HYSYS shows it, and the same pair in this app’s form, worked out as you type.
The Twu Parameters tab of a PR-Twu natural-gas package: each component's L, M and N, each fitted to its own vapour-pressure curve within 0.2 to 0.6 percent
PR-Twu on a natural gas: each component’s L, M and N, fitted to its own vapour-pressure curve.
Choosing a method

Start from what is in the stream

The method follows the mixture: how polar its components are, how far its liquid is from ideal, and the pressure it works at. Where feeds on different packages meet, at a mixer, a column or an extractor, the app weighs each feed’s method against the mixed stream’s chemistry, picks one and says why.

Your mixtureStart withWhy
Natural gas, refinery gases and light ends, hydrocarbons at any pressurePeng-Robinson or SRKCubic equations of state are built for them, and Peng-Robinson’s interaction parameters come seeded
Heavier or polar components on an equation of statePR-Twu, SRK-Twu or PRSVCloser vapour pressures: Twu’s constants are fitted to each component’s own vapour-pressure curve
Crude and vacuum towers, refinery hydrocarbons with hydrogenGrayson-Streed or Chao-SeaderCorrelations fitted to refinery hydrocarbons, Grayson-Streed’s to hydrogen as well; the water drops out as free water, and Solve All names any stream outside the method’s range
Refinery sour water, strippers, hydrotreater separatorsSour PR or Sour SRKNH3, H2S and CO2 ionise in water; the package gives each stream’s pH and true species, and a stripper solves on Newton
Gas dehydration with TEG or DEG, MEG injectionGlycol PackageFitted pairs for the three glycols with water and the hydrocarbons, each shown with its source
Gas sweetening with MEA, DEA or MDEAKent-EisenbergCO2 and H2S react with the amine; the package gives each stream’s loadings and pH, a column takes a CO2 and an H2S efficiency for each tray, and Solve All names any stream outside HYSYS’s range for its amine
Water, alcohols, ketones and acids: non-ideal liquids at modest pressureNRTL, UNIQUAC or WilsonActivity models follow strong liquid non-ideality and azeotropes, and each package says how many of its pairs have data
Two liquid phases: extraction and decantersNRTL or UNIQUACBoth can split a liquid in two; Wilson cannot, and says so where it matters
Non-ideal liquids with no measured pairsUNIFAC, UNIFAC-LL or UNIFAC-NISTPredicted from each molecule’s groups, with published tables for vapour–liquid and for liquid–liquid work
A gas dissolved in a liquidChien-NullHenry’s law for the gas and a fitted form for the other pairs, chosen pair by pair
Water with hydrocarbonsAn equation of state with free water onThe water drops out as a liquid of its own, by a simplified or a rigorous three-phase flash
Near-ideal mixtures and quick checksIdealRaoult’s law on each component’s own vapour pressure, with Lee–Kesler enthalpies
Heat-transfer fluids and thermal oilsIncompressibleOne fluid, liquid throughout, its properties from correlations fitted to that fluid
Phase diagrams

Draw the equilibrium you are actually solving with

x–y and T–x–y diagrams, McCabe–Thiele and residue curve maps come straight from the fluid package in use: the same method, the same parameters, the same components. If a column will not reach the purity you want, the diagram from your own package shows whether it can.

x-y diagram for water and ethanol at 1.013 bar from the NRTL package, crossing the diagonal at the azeotrope near x = 0.886
Water–ethanol x–y at 1.013 bar: the curve crosses the diagonal at the azeotrope.
T-x-y diagram for water and ethanol at 1.013 bar: the bubble and dew curves meet at the minimum-boiling azeotrope, x = 0.886 at 78.3 degrees Celsius, and pure water boils at 100 degrees Celsius
The same pair as T–x–y: the azeotrope at x ≈ 0.886 and 78.3 °C, where measurements put it at 0.891 and 78.2 °C.
Data

Every number says where it came from

A method is only as good as the constants under it. The component library and the seed pairs come from published measurements and reference equations of state wherever they were to hand, and each record names its source, so you can check it.

Vapour pressures

180 components have a vapour-pressure equation of their own: 76 fitted to their reference equations of state, and 104 alcohols, glycols, amines, acids and others drawn through their published vapour pressures. Twu’s constants for 178 components are fitted to those curves.

Binary pairs

The NRTL, Wilson and UNIQUAC pairs for nine common binaries, water–ethanol among them, are fitted to 362 published measurements and held to one liquid where the mixture is one liquid. 300 more NRTL pairs come from published DECHEMA regressions, and the coefficients dialog shows where each pair came from.

Densities and heat capacities

Every component has a specific gravity, from a published measurement wherever one was to hand, and COSTALD’s liquid density is calibrated to it. Each ideal-gas heat capacity and formation enthalpy names the database or the estimate it came from.

Components

364 pure components, and room for yours

The Component Manager holds every compound with its formula, CAS number, critical properties, acentric factor and ideal-gas heat capacity. Add your own compounds and build component lists for your packages.

  • Hydrocarbons, light gases, water, acid gases, alcohols, aromatics and more
  • Ideal-gas heat capacities checked against NASA-7 published coefficients
  • Pseudo-components from the Oil Manager sit beside the pure ones
The Component Manager listing water, nitrogen, oxygen, hydrogen, carbon, carbon dioxide, carbon monoxide and hydrogen sulfide, with water's identity and properties shown
The Component Manager.
Petroleum

From a crude assay to pseudo-components

The Oil Manager turns a laboratory assay into pseudo-components a column can use: enter the distillation curve and bulk properties, add the light ends, set the cut points, and characterize.

  • Five crude assays included: Brent, Arab Light, West Texas Intermediate, Western Canadian Select and Venezuelan Heavy
  • The back end extrapolated, and every assumption reported in the diagnostics
  • Pseudo-component properties from the Riazi, Twu and Lee–Kesler correlations
  • Export the set to the Component Manager and use it in any package
The Oil Manager after characterizing Western Canadian Select crude into 34 pseudo-components, with diagnostics and a table of boiling point, molecular weight, critical temperature and pressure, acentric factor and specific gravity for each cut
Western Canadian Select characterized into 34 pseudo-components.
Checked

Tested against the references

Water and steam against IAPWS-IF97, the component database against reference equations of state, ideal-gas heat capacities against NASA-7, and the seed pairs against the measurements they were fitted to. The validation report lists every check and what it is measured against.

See the validation report →

  • Water–ethanol at 1 atm: the azeotrope at x = 0.886 and 78.3 °C, against the measured 0.891 and 78.2 °C, and the boiling curve within 0.17 K rms of 45 measured points from three published papers
  • Liquid density by COSTALD within 1.9% of NIST on the reference set
  • Against each component’s own vapour-pressure curve, the median error falls from 14.7% on Peng-Robinson to 0.84% on PR-Twu
  • 178 checks against published reference data in the validation report, all passing
Send feedback

Send us your feedback