This sensor indicates the relative humidity (as mole fraction) of the component it is connected to.
The medium must provide a Medium.relativeHumidity function taking the medium state as argument.
phi = Medium.relativeHumidity(Medium.setState_phX(port.p, inStream(port.h_outflow), inStream(port.Xi_outflow)));
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
| No locally declared parameters. | - | - | - | - |
| Name | Kind | Type | Unit | Description |
|---|---|---|---|---|
phi | Output signal | Modelica.Blocks.Interfaces.RealOutput | 1 | Hydration factor in the ohmic-loss correlation |
port | Connection | Modelica.Fluid.Interfaces.FluidPort_a | Pa; kg/s; J/kg | - |