modelRelativeHumidityTwoPort
Ideal two port relative humidity sensor
Extends from Buildings.Fluid.Sensors.BaseClasses.PartialDynamicFlowSensor, Modelica.Icons.RoundSensor.
Information
This model outputs the relative humidity of the fluid flowing from
port_a to port_b.
The sensor is ideal, i.e., it does not influence the fluid.
Note that this sensor can only be used with media that contain the variable phi,
which is typically the case for moist air models.
If the parameter tau is non-zero, then its output
is computed using a first order differential equation.
Setting tau=0 is not recommend. See
Buildings.Fluid.Sensors.UsersGuide for an explanation.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Initialization | |||
| Real | phi_start | 0.5 | Initial or guess value of output (= state) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | phi | Relative humidity of the passing fluid |
Revisions
-
February 21, 2020, by Michael Wetter:
Changed icon to display its operating state.
This is for #1294. -
January 26, 2016 by Michael Wetter:
Addedquantityattribute for mass fraction variables.
Made unit assignment of output signal final. -
January 18, 2016 by Filip Jorissen:
Using parametertauInvsince this now exists in Buildings.Fluid.Sensors.BaseClasses.PartialDynamicFlowSensor. This is for #372. -
June 3, 2011 by Michael Wetter:
Revised implementation to add dynamics in such a way that the time constant increases as the mass flow rate tends to zero. This significantly improves the numerics. -
Feb. 5, 2011 by Michael Wetter:
First implementation.