Ian Bell
|
4fee9a154a
|
Python wrapper can now output phase envelopes
import CoolProp
import matplotlib.pyplot as plt
HEOS = CoolProp.AbstractState('HEOS','Methane&Ethane')
for x0 in [0.2, 0.4, 0.6, 0.8]:
HEOS.set_mole_fractions([x0, 1-x0])
try:
HEOS.build_phase_envelope("dummy")
except: pass
PE = HEOS.get_phase_envelope_data()
plt.plot(PE.T, PE.p)
plt.xlabel('Temperature [K]')
plt.ylabel('Pressure [Pa]')
plt.tight_layout()
plt.show()
|
2014-09-07 00:53:45 +02:00 |
|
Ian Bell
|
61a12ba62c
|
Cleaned up some build issues with InnoSetup+EES
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-26 14:43:59 +02:00 |
|
Ian Bell
|
1d080878a7
|
ndarray_or_iterable is no longer exposed to python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-26 14:17:11 +02:00 |
|
Ian Bell
|
5cdb9c5d0e
|
Changed all references to PropsSI in python plotting
See https://github.com/CoolProp/CoolProp/issues/116
Not sure this fixes things entirely, but it goes some way towards it. Need to think a bit more about axis units
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-26 14:16:40 +02:00 |
|
jowr
|
ab026b6463
|
builds debian packages now. might need some more refining work...
|
2014-08-25 11:24:59 +02:00 |
|
jowr
|
826f1c2df5
|
Added pattern to ignore temporary files
|
2014-08-25 10:29:41 +02:00 |
|
jowr
|
077764e6a3
|
Added library targets to CMAKE
|
2014-08-25 10:25:44 +02:00 |
|
jowr
|
a784b5eca3
|
Started work on the packaging for debian. Still some issues with the install prefix...
|
2014-08-22 15:57:07 +02:00 |
|
Ian Bell
|
1cb23c5845
|
Fixed import/cimport issue
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-21 11:24:19 +02:00 |
|
Ian Bell
|
94cbeb5758
|
Fixed python wrappers usage of enums
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-21 09:11:55 +02:00 |
|
Ian Bell
|
8ddce50b8b
|
Fixed some small errors in psych routines
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-21 00:51:45 +02:00 |
|
Ian Bell
|
1fea8bed8c
|
Re-implemented Props() function in Python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-20 20:42:31 +02:00 |
|
Ian Bell
|
f503c4373d
|
Fixed EES wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-20 19:57:45 +02:00 |
|
Ian Bell
|
9fea2307d6
|
Warn in EES if more than one character are trying to be passed to Props function
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-20 19:18:21 +02:00 |
|
Jean-Julien Joseph Fleck
|
1dc158a4c9
|
Added self._draw_graph() to new savefig() method
|
2014-08-20 16:34:58 +02:00 |
|
Ian Bell
|
b5f39490d6
|
Fixed imports and HAPropsSI python function
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-19 22:26:36 +02:00 |
|
Ian Bell
|
65283ce408
|
More work on psych props - still not working yet, something is hanging
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-19 22:25:26 +02:00 |
|
Ian Bell
|
f43a0b792b
|
Humid air properties now use string instead of char*
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-19 21:55:23 +02:00 |
|
Ian Bell
|
47c3a49f78
|
Added savefig function to PropsPlot
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-19 21:15:18 +02:00 |
|
Ian Bell
|
e5df0d4d1f
|
Fixed typo in CoolProp.pyx to close https://github.com/CoolProp/CoolProp/issues/102
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-19 21:10:14 +02:00 |
|
Ian Bell
|
60c656e276
|
Updated docs for EES
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-19 16:19:21 +02:00 |
|
Ian Bell
|
6beae7b24b
|
Cleaned up/moved JS, MATLAB & Scilab files
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-19 15:54:15 +02:00 |
|
Ian Bell
|
73ceaa3190
|
Updated docs for FORTRAN wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-19 15:53:20 +02:00 |
|
Ian Bell
|
97eb872a60
|
Rearrangement of the wrappers - moved from wrappers to Web/coolprop/wrappers
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-19 14:22:17 +02:00 |
|
Ian Bell
|
467157f319
|
Python strings are all unicode everywhere, even python 27.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-19 14:09:15 +02:00 |
|
Ian Bell
|
b31e648d47
|
Dealt with some more unicode issues to close https://github.com/CoolProp/CoolProp/issues/100
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-19 13:47:29 +02:00 |
|
Ian Bell
|
e24c5c4652
|
Cython defaults to use bytes - closes https://github.com/CoolProp/CoolProp/issues/98
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-19 10:40:59 +02:00 |
|
Ian Bell
|
f6169b073e
|
Removed double printing of inputs when errstring is printed in PropsSI
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-19 01:23:14 +02:00 |
|
Ian Bell
|
4041e88a5e
|
Fully implemented, but a lot slower, why?
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-16 16:13:03 +02:00 |
|
Ian Bell
|
ee36d65eba
|
Prepared prepare_pypi for CoolProp5 -> CoolProp reversion
|
2014-08-12 18:00:17 +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
|
a98ef9c44a
|
Renamed python module
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-12 15:09:38 +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
|
c594a3c3c8
|
Implemented 2-input form of PropsSI function again in Python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-12 12:22:36 +02:00 |
|
Ian Bell
|
b7bd58d986
|
More work on flash routines, number of failures is rapidly decreasing - still have problems for low pressure sat_p calcs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-12 11:21:12 +02:00 |
|
Ian Bell
|
36d601490f
|
Lots more work on melting curves, can now make pretty phase diagram for water including the melting line
|
2014-08-10 19:28:04 +02:00 |
|
Ian Bell
|
584b975b4b
|
Fixed python files for py3.x I think, though I hate python 3 string handling
|
2014-08-07 23:27:37 +02:00 |
|
Ian Bell
|
f69a95ffcd
|
Fixed EES code
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-06 09:47:50 +02:00 |
|
Ian Bell
|
80b9f45850
|
Fixed coolprop function is EES by calling the correct function
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-06 09:42:45 +02:00 |
|
Ian Bell
|
aa3cade87d
|
First cut at Javascript docs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-05 23:29:28 +02:00 |
|
Ian Bell
|
4fd84a7eba
|
Added necessary functions to Python in order to generate parameter table
Built table in RST using python script Web/coolprop/build_parametric_table.py for High-Level API
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-05 21:37:36 +02:00 |
|
Ian Bell
|
4d80cf159a
|
Added shorthand function to CoolProp to get CoolProp.global_param_string without all the typing
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-05 15:28:48 +02:00 |
|
Ian Bell
|
c9237a0b0b
|
Fixed sample for EES to include mixture properties
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-05 14:35:38 +02:00 |
|
Ian Bell
|
c506fdd3be
|
Added coolpropsi function to EES wrapper and added COOLPROP_EES installer to CMake install listing
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-05 12:06:29 +02:00 |
|
Ian Bell
|
5df9b0fdcf
|
EES wrapper now works/builds/debugs etc. with v5 - much better debugging enabled - see Readme.txt in wrappers/EES
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-05 11:25:37 +02:00 |
|
Ian Bell
|
d08d3b85c5
|
Added Inno installer input file for EES
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-05 08:48:50 +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
|
776c13c048
|
Add incompressible list
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-04 16:31:02 +02:00 |
|
Ian Bell
|
e9ac0bcc9d
|
python wrapper work
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-08-03 20:43:42 +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 |
|