Model Description and References
Relative Humidity calculation, evaluating phi from state. The expressions below specify the implemented correlation and any bounds or branch conditions.
Governing Equations
X[nX] = cat(1, state.Xi, {1-sum(state.Xi)});
Xmol[nX] = massToMoleFractions(X);
iK[nX] = invertedKs(state);
beta_mol = flashVaporisation(Xmol, iK);
Xmol_gas[nX] = gasMolarFractions(beta_mol, Xmol, iK);
phi := Xmol_gas[Water]*state.p/saturationPressure(state.T);
Parameters
| Name | Type | Unit | Default | Description |
| No locally declared parameters. | - | - | - | - |
Interfaces and Connections
| Name | Kind | Type | Unit | Description |
state | Input signal | ThermodynamicState | - | - |
phi | Output signal | Modelica.Units.SI.MoleFraction | 1 | Hydration factor in the ohmic-loss correlation |