Ian Bell
|
e0e2591d73
|
Fixed problems with HAPropsSI when wetbulb is an input by converting call to Brent. Slow but steady.
Closes https://github.com/CoolProp/CoolProp/issues/311
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-09 00:08:27 -05:00 |
|
Ian Bell
|
32fa56108d
|
Implemented rhomass_critical function in AbstractState. Closes https://github.com/CoolProp/CoolProp/issues/303
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-08 18:22:01 -05:00 |
|
Ian Bell
|
16c70f91bc
|
Fix backwards logic in PD test
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-06 16:59:50 -05:00 |
|
Ian Bell
|
4a59d578aa
|
Only check FPU bits with MSVC compiler
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-06 16:48:03 -05:00 |
|
Ian Bell
|
495418ddda
|
Fix bug in access to rhomolar variable
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-06 16:28:49 -05:00 |
|
Ian Bell
|
2ae3445810
|
Resolved bizarre FPU exception error on windows with visual studio
Resetting the FPU flags seems to make Excel not error out randomly. This is sort of a bug in Excel.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-06 16:14:22 -05:00 |
|
Ian Bell
|
1fc5e43a34
|
Fixes two-phase states for PHSU_D_flash
Closes https://github.com/CoolProp/CoolProp/issues/289
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-06 14:27:02 -05:00 |
|
Ian Bell
|
43c24d66c0
|
Implemented first saturation derivatives
See https://github.com/CoolProp/CoolProp/issues/238
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-05 17:59:20 -05:00 |
|
Ian Bell
|
e84274367d
|
Add a better error message if fluid does not have thermal conductivity or viscosity model
See https://github.com/CoolProp/CoolProp/issues/285
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-05 14:22:48 -05:00 |
|
Ian Bell
|
0cb02a3e2f
|
Predefined mixtures working in PropsSI now
Added Catch test
``` python
In [1]: import CoolProp
In [2]: CoolProp.CoolProp.PropsSI('D','P',101325,'T',300,'Air.mix')
Out[2]: 1.1766975266680577
```
Closes https://github.com/CoolProp/CoolProp/issues/287
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-05 11:24:29 -05:00 |
|
Ian Bell
|
32ccb78250
|
Disable internal error catching and allow swig to do the error catching itself
See https://github.com/CoolProp/CoolProp/issues/282
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-04 17:00:54 -05:00 |
|
Ian Bell
|
4960842476
|
A better step size in secant solver for low W
Closes https://github.com/CoolProp/CoolProp/issues/254
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-04 12:09:06 -05:00 |
|
Ian Bell
|
707ee4799a
|
Brought back surface tension support
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-04 11:43:44 -05:00 |
|
Ian Bell
|
d7f86a806d
|
Added tests for surface tension retrieval
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-04 11:42:29 -05:00 |
|
Ian Bell
|
a6f0a9e4c7
|
Added test for PD for T > 1.5Tc
See also https://github.com/CoolProp/CoolProp/issues/274
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-04 11:10:48 -05:00 |
|
Ian Bell
|
de6e95e839
|
Allow DY solver for single phase to go to 1.5*Tc
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-04 11:00:06 -05:00 |
|
Ian Bell
|
74a181645b
|
Correctly calculate the phase flag when YD are input
Closes https://github.com/CoolProp/CoolProp/issues/273
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-04 10:35:46 -05:00 |
|
Jorrit Wronski
|
e85fccd040
|
Just a dummy commit to trigger the new builds on the bots after restoring permissions on the server.
|
2014-12-03 09:44:42 +01:00 |
|
Ian Bell
|
ca4c5b8706
|
Tidy docs for phase parameter
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-02 22:39:53 -05:00 |
|
Ian Bell
|
7a7a63f50a
|
Gibbs is output only
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-02 22:17:04 -05:00 |
|
Ian Bell
|
c62ae83c38
|
TD flash goes back to checking for quality < 0 and > 1 for single phase solution
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-02 22:14:46 -05:00 |
|
Ian Bell
|
7fd8c5ffc4
|
One more try at PT two-phase
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-02 15:42:20 -05:00 |
|
Ian Bell
|
b0b66800cb
|
Another try at PT sat
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-02 13:51:16 -05:00 |
|
Ian Bell
|
1f1acc45b3
|
keep going with REFPROP file endings
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-02 12:25:42 -05:00 |
|
Ian Bell
|
febe1b5bb6
|
Expose p_reducing
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-02 12:19:20 -05:00 |
|
Ian Bell
|
1c7512a318
|
Relax the PT tolerance again for two-phase
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-02 12:17:45 -05:00 |
|
Ian Bell
|
8168104a21
|
Merge branch 'master' of https://github.com/CoolProp/CoolProp
|
2014-12-02 18:13:31 +01:00 |
|
Ian Bell
|
2068210cb8
|
Fixed fluid loading problems on *nix
|
2014-12-02 18:13:21 +01:00 |
|
Ian Bell
|
8c7b9c4876
|
Tighten up the limits on PT being two-phase (error)
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-02 11:11:36 -05:00 |
|
Ian Bell
|
a5d94a0426
|
Fixed(?) REFPROP loading issues on linux
|
2014-12-02 17:01:20 +01:00 |
|
Ian Bell
|
8407dc172f
|
Throw for PT being a two-phase state (or close to)
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-02 10:44:00 -05:00 |
|
Ian Bell
|
37bfd34d23
|
Update a few tests
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-02 01:36:43 -05:00 |
|
Ian Bell
|
5243dd429a
|
Make some tests give better output
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-01 23:37:07 -05:00 |
|
Ian Bell
|
858e75ae5b
|
Remove PRINT, not used
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-01 23:36:36 -05:00 |
|
Ian Bell
|
dcd33a426c
|
Remove R_u_ratio, not needed in this function
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-01 23:36:11 -05:00 |
|
Ian Bell
|
f3dbb45249
|
Silence the remaining debug for Catch tests for REFPROP
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-01 23:35:35 -05:00 |
|
Ian Bell
|
ddbf954934
|
Fix bug with initialization of the ierr for REFPROP backend on linux
|
2014-12-02 02:37:11 +01:00 |
|
Ian Bell
|
c15fc9c7e1
|
Also output EOS value for hs anchor test
|
2014-12-02 02:36:37 +01:00 |
|
Ian Bell
|
5c28e1761c
|
Reset loaded fluid name for REFPROP when unloading
Also, skip code when fluid is the same
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-01 18:03:26 -05:00 |
|
Ian Bell
|
e818d254ef
|
Placate XCode by fixing is_inside function
Closes https://github.com/CoolProp/CoolProp/issues/261
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-01 17:22:11 -05:00 |
|
Ian Bell
|
89859c85ee
|
squelch huge amount of debug output
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-12-01 15:10:42 -05:00 |
|
Jorrit Wronski
|
a707ac744f
|
REFPROP: Added some more debugging output and changed the fluid detection. Before, setup was called like crazy...
|
2014-12-01 19:12:23 +01:00 |
|
Jorrit Wronski
|
46ee467f4c
|
REFPROP: SETUPdll got called each time, the string was not updated. This might fix some issues.
|
2014-12-01 19:12:23 +01:00 |
|
Ian Bell
|
8e6b5a7f2b
|
Change the logic of DEF and RESET for set_reference_stateS; RESET removes entirely all the offset terms
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-29 22:18:01 -05:00 |
|
Ian Bell
|
f0bf588358
|
Relaxed some more convergence criteria
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-29 21:31:03 -05:00 |
|
Ian Bell
|
924a50abf5
|
Add is_pure function
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-29 18:39:22 -05:00 |
|
Ian Bell
|
ae6b5f85df
|
Allow up to 30 tries at the saturation solver
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-29 18:38:55 -05:00 |
|
Ian Bell
|
e306a67f1e
|
Relax some constraints for testing
Skip triple point tests if p < 1mPa
Relax constraint for derivative tests
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-29 18:36:34 -05:00 |
|
Ian Bell
|
e9c22523f7
|
Disable HS tests for now
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-29 16:28:09 -05:00 |
|
Ian Bell
|
b92d4b0536
|
More verbose error messages for REFPROP backwards compatibility tests
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-29 15:41:01 -05:00 |
|