Model Description and References
We redeclare this function to use the fact that there is a single condensing phase in this model, making it possible to obtain a direct solution to the Rachford-Rice equation.
Governing Equations
assert(abs(iK[Water]-1) > eps, "flashVaporisation: boiling point reached, Rachford-Rice is indetermined.");
beta_mol := (1-Xmol[Water])*iK[Water]/max((iK[Water]-1), eps);
| Quantity | Description |
Xmol | Mole Fractions |
iK | Inverted equilibrium constants, XL[i] = iK[i]*XG[i] |
beta_mol | Generalised gas fraction |
Parameters
| Name | Type | Unit | Default | Description |
| No locally declared parameters. | - | - | - | - |
Interfaces and Connections
| Name | Kind | Type | Unit | Description |
Xmol | Input signal | Modelica.Units.SI.MoleFraction[nX] | 1 | Mole Fractions |
iK | Input signal | Real[nX] | 1 | Inverted equilibrium constants, XL[i] = iK[i]*XG[i] |
beta_mol | Output signal | Real | 1 | Generalised gas fraction |