wetbulb
Version 1.1.1 (2,39 ko) par
millercommamatt
Calculates the wetbulb temperature given pressure, dewpoint, and temperature
wetbulb calculates the wetbulb temperature given pressure in hPa, dewpoint in degrees C, and temperature in degrees C.
Uses the psychrometric formula from the American Meteorological Society glossary. Vapor pressure calculations use the improved August-Roche-Magnus approximation, that is, equation 21 from:
Alduchov, O.A. and R.E. Eskridge, 1996: Improved Magnus Form Approximation of Saturation Vapor Pressure. J. Appl. Meteor., 35, 601-609, https://doi.org/10.1175/1520-0450(1996)035<0601:IMFAOS>2.0.CO;2
If you give this function dewpoint values greater than the dry bulb you'll get a warning and the theoretical result for this likely unrealistic scenario. I'm not sure you can make a wetbulb measurement in a supersaturated scenario, but the equations allow for it.
This function was derived by code originally written by Daniel Hueholt.
Citation pour cette source
millercommamatt (2024). wetbulb (https://www.mathworks.com/matlabcentral/fileexchange/94740-wetbulb), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2021a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.1 | Now handles non-finite inputs and returns NaN. |
||
1.1.0 | Fixed spelling in documentation and changed formulation to improved August-Roche-Magnus |
||
1.0.0 |