- Notifications
You must be signed in to change notification settings - Fork64
📚 Library of psychrometric functions to calculate 🌡️ thermodynamic properties of air for Python, C, C#, Fortran, R, JavaScript and VBA/Excel
License
psychrometrics/psychrolib
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Overview |Documentation |Installation |How to cite |Contributing |Development |Copyright and license |Acknowledgements
PsychroLib is a software library to enable the calculation of psychrometric properties of moist and dry air. Versions of PsychroLib are available for Python, C, C#, Fortran, R, JavaScript, Microsoft Excel Visual Basic for Applications (VBA). PsychroLib works in both metric (SI) and imperial (IP) systems of units. For a general overview and a list of currently available functions, please see theoverview page.
Please see thePython API documentation for the common API across all the supported language implementations. In Python, array support and improved runtime performance can be optionally enabled by installingNumba. In R (1) constants, likeZERO_FAHRENHEIT_AS_RANKINE
are not exported (i.e. not directly accessible to users), (2) functions accept a vector, not a scalar (3) bulk calculations, likeCalcPsychrometricsFromRelHum
return a list.
Examples on how to use PsychroLib in all the supported languages are described inthis guide.
- Python: from thePython Package Index (PyPI).Numba can be optionally installed to enable array support and faster runtime performance.
- C# (.NET): from theNuGet package manager or clone the repository, and bundle according to your requirements.
- C, Fortran and #"https://github.com/psychrometrics/psychrolib/releases">release tab
When using PsychroLib, please cite the software summary paper and software version using the following Digital Object Identifiers (DOIs) togenerate citations in your preferred style:
Software summary paper | Software version* |
---|---|
*please make sure to cite the same version you are using with the correct DOI. For a list of all available versions see see more on Zenodo.
If you are looking to contribute, please read ourContributors' guide for details.
If you would like to know more about specific development guidelines and testing, please refer to ourdevelopment notes.
Copyright 2018-2020The PsychroLib Contributors for the current library implementation.
Copyright 2017 ASHRAE Handbook — Fundamentals (https://www.ashrae.org) for equations and coefficients published ASHRAE Handbook — Fundamentals Chapter 1.
Software licensed under theMIT License.
Special thanks to:
- @tom-- for his suggestions with the original JavaScript library implementation
- @DJGosnell for the C# port.
- @hongyuanjia and@banfelder for the R port.
For the full list of contributors, please see thecontributors page.
About
📚 Library of psychrometric functions to calculate 🌡️ thermodynamic properties of air for Python, C, C#, Fortran, R, JavaScript and VBA/Excel