blockRelToAbsHum

Converts relative humidity to absolute humidity

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

Simple model that converts absolute humidity to relative humidity taking into account the air temperature. It is based on Magnus formula and the ideal gas law. All coefficients are based on typical assumptions and combined to one coefficient for reduction of computational effort.

The model has been validated against exemplary values calculated with http://www.ib-rauch.de/bautens/formel/abs_luftfeucht.html and deviate around maximum 2 Percent.

References

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputrelHumRelative humidity in percent
Modelica.Blocks.Interfaces.RealInputTDryBulDry bulb temperature
Modelica.Blocks.Interfaces.RealOutputabsHumAbsolute humidity in kg water to kg air

Revisions

  • September 27, 2016 by Moritz Lauster:
    First Implementation.