# Non-random two-liquid model

The non-random two-liquid model (abbreviated NRTL model) is an activity coefficient model introduced by Renon and Prausnitz in 1968 that correlates the activity coefficients $\gamma _{i}$ of a compound with its mole fractions $x_{i}$ in the liquid phase concerned. It is frequently applied in the field of chemical engineering to calculate phase equilibria. The concept of NRTL is based on the hypothesis of Wilson, who stated that the local concentration around a molecule in most mixtures is different from the bulk concentration. This difference is due to a difference between the interaction energy of the central molecule with the molecules of its own kind $U_{ii}$ and that with the molecules of the other kind $U_{ij}$. The energy difference also introduces a non-randomness at the local molecular level. The NRTL model belongs to the so-called local-composition models. Other models of this type are the Wilson model, the UNIQUAC model, and the group contribution model UNIFAC. These local-composition models are not thermodynamically consistent for a one-fluid model for a real mixture due to the assumption that the local composition around molecule i is independent of the local composition around molecule j. This assumption is not true, as was shown by Flemr in 1976. However, they are consistent if a hypothetical two-liquid model is used. Models, which have consistency between bulk and the local molecular concentrations around different types of molecules are COSMO-RS, and COSMOSPACE.

## Derivation

Like Wilson (1964), Renon & Prausnitz (1968) began with local composition theory, but instead of using the Flory–Huggins volumetric expression as Wilson did, they assumed local compositions followed
    ${\frac {x_{21}}{x_{11}}}={\frac {x_{2}}{x_{1}}}{\frac {\exp(-\alpha _{21}g_{21}/RT)}{\exp(-\alpha _{11}g_{11}/RT)}}$
with a new "non-randomness" parameter α. The excess Gibbs free energy was then determined to be
    ${\frac {G^{ex}}{RT}}=\sum _{i}^{N}x_{i}{\frac {\sum _{j}^{N}\tau _{ji}G_{ji}x_{j}}{\sum _{k}^{N}G_{ki}x_{k}}}$.
Unlike Wilson's equation, this can predict partially miscible mixtures. However, the cross term, like Wohl's expansion, is more suitable for $H^{\text{ex}}$ than $G^{\text{ex}}$, and experimental data is not always sufficiently plentiful to yield three meaningful values, so later attempts to extend Wilson's equation to partial miscibility (or to extend Guggenheim's quasichemical theory for nonrandom mixtures to Wilson's different-sized molecules) eventually yielded variants like UNIQUAC.

## Equations for a binary mixture

For a binary mixture the following functions are used:
    $\left\{{\begin{matrix}\ln \ \gamma _{1}=x_{2}^{2}\left[\tau _{21}\left({\frac {G_{21}}{x_{1}+x_{2}G_{21}}}\right)^{2}+{\frac {\tau _{12}G_{12}}{(x_{2}+x_{1}G_{12})^{2}}}\right]\\\\\ln \ \gamma _{2}=x_{1}^{2}\left[\tau _{12}\left({\frac {G_{12}}{x_{2}+x_{1}G_{12}}}\right)^{2}+{\frac {\tau _{21}G_{21}}{(x_{1}+x_{2}G_{21})^{2}}}\right]\end{matrix}}\right.$
with
    $\left\{{\begin{matrix}\ln \ G_{12}=-\alpha _{12}\ \tau _{12}\\\ln \ G_{21}=-\alpha _{21}\ \tau _{21}\end{matrix}}\right.$
Here, $\tau _{12}$ and $\tau _{21}$ are the dimensionless interaction parameters, which are related to the interaction energy parameters $\Delta g_{12}$ and $\Delta g_{21}$ by:
    $\left\{{\begin{matrix}\tau _{12}={\frac {\Delta g_{12}}{RT}}={\frac {U_{12}-U_{22}}{RT}}\\\tau _{21}={\frac {\Delta g_{21}}{RT}}={\frac {U_{21}-U_{11}}{RT}}\end{matrix}}\right.$
Here R is the gas constant and T the absolute temperature, and U$_{ij}$ is the energy between molecular surface i and j. U$_{ii}$ is the energy of evaporation. Here U$_{ij}$ has to be equal to U$_{ji}$, but $\Delta g_{ij}$ is not necessary equal to $\Delta g_{ji}$.
The parameters $\alpha _{12}$ and $\alpha _{21}$ are the so-called non-randomness parameter, for which usually $\alpha _{12}$ is set equal to $\alpha _{21}$. For a liquid, in which the local distribution is random around the center molecule, the parameter $\alpha _{12}=0$. In that case, the equations reduce to the one-parameter Margules activity model:
    $\left\{{\begin{matrix}\ln \ \gamma _{1}=x_{2}^{2}\left[\tau _{21}+\tau _{12}\right]=Ax_{2}^{2}\\\ln \ \gamma _{2}=x_{1}^{2}\left[\tau _{12}+\tau _{21}\right]=Ax_{1}^{2}\end{matrix}}\right.$
In practice, $\alpha _{12}$ is set to 0.2, 0.3 or 0.48. The latter value is frequently used for aqueous systems. The high value reflects the ordered structure caused by hydrogen bonds. However, in the description of liquid-liquid equilibria, the non-randomness parameter is set to 0.2 to avoid wrong liquid-liquid description. In some cases, a better phase equilibria description is obtained by setting $\alpha _{12}=-1$. However this mathematical solution is impossible from a physical point of view since no system can be more random than random ($\alpha _{12}=0$). In general, NRTL offers more flexibility in the description of phase equilibria than other activity models due to the extra non-randomness parameters. However, in practice this flexibility is reduced in order to avoid wrong equilibrium description outside the range of regressed data.
The limiting activity coefficients, also known as the activity coefficients at infinite dilution, are calculated by:
    $\left\{{\begin{matrix}\ln \ \gamma _{1}^{\infty }=\left[\tau _{21}+\tau _{12}\exp {(-\alpha _{12}\ \tau _{12})}\right]\\\ln \ \gamma _{2}^{\infty }=\left[\tau _{12}+\tau _{21}\exp {(-\alpha _{12}\ \tau _{21})}\right]\end{matrix}}\right.$
The expressions show that at $\alpha _{12}=0$, the limiting activity coefficients are equal. This situation occurs for molecules of equal size but of different polarities. It also shows, since three parameters are available, that multiple sets of solutions are possible.

## General equations

The general equation for $\ln(\gamma _{i})$ for species $i$ in a mixture of $n$ components is:
    $\ln(\gamma _{i})={\frac {\displaystyle \sum _{j=1}^{n}{x_{j}\tau _{ji}G_{ji}}}{\displaystyle \sum _{k=1}^{n}{x_{k}G_{ki}}}}+\sum _{j=1}^{n}{\frac {x_{j}G_{ij}}{\displaystyle \sum _{k=1}^{n}{x_{k}G_{kj}}}}{\left({\tau _{ij}-{\frac {\displaystyle \sum _{m=1}^{n}{x_{m}\tau _{mj}G_{mj}}}{\displaystyle \sum _{k=1}^{n}{x_{k}G_{kj}}}}}\right)}$
with
    $G_{ij}=\exp \left({-\alpha _{ij}\tau _{ij}}\right)$
    $\alpha _{ij}=\alpha _{ij_{0}}+\alpha _{ij_{1}}T$
    $\tau _{i,j}=A_{ij}+{\frac {B_{ij}}{T}}+{\frac {C_{ij}}{T^{2}}}+D_{ij}\ln {\left({T}\right)}+E_{ij}T^{F_{ij}}$
There are several different equation forms for $\alpha _{ij}$ and $\tau _{ij}$, the most general of which are shown above.

## Temperature dependent parameters

To describe phase equilibria over a large temperature regime, i.e. larger than 50 K, the interaction parameter has to be made temperature dependent. Two formats are frequently used. The extended Antoine equation format:
    $\tau _{ij}=f(T)=a_{ij}+{\frac {b_{ij}}{T}}+c_{ij}\ \ln \ T+d_{ij}T$
Here the logarithmic and linear terms are mainly used in the description of liquid-liquid equilibria (miscibility gap).
The other format is a second-order polynomial format:
    $\Delta g_{ij}=f(T)=a_{ij}+b_{ij}\cdot T+c_{ij}T^{2}$

## Parameter determination

The NRTL parameters are fitted to activity coefficients that have been derived from experimentally determined phase equilibrium data (vapor–liquid, liquid–liquid, solid–liquid) as well as from heats of mixing. The source of the experimental data are often factual data banks like the Dortmund Data Bank. Other options are direct experimental work and predicted activity coefficients with UNIFAC and similar models. Noteworthy is that for the same mixture several NRTL parameter sets might exist. The NRTL parameter set to use depends on the kind of phase equilibrium (i.e. solid–liquid (SL), liquid–liquid (LL), vapor–liquid (VL)). In the case of the description of a vapor–liquid equilibria it is necessary to know which saturated vapor pressure of the pure components was used and whether the gas phase was treated as an ideal or a real gas. Accurate saturated vapor pressure values are important in the determination or the description of an azeotrope. The gas fugacity coefficients are mostly set to unity (ideal gas assumption), but for vapor-liquid equilibria at high pressures (i.e. > 10 bar) an equation of state is needed to calculate the gas fugacity coefficient for a real gas description.
Determination of NRTL parameters from regression of LLE and VLE experimental data is a challenging problem because it involves solving isoactivity or isofugacity equations which are highly non-linear. In addition, parameters obtained from LLE of VLE may not always represent the experimental behaviour expected. For this reason it is necessary to confirm the thermodynamic consistency of the obtained parameters in the whole range of compositions (including binary subsystems, experimental and calculated tie-lines, calculated plait point location (by using Hessian matrix), etc.) by using a phase stability test such as, the Free Gibss Energy minor tangent criteria .

## Parameters for NRTL model

NRTL binary interaction parameters have been published in the Dechema data series and are provided by NIST and DDBST. There also exist machine-learning approaches that are able to predict NRTL parameters by using the SMILES notation for molecules as input.

## Literature

* ↑ Renon, Henri; Prausnitz, J. M. (January 1968). "Local compositions in thermodynamic excess functions for liquid mixtures". AIChE Journal. 14 (1): 135–144. Bibcode:1968AIChE..14..135R. doi:10.1002/aic.690140124.
* ↑ McDermott, C.; Ashton, N. (January 1977). "Note on the definition of local composition". Fluid Phase Equilibria. 1 (1): 33–35. doi:10.1016/0378-3812(77)80024-1.
* ↑ Flemr, V. (1976). "A note on excess Gibbs energy equations based on local composition concept". Collection of Czechoslovak Chemical Communications. 41 (11): 3347–3349. doi:10.1135/cccc19763347.
* ↑ Hu, Y.; Azevedo, E.G.; Prausnitz, J.M. (January 1983). "The molecular basis for local compositions in liquid mixture models". Fluid Phase Equilibria. 13: 351–360. doi:10.1016/0378-3812(83)80106-X.
* ↑ Renon, Henri; Prausnitz, J. M. (January 1968). "Local compositions in thermodynamic excess functions for liquid mixtures". AIChE Journal. 14 (1): 135–144. Bibcode:1968AIChE..14..135R. doi:10.1002/aic.690140124.
* ↑ Reid, Robert C.; Prausnitz, J. M.; Poling, Bruce E. (1987). The Properties of Gases and Liquids. McGraw-Hill. ISBN 978-0-07-051799-8.
* ↑ Marina, J. M.; Tassios, D. P. (January 1973). "Effective Local Compositions in Phase Equilibrium Correlations". Industrial & Engineering Chemistry Process Design and Development. 12 (1): 67–71. doi:10.1021/i260045a013.
* ↑ "A Property Methods and Calculations" (PDF). Rowan University.
* ↑ Reyes-Labarta, J.A.; Olaya, M.M.; Velasco, R.; Serrano, M.D.; Marcilla, A. (April 2009). "Correlation of the liquid–liquid equilibrium data for specific ternary systems with one or two partially miscible binary subsystems". Fluid Phase Equilibria. 278 (1–2): 9–14. doi:10.1016/j.fluid.2008.12.002.
* ↑ Marcilla Gomis, Antonio (4 November 2011). "GE Models and Algorithms for Condensed Phase Equilibrium Data Regression in Ternary Systems: Limitations and Proposals". The Open Thermodynamics Journal. 5 (1): 48–62. doi:10.2174/1874396X01105010048. hdl:10045/19865.
* ↑ Marcilla, A.; Serrano, M.D.; Reyes-Labarta, J.A.; Olaya, M.M. (4 April 2012). "Checking Liquid–Liquid Plait Point Conditions and Their Application in Ternary Systems". Industrial & Engineering Chemistry Research. 51 (13): 5098–5102. doi:10.1021/ie202793r.
* ↑ Li, Zheng; Smith, Kathryn H.; Mumford, Kathryn A.; Wang, Yong; Stevens, Geoffrey W. (July 2015). "Regression of NRTL parameters from ternary liquid–liquid equilibria using particle swarm optimization and discussions". Fluid Phase Equilibria. 398: 36–45. doi:10.1016/j.fluid.2015.04.006. hdl:10045/66521.
* ↑ Labarta, Juan A.; Olaya, Maria del Mar; Marcilla, Antonio (27 November 2015). GMcal_TieLinesLL: Graphical User Interface (GUI) for the Topological Analysis of Calculated GM Surfaces and Curves, including Tie-Lines, Hessian Matrix, Spinodal Curve, Plait Point Location, etc. for Binary and Ternary Liquid -Liquid Equilibrium (LLE) Data (Report). hdl:10045/51725.
* ↑ Labarta, Juan A.; Olaya, Maria del Mar; Marcilla, Antonio (7 April 2022). GMcal_TieLinesVL: Graphical User Interface (GUI) for the Topological Analysis of Experimental and Calculated GM Functions for Binary and Ternary (Isobaric or Isothermal) Vapor-Liquid Equilibrium (VLE or VLLE) Data (including Tie-Lines, Derivatives, Distillation Boundaries, LL Critical Points Location, etc.) (Report). hdl:10045/122857.
* ↑ Winter, Benedikt; Winter, Clemens; Esper, Timm; Schilling, Johannes; Bardow, André (May 2023). "SPT-NRTL: A physics-guided machine learning model to predict thermodynamically consistent activity coefficients". Fluid Phase Equilibria. 568: 113731. arXiv:2209.04135. doi:10.1016/j.fluid.2023.113731.