Fix states for HeavyWater and Novec 649

This commit is contained in:
Ian Bell
2015-07-21 08:29:03 -06:00
parent 710c963895
commit 3ccaba9903
3 changed files with 42 additions and 41 deletions

View File

@@ -112,49 +112,49 @@
"hs_anchor": {
"T": 708.2317,
"T_units": "K",
"hmolar": 45765.6,
"hmolar": 45765.640829799326,
"hmolar_units": "J/mol",
"p": 868573187971672.2,
"p": 37913356.56793647,
"p_units": "Pa",
"rhomolar": 15997.994999999999,
"rhomolar_units": "mol/m^3",
"smolar": 91.7524,
"smolar": 91.75241852278896,
"smolar_units": "J/mol/K"
},
"reducing": {
"T": 643.847,
"T_units": "K",
"hmolar": 37556.74658424395,
"hmolar": 39313.34506920894,
"hmolar_units": "J/mol",
"p": 21671000,
"p": 21672051.479828164,
"p_units": "Pa",
"rhomolar": 17775.55,
"rhomolar_units": "mol/m^3",
"smolar": 79.4039479748897,
"smolar": 83.60838400692539,
"smolar_units": "J/mol/K"
},
"sat_min_liquid": {
"T": 276.969,
"T_units": "K",
"hmolar": 0.011021389918129065,
"hmolar": 0.011993296468532665,
"hmolar_units": "J/mol",
"p": 662.04,
"p": 662.0371400218587,
"p_units": "Pa",
"rhomolar": 55199.9,
"rhomolar": 55199.86914900708,
"rhomolar_units": "mol/m^3",
"smolar": -6.248886779394275e-11,
"smolar": 3.306414272639286e-10,
"smolar_units": "J/mol/K"
},
"sat_min_vapor": {
"T": 276.969,
"T_units": "K",
"hmolar": 45054.657349954025,
"hmolar": 46516.83372947062,
"hmolar_units": "J/mol",
"p": 662.04,
"p": 662.0371400218587,
"p_units": "Pa",
"rhomolar": 0.2694716052752858,
"rhomolar": 0.28757901006465464,
"rhomolar_units": "mol/m^3",
"smolar": 164.93862020846,
"smolar": 167.9495601900057,
"smolar_units": "J/mol/K"
}
},
@@ -162,7 +162,7 @@
"T_max_units": "K",
"Ttriple": 276.969,
"Ttriple_units": "K",
"acentric": 0.364,
"acentric": 0.3643005688094967,
"acentric_units": "-",
"alpha0": [
{
@@ -363,37 +363,37 @@
"critical": {
"T": 643.847,
"T_units": "K",
"hmolar": 39313.345069208925,
"hmolar": 39313.34506920894,
"hmolar_units": "J/mol",
"p": 21671000.0,
"p": 21672051.479828164,
"p_units": "Pa",
"rhomolar": 17775.55,
"rhomolar_units": "mol/m^3",
"smolar": 83.60838400692536,
"smolar": 83.60838400692539,
"smolar_units": "J/mol/K"
},
"triple_liquid": {
"T": 276.969,
"T_units": "K",
"hmolar": 0.011021389918129065,
"hmolar": 0.011993296468532665,
"hmolar_units": "J/mol",
"p": 662.04,
"p": 662.0371400218587,
"p_units": "Pa",
"rhomolar": 55199.9,
"rhomolar": 55199.86914900708,
"rhomolar_units": "mol/m^3",
"smolar": -6.248886779394275e-11,
"smolar": 3.306414272639286e-10,
"smolar_units": "J/mol/K"
},
"triple_vapor": {
"T": 276.969,
"T_units": "K",
"hmolar": 45054.657349954025,
"hmolar": 46516.83372947062,
"hmolar_units": "J/mol",
"p": 662.04,
"p": 662.0371400218587,
"p_units": "Pa",
"rhomolar": 0.2694716052752858,
"rhomolar": 0.28757901006465464,
"rhomolar_units": "mol/m^3",
"smolar": 164.93862020846,
"smolar": 167.9495601900057,
"smolar_units": "J/mol/K"
}
},

View File

@@ -114,18 +114,6 @@
"smolar_units": "J/mol/K"
},
"sat_min_liquid": {
"T": 165,
"T_units": "K",
"hmolar": -60674.91756417493,
"hmolar_units": "J/mol",
"p": 0.4444855291981022,
"p_units": "Pa",
"rhomolar": 6225.7186,
"rhomolar_units": "mol/m^3",
"smolar": -191.7417298173398,
"smolar_units": "J/mol/K"
},
"sat_min_vapor": {
"T": 165,
"T_units": "K",
"hmolar": 25227.16294285815,
@@ -136,6 +124,18 @@
"rhomolar_units": "mol/m^3",
"smolar": 138.49094096174295,
"smolar_units": "J/mol/K"
},
"sat_min_vapor": {
"T": 165,
"T_units": "K",
"hmolar": 67349.20534042215,
"hmolar_units": "J/mol",
"p": 0.23145335205371442,
"p_units": "Pa",
"rhomolar": 0.00016871210563969722,
"rhomolar_units": "mol/m^3",
"smolar": 393.7760464015246,
"smolar_units": "J/mol/K"
}
},
"T_max": 500,

View File

@@ -54,10 +54,11 @@ def inject_triples(fluid, i, json_data):
"smolar": CP.PropsSI('Smolar','T',Ttriple,'Q',1,fluid),
"smolar_units": "J/mol/K"
}
json_data['EOS'][i]['STATES']['sat_min_vapor'] = triple_vapor
json_data['EOS'][i]['STATES']['sat_min_vapor'] = triple_liquid
json_data['STATES']['triple_liquid'] = triple_liquid
json_data['STATES']['triple_vapor'] = triple_vapor
json_data['STATES']['triple_liquid'] = triple_liquid
json_data['EOS'][i]['STATES']['sat_min_vapor'] = triple_vapor
json_data['EOS'][i]['STATES']['sat_min_liquid'] = triple_liquid
def inject_critical(fluid, json_data):
"""