Ian Bell
73c7fc6bad
Switch MATLAB+OSX to libstdc++; see #596
2015-04-17 17:25:52 -06:00
Ian Bell
7b054a2a0e
Implemented setting of reference state for REFPROP pure fluids; closes #568
...
Also fixed LIMITS function call for Ttriple
2015-04-03 21:08:36 -06:00
Ian Bell
4859e3bd15
Fix SATSPLN for REFPROP; closes #569
2015-04-01 22:00:58 -06:00
Ian Bell
fbdd562e7b
Get spline values from SPLNVAL; closes #566
2015-03-31 23:00:55 -06:00
Ian Bell
4cbd76ee75
Calculate triple point temperatures for mixtures with REFPROP as a mole-fraction weighting
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-03-26 23:36:13 -06:00
Ian Bell
d190704c3a
REFPROP PHI0dll function seems to be working by some miracle; closes #555
2015-03-26 22:33:07 -06:00
Ian Bell
ace06d57d8
Use SATTP in REFPROP wrapper
2015-03-26 18:32:18 -06:00
Ian Bell
77046321b8
Allow user to specify another HMX.BNC path for REFPROP
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-02-25 08:22:34 -07:00
mikekaganski
1068b724c3
CoolPropDbl
...
Introduce CoolPropDbl to replace long doubles. This may help to overcome
possible portability problems, and test for efficiency and precision.
2015-02-24 13:24:51 +10:00
Ian Bell
8ae3205f68
Fixed bug with getting output quality for REFPROP flashes; Closes #460
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-02-10 18:03:39 -07:00
Ian Bell
e8b02d48a6
REFPROP abstract state classes work properly again; Closes #431
...
Probably quite a bit slower since it always has to check if fluid is the same as the one loaded in REFPROP
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-02-09 19:30:12 -07:00
Ian Bell
62808e6434
Check REFPROP trivial inputs; Closes #409
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-02-02 20:31:04 -05:00
Ian Bell
f5739e3354
Fixed bug with 3 character long fluid names
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-01-28 19:34:04 -07:00
Ian Bell
575643938c
Fix predefined mixtures in REFPROP; Closes #437
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-01-28 18:52:18 -07:00
Ian Bell
f39763f056
Do not require fluid files to be in c:\Program Files\REFPROP on windows; Closes #428
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-01-26 19:30:17 -07:00
Jorrit Wronski
3102ec9656
Fixes #406 , just a typo.
2015-01-15 17:54:57 +01:00
Ian Bell
d1ca808ca7
Fixed weird bug with long<0 in REFPROP wrapper; Closes #401
2015-01-13 04:55:40 +01:00
Ian Bell
6d004a90a8
Fixed bug in REFPROP debug output
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-01-12 19:35:54 -07:00
Ian Bell
658f467e26
More debug for fluid loading
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-01-12 19:20:17 -07:00
Ian Bell
be0e9aafbb
Better initialization error message
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-31 20:29:07 -05:00
Ian Bell
50b611bd4a
Move predefined mixture parsing to HelmholtzEOS initializer function; Closes #373
...
Renamed functions for Helmholtz backend for getting const or non-const reference to mole fractions
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-31 18:06:12 -05:00
Ian Bell
132b0ab5dd
Fix RPVersion function call again
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-19 17:20:36 -06:00
Jorrit Wronski
ae36828ea1
Fixed the header handling, closes #362 and partly covers the issues named in #354 .
2014-12-19 11:31:21 +01:00
Jorrit Wronski
a1d2a2a9be
Added the external REFPROP header and removed the constants from the cpp file, replaced tabs with 4 spaces
2014-12-18 11:28:23 +01:00
Ian Bell
0e766ab75a
REFPROP now silently ignores warning on loading fluids.
...
Closes #342
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-12 17:15:16 -05:00
Ian Bell
4f52e5242a
handle name mangling properly in REFPROP shared library
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-10 12:13:01 -05:00
Ian Bell
33d420b942
Chomp variable names using the power of XMacros - currently windows only
...
Removed almost 1000 lines of code!
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-10 11:50:00 -05:00
Ian Bell
e7afcdbe7b
Remove all the *_NAME macros
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-10 09:59:08 -05:00
Ian Bell
1fc2fda58e
Converted REFPROP to use REDXdll to get reducing state (thanks to email from Eric Lemmon)
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-10 00:54:03 -05:00
Ian Bell
19353c764c
Merge branch 'master' into refprop_derivative_support
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-10 00:39:00 -05:00
Ian Bell
fe1e41f0eb
Expose fluid names through the AbstractState. Closes #322
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-10 00:05:55 -05:00
Ian Bell
0b1a978fcf
Temporarily disable PHI0 until discrepancies can be resolved
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-09 22:27:03 -05:00
Ian Bell
1a9f0a4e32
Derivatives are working, seems like a bug in REFPROP PHI0dll function is the only remaining problem
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-09 18:55:52 -05:00
Ian Bell
0115553119
Allow user to specify the REFPROP root path for fluids and mixtures
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-09 12:21:32 -05:00
Ian Bell
57afce4ce4
Remove the (char *) casts and take const char *
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-08 22:12:23 -05:00
Ian Bell
058ca162d2
Added a function to check RPVersion - closes https://github.com/CoolProp/CoolProp/issues/305
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-12-08 22:08:10 -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
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
2068210cb8
Fixed fluid loading problems on *nix
2014-12-02 18:13:21 +01:00
Ian Bell
a5d94a0426
Fixed(?) REFPROP loading issues on linux
2014-12-02 17:01:20 +01: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
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
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
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
2e7309be3b
Relaxed some test passing criteria
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-28 22:57:08 -05:00
Ian Bell
1fc6fabc54
Relax convergence criteria for comparisons with REFPROP data in Catch test
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-24 18:27:51 -05:00