Commit Graph

21 Commits

Author SHA1 Message Date
Ian Bell
0cb02a3e2f Predefined mixtures working in PropsSI now
Added Catch test

``` python
In [1]: import CoolProp

In [2]: CoolProp.CoolProp.PropsSI('D','P',101325,'T',300,'Air.mix')
Out[2]: 1.1766975266680577
```

Closes https://github.com/CoolProp/CoolProp/issues/287

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-05 11:24:29 -05:00
Ian Bell
41fc9b1144 saturation ancillaries are now exposed through the high-level API
Closes https://github.com/CoolProp/CoolProp/issues/225

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-24 13:06:37 -05:00
Ian Bell
5c3d31d011 Add function to check if fluid name is valid
Closes https://github.com/CoolProp/CoolProp/issues/204

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-20 13:31:47 -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
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
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
c1e9bc4979 Removed deriv terms from CoolProp.h header
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-09-27 18:19:20 +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
jowr
4f9df69c96 No problems compiling and running the tests... 2014-08-04 17:14:35 +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
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
db6e794dba Now octave works on xubuntu with main CMake file - have to mkdir src folder - not sure why. 2014-06-09 23:58:29 +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
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
02f24549e4 Docs for get_fluid_param_string 2014-06-01 20:49:50 +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
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
d1ecc0293e Removed Props1 function for now, might put it back
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-15 22:28:56 +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