h2=humidityoftemp([th,t2])
th : | [temperatur humidity] at the moment | |
t2 : | [new temperatur] |
h2 : | humidity of t2 is reached and there is no water change |
Does it make sense to ventilate in June when it is outside 14º and 70% humidity at dawn and 26º and 50% humidity indoors?
humidityoftemp([14 70], 25) % dawn outside 14º 70%, room is 26º and for instance 50%
The function humidityoftemp
calculates the humidity at a new temperature without any water change. It is designed to determine if it makes sense to ventilate based on outside and inside conditions.
t2
.getfuncparams
. If th
contains three elements, the third element is considered as t2
, and th
is reduced to the first two elements.t1
and humidity h1
from th
.es1
at the current temperature t1
using the formula:
es1 = 6.1078 * 10^((7.5 * t1) / (273.5 + t1))
es2
at the new temperature t2
using the formula:
es2 = 6.1078 * 10^((7.5 * t2) / (273.5 + t2))
dbprintf
.ww
in the air using the formula:
ww = h1 / 100 * es1
h2
at temperature t2
using the formula:
h2 = ww / es2 * 100
h1
at t1
to h2
at t2
using dbprintf
.To determine if it makes sense to ventilate in June when it is 14°C and 70% humidity outside at dawn, and 26°C and 50% humidity indoors, use:
humidityoftemp([14, 70], 25)
This calculates the humidity at 25°C based on the outside conditions.
Algorithm explaination created using ChatGPT on 2025-08-19 08:25. (Please note: No guarantee for the correctness of this explanation)