Ian Bell
70e9e14226
Exported set_reference_stateD through the library
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-27 20:17:38 -04:00
Ian Bell
67bf8f528b
Re-implemented set_reference_stateD
...
Closes https://github.com/CoolProp/CoolProp/issues/190
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-27 20:10:03 -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
c50ca39238
Flush error message in Props1SI if first call is backwards but second is good
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-14 15:22:38 +02:00
Ian Bell
199ced3f86
Implemented Phase output again
...
Added PhaseSI function which will return phase for given input - exposed to DLL
PropsSI can also return phase as double if "Phase" is the input
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-14 11:21:07 +02:00
Ian Bell
b98d24892d
Oops, forgot CoolProp.cpp
...
See also 2f6b083aff
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-10-02 17:02:54 +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
Ian Bell
b433dde061
Actually return the value from the PropsSI function
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-18 18:48:18 +02:00
Ian Bell
ea724a4693
Added some more debug output to PropsSI
2014-09-15 19:12:09 +02:00
Ian Bell
4acec3807b
Added backwards compatibility layer for REFPROP- and REFPROP-MIX: from version 4 and passing test
...
Closes https://github.com/CoolProp/CoolProp/issues/135
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-09-09 14:48:25 +02:00
Ian Bell
799422fe40
Implemented generalized second derivative, seems to work, implemented at PropsSI level too
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-24 17:26:46 +02:00
Ian Bell
95d73d0aa0
Fixed typo
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-23 13:02:45 +02:00
Ian Bell
0dcdf7ef5d
Implemented PQ for pseudo-pure to close https://github.com/CoolProp/CoolProp/issues/92
...
* As a consequence, made update function take CoolProp::input_pairs enum as first input (thanks @jowr for the idea)
* Decoupled the pre_update and post_update functions in order to allow for more creative update functions using guess values, etc.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-20 21:44:13 +02:00
Ian Bell
881a6c4616
Added handling for first partial derivative as a string - added tests - they pass
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-19 00:34:26 +02:00
Ian Bell
f8c8d104fc
Added error message to PropSI output to close https://github.com/CoolProp/CoolProp/issues/95
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-13 15:09:20 +02:00
Ian Bell
a7ddd80d5a
Much more progress on PY flash routines. Only a few edge cases that fail, otherwise all is good
...
Moved from bounded secant to Brent for stability
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-13 14:26:47 +02:00
Ian Bell
8f9c6ca438
Added hs_anchor test (passing) and function get_state to allow to get access to states stored in the backends
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-12 21:17:34 +02:00
Ian Bell
e4c8d3f061
Python wrapper is more or less back in action completely. Additional testing is required.
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-12 16:25:33 +02:00
Ian Bell
802495cad3
Last commit before rename of python module to CoolProp
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-12 15:07:57 +02:00
Ian Bell
2396477816
fixed check for solution in name string
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-08-09 11:06:29 +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
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
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
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
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
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
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
3c9b02bba1
Merge branch 'master' of https://github.com/coolprop/coolprop
2014-07-25 11:06:58 -04:00
Ian Bell
dc75fa8fea
Fixed typo in CoolProp.cpp
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-07-25 11:06:28 -04:00
jowr
6360e84a54
Added some new functions to handle volume fractions, hope this does not cause any trouble other places
2014-07-22 17:29:01 +02:00
jowr
e946d84dec
Incompressible library and backend work, still need to convert the coefficients from v4.
2014-07-16 13:18:45 +02:00
jowr
ee04ef05dc
Many C++ things are done, working on the Python parts
2014-07-14 16:53:22 +02:00
jowr
79beb6fddc
The incompressibles pass the first tests and concentration inputs are read properly
2014-07-14 14:54:09 +02:00
Ian Bell
67d85f72e1
Added csv parameter listing to get_global_parameter
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-07-07 20:08:51 +02:00
Ian Bell
d545376efd
Got Javascript wrapper working again - required changing all std::tr1::shared_ptr to shared_ptr
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-06-03 21:59:41 +02:00
Ian Bell
cb497b443c
Added crossplatform_shared_ptr to allow shared_ptr cleanly on all architectures without needing variable namespace definition
2014-06-03 20:58:24 +02:00
Ian Bell
5accf645d9
IIR HS references set for real this time
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-06-02 13:21:06 +02:00
Ian Bell
409e2a2d1f
Fluids using IIR reference state now all agree with REFPROP
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-06-02 13:03:17 +02:00
Ian Bell
06066c52f0
Reference state can now be set to one of IIR, ASHRAE, NBP or RESET. Still need to allow for default reference state values to agree with REFPROP.
...
Docs updated.
Still need to implement setting state based on numerical values.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-06-01 21:43:25 +02:00
Ian Bell
261ec01c71
Added REFPROP names for all fluids - renovated get_fluid_param_string
2014-06-01 20:20:33 +02:00
Ian Bell
c468339768
Implemented test for GERG 2008 residual term and changed include from <tr1/memory> to <memory>
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-06-01 19:29:09 +02:00
Ian Bell
10aaae4649
Added tr1/memory include for linux compilation
2014-05-30 12:02:32 +02:00
Ian Bell
7b8606f323
No more deletes used anywhere in the codebase. Only std::tr1::shared_ptr are used. Should be portable solution.
...
All tests run, no memory leaks according to VLD
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-05-28 19:45:04 +02:00
Ian Bell
1281f52d8a
Added R152A, R123, CO2 conductivity
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-05-26 10:52:44 +02:00
Ian Bell
fee23cab03
Can return BibTeX keys for fluid as before. Testing needed for all exposed functions. Maybe wrap into getter/setter for fluid parameters.
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2014-05-24 21:27:11 +02:00
Ian bell
eeab8e18fe
Use cpversion.h instead of version.h to reduce name clashing in headers
...
Signed-off-by: Ian bell <ian.h.bell@gmail.com >
2014-05-17 19:54:28 +02:00
Ian bell
74520911dd
Moved Fluids into the Helmholtz backend folder and corrected includes
...
Signed-off-by: Ian bell <ian.h.bell@gmail.com >
2014-05-14 13:24:39 +02:00
Ian bell
b3847c7522
Initial commit for v5, but this time with the right line endings
...
Signed-off-by: Ian bell <ian.h.bell@gmail.com >
2014-05-14 12:46:24 +02:00