Commit Graph

1732 Commits

Author SHA1 Message Date
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
e8ed6aba77 Refprop plots use 1.01*Tc
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-01 13:05:00 -05:00
Ian Bell
3ce78e2d09 Updated ancillaries for R14
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-01 12:54:49 -05:00
Ian Bell
7e93aa81a2 Turn back on REFPROP plots, and change plotting style
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-01 12:19:48 -05:00
Ian Bell
75a1ea7c38 MM hs anchor
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-30 10:09:56 -05:00
Ian Bell
d4f1e45d15 Add set_reference_state.py script
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-29 22:18:42 -05: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
9de43ce271 Updated reference state for HS for MM
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-29 22:16:15 -05:00
Ian Bell
3e255e263e Expose gas_constant through python wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-29 22:08:27 -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
d18c91a5b1 Correct the critical density used
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-29 18:08:35 -05:00
Ian Bell
59e0e312a6 Fixed D4 ancillaries
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-29 18:07:42 -05:00
Ian Bell
60f9cb6614 Updated minimum saturation temperature state points
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-29 17:32:49 -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
Ian Bell
f3b96109fd By default, temperatures within 1 uK of the critical point will now be treated as the critical point
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-29 15:37:54 -05:00
Ian Bell
872e0a3057 Better catching of errors for refprop inputs in tests
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-29 15:13:35 -05:00
Ian Bell
e9b609055e More useful debugging message for failing REFPROP tests
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-29 11:24:56 -05:00
Ian Bell
fd993bd3e7 Disabled acetic acid and R407F
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-29 11:10:05 -05:00
Ian Bell
173ee1b465 typo in docs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-28 23:05:46 -05:00
Ian Bell
3aa00cd2f4 Merge branch 'master' of https://github.com/coolprop/coolprop 2014-11-28 23:00:43 -05:00
Ian Bell
93e5275100 Fixed bug with derivative not being handled properly to _PropsSI
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-28 22:57:58 -05:00
Ian Bell
2e7309be3b Relaxed some test passing criteria
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-28 22:57:08 -05:00
Jorrit Wronski
4f42f69ddd Writing matplotlibrc on the fly for REFPROP plots 2014-11-28 13:30:54 +01:00
Jorrit Wronski
8a6c657d3e Does this simple check solve the issue? Why is Tmax different on different platforms? 2014-11-28 09:53:24 +01:00
Ian Bell
64c95b6be7 Run the consistency plots with expensive docs build
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 18:06:55 -05:00
Ian Bell
3c9f9c310a Removed call to set backend to TkAgg
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 18:06:20 -05:00
Ian Bell
89ef2dc772 Added consistency generator
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 17:58:04 -05:00
Ian Bell
624c74611e Disable testing of MATLAB on windows due to windows not closing due to stupidity of command line on windows
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 17:19:27 -05:00
Ian Bell
6b98b80d7b Relaxed convergence criterion for dewpoint.
Closes https://github.com/CoolProp/CoolProp/issues/251

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 14:54:01 -05:00
Ian Bell
1b5e032f3e Updated saturation pvt ancillary builder script
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 12:09:46 -05:00
Ian Bell
362a84254f Squelch some compiler warnings
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 12:08:44 -05:00
Ian Bell
2e0b43cc89 Updated the HS ancillary curve builder script
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 12:08:06 -05:00
Ian Bell
d4898c3963 Added consistency plots to expensive docs.
Closes https://github.com/CoolProp/CoolProp/issues/235

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 12:07:18 -05:00
Ian Bell
3c6f2e5ec2 Force mpl to use Agg for REFPROP plots
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 12:05:29 -05:00
Ian Bell
545db36ab6 Removed ancillary files
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 12:04:46 -05:00
Ian Bell
16bcf7c0b8 Rebuilt HS ancillary curves for pure fluids
Closes https://github.com/CoolProp/CoolProp/issues/242

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 11:07:23 -05:00
Ian Bell
d92dd2f519 Fitting of saturation splines uses json setting/getting to turn off splines
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 10:34:12 -05:00
Ian Bell
fe334c8e7d Add title to REFPROP plot
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 10:33:04 -05:00
Ian Bell
762a325c24 Fixed issues with HS solver for 2phase
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 10:32:34 -05:00
Ian Bell
89ce772e27 Updated hs anchor states 2014-11-27 10:24:55 -05:00
Ian Bell
59b80a3896 HS solver implemented for two-phase
Closes https://github.com/CoolProp/CoolProp/issues/215

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 10:14:29 -05:00
Ian Bell
32b2b2a332 Relaxed convergence criterion for Maxwell solver to get all pure fluids to solve all the time
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-26 18:18:53 -05:00
Ian Bell
fab9811c5c Can get long name from the incompressible fluid
Something like

rr = get_fluid_param_string("INCOMP::MEG","long_name");

Closes https://github.com/CoolProp/CoolProp/issues/244

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-26 16:41:00 -05:00
Ian Bell
f0fa7cbaae Fortran+OSX again
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-26 14:33:10 -05:00
Ian Bell
41c1384033 Use full compiler paths in bb for OSX+FORTRAN
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-26 14:13:09 -05:00
Ian Bell
4018332f26 Improve the fortran wrappers instructions on OSX
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-26 14:00:00 -05:00