CI and Tests | Paper DOI | Software DOI |
---|---|---|
PsychroLib is a library of functions 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). The library works in both metric (SI) and imperial (IP) systems of units. For a general overview and a list of currently available functions, please see the overview page.
The API documentation is available here. Please note that although the API describes the Python version of the library, the API is common across all the supported language implementations. In R please note that (1) constants, like ZERO_FAHRENHEIT_AS_RANKINE
are not exported (i.e. not directly accessible to users), (2) functions accept a vector, not a scalar (3) bulk calculations, like CalcPsychrometricsFromRelHum
return a list.
Examples on how to use PsychroLib in all the supported languages are described in this guide.
- Python: from the Python Package Index (PyPI).
- C# (.NET): from the NuGet package manager or clone the repository, and bundle according to your requirements.
- C, Fortran and JavaScript: clone the repository, and bundle according to your requirements.
- VBA/Excel: download the ready-made spreadsheets from the release tab.
- R: from the Comprehensive R Archive Network (CRAN).
If you are using PsychroLib, please cite the the summary paper (https://doi.org/10.21105/joss.01137) together with the specific version of PsychroLib you are using (see list on Zenodo for all available versions).
If you are looking to contribute, please read our Contributors' guide for details.
If you would like to know more about specific development guidelines and testing, please refer to our development notes.
Copyright 2018-2020 The 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 the MIT 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 the contributors page.