CoolProp / CoolProp

Thermophysical properties for the masses
http://coolprop.org/
MIT License
768 stars 305 forks source link

"Air.mix" properties calculation #1338

Open vitcaro opened 7 years ago

vitcaro commented 7 years ago

"Air.mix" calculation over 67°C (no matter the pressure value) gives an error message.

Example (Excel wrapper): =PropsSI("D";"T";70+273,15;"P";101325;"Air.mix")

Message: One stationary point (not good) for T=343.15,p=101325,z=[ 0.7812, 0.0092, 0.2096 ] : PropsSI("D","T",343.15,"P",101325,"Air.mix")

Same problem using (in place of "Air.mix") the mixture: "Nitrogen[.7809]&Oxygen[.2095]&Argon[.0093]&CO2[.00039]" This is the mixture (for dry air) in the file (part of the Excel wrapper documentation) "TestExcel.xlsx", sheet "Sample Calcs".

ibell commented 7 years ago

Yes, I know I need to come back in and do some more testing of the PT flashes for mixtures. It's so incredibly painful.... You'll have to use REFPROP for this case for now until I have a chance to dig into this.

Joao-Souza commented 7 years ago

Hey, I've been having that same issue here. Have you had that fixed yet?