962 Commits

Author SHA1 Message Date
Ian Bell
df312e3c69 Remove unused variables and relax acceptable tests 2015-04-26 18:21:42 -06:00
Ian Bell
415a13dae2 More skipping of impossible reference states 2015-04-26 18:09:58 -06:00
Ian Bell
679de3517f Skip more impossible reference states 2015-04-26 17:51:56 -06:00
Ian Bell
c771c6900e Skip impossible reference states in testing 2015-04-26 17:49:34 -06:00
Ian Bell
ea8ae30000 Remove unneeded HS testing code 2015-04-26 17:37:00 -06:00
Ian Bell
d5cbbe0c1e Don't evaluate exactly at the critical point to help out with Water and CO2 reference state setting 2015-04-26 17:36:27 -06:00
Ian Bell
08676c31e9 HS inputs work more reliably now. Much slower, but fewer failures. Closes #455 2015-04-26 16:46:10 -06:00
Ian Bell
2fbf598e0f Fixed DH, DS, DU in two-phase zone (typo) 2015-04-26 14:42:30 -06:00
Ian Bell
14cfd28d9f Resolved issues with Dmolar,T in subcooled liquid zone without resorting to saturation call; see #624
More work remains for some of other two-phase flashes
2015-04-26 14:20:11 -06:00
Ian Bell
da0d318d6b Fixed Helmholtz derivatives 2015-04-26 13:06:57 -06:00
Ian Bell
58e79b65f2 Refactor NonAnalytic derivatives to yield proper values at delta=1, tau != 1 2015-04-25 18:26:44 -06:00
Ian Bell
3e35bc87e6 Fixed bugs with viscosity and conductivity for tabular backends; closes #621 2015-04-25 16:10:57 -06:00
Ian Bell
97fad5263b Initialize quality to -1000 for tabular backends; closes #620 2015-04-25 15:28:11 -06:00
Ian Bell
cf105f07c0 Merge branch 'master' of https://github.com/CoolProp/CoolProp 2015-04-25 14:21:56 -06:00
Jorrit Wronski
b9bd08bc93 Update Solvers.cpp
A tiny typo in the new solver
2015-04-25 10:31:48 +02:00
Ian Bell
bec1f60475 Typo in disabling of 4th derivatives of SAFT term 2015-04-24 23:37:55 -06:00
Ian Bell
6bceccf1d6 Skip tests on 4th order SAFT derivatives 2015-04-24 22:26:02 -06:00
Ian Bell
cab60b632b Don't test Water or CO2 AT the critical point 2015-04-24 22:09:00 -06:00
Ian Bell
5d8c1fafe0 Limit critical region based on DELTA, not delta, in critical region 2015-04-24 22:02:50 -06:00
Ian Bell
7a72e68389 Significantly reduce the zone where D, T requires a call to saturation routines; helps #411 2015-04-24 21:21:19 -06:00
Ian Bell
5a4bf85432 Should be absolute value of error in comparison for backwards steps
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-04-24 19:32:55 -06:00
Ian Bell
7367e6a326 Implemented Halley's method for liquid states - works great; see #411 2015-04-24 19:24:22 -06:00
Ian Bell
6696e34c1d Fixed pseudo-pures in the critical vicinity; closes #481 2015-04-24 18:54:56 -06:00
Ian Bell
de24996c92 Tightened up convergence criterion for saturation and added relaxation for water; closes #615 2015-04-24 18:00:08 -06:00
Ian Bell
0f449b3043 Move include to remove CRT secure warning in CoolProp.cpp 2015-04-23 14:34:47 -06:00
Ian Bell
d8a09a4fb4 Merge branch 'master' of https://github.com/CoolProp/CoolProp 2015-04-23 10:07:26 -06:00
Ian Bell
8f9817b1ae Export up to 4th order derivatives of the residual Helmholtz energy term 2015-04-23 10:05:11 -06:00
Ian Bell
48c757e229 Implement the updated Generalized Exponential derivative term 2015-04-23 10:03:57 -06:00
Ian Bell
0658ec082d Merge pull request #614 from postmath/typos-in-parameter-descriptions
Typos in parameter descriptions.
2015-04-22 21:49:19 -06:00
Erik Postma
678db27dc6 Typos in parameter descriptions. 2015-04-22 13:47:52 -04:00
Jorrit Wronski
601ee5a6bc Added the DEF file to export the same symbols as cdecl and stdcall dll on Windows 2015-04-22 11:52:02 +02:00
Ian Bell
4697b33a6d Throw error if Q out of range for first_two_phase_deriv_splined; closes #611 2015-04-21 19:24:08 -06:00
Ian Bell
86569f4be8 If fluid has no transport properties, still calculate saturation tables; closes #602 2015-04-20 21:31:38 -06:00
Jorrit Wronski
78b7a14585 Still playing with Python config, hopefully fixes an OSX bug (PhaseEnvelope import) as well. 2015-04-20 21:46:57 +02:00
Ian Bell
2acfa38744 Do not rebuild the coefficients every time - 5us/call with BICUBIC 2015-04-19 22:01:04 -06:00
Ian Bell
2056c1ee8c tau and delta should be based on reducing temperature and density, not critical values
Also fix definition of PHI0 in REFPROP wrapper
2015-04-19 21:12:58 -06:00
Ian Bell
260f4dfde0 Bicubic tables "working" for mixtures with REFPROP
Interpolated values are not quite correct, seems like a problem with PHIOdll in REFPROP
2015-04-19 19:30:13 -06:00
Ian Bell
b4d0420ef1 Building tables for mixtures working now with REFPROP. 2015-04-19 14:15:01 -06:00
Ian Bell
7fffb04413 Build phase envelopes for mixtures with tabular backends and copy data 2015-04-19 11:19:14 -06:00
Ian Bell
73c7fc6bad Switch MATLAB+OSX to libstdc++; see #596 2015-04-17 17:25:52 -06:00
Ian Bell
1e50282c89 Fixed division by zero for NA terms away from critical point; closes #599 2015-04-17 17:21:45 -06:00
Ian Bell
4ddd0b93b2 Commenting out Aly-Lee for now (no longer used, terms are converted to generalized Planck-Einstein) 2015-04-16 20:59:03 -06:00
Ian Bell
3dbe3cb291 Finished 4th derivatives of non-analytic term
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-04-16 20:34:17 -06:00
Ian Bell
9b8288e8dc Implemented d4DELTAbi_dDelta_dTau3 for NA 2015-04-16 18:21:29 -06:00
Ian Bell
6ef4b6bda2 Fixed PlanckEinstein through 4th order 2015-04-15 22:35:07 -06:00
Ian Bell
011bac075b Almost done with 4th derivatives, just PlanckEinstein, SAFT, and a bit of NA remain
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-04-15 01:55:39 -06:00
Ian Bell
d818dc6006 Progress on 4th derivatives of non-analytic term (though not correct yet); see #549 2015-04-13 23:44:31 -06:00
Ian Bell
eede3266ca "formula" is actually an output in get_fluid_param_string now 2015-04-10 20:55:00 -06:00
Ian Bell
295f9a2b3f Fixed #586 2015-04-10 20:52:20 -06:00
Ian Bell
1e5e465fa4 Clear AbstractState classes for HAPropsSI at every call; closes #585
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-04-10 20:27:59 -06:00