modelRelativeHumidity
Extends from Buildings.Fluid.Sensors.BaseClasses.PartialAbsoluteSensor (Partial component to model a sensor that measures a potential variable), Modelica.Icons.RoundSensor (Icon representing a round measurement device).
Information
This model outputs the relative humidity of the fluid connected to its port. 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.
To measure relative humidity in a duct or pipe, use Buildings.Fluid.Sensors.RelativeHumidityTwoPort rather than this sensor. Read the Buildings.Fluid.Sensors.UsersGuide prior to using this model to see about potential numerical problems if this sensor is used incorrectly in a system model.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | warnAboutOnePortConnection (from PartialAbsoluteSensor) | true | Set to false to suppress warning about potential numerical issues, see Buildings.Fluid.Sensors.UsersGuide for more information |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port (from PartialAbsoluteSensor) | ||
| Modelica.Blocks.Interfaces.RealOutput | phi | Relative humidity in port medium |
Revisions
-
September 21, 2020, by Michael Wetter:
Introduced parameterwarnAboutOnePortConnectionand updated documentation.
This is for #1399. -
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. -
May 12, 2010 by Michael Wetter:
First implementation.