Ian Bell
4697b33a6d
Throw error if Q out of range for first_two_phase_deriv_splined; closes #611
2015-04-21 19:24:08 -06:00
Ian Bell
86569f4be8
If fluid has no transport properties, still calculate saturation tables; closes #602
2015-04-20 21:31:38 -06:00
Jorrit Wronski
78b7a14585
Still playing with Python config, hopefully fixes an OSX bug (PhaseEnvelope import) as well.
2015-04-20 21:46:57 +02:00
Ian Bell
2acfa38744
Do not rebuild the coefficients every time - 5us/call with BICUBIC
2015-04-19 22:01:04 -06:00
Ian Bell
2056c1ee8c
tau and delta should be based on reducing temperature and density, not critical values
...
Also fix definition of PHI0 in REFPROP wrapper
2015-04-19 21:12:58 -06:00
Ian Bell
260f4dfde0
Bicubic tables "working" for mixtures with REFPROP
...
Interpolated values are not quite correct, seems like a problem with PHIOdll in REFPROP
2015-04-19 19:30:13 -06:00
Ian Bell
b4d0420ef1
Building tables for mixtures working now with REFPROP.
2015-04-19 14:15:01 -06:00
Ian Bell
7fffb04413
Build phase envelopes for mixtures with tabular backends and copy data
2015-04-19 11:19:14 -06:00
Ian Bell
73c7fc6bad
Switch MATLAB+OSX to libstdc++; see #596
2015-04-17 17:25:52 -06:00
Ian Bell
1e50282c89
Fixed division by zero for NA terms away from critical point; closes #599
2015-04-17 17:21:45 -06:00
Ian Bell
4ddd0b93b2
Commenting out Aly-Lee for now (no longer used, terms are converted to generalized Planck-Einstein)
2015-04-16 20:59:03 -06:00
Ian Bell
3dbe3cb291
Finished 4th derivatives of non-analytic term
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-04-16 20:34:17 -06:00
Ian Bell
9b8288e8dc
Implemented d4DELTAbi_dDelta_dTau3 for NA
2015-04-16 18:21:29 -06:00
Ian Bell
6ef4b6bda2
Fixed PlanckEinstein through 4th order
2015-04-15 22:35:07 -06:00
Ian Bell
011bac075b
Almost done with 4th derivatives, just PlanckEinstein, SAFT, and a bit of NA remain
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-04-15 01:55:39 -06:00
Ian Bell
d818dc6006
Progress on 4th derivatives of non-analytic term (though not correct yet); see #549
2015-04-13 23:44:31 -06:00
Ian Bell
eede3266ca
"formula" is actually an output in get_fluid_param_string now
2015-04-10 20:55:00 -06:00
Ian Bell
295f9a2b3f
Fixed #586
2015-04-10 20:52:20 -06:00
Ian Bell
1e5e465fa4
Clear AbstractState classes for HAPropsSI at every call; closes #585
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-04-10 20:27:59 -06:00
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