Smooth Vapor-Liquid Equilibrium Formulation (smooth_VLE)

Smooth Vapor-Liquid Equilibrium Formulation (smooth_VLE)#

Source#

Burgard, A.P., Eason, J.P., Eslick, J.C., Ghouse, J.H., Lee, A., Biegler, L.T., Miller, D.C., 2018, A Smooth, Square Flash Formulation for Equation-Oriented Flowsheet Optimization. Proceedings of the 13th International Symposium on Process Systems Engineering – PSE 2018, July 1-5, 2018, San Diego.

Introduction#

Typically, equilibrium calculations are only used when the user knows the current state is within the two-phase envelope. For simulation only studies, the user may know a priori the condition of the stream but when the same set of equations are used for optimization, there is a high probability that the specifications can transcend the phase envelope. In these situations, the equilibrium calculations become trivial, thus it is necessary to find a formulation that has non-trivial solutions at all states.

To address this, the smooth vapor-liquid equilibrium (VLE) formulation always solves the equilibrium calculations at a condition where a valid two-phase solution exists. In situations where only a single phase is present, the phase equilibrium is solved at the either the bubble or dew point, where the non-existent phase exists but in negligible amounts. In this way, a non-trivial solution is guaranteed but still gives near-zero material in the non-existent phase in the single phase regions.

Formulation#

The approach used by the smooth VLE formulation is to define an “equilibrium temperature” (\(T_{eq}\)) at which the equilibrium calculations will be performed. The equilibrium temperature is computed as follows:

\[T_{1} = max(T_{bubble}, T)\]
\[T_{eq} = min(T_{1}, T_{dew})\]

where \(T\) is the actual stream temperature, \(T_{1}\) is an intermediate temperature variable and \(T_{bubble}\) and \(T_{dew}\) are the bubble and dew point temperature of mixture. In order to express the maximum and minimum operators in a tractable form, these equations are reformulated using the IDAES smooth_max and smooth_min operators which results in the following equations:

\[T_{1} = 0.5{\left[T + T_{bubble} + \sqrt{(T-T_{bubble})^2 + \epsilon_{1}^2}\right]}\]
\[T_{eq} = 0.5{\left[T_{1} + T_{dew} - \sqrt{(T-T_{dew})^2 + \epsilon_{2}^2}\right]}\]

where \(\epsilon_1\) and \(\epsilon_2\) are smoothing parameters(mutable Params named eps_1 and eps_2). The default values are 0.01 and 0.0005 respectively, and it is recommended that \(\epsilon_1\) > \(\epsilon_2\). It can be seen that if the stream temperature is less than that of the bubble point temperature, the VLE calculations will be computed at the bubble point. Similarly, if the stream temperature is greater than the dew point temperature, then the VLE calculations are computed at the dew point temperature. For all other conditions, the equilibrium calculations will be computed at the actual temperature.

Finally, the phase equilibrium is expressed using the following equation:

\[\Phi_{\text{Vap}, j}(T_{eq}) = \Phi_{\text{Liq}, j}(T_{eq})\]

where \(\Phi_{p, j}(T_{eq})\) is the fugacity of component \(j\) in the phase \(p\) calculated at \(T_{eq}\). The fugacities are calculated using methods defined by the equation of state chosen by the user for each phase.