A cross-platform, open-source, alternative to NIST REFPROP. Based on reference-accuracy equations of state and transport property correlations for refrigerants like Water, CO2, R134a, Nitrogen, Argon, Ammonia, Air, R404a, R410a, Propane and many others. A selection of secondary working fluid properties are also available. Can also make use of REFPROP when available.
In addition, calculations for Humid Air Properties based on ASHRAE RP-1485 are provided.
Wrappers are available for MATLAB, Octave, Python, C#, Fortran and many more.
CoolProp is a C++ library that implements:
- Pure and pseudo-pure fluid equations of state and transport properties for 122 components
- Mixture properties using high-accuracy Helmholtz energy formulations
- Correlations of properties of incompressible fluids and brines
- Computationally efficient tabular interpolation
- Highest accuracy psychrometric routines
- User-friendly interface around the full capabilities of NIST REFPROP
- Fast IAPWS-IF97 (Industrial Formulation) for Water/Steam
- Cubic equations of state (SRK, PR)
CoolProp Architectures:
- 32-bit/64-bit
- Windows, Linux, OSX, Raspberry PI, VxWorks Compact Rio, etc. (if you can compile C++ on it, CoolProp will run)
Fluid Properties:
- Pure and Pseudo-Pure fluid properties
- Introduction
- Thermodynamic properties of Fluid
- List of Fluids
- Ideal Curves
- Ideal Curve
- Boyle Curve
- Joule Inversion Curve
- Joule-Thomson Curve
- Ideal Curves for Refrigerant R125
- Mixtures
- Theoretical description
- Estimating binary interaction parameters
- Using your own interaction parameters
- Phase Envelope
- Reducing Parameters
- Excess Helmholtz Energy Terms
- Appendix
- Binary pairs
- Humid Air Properties
- Molar Volume
- Molar Enthalpy
- Enhancement factor
- Isothermal Compressibility
- Sample HAPropsSI Code
- Table of Inputs/Outputs to HAPropsSI
- Psychrometric Chart
- Humid Air Validation
- Verification Script
- Incompressible Fluids
- General Introduction
- Pure Fluid Examples
- Mixture Examples
- Partial Derivatives
- Fitting Reports
- Thermodynamics of Incompressible Fluids
- Equations
- The Different Fluids
- Adding New Fluids
- IF97 Steam/Water Properties
- General Introduction
- IF97 Backend
- IF97 Range of Validity
- IF97 Water Property Examples
- Advanced Fluid Properties
- Use of Extended Corresponding States for Transport Properties
- Conversion from ideal gas term to Helmholtz energy term
- Converting Bender and mBWR EOS
CoolProp: This section includes information about the CoolProp software, listings of inputs, etc.
- Available Wrappers
- Common Wrapper Prerequisites
- Windows
- Linux
- OSX
- Common Wrapper Prerequisites
- High-Level Interface
- PropsSI function
- Vapor, Liquid, and Saturation States
- Imposing the Phase (Optional)
- Fluid information
- Trivial inputs
- PhaseSI function
- Partial Derivatives
- First Partial Derivatives for Single-phase States
- Second Partial Derivatives for Single-Phase States
- First Saturation Derivatives
- Predefined Mixtures
- User-Defined Mixtures
- Reference States
- Calling REFPROP
- Adding Fluids
- C++ Sample Code
- C++ Sample Code Output
- Sample Code
- Table of string inputs to PropsSI function
- Low Level Interface
- Introduction
- Generating Input Pairs
- Keyed output versus accessor functions
- Things only in the low-level interface
- Imposing the Phase (Optional)
- Partial Derivatives
- Two-Phase and Saturation Derivatives
- Reference States
- Low-level interface using REFPROP
- Access from High-Level Interface
- Tabular Interpolation
- General Information
- TTSE Interpolation
- Bicubic Interpolation
- Accuracy comparison
- Speed comparison
- More Information
- Configuration Variables
- Configuration Keys
- REFPROP Interface
- Path Issues
- Other Platforms
- Other Features