Skip to main content

Open-source thermodynamic and transport properties database

Project description

Changelog:

2.2.2 (revision 166)
Added MATLAB wrappers and compiled versions on Windows to batch
Added plots to check solvers for (T,p) and (h,p) in subcooled liquid and superheated vapor regions

2.2.1 (revision 166)
Added the fluid SES36
HAProps added to CoolProp wrapper and added to Excel addin
When using pseudo-pure fluid, saturation density are calculated based on solving for density given T,P and guess value given by ancillary for density
Improved saturated vapor ancillary for SES36
Changed default names: R717 -> Ammonia, R744 -> CarbonDioxide, R290 -> Propane

2.2.0 (revision 164)
Added the Siloxanes (MM,MDM,MD2M,MD3M,MD4M,D4,D5,D6)
Added a script that will build all the parts (Excel DLL, Python, MATLAB, etc.) and upload to Sourceforge
Very-alpha code for use of CoolProp in Modelica
Enthalpy and pressure are valid inputs for Brine fluids
Added support for quantities package in Python code (If you provide quantities.Quantity instance to CoolProp.CoolProp.Props, the units will be converted to the default units for CoolProp; Default units can be obtained by calling get_index_units(iParam) as a std::string; If a string for the desired output units is passed to Props the units will be converted to the output units)
Internals of CoolProp changed again, added a function called IProps that uses the integer indices for the input terms as well as the fluids - significant speedup. This is mostly for use with CoolProp.State.State in Python although the same principle can be used elsewhere
Bug fixes for ECS

2.1.0 (revision 154)
Added the fluids Hydrogen, Oxygen, and Helium
Added the output term 'accentric' to get the accentric factor of the fluid
Checking of input temperature now yields errors for bad temperatures below fluid min temp
Fixed T(h,p) and T(s,p) in two-phase region
Fixed Units on surface tension to N/m

2.0.6 (revision 147)
Fixed entropy of humid air at above-atmospheric pressure (Typo in RP-1485)
Added specific heat of humid air
Changes to setup.py so that it will not build if cython version < 0.17 which is a requirement due to the use of STL containers
Changes to plot module to allow for showing right after plot

2.0.5 (revision 143)
Fixed wetbulb and dewpoint calculations - works correctly now
Added wrappers for MATLAB and Octave to subversion code - not included in source distro

2.0.4 (revision 132)
Fixed density for subcooled liquid
Fixed setup.py for OSX (I think)
Using cython for wrapping of CoolProp module
CoolProp module - removed T_hp and h_sp - use Props instead
Added IceProps function to HumidAirProps
Added and fixed CO2 transport properties

2.0.1 (revision 122)
Implemented the method of Akasaka to calculate the saturation state (works great). H/T to FPROPS for the recommendation
Fixed the calculations for T(h,p) up to a subcooling of 50 K, works fine in superheated vapor
Added the ideal-gas specific heat with key of C0

2.0.0 (revision 107)
MAJOR revision to the internals of CoolProp
Entropy added for humid air (Only fully validated at atmospheric pressure)
Added the fluids R22, R1234yf and the 20 industrial fluids from Lemmon, 2000
Added ECS model for calculation of transport properties (somewhat experimental)
Added surface tension for all fluids. Property key is 'I' for surface tension
Some functions have been removed in order to better handle errors at the C++ level.
Tcrit(), Tsat() and pcrit() are gone, in Python call Props('R134a','Tcrit') for instance to get Tcrit
Many other bug fixes.
Documentation to follow.

1.4.0 (revision 75)
Internal codebase rewritten in C++ to allow for better exception handling and function overloading
All work now happens in CoolProp.cpp (inspired by FPROPS)
Added 2-D lookup table (temperature and pressure) directly in CoolProp. Enable by calling UseSinglePhaseLUT(1) to turn on, UseSinglePhaseLUT(0) to turn off
Compiled with the -builtin compilation flag
Documentation updated for UseSinglePhaseLUT

1.3.2 (revision 49)
Added functions to use Isothermal compressibility correlation UseIsothermCompressCorrelation and ideal gas compressibility UseIdealGasEnthalpyCorrelations

1.3.1 (revision 48)
Updated documentation
Added ability to use virial term correlations for Humid air by call to UseVirialCorrelation(1)

1.3 (revision 41):
Added pseudo-pure fluid Air using EOS from Lemmon
Added EOS for ice from IAPWS
Updated Humid Air Thermo Props to use analysis from ASHRAE RP-1845, though IAPWS-1995 is used throughout for water vapor
Enable the use of lookup tables for refrigerant saturation properties[ call UseSaturationLUT(1) to turn on, and UseSaturationLUT(0) to turn off] Speed up is very significant!

1.2.2 (revision 35):
Added some simple cycles for comparison of different working fluids
Fixed quality calculations to agree with REFPROP

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CoolProp-2.2.2.zip (2.2 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page