Commit Graph

3686 Commits

Author SHA1 Message Date
Ian Bell
5fd2440b67 Add EOS for R245ca 2016-02-05 15:48:08 -07:00
Ian Bell
87ba1cb863 Merge pull request #953 from CoolProp/CoolPropDbl_to_double
Remap CoolPropDbl to double
2016-02-02 08:58:40 -07:00
Ian Bell
a76d2ddd65 As temporary solution, add ctypedef in python land 2016-02-01 18:34:40 -07:00
Ian Bell
154bafed14 Try to remap CoolProp to always be a double 2016-02-01 16:32:43 -07:00
Ian Bell
e1645d938e Fix initializer for constant reducing function 2016-02-01 16:31:22 -07:00
Ian Bell
f46fbf0991 Merge pull request #952 from CoolProp/cppformat
Switch string formatting to use the cppformat library; see #907
2016-02-01 16:19:07 -07:00
Ian Bell
34a2546c82 Update reference for R1234ze(E); closes #944 2016-02-01 16:11:04 -07:00
Ian Bell
0afd2f4400 Switch string formatting to use the cppformat library; see #907 2016-02-01 15:57:33 -07:00
Ian Bell
1273c2fe57 Fix duplicate copies of the same critical point; closes #885 2016-01-31 18:11:04 -07:00
Ian Bell
7a137487b2 Don't make copies of the mole fractions every time, just get a reference 2016-01-31 11:22:54 -07:00
Ian Bell
e4c435281a Cubic backend can now calculate critical points finally 2016-01-31 11:01:47 -07:00
Ian Bell
ea1485bb6f Allow gibbs as input to first_partial_deriv; closes #951 2016-01-29 10:06:35 -07:00
Ian Bell
8eb6ef92b9 Fix units for residual entropy; closes #950 2016-01-28 21:31:21 -07:00
Ian Bell
3d455b678d Add Smolar_residual to high-level API 2016-01-28 06:33:25 -07:00
Ian Bell
76b68ebe42 Add Fij getter/setter for REFPROP backend 2016-01-27 21:50:48 -07:00
Ian Bell
7b6fbc51fb Fix reference for EOS-CG and protect some other titles with {}
closes #948
closes #949
2016-01-27 21:35:55 -07:00
Ian Bell
ed776b5281 Update ancillaries for HCl - thanks to Monika Thol 2016-01-25 20:59:35 -07:00
Ian Bell
ed8f1a9d1e Fix low pressure updates with bicubic backend; closes #934 2016-01-23 23:08:11 -07:00
Ian Bell
9e946c0f19 Fix error message for p_triple calculation; closes #941
We didn't check the returned error code before.
2016-01-23 20:20:05 -07:00
Ian Bell
163b217b83 Fix call to strstrip 2016-01-21 22:33:56 -07:00
Ian Bell
15184c5751 Add ability to retrieve REFPROP version; closes #937 2016-01-21 22:26:03 -07:00
Ian Bell
3e528d32e5 Add constant reducing state class to be used for cubics 2016-01-21 09:02:03 -07:00
Ian Bell
de651dd971 Get the generalized cubics compiling again 2016-01-21 08:14:05 -07:00
Ian Bell
5c3711c724 Add cmath for generalized cubic 2016-01-21 00:07:54 -07:00
Ian Bell
5253bbbd1a Add the generalized cubic derivatives from the work of Bell at el., "Helmholtz energy translations for common cubic equations of state for use in one-fluid and multi-fluid mixture models"
Backend works, but is in its infancy. E.g.:

SRKBackend SRK(300, 4e6, 0.3, 8.3144598);
SRK.specify_phase(iphase_gas);
SRK.update_DmolarT_direct(1, 300);
double ar = SRK.alphar();
double p = SRK.p();

See also #186
2016-01-20 23:56:37 -07:00
Ian Bell
2688b572ac Fix references for Thol papers 2016-01-19 22:55:22 -07:00
Ian Bell
8fdf0b92c1 Fix table of fluids in docs (swap , for ;) 2016-01-18 20:03:31 -07:00
Ian Bell
3d6493f656 More significant digits when debug printing HS reference state offsets 2016-01-18 19:49:06 -07:00
Ian Bell
351d3e36e0 clean up R1233zd(E).json 2016-01-18 19:47:59 -07:00
Ian Bell
dc913cc7da Bump number of fluids; see #928 2016-01-18 19:47:13 -07:00
Ian Bell
74e36aceac Prepare for CoolPropDbl->double; see #931 2016-01-18 19:46:18 -07:00
Ian Bell
4f4344e3ef Repair PT flash for supercritical inputs for air; closes #313 2016-01-18 19:10:19 -07:00
Ian Bell
6739fba1d7 Add EOS from Monika Thol's PhD dissertation for HCL, ethylene oxide, dichloroethane, and D4; closes #928 2016-01-18 18:55:04 -07:00
Ian Bell
8e5930de63 Speed up some PH calls by providing density guesses 2016-01-18 00:40:24 -07:00
Ian Bell
dc9cc4cbd2 Another improvement to speed of DT inputs; close #411 2016-01-17 23:21:27 -07:00
Ian Bell
6f01e427ea Fix reference for heavy water 2016-01-17 21:27:05 -07:00
Ian Bell
a95a1ebe6f Fix some reference-related issues; see #932 2016-01-17 20:58:31 -07:00
Ian Bell
4c3e48b902 Revert mistaken coefficients for surface tension for DEE 2016-01-17 20:51:43 -07:00
Ian Bell
e67fe66cd4 Allow for multiple bibtex keys in the docs; closes #932 2016-01-17 17:33:08 -07:00
Ian Bell
48147946b9 Fix surface tension for DEE 2016-01-17 17:05:17 -07:00
Ian Bell
da99edb8b3 Fix formula for hydrogen; closes #926 2016-01-17 17:00:15 -07:00
Ian Bell
4a86e38e71 Correct line endings for Delphi example 2016-01-17 16:49:49 -07:00
Ian Bell
6bcf0ecba1 Start PT flash with Halley's method; closes #929 2016-01-17 16:48:29 -07:00
Ian Bell
053f912ba8 phase envelopes start at much lower pressure; closes #930
also error out if mole fractions not set
2016-01-17 16:44:11 -07:00
Ian Bell
3c9de540a9 Add some more docs for linear and Lorentz-Berthelot mixing 2016-01-17 16:43:08 -07:00
Ian Bell
ad6d9fb426 Fix comments for critical point evaluations for REFPROP docs 2016-01-17 16:42:09 -07:00
Ian Bell
8aac0656ad Add ability to get starting values for water mixture VLE iteration from Henry's law 2016-01-16 21:47:52 -07:00
Ian Bell
96a7b192da Actually commit updates to TL and TV; see #921 2016-01-16 21:44:42 -07:00
Ian Bell
e5dac6bd07 Improve tabular interpolation for p-T; see #921 2016-01-16 18:35:15 -07:00
Ian Bell
a39bd1852b Fix HS inputs; closes #925 2016-01-16 17:52:21 -07:00