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
Notifications
Mark all as read
Q&A

Calculating Max humidity for a house

+2
−0

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.

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

0 answers

Sign up to answer this question »

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!

Like what we're doing? Support us! Donate