-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formulae for calculation? #18
Comments
I just looked thru the code, and here's the formula
fwiw, it seems like wind is a large factor, so excluding it will give the 'feels like' temperature a higher reading |
Does this account for heat index as well? I was looking into writing up this calculation elsewhere before I found this integration on HACS and the scientific resources I found mentioned heat index playing a large factor during the summer months |
This sensor actually calculates the "temperature in the shade", because there is not enough calculation of the contribution of solar radiation. This parameter depends on the specific location, and it is rather difficult to calculate it mathematically. |
For the wind speed, is the input supposed to be in kph, mph, or m/s? |
For this sensor — any of this units. Value will be automatically converted to m/s for calculations. |
I've been looking for a solution for adding feels-like temperature to a weather card and thought this could be perfect. The issue I'm experiencing is the feels-like values are well off from where I'd expect them to be. When I look at your calculations, it appears you have omitted the use of Q. This results in a relatively large spread between ambient temperature and the feels-like temperature. Comparing results with the US/Canada methodology (http://solberg.snr.missouri.edu/gcc/OFCMWindchillReport.pdf), I can get close with Q = 64 W-m^-2. That said, I have only checked a couple of cases. When I try to match the Australian BoM data (http://www.bom.gov.au/info/thermal_stress/#apparent), it looks as if Q could be a function of wind speed. There's not much specificity regarding Q. I'm not a proponent of any particular method, but the NWS formulae are easy to calculate. At least I can match the models to the published charts. There are a few corner cases for heat-index requiring some conditional logic, but they're manageable. The wind chill calculation has two limitations to consider. There is a gap, however, between 50°F and 70°F where neither method is typically used. I've come up with a way of bridging the gap which seems reasonable to me. Effectively, its a weighted average between the two methods of calculating feels-like temperature. Here's how it behaves for a wind speed of 40 mph and relative humidity of 80%. I appreciate the work you've done as it solves a problem I have with using the NWS API. If you're taking requests for improvement, I respectfully suggest either providing an option for including Q in the calculation (that is, if a static value can work), or alternately migrating to a different model. Additional references: Edit: I have a working sensor template using the NWS model as described above. |
Is it possible to document how the "feels like" temperature is calculated and also how you get to this particular formulae?
The text was updated successfully, but these errors were encountered: