962 Commits

Author SHA1 Message Date
Ian Bell
e4b451276f Added chemical formulas for nearly all fluids; can be retrieved with get_fluid_param_string(self.name, "formula"); closes #564 2015-04-10 20:11:03 -06:00
Ian Bell
ed2aff7707 Phase envelope construction works for pure and pseudo-pure fluids; closes #575 2015-04-09 22:15:10 -06:00
Ian Bell
129dc5fc05 format fractions to string properly; closes #584 2015-04-09 20:13:56 -06:00
Ian Bell
219e0f031e Do not load the tables every time if they can be loaded from file 2015-04-06 23:20:43 -06:00
Ian Bell
86ff2ce973 Fixed bugs with Bicubic and TTSE backends (load once, and at instantiation if possible) 2015-04-06 23:12:14 -06:00
Ian Bell
c2318f0f99 Fixed some bugs with friction theory implementation when expanded to Methane and Pentane 2015-04-05 21:39:26 -06:00
Ian Bell
fe631f575a Revert one of the IF97 updates 2015-04-04 12:14:57 -06:00
Ian Bell
daa6138104 Increase robustness of HAPropsSI when W is provided; closes #548 2015-04-04 00:09:18 -06:00
Ian Bell
a340663025 Two more psat(Tsat) or Tsat(psat) for humid air 2015-04-03 23:15:16 -06:00
Ian Bell
0bfef6f0f8 Replaced all psat(Tsat) and Tsat(psat) calls using IF97 2015-04-03 23:11:21 -06:00
Ian Bell
e92f538a1e Significant improvement in the non-crashing of phase envelope construction 2015-04-03 22:32:53 -06:00
Ian Bell
3e456f8cbc Change the maximum pressure for pseudo-pures; see #481 2015-04-03 22:11:12 -06:00
Ian Bell
d0814665e7 Some progress towards #556
* Use mole fractions in the fluid name for the tables
* I think we need to use phase envelopes though, and perhaps the low-level tables need to actually be a phase envelope structure
2015-04-03 22:10:33 -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
1b7973c6d4 Fixed bug with MATLAB swig wrapper; closes #573 2015-04-03 19:20:24 -06:00
Ian Bell
4859e3bd15 Fix SATSPLN for REFPROP; closes #569 2015-04-01 22:00:58 -06:00
Ian Bell
48fe5b972f Implemented IF97 backend; closes #567 2015-03-31 23:57:25 -06:00
Ian Bell
fbdd562e7b Get spline values from SPLNVAL; closes #566 2015-03-31 23:00:55 -06:00
Ian Bell
cdfaf266aa Fix typo in pure output 2015-03-27 18:39:38 -06:00
Ian Bell
811e65645b Implement "pure" as an input to get_fluid_param_string; closes #552 2015-03-27 18:38:43 -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
9b579ec22c Merge branch 'master' of https://github.com/CoolProp/CoolProp 2015-03-26 18:32:31 -06:00
Ian Bell
ace06d57d8 Use SATTP in REFPROP wrapper 2015-03-26 18:32:18 -06:00
Ian Bell
4970a02164 Made fixes for powerpc for VxWorks 2015-03-25 04:37:08 +01:00
Ian Bell
994910e63c ST and DT mostly fixed for TTSE; a few bugs remain 2015-03-23 22:12:32 -06:00
Ian Bell
59b3055cb3 Implemented DmolarT and SmolarT for TTSE 2015-03-23 19:49:55 -06:00
Ian Bell
c0ec44126d Fixed bugs with PY for TTSE 2015-03-23 18:32:13 -06:00
Ian Bell
5d5977a569 PS,PU,DP and TTSE work
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-23 00:43:37 -06:00
Ian Bell
179e27e82b Implemented one non-native input to tabular methods; see #522 2015-03-21 22:55:00 -06:00
Ian Bell
2490166103 Fix pow() overload 2015-03-21 20:59:26 -06:00
Ian Bell
0fc326b886 Derivatives work for both TTSE and BICUBIC, as do cv and cp 2015-03-21 20:44:43 -06:00
Ian Bell
55aade4776 c_p works with PH BICUBIC
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-21 18:44:21 -06:00
Ian Bell
c0c1083140 Fix bug with shared ptr comparison 2015-03-18 22:40:34 -06:00
Ian Bell
380dff9093 Rebuild tables when limits change; closes #537 2015-03-18 22:33:23 -06:00
Ian Bell
091cc43f27 Fix transport properties for bicubic and TTSE; closes #520
Also implement PQ inputs
2015-03-15 00:45:20 -06:00
Ian Bell
77653643d5 Clear cached variables for tabular methods
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-14 20:30:00 -06:00
Ian Bell
c934bae64b Handle partial pressure of water in unit conversion switch 2015-03-14 19:52:30 -06:00
Ian Bell
773f7318e8 Implement molar mass output for tabular backends
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-14 19:23:17 -06:00
Ian Bell
eadee7eba3 Added partial pressure of water ("P_w") in HAPropsSI; Closes #490 2015-03-13 17:14:34 -06:00
Ian Bell
7137b0fd23 Close #535 for real this time 2015-03-11 19:24:59 -06:00
Ian Bell
7eeb81c818 Errors are handled properly in high-level wrapping of low-level API; Closes #535 2015-03-11 19:15:07 -06:00
Ian Bell
098f24d4d3 Transport properties are implemented for BICUBIC and TTSE; See #520
Basically works for Bicubic and TTSE but quite limited, you must not be too close to saturation curves or limits of the tables

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-10 23:06:17 -06:00
Ian Bell
9e9687293e Fixed bug in conformal state solver; closes #523 2015-03-10 21:19:32 -06:00
Ian Bell
cb59cbcea0 When the reference state is changed, update the fixed points
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-10 20:00:48 -06:00
Ian Bell
275adbbb6f Fixed reference states for real; Closes #524 2015-03-10 01:17:44 -06:00
Ian Bell
bb7b446c6b Check if HS update deltas are valid numbers 2015-03-09 23:44:38 -06:00
Ian Bell
9c680ff7a1 Fixed error message for calc_alpha0_deriv_nocache; still a bug 2015-03-09 23:42:04 -06:00
Ian Bell
04145b5c15 Killed off a bunch of order-of-initialization warnings from mingw
Watch out @mkaganski, its not serious, but annoying.

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-09 23:30:53 -06:00
Ian Bell
1823cb7fcc get_BibTeXkey now throws for bad inputs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-09 23:13:11 -06:00