Ian Bell
3bcc83a3e4
convert assert to cassert to make VxWorks happier
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-19 22:14:16 -05:00
Ian Bell
8327d54ea2
Replaced all tabs with spaces (finally) in C++ files
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-19 12:16:14 -05:00
Ian Bell
4249dc8f4a
Add Maxwell solver as default saturation_T solver
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-19 12:08:36 -05:00
Ian Bell
9ab6d2721e
Updated configuration setting and getting - ready for json integration at the python level, finally
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-18 22:40:46 -05:00
Ian Bell
023afaa79d
now update_DmolarT_direct doesn't set the quality directly
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-17 17:48:41 -05:00
Ian Bell
56abf640eb
Merge branch 'master' of https://github.com/coolprop/coolprop
2014-11-14 18:41:30 -05:00
Ian Bell
d47bf0fbdc
Fixed bug with PQ flash always yielding critical point
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-14 18:41:03 -05:00
Ian Bell
1b91d51ae6
Updates to make VxWorks play nicely with CMake using cross-compilation
2014-11-13 05:33:49 +01:00
Ian Bell
12ca382d8b
For TY solver, increment max density until it bounds the desired solution
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-12 18:35:18 -05:00
Ian Bell
fd8d986059
Slightly more useful error message for missing limits for hs ancillaries
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-12 18:34:21 -05:00
Ian Bell
0237924576
Catch the inputs if QT is AT the critical point
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-12 18:33:51 -05:00
Ian Bell
1aa1272824
Check for being at the critical point with PQ inputs.
...
Closes https://github.com/CoolProp/CoolProp/issues
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-11 21:07:26 -05:00
Ian Bell
ff23d85271
HS works now, for most fluids over the entire single-phase part aside for pseudo-pures which have issues
...
Closes https://github.com/CoolProp/CoolProp/issues/172
Closes https://github.com/CoolProp/CoolProp/issues/121
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-11 20:47:16 -05:00
Ian Bell
692248a361
Updated ancillaries to allow for passing bounds explicitly ( for h and s for instance)
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-08 13:30:55 -05:00
Ian Bell
064a090174
Merge branch 'master' of https://github.com/coolprop/coolprop
2014-11-07 16:52:32 -05:00
Ian Bell
c69044488f
Added first cut at HS solver - mostly works but some failures still
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-07 16:51:01 -05:00
Ian Bell
baf42b5dae
Tmin and Tmax are loaded into ancillaries if they are set
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-11-07 16:36:41 -05:00
Ian Bell
1a0a7254b6
Fix T-Y phase for T > Tc
...
See https://github.com/CoolProp/CoolProp/issues/199
2014-11-07 16:24:10 -05:00
Ian Bell
2bc46bc7b8
Added HS skeleton and tests (most fail for now)
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-30 00:24:03 -04:00
Ian Bell
21a2e998af
Added enthalpy and entropy for triple point states
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-30 00:21:29 -04:00
Ian Bell
0232174d0b
Fixed typo for TS,TH,TU when two-phase.
...
Closes https://github.com/CoolProp/CoolProp/issues/194
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-29 14:48:38 -04:00
Ian Bell
23c1a38b4d
Add tests for the references state for enthalpy and entropy
...
Closes https://github.com/CoolProp/CoolProp/issues/77
Closes https://github.com/CoolProp/CoolProp/issues/76
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-28 18:59:39 -04:00
Ian Bell
cfcd50bffc
Fixed evaluation AT the critical point
...
Closes https://github.com/CoolProp/CoolProp/issues/178
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-16 00:12:46 +02:00
Ian Bell
77818c5cda
Fixed derivatives again
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-15 23:44:15 +02:00
Ian Bell
eb076916db
Fixed mass based derivatives
...
Closes https://github.com/CoolProp/CoolProp/issues/177
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-15 23:38:09 +02:00
Ian Bell
c8fedbbf30
mass based derivatives (I think) plus test
...
referenced in https://github.com/CoolProp/CoolProp/issues/177
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-15 23:09:13 +02:00
Ian Bell
59d49d2ee9
calc_alpha0_deriv_nocache error message more verbose
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-14 15:23:08 +02:00
Ian Bell
3310d1cf11
Fixed (?) splines in critical region
...
I have no explanation for the broken code that used to be in the solve_cubic function. Seems it was related to the linear or quadratic cases but it makes no sense. Removed the code.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-14 14:49:19 +02:00
Ian Bell
16b15a395e
Finished documenting reducing functions
...
Closes https://github.com/CoolProp/CoolProp/issues/112
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-03 13:15:55 +02:00
Ian Bell
9f04472cef
Small docs modifications
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-02 17:01:33 +02:00
Ian Bell
2f6b083aff
Expose BibTeX all the way back to python wrapper
...
Closes https://github.com/CoolProp/CoolProp/issues/164
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-02 14:21:15 +02:00
Ian Bell
70f737c55d
Predefined mixtures are added, can be accessed with a fluid name like R410A.mix
...
Closes https://github.com/CoolProp/CoolProp/issues/153
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-02 09:57:01 +02:00
Ian Bell
ef95b824d5
Don't use enthalpy/entropy ancillaries if they don't exist
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-27 18:03:04 +02:00
Ian Bell
1c18190ca6
moved flag for critical region splines to Configuration
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-27 18:01:49 +02:00
Ian Bell
1a82468c68
Expose mixture binary pair data all the way through python
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-25 13:43:29 +02:00
Ian Bell
07cd616c38
Implemented access to mixture binary pairs in get_global_param_string
...
See https://github.com/CoolProp/CoolProp/issues/152
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-24 16:53:51 +02:00
Jorrit Wronski
85b2443be3
Fixed the broken reference state setter function
2014-09-24 10:42:38 +02:00
Jorrit Wronski
580fbd15d8
Updated some reference state functions, does not work properly at the moment.
2014-09-24 10:42:38 +02:00
Jorrit Wronski
c98365c580
Fixes #136 and the latexcodec issues
2014-09-23 16:50:30 +02:00
Ian Bell
5dcf810f0b
Added cp0 and dpdT|rho for REFPROP backend for use in PDSim
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-18 19:16:52 +02:00
Ian Bell
f11a1f0b5c
Removed PHSU debug commands
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-16 17:17:42 +02:00
Ian Bell
c5ae49e072
Added documentation of reducing function derivatives
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-16 15:41:54 +02:00
Ian Bell
b2eccfdba8
Find Tmax and pmax indices right at the end - much simpler
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-15 18:02:12 +02:00
Ian Bell
731bd0f345
If a non-liquid liquid solution is found, bump up the liquid density and try again
...
Ok, this isn't perfect, but it seems to work pretty well.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-15 16:18:40 +02:00
Ian Bell
c0157c0814
Added the ability to set/unset the phase for the abstract state class
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-15 16:17:01 +02:00
Ian Bell
5f723ce585
Added refinement of the phase envelope, PQ and TQ work for saturation
...
See https://github.com/CoolProp/CoolProp/issues/133
Closes https://github.com/CoolProp/CoolProp/issues/143
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-15 14:19:22 +02:00
Ian Bell
d47ba92acf
Added docs for saturation routines
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-14 22:46:00 +02:00
Ian Bell
20e55df16e
Added solver for mixtures with vapor quality set and one of P or T. Q no longer needs to be 0 or 1
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-14 22:11:59 +02:00
Ian Bell
260512b90f
saturation p and saturation T work with Q = 0 for mixtures with phase envelopes
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-13 23:25:06 +02:00
Ian Bell
cabe7a8a22
QT calculations using phase envelope work for Q = 1
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-13 21:42:31 +02:00