Commit Graph

278 Commits

Author SHA1 Message Date
Ian Bell
1aec75df85 PY subcrit superheated tests pass
There was a typo in umass() function

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-08 11:26:35 +02:00
Ian Bell
8748965c34 AbstractState tests pass properly again
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-08 10:57:43 +02:00
Ian Bell
ebb2434cc2 Fixed test case for Henry's Constant
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-07 20:43:44 +02:00
Ian Bell
2e38caec17 Fixed TQ function for REFPROP - how did that ever compile before? 2014-08-07 19:43:56 +02:00
Ian Bell
41b97875b8 Updated macros in CoolProp.cpp for deeper debugging of PropsSI function
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-07 17:12:32 +02:00
Ian Bell
a3bf8790a8 Added pmax_sat and Tmax_sat functions for for HEOS in order to help with saturation limits for flahses
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-07 13:30:44 +02:00
Ian Bell
53c363990f Added tests for P,Y inputs, though the solvers are not done yet
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-07 12:05:22 +02:00
Ian Bell
a5bf52b52f Basic algorithm is working for P,Y for vapor - more checking needed, but basically works
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-07 01:50:09 +02:00
Ian Bell
5dac38ec1a Fixed REFPROP on *nix?
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-06 22:23:50 +02:00
Ian Bell
2c844597c9 Calculate pressure and temperature limits for HEOS and REPFPROP backends
Closes https://github.com/CoolProp/CoolProp/issues/83

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-06 10:23:10 +02:00
Ian Bell
31c47875ef Added #ifndef PROPSI_NO_ERROR_CATCH to PropsSI to disable error catching to close https://github.com/CoolProp/CoolProp/issues/84
This is done so that debuggers can halt at the error for easier introspection.

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-06 09:41:21 +02:00
Ian Bell
4fd84a7eba Added necessary functions to Python in order to generate parameter table
Built table in RST using python script Web/coolprop/build_parametric_table.py for High-Level API

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-05 21:37:36 +02:00
Ian Bell
5df9b0fdcf EES wrapper now works/builds/debugs etc. with v5 - much better debugging enabled - see Readme.txt in wrappers/EES
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-05 11:25:37 +02:00
Ian Bell
4ee04bc716 Merge branch 'master' of https://github.com/coolprop/coolprop 2014-08-04 23:10:05 +02:00
Ian Bell
4c36b46789 Step down from 1.0 omega for saturation routines
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-04 23:09:44 +02:00
jowr
69a91f18b1 Fixed tests for incompressible fluids 2014-08-04 19:29:09 +02:00
Ian Bell
046df8efd5 Fixed bug in IncompressibleFluid.cpp
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-04 19:01:44 +02:00
Ian Bell
d5ad1e371b Merge branch 'master' of https://github.com/coolprop/coolprop 2014-08-04 18:58:30 +02:00
Ian Bell
138135f5b7 Added Tmin and Tmax
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-04 18:58:13 +02:00
jowr
d41b51cd5f Added tests to the backend 2014-08-04 18:20:00 +02:00
Ian Bell
1ca9494a1f Broke up incompressible list into pure and solutions for use in Python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-04 17:34:25 +02:00
jowr
4f9df69c96 No problems compiling and running the tests... 2014-08-04 17:14:35 +02:00
Ian Bell
776c13c048 Add incompressible list
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-04 16:31:02 +02:00
Ian Bell
72c9a0bcec long doubles for VLE routines
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-04 15:12:23 +02:00
Ian Bell
abb7344973 More verbose error logging for HAProps tests
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-04 15:12:05 +02:00
Ian Bell
b0098dbae5 Fixed strsplit
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-04 15:11:33 +02:00
Ian Bell
ffabfaa144 Updated variable names for incompressible tests to make it clear what the expected value is
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-04 15:11:15 +02:00
Ian Bell
afd0b90c4d Changed string handling for molar fractions and incompressibles - this should yield better performance and more straightforward to understand the program flow
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-04 15:10:39 +02:00
Ian Bell
26f1b0f859 Relaxed tolerance on sat_T
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-04 02:04:13 +02:00
Ian Bell
79d7a4965a Added triple point temperature
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-03 23:58:16 +02:00
Ian Bell
17458261b5 Modifications to saturation routines (work great now)
Including:
adding critical pressure parameter
Adding relaxation parameter for NR sat_T
Only evaluate correction step if not near critical temp
Fixed bug with fluids like "n-Propane" that was getting interpreted as an incompressible fluid

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-03 23:36:22 +02:00
Ian Bell
e9ac0bcc9d python wrapper work
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-03 20:43:42 +02:00
Ian Bell
1715a476e3 Killed some more warnings
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-03 19:14:30 +02:00
Ian Bell
581d993767 Killed gcc warnings
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-03 19:05:12 +02:00
Ian Bell
a2f45e29da Added functionality for trivial outputs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-03 18:55:52 +02:00
Ian Bell
e37a55004b Merge branch 'master' of https://github.com/coolprop/coolprop 2014-08-01 18:53:38 +02:00
jowr
9470f35928 Removed the debug level added the incompressible documentation framework 2014-08-01 17:30:06 +02:00
Ian Bell
f19aa35db4 Merge branch 'master' of https://github.com/coolprop/coolprop 2014-08-01 17:11:59 +02:00
jowr
7fa70b0bee Fixed the mass fractions! 2014-08-01 16:52:16 +02:00
Ian Bell
d9fcb2eb00 Merge branch 'master' of https://github.com/coolprop/coolprop 2014-08-01 16:38:47 +02:00
jowr
165298d41e Renamed the enumeration and still no luck 2014-08-01 15:44:02 +02:00
jowr
eddeee54e0 Added more fitting stuff, still some problems with the enumerations in C++ 2014-08-01 15:15:35 +02:00
jowr
b8badfba2c fits, fits, fits 2014-08-01 15:13:48 +02:00
jowr
8ff8332e77 Added some reporting to Python. Untested changes in C++ 2014-08-01 15:13:48 +02:00
Ian Bell
90103b50e2 Added two-phase enthalpy and entropy calculations based on vapor quality weighting of saturation properties. Fixed some bugs associated with that.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-01 14:16:59 +02:00
Ian Bell
0cbf72e05a Added preliminary tests for saturation properties
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-01 14:14:56 +02:00
Ian Bell
412504a4d9 When changing reference state, hs_anchor is updated, and ancillary curves still work!! woohoo
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-01 10:50:47 +02:00
Ian Bell
ea3ceeccfe H & S Ancillaries use value minus value at anchor state
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-01 10:34:13 +02:00
Ian Bell
95e5b6f796 Removed unused variables
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-01 10:01:58 +02:00
Ian Bell
99af971bcb Changed function return type for successive_substitution to make agree with others in that namespace
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-01 10:01:21 +02:00