294 Commits

Author SHA1 Message Date
Ian Bell
389a8bce77 Rename pysch input file so it gets installed properly in coolprop 2015-04-26 18:37:49 -06:00
Ian Bell
267bdcd1be More dense points for twophase in consistency plots 2015-04-26 16:56:33 -06:00
Ian Bell
873cea13bc Fixed two-phase consistency plot code 2015-04-26 14:20:36 -06:00
Jorrit Wronski
10f9d8cc8b Fixes one of the error message from the 2-phase consistency plots. 2015-04-26 19:39:02 +02:00
Jorrit Wronski
a5baa97032 Included a basic 2-phase consistency plot, as discussed in #624. It looks like there are some problems... 2015-04-26 18:56:20 +02:00
Ian Bell
bafb6f37cf Exchange _Props for _PropsSI with appropriate conversions; see #605
Not sure, but this should fix it
2015-04-20 19:53:34 -06:00
Jorrit Wronski
94a61760e8 More reconfiguration 2015-04-21 00:13:56 +02: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
Jorrit Wronski
dc30c96d38 More CMake and buildbot changes 2015-04-20 20:57:24 +02:00
Jorrit Wronski
de18afe146 One more typo in the CMake options 2015-04-20 19:47:35 +02:00
Jorrit Wronski
4a601a9f76 Trying to fix the Python builds 2015-04-20 19:39:40 +02:00
Ian Bell
1b941209c0 Fix typo in AbstractState.pyx 2015-04-19 20:57:38 -06:00
Ian Bell
c7cb7bf4ef Expose derivatives of alphar and alpha0 in python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-04-19 20:50:44 -06:00
Ian Bell
9afd436192 Removed explicit dependency on numpy and matplotlib; closes #588 2015-04-10 19:17:54 -06:00
JonWel
a2dd01757a AbstractState_set_fractions was not exported
Added the "AbstractState_set_fractions" function in the export list.
2015-04-02 22:12:59 +02:00
Ian Bell
48fe5b972f Implemented IF97 backend; closes #567 2015-03-31 23:57:25 -06:00
JonWel
8987bfd60e Update CoolProp.jl
There is now only one Julia Wrapper compatible for both Julia 0.3 and 0.4 version.
A small code check the version and apply some corrections to make this Julia 0.4 code compatible with older version.
2015-03-22 11:31:47 +01:00
JonWel
945bdc7171 Delete CoolProp.jl
Both wrapper for version 0.3 and 0.4 are merged in a single one with only a small compatibility code.
Only the previous 0.4 version need to remain.
2015-03-22 11:26:43 +01:00
JonWel
5b7181546b Update CoolProp.jl
Small update
2015-03-19 16:54:46 +01:00
JonWel
d2b4da5e3c Update CoolProp.jl
Small speed enhancement for low level interface
2015-03-19 16:40:31 +01:00
JonWel
16a75883a8 Update CoolProp.jl
Small speed enhancement for low level interface
2015-03-17 12:34:18 +01:00
Ian Bell
e066c6a122 Fix exception handling in python code 2015-03-15 04:56:59 +01:00
JonWel
d5140aca8c Update CoolProp.jl
Add access to low level interface
2015-03-12 11:45:30 +01:00
JonWel
c5981e7c10 Update CoolProp.jl
Add low level access
2015-03-12 11:44:23 +01:00
Ian Bell
85ec5a55a7 first cut at VxWorks makefile template
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-11 22:44:19 -06:00
JonWel
cc9fd104ad Update CoolProp.jl
Add call to Props1SI to PropsSI when only two string arguments.
2015-03-10 18:56:58 +01:00
JonWel
dd498a49b6 Update CoolProp.jl
Add call to Props1SI to PropsSI when only two string arguments.
2015-03-10 18:55:26 +01:00
JonWel
eaf194b54d Update CoolProp.jl
Added error handling (currently not working with Julia's Ubuntu ppa but work is on progress)
Changed numeric input requirement to be ´Number´ instead of restricting to ´Float64´, that allows both integer and floats to be used as input with few overhead (the Float64 version is still internally created by Julia and the overhead for the conversion from Int64 to Float64 seems negligible compare to the execution time from the functions, I could only time a difference in jit compilation time).
Added ´K2F´,  ´get_global_param_string´ and ´get_param_index´ functions
2015-03-10 16:52:22 +01:00
JonWel
cdd73c2358 Update CoolProp.jl
Added error handling
Changed numeric input requirement to be ´Number´ instead of restricting to ´Float64´, that allows both integer and floats to be used as input with few overhead (the Float64 version is still internally created by Julia and the overhead for the conversion from Int64 to Float64 seems negligible compare to the execution time from the functions, I could only time a difference in jit compilation time).
Added ´K2F´,  ´get_global_param_string´ and ´get_param_index´ functions
2015-03-10 16:40:43 +01:00
Ian Bell
7a375952e0 Implement calling a flash routine with guess values provided at the low-level (PQ only for now) 2015-03-06 15:38:25 -07:00
Ian Bell
cd3e6323d2 Enable the ability to set mixture binary pair data from python (I think)
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-05 23:46:22 -07:00
Ian Bell
65543cf26e Merge branch 'master' into tabular 2015-02-27 22:54:28 -07:00
Ian Bell
527bac72d0 Implemented a number of functions to python's AbstractState that were missing; Closes #505
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-27 21:24:22 -07:00
Ian Bell
d4553aca3e Abstract can now throw for T(), rhomolar() etc.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-26 22:25:58 -07:00
Ian Bell
5cbab2a859 Remove double declaration of UNICODE
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-25 08:10:08 -07:00
Ian Bell
d12a4883f9 Fix python build script
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-23 23:27:57 -07:00
Ian Bell
a7a14d7781 Update setup.py for python building
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-21 17:50:06 -07:00
Ian Bell
5c955d8bf3 Document which parameters are available in Props1SI; closes #471 2015-02-21 13:31:14 -07:00
Ian Bell
651363f221 Merge pull request #478 from JonWel/Julia-0.3-wrapper
Julia 0.3 wrapper
2015-02-19 21:46:44 -05:00
Ian Bell
b89f8f99fc Update the docs for SMath wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-19 21:45:12 -05:00
Ian Bell
60c46812dd Fix build_zip.bat.template for SMath Studio
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-19 21:26:38 -05:00
JonWel
e8f5f29bc8 Delete CoolProp.jl
Moved to the Julia folder
2015-02-19 14:16:10 +01:00
JonWel
c4c57ccf8d Create CoolProp.jl
For Julia 0.4 an upper
2015-02-19 14:15:39 +01:00
JonWel
9c002660a2 Create CoolProp.jl 2015-02-19 14:00:10 +01:00
JonWel
627c2a1fbe Delete CoolProp.jl
Moved to 0.4+
2015-02-19 13:59:47 +01:00
Ian Bell
088b6c0723 config.ini should only include version number, no newline
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-19 00:28:50 -05:00
Ian Bell
165dcf70c7 Update install script to be packaged, add build_zip template
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-18 23:30:15 -05:00
Ian Bell
68e1c03392 Updated SMath Unit.cs file
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-18 22:55:07 -05:00
Ian Bell
8f56fb7a0e Added SMath wrapper code
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-18 22:20:27 -05:00
JonWel
55d387e598 Create CoolProp.jl
Compatible with Julia 0.4 and upper
2015-02-18 20:04:12 +01:00