Commit Graph

5381 Commits

Author SHA1 Message Date
Arnab Mahanti
377bab8ebe implemented TCX Huber-JPCRD-2016 for CO2 (#2267)
* implemented TCX Huber-JPCRD-2016 for CO2

* added CarbonDioxideHuberJPCRD2016 to json file

* fixed typo in Huber Eq. 3
2023-07-22 07:49:23 -04:00
Andrés Riedemann
3047e04d35 Create CITATION.bib (#2261) 2023-06-19 13:42:09 -04:00
Ian Bell
1ac6ee5383 Fix include path for fmtlib 2023-05-13 09:12:15 -04:00
Ian Bell
80c70e70f2 Fix fmtlib include path 2023-05-13 08:20:14 -04:00
Ian Bell
73418363e2 Add missing header 2023-05-13 07:20:09 -04:00
Pierre Wendling
d248c75a43 Update fmt submodule to 10.0.0 (#2252)
* Update fmt submodule to 10.0.0.

* Update format wrapper, add format_as overloads.

- Every enum that is formatted needs to define a format_as overload in
the same namespace.
- Add a wrapper for sprintf for fmt versions without ArgList.
2023-05-13 07:14:01 -04:00
Juan F. Coronel
5f3223c505 Update index.rst (#2241)
* Update index.rst

- Updating the PropiedadesDeFluidos link
- Adding a new app 'CuadernoDeProblemas' that uses CoolProp

* Update indext.rst with English description

PropiedadesDeFluidos and CuadernoDeProblemas link changed with short English description

* Update index.rst with English translation

Added English translation for the Spanish apps
2023-04-19 18:23:38 -04:00
VikramGovindarajan
95ece84201 Incomp liqna (#2238)
* Liquid sodium properties added in incompressible liquids from range 400 K to 2500 K in steps of 100 K.
np.float changed to float in SecCoolFluids.py (Deprecated alias)
json file generated and added

* a bug in liquid sodium viscosity value corrected

* specific heat capacity fit was not proper for liquid sodium.
after removing two data points at the high temperature end, the fit is reasonable and is retained as of now.

* liquid sodium json file updated

* specific heat fit for liq sodium was not satisfactory for full range 400 K to 2300 K.
hence the range of values for specific heat of liq sodium reduced to 400 K to 1000 K and new coefficients updated
2023-04-16 12:32:47 -04:00
msaitta-mpr
3b51038827 Correct typo in n-Hexane rhoV auxilliary (#2230)
The rhoV auxilliary for n-Hexane had accidentally been set to use
reduced tau. This commit fixes the typo. This prevents bad guesses
for a number of property evaluations which use saturated states.
2023-03-29 20:31:28 -04:00
Andrés Riedemann
abcb4a53a9 update cyclopentane.json (#2225)
following the suggestion on #2051
2023-03-21 22:08:26 -04:00
msaitta-mpr
7da86af494 Topic 2142 (#2223)
* Remove R1233zd(E) hL ancillary

The R1233zd(E) hL ancillary performs poorly. This can result in a
failure to converge when provided inputs (p/h) lie between the
ancillary saturation curve and the true saturation curve. Removing
the ancillary makes CoolProp fall back to a robust saturation
solver.

* Add 0.01 K cushion to Tmax in HSU_P_flash

Within HSU_P_flash, if an ancillary is used it can have a small
error. If the point of interest is near that saturation curve, this
error can prevent the solver from converging. Adding a 0.01 K margin
account for small ancillary errors and allow the solver to converge.

* Correct 0.01K cushion

The 0.01K adjustment should increase the potential range of the
solver. Previously, the minimum was increased, but it should be
decreased.
2023-03-18 08:07:59 -06:00
msaitta-mpr
e77611cb0d Verify that mole fractions are set before using them (#2207)
Verify that mole fractions are set before using them by implementing mole fractions as an internal object. This provides a more robust way to check if values have been set.
2023-03-13 13:25:08 +01:00
raphaeltimbo
14c054106d Change links from Google group to GitHub discussions (#2214)
As discussed here:
https://groups.google.com/g/coolprop-users/c/l_aY4vTT58Q
2023-02-17 14:14:46 -05:00
Ian Bell
0ef60d9408 Also output the Fluid in State class 2023-02-04 13:29:18 -05:00
msaitta-mpr
319cdbfd23 Provide better feedback for bad DQ inputs (#2203)
* Provide better feedback for bad DQ inputs

DQ is poorly defined (not unique) for densities above critical
density. Provide the user better feedback when they try to do this,
but do not give them a non-unique answer that might give them
trouble later.

* Prevent DQ warning for saturation curves

The saturation curves (Q=0, Q=1) are monotonic and invertible, so we
should not tell the user otherwise.

* Add small tolerance to DQ quality checking

Exact checking of floating point values is bad practice, as
iterative calculations can introduce small errors. This commit
ensures that when the DQ flash routine checks for the saturation
curves that it allows for some slop.

* Prevent DQ evaluation when D>Dcrit

The combination of density and quality inputs are not valid when the
density is greater than the critical density and the quality is
greater than 0. A small tolerance is added to allow for numeric
slop.

* Add discussion of Q to DQ warning
2023-01-25 20:33:45 -05:00
Jorrit Wronski
86ca7f1286 Merge branch 'master' into cpp_review 2022-12-19 23:07:25 +01:00
Jorrit Wronski
d241e083b7 Update CMakeLists.txt
Fixed the version number
2022-12-16 22:37:12 +01:00
Jorrit Wronski
36c513c769 Minor changes in the docs 2022-12-16 17:16:40 +01:00
Jorrit Wronski
f3e7652854 Skip the release of the docs from the action 2022-12-16 16:47:39 +01:00
Jorrit Wronski
84897ce7a1 use no version number at all to fix the source build v6.4.3 2022-12-16 13:59:36 +01:00
Jorrit Wronski
85b5605281 Updated the description of the release actions 2022-12-16 12:05:38 +01:00
Jorrit Wronski
8d3aec55c4 Prepare for v6.4.3 2022-12-16 11:35:35 +01:00
Jorrit Wronski
2d5f262768 Add an sdist package for Python 2022-12-16 11:16:57 +01:00
Jorrit Wronski
7f1a88c2bf Ready for the first real-life release test 2022-12-15 23:50:46 +01:00
Jorrit Wronski
3595badfd2 Include the sources and the docs as zip file 2022-12-15 23:11:45 +01:00
Jorrit Wronski
16c47d5e14 Periodically delete workflow runs 2022-12-15 23:09:29 +01:00
Jorrit Wronski
f7f2daf5e1 Reduce the number of Python wheels 2022-12-15 22:57:35 +01:00
Jorrit Wronski
e33ad98279 Add the first version of the deploy scripts 2022-12-15 22:20:39 +01:00
Jorrit Wronski
a86342ec57 Bump version number 2022-12-15 22:05:23 +01:00
Jorrit Wronski
a885a2b4e0 One more typo v6.4.2 2022-12-13 14:12:01 +01:00
Jorrit Wronski
d0e2778734 Update the version extraction to handle builds without revision 2022-12-13 14:10:36 +01:00
Jorrit Wronski
9faf4ae9bb Prepare for v6.4.2 2022-12-13 14:03:39 +01:00
Jorrit Wronski
7fa16a1a62 Updated the docs based on #2067 2022-12-13 11:28:54 +01:00
Jorrit Wronski
62f9022182 one more typo in the job file 2022-12-08 00:28:51 +01:00
Jorrit Wronski
4fc34ffc98 typo in the job file 2022-12-08 00:20:23 +01:00
Jorrit Wronski
2b770f90e2 Fixed the CI workflows and included more python wheels, closes #2119, #2087, #2081, #1867, #2003, #2095 2022-12-08 00:16:57 +01:00
Jorrit Wronski
ce63a3c01e Finished labelling all the closed issues and PRs 2022-12-08 00:11:53 +01:00
Jorrit Wronski
271a69d0ad Finished labelling all the closed issues and PRs 2022-12-08 00:08:55 +01:00
Jorrit Wronski
d9d87a960e Simplify the build selector for Python 2022-12-07 23:55:35 +01:00
Jorrit Wronski
8b82f0bf1f Debugged the changelog script 2022-12-07 22:55:16 +01:00
Jorrit Wronski
b7a6f22ab7 Change the order of the mixture coefficients, closes #2149 and renders #2150 obsolete. 2022-12-07 22:24:13 +01:00
Jorrit Wronski
a14412559e Automatically convert ARM64 to arm64 2022-12-07 19:58:12 +01:00
Jorrit Wronski
899fc62d64 exclude the undefined architectures 2022-12-07 15:57:11 +01:00
Jorrit Wronski
8375065bc5 back to the old definition 2022-12-07 15:49:13 +01:00
Jorrit Wronski
6bd16ece89 More architecture debugging 2022-12-07 15:46:10 +01:00
Jorrit Wronski
4902147821 Handle missing arch identifier 2022-12-07 15:39:24 +01:00
Jorrit Wronski
8d18be564b Fix the architecture selection 2022-12-07 15:36:49 +01:00
Jorrit Wronski
ae9da6f513 include arm64 for apple silicon 2022-12-07 15:13:32 +01:00
Jorrit Wronski
ab5fbf9203 Update the actions to avoid Node.js 12 warnings 2022-12-07 15:05:03 +01:00
Jorrit Wronski
ea39c01291 Removed multiple builds for X86_64 2022-12-07 14:34:59 +01:00