Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

75%
+4 −0
Q&A Calculating Max humidity for a house

I want to write some code to control my whole house humidifier. I want my code to calculate the percentile relative humidity above which dew will form on my windows. I have sensors for air tempera...

1 answer  ·  posted 3y ago by re89j‭  ·  last activity 2mo ago by Spamalot‭

#1: Initial revision by user avatar re89j‭ · 2022-01-30T23:41:23Z (almost 3 years ago)
Calculating Max humidity for a house
I want to write some code to control my whole house humidifier. I want my code to calculate the percentile relative humidity above which dew will form on my windows.

I have sensors for air temperature and humidity inside and out, and pressure, which better be the same because I don't live in an airplane.

I'm trying to brush up on my math so I can understand the clausius-clapeyron equation.  I think I understand that there's a basic algebra cheater formula but that it doesn't work outside of common humidity ranges and I want my code to be solid.

I also suspect I might need to add a temperature sensor to the internal surface of the windows.  But I'm hoping that there might also be a formula to calculate with that temperature will be given the indoor and outdoor and the r value of the window.

I'm hoping they can look something like this below. Disclaimer: I do not expect in any way these examples below work

InnerSurfaceTemp=TempIn-((TempIn-TempOut)/RVal)
MoldRH=Rh where dewpoint=indoor temp
MaxRh= MoldRH-2.  ( For a safety threshold)

What formula can I use to determine the inner surface temp of a window?

And what formula can I use to determine the maximum indoor RH to prevent condensation on that window surface?

I think this is a physics problem but please forgive me if I am barking up the wrong tree.