Commit Graph

988 Commits

Author SHA1 Message Date
Ian Bell
ddc0fb3fcd Do HS flash using TS and iterating on T; closes #630 2015-05-07 22:31:16 -06:00
Ian Bell
3936bb59f7 Implement PT with guess for rho for REFPROP backend; closes #653
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-05-07 22:16:29 -06:00
Ian Bell
04897ee1e3 Calculate true critical point using REFPROP backend; closes #652 2015-05-07 21:28:57 -06:00
Ian Bell
dd795aec57 Implement the PIP parameter of Venkatharathnam for HEOS backend through to python and B and C virial coefficients
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-05-06 23:27:23 -06:00
Ian Bell
b672ea191e fix REFPROP PATH for fluids on *nix 2015-05-05 21:19:29 -06:00
Ian Bell
877223753f Use the new REFPROP header; closes #647 2015-05-05 20:41:46 -06:00
Ian Bell
f712d20d2e Added B,C virials for REFPROP backend; closes #646 2015-05-05 20:14:56 -06:00
Ian Bell
a20824b5df Support mass and molar inputs to TTSE and BICUBIC; see #634
Added test as well
2015-05-05 20:02:32 -06:00
Ian Bell
fc4d9c2aeb Force REFPROP tests to output the offset in helmholtz energy required
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-05-04 22:24:07 -06:00
Ian Bell
03df3c7098 Repaired two of the tests for splined two phase derivatives 2015-05-04 22:00:41 -06:00
Ian Bell
7c23fc02fb Test that HS are the same for all fixed state points and reference states; closes #627 2015-05-04 20:53:58 -06:00
Ian Bell
840c497fdf Enable some additional debugging for HelmholtzEOSBackend 2015-05-03 23:16:38 -06:00
Ian Bell
5958e05682 Implemented two_phase_deriv for TTSE and BICUBIC and updated tests (pass); closes #644 2015-05-03 19:33:05 -06:00
Ian Bell
8c7e47c83d Add derivative along saturation curve for Tabular backends; closes #635 2015-05-03 18:14:57 -06:00
Ian Bell
3957dee130 Support PQ_INPUTS for TTSE backend 2015-05-03 18:13:24 -06:00
Ian Bell
8969eb5a24 Implemented viscosity and conductivity for heavy water; closes #638 2015-05-01 22:47:45 -06:00
Jorrit Wronski
e2b7043ce4 Make Ttriple aware of mixtures, but disable it because it is not part of REFPROP. 2015-05-01 16:49:36 +02:00
Jorrit Wronski
7ac318b094 Fixed triple point from REFPROP, should improve #411 and fixes #642 2015-05-01 11:36:48 +02:00
Ian Bell
3f0a495a99 Throw the correct error when inputs are not two-phase to two_phase_deriv; closes #639 2015-04-30 18:14:39 -06:00
Ian Bell
e6f3acf318 QT inputs should only be valid for pseudo-pure if Q=0 or Q=1; closes #636 2015-04-30 17:49:08 -06:00
Ian Bell
a431b2f6bf Use IF97 to do all the flash calls for Humid air properties 2015-04-28 22:40:44 -06:00
Ian Bell
b51465bc0f Finished methane conductivity; closes #631
Added a few tests
2015-04-28 21:43:36 -06:00
Ian Bell
2da100b29b Allow temperature to QT_INPUTS to be slightly below Tmin
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-04-28 20:58:08 -06:00
Ian Bell
d29818aa19 Methane conductivity almost working; see #631
Seems like there might be a bug in Friend paper?
2015-04-27 23:19:02 -06:00
Ian Bell
5aa27d0e52 Fixed TTSE backend around the saturated liquid line; closes #622 2015-04-27 20:34:39 -06:00
Ian Bell
ae1f033e5c Fix W = 0 for HAPropsSI; closes #628 2015-04-27 19:02:27 -06:00
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