-
Notifications
You must be signed in to change notification settings - Fork 334
Closed
Milestone
Description
There is a confirmed bug for methanol-water, but there might be others as well:
import numpy as np
import CoolProp
print CoolProp.__version__
from CoolProp.CoolProp import PropsSI
if int(CoolProp.__version__[0])>4: fluid = "INCOMP::MEA"
else: fluid = "MEA"
points = 5
T = np.linspace( 0,20,points)+273.15
x = np.linspace(20,50,points)
for i in range(points):
for j in range(points):
fld = fluid+"-{0:4.1f}%".format(x[j])
print "{0:s}: {1:5.3f}".format(fld, PropsSI('V','T',T[i],'P',20e5,fld)*1e3)
Results in:
4.2.6
MEA-20.0%: 5.249
MEA-27.5%: 6.432
MEA-35.0%: 7.032
MEA-42.5%: 7.020
MEA-50.0%: 6.568
MEA-20.0%: 4.062
MEA-27.5%: 4.944
MEA-35.0%: 5.424
MEA-42.5%: 5.478
MEA-50.0%: 5.219
MEA-20.0%: 3.224
MEA-27.5%: 3.890
MEA-35.0%: 4.273
MEA-42.5%: 4.355
MEA-50.0%: 4.213
MEA-20.0%: 2.616
MEA-27.5%: 3.127
MEA-35.0%: 3.431
MEA-42.5%: 3.521
MEA-50.0%: 3.450
MEA-20.0%: 2.165
MEA-27.5%: 2.561
MEA-35.0%: 2.803
MEA-42.5%: 2.889
MEA-50.0%: 2.859
and
5.0.7dev
INCOMP::MEA-20.0%: 1.658
INCOMP::MEA-27.5%: 1.861
INCOMP::MEA-35.0%: 1.951
INCOMP::MEA-42.5%: 1.949
INCOMP::MEA-50.0%: 1.882
INCOMP::MEA-20.0%: 1.402
INCOMP::MEA-27.5%: 1.598
INCOMP::MEA-35.0%: 1.691
INCOMP::MEA-42.5%: 1.701
INCOMP::MEA-50.0%: 1.652
INCOMP::MEA-20.0%: 1.171
INCOMP::MEA-27.5%: 1.359
INCOMP::MEA-35.0%: 1.452
INCOMP::MEA-42.5%: 1.471
INCOMP::MEA-50.0%: 1.438
INCOMP::MEA-20.0%: 0.962
INCOMP::MEA-27.5%: 1.140
INCOMP::MEA-35.0%: 1.233
INCOMP::MEA-42.5%: 1.259
INCOMP::MEA-50.0%: 1.238
INCOMP::MEA-20.0%: 0.772
INCOMP::MEA-27.5%: 0.940
INCOMP::MEA-35.0%: 1.031
INCOMP::MEA-42.5%: 1.061
INCOMP::MEA-50.0%: 1.050