This commit is contained in:
Ian Bell
2015-02-11 22:02:44 -07:00
12 changed files with 1038 additions and 971 deletions

View File

@@ -1,6 +1,48 @@
Changelog for CoolProp
======================
5.0.7
-----
New Features:
* Added a Lua wrapper
Issues Closed:
* `#460 <http://github.com/CoolProp/CoolProp/issues/460>`_ : PropsSI ("Q", "P", valueP, "H", valueH, "REFPROP-R410A") only return 0
* `#459 <http://github.com/CoolProp/CoolProp/issues/459>`_ : PropsSI ("D", "P", valueP, "T", valueT, "R407C") return bad result in L+V Phasis
* `#456 <http://github.com/CoolProp/CoolProp/issues/456>`_ : Slave alert
* `#454 <http://github.com/CoolProp/CoolProp/issues/454>`_ : Add density dependency to entropy and enthalpy of incomprerssible fluids
* `#452 <http://github.com/CoolProp/CoolProp/issues/452>`_ : Allow mixtures to have zero mole fractions
* `#450 <http://github.com/CoolProp/CoolProp/issues/450>`_ : Calling PropsSI to get thermal conductivity throws an exception
* `#448 <http://github.com/CoolProp/CoolProp/issues/448>`_ : Retrieving acentric factor through Props1SI fails
* `#443 <http://github.com/CoolProp/CoolProp/issues/443>`_ : Javascript index.html is missing
* `#437 <http://github.com/CoolProp/CoolProp/issues/437>`_ : REFPROP predefined mixtures no longer work
* `#434 <http://github.com/CoolProp/CoolProp/issues/434>`_ : R404A Refprop value differs from Refprop Value in Excel
* `#432 <http://github.com/CoolProp/CoolProp/issues/432>`_ : All the mixture interaction parameters of Gernert are wrong
* `#431 <http://github.com/CoolProp/CoolProp/issues/431>`_ : REFPROP should not be reloaded after every call to PropsSI
* `#430 <http://github.com/CoolProp/CoolProp/issues/430>`_ : HAPropsSI is missing from the SWIG wrapper
* `#429 <http://github.com/CoolProp/CoolProp/issues/429>`_ : Entropy of Melinder fluids giving wrong results
* `#428 <http://github.com/CoolProp/CoolProp/issues/428>`_ : On windows, do not error out if REFPROP fluid files are not found in c:\Program Files\REFPROP
* `#427 <http://github.com/CoolProp/CoolProp/issues/427>`_ : HapropsSi("W","B", 279.15, "T", 293.15, "P", 101325) lead to a "-1.#IND" value
* `#425 <http://github.com/CoolProp/CoolProp/issues/425>`_ : Incompressible viscosity
* `#419 <http://github.com/CoolProp/CoolProp/issues/419>`_ : HapropSI ("T","B",273.15+37,"D",273.15+36.44,"P",101325) lead to an error ...
* `#416 <http://github.com/CoolProp/CoolProp/issues/416>`_ : Sphinx docs
* `#413 <http://github.com/CoolProp/CoolProp/issues/413>`_ : Incompressible entropy
* `#410 <http://github.com/CoolProp/CoolProp/issues/410>`_ : Phase envelope segfaults for pure fluids
* `#409 <http://github.com/CoolProp/CoolProp/issues/409>`_ : Trivial outputs
* `#408 <http://github.com/CoolProp/CoolProp/issues/408>`_ : HapropsSI function issues
* `#403 <http://github.com/CoolProp/CoolProp/issues/403>`_ : Error in new CoolProp version in the function HAPropsSI (variable combination 'PH' and 'W')
* `#401 <http://github.com/CoolProp/CoolProp/issues/401>`_ : Linux/OSX error with refprop 9.1* and mixtures containing R1234YF
* `#400 <http://github.com/CoolProp/CoolProp/issues/400>`_ : HAPropsSI(Output, "B",valueB, "R", 1, "P", 101325) lead to an error
* `#398 <http://github.com/CoolProp/CoolProp/issues/398>`_ : HAPropsSI(Output, "B",252.84, "D";250.85, "P", 101325) lead to an infinite value
* `#387 <http://github.com/CoolProp/CoolProp/issues/387>`_ : Vectorised PropSI breaks plotting functions
* `#386 <http://github.com/CoolProp/CoolProp/issues/386>`_ : Bibtex numbering
* `#307 <http://github.com/CoolProp/CoolProp/issues/307>`_ : Transport Properties for Mixtures
5.0.6
-----

View File

@@ -18,12 +18,11 @@ library.
* **release branch**: Merge all code from *master* into *release* branch
* **build bots**: Force all buildbots to run on the *release* branch, this will also change the upload folder from *binaries* to *release*.
* **script**: Wait for all bots to finish and run the release script by launching the ``release version`` bot with dry run disabled and the correct version number. This uploads binaries to pypi and sourceforge.
* **script**: Wait for all bots to finish and run the release script by launching the ``release version`` bot with dry run disabled and the correct version number. This uploads binaries to pypi and sourceforge. Ignore the warning ``failed to set times on "/home/project-web/coolprop/htdocs/jscript/coolprop-latest.js"``, it is a symlink and will be overwritten...
* **clean up**: If everything went well, you can proceed:
- Tag the release branch in GitHub. It is a good idea to include the information on the closed issues here as well.
- Tag the release branch in your git software. It is a good idea to make and annotated tag and include the information on the closed issues here as well.
- Change the default download file on sourceforge to point to the new zipped sources.
- Copy the new Javascript library to the homepage and make a symlink to ``coolprop-latest.js``. *I think I automated this one already*
- Bump the version number in the CMake file and commit.
- Announce the new features if you like...

View File

@@ -59,8 +59,8 @@ Pure Fluid Examples
-------------------
Incompressible fluids only allow for a limited subset of input variables. The
following input pairs are supported: :math:`f(p,T)`, :math:`f(p,h)`, :math:`f(p,\rho)`,
:math:`f(p,u)` and :math:`f(p,s)`. Some fluids also provide saturation state
following input pairs are supported: :math:`f(p,T)`, :math:`f(p,h)`, :math:`f(p,\rho)`
and :math:`f(p,s)`. Some fluids also provide saturation state
information as :math:`f(Q,T)` with :math:`Q=0`. All functions iterate on :math:`f(p,T)` calls
internally, which makes this combination by far the fastest. However, also the
other inputs should be fast compared to the full Helmholtz-based EOS implemented
@@ -74,14 +74,27 @@ thermal conductivity. Hence, the available output keys are: ``T``, ``P``, ``D``,
.. ipython::
In [1]: from CoolProp.CoolProp import PropsSI
#Density of Downtherm Q at 500 K and 1 atm.
In [1]: PropsSI('D','T',500,'P',101325,'INCOMP::DowQ')
#Specific heat capacity of Downtherm Q at 500 K and 1 atm
In [1]: PropsSI('C','T',500,'P',101325,'INCOMP::DowQ')
In [1]: PropsSI('C','D',809.0659,'P',101325,'INCOMP::DowQ')
#Density of Downtherm Q at 500 K and 1 atm.
In [1]: PropsSI('D','T',500,'P',101325,'INCOMP::DowQ')
#Round trip in thermodynamic properties
In [1]: T_init = 500.0
In [2]: P_init = 101325
In [3]: D_init = PropsSI('D','T',T_init,'P',P_init,'INCOMP::DowQ')
In [4]: S_init = PropsSI('S','D',D_init,'P',P_init,'INCOMP::DowQ')
In [5]: H_init = PropsSI('H','S',S_init,'P',P_init,'INCOMP::DowQ')
In [6]: T_init = PropsSI('T','H',H_init,'P',P_init,'INCOMP::DowQ')
In [7]: T_init
#Saturation pressure of Downtherm Q at 500 K
In [1]: PropsSI('P','T',500,'Q',0,'INCOMP::DowQ')