New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entropy of Melinder fluids giving wrong results #429
Comments
Hi, thank you for the report. Are you sure that you have the latest version? It looks like bug #413 has nnot been solved entirely. For me, the output is
It is different, but also wrong. The alternating values tell me that it is the reference states function that does not reset the values properly. I'll have a look. |
Just double checked- I'm on 5.0.7 |
Sorry, but that version does not exist. Well, it does not matter whether you are you on 5.0.6 or 5.0.7dev, the bug has to be fixed... |
Thanks for reporting the bug. I broke it last week while fixing #413. Should be cool now:
|
…ckson for reporting #429, which is fixed now.
@ericksonla, can you confirm that it works? It looks like you got different results earlier. Are you on Windows, Linux or a Mac? |
I'm on Mac. I tried: Whats the preferred way of getting it? |
The Mac binaries got generated 20 seconds ago, you can force a reinstall of the Python library by running |
The first time I tried it just pulled 5.0.6 again but I added the --pre flag and then got 5.0.7dev. I don't know whether the flag or waiting 15 minutes made the difference but it worked. I ran the test script again and everything looks good. My original code seems to be working too. Thanks! |
Good to hear and thanks again for the bug report. |
Sometimes a couple of |
Something is still wrong here! http://coolprop.dreamhosters.com:8010/builders/Catch-OSX/builds/977/steps/shell_2/logs/stdio |
The entropy call with Melinder fluids changes with multiple calls. A simple test code:
from CoolProp.CoolProp import PropsSI
print PropsSI('S', 'T', 313.15, 'P', 100000., 'INCOMP::MEA[0.6]')
print PropsSI('S', 'T', 313.15, 'P', 100000., 'INCOMP::MEA[0.6]')
print PropsSI('S', 'T', 313.15, 'P', 100000., 'INCOMP::MEA[0.6]')
returns:
227508.367363
215363.646742
191074.205501
I have done a bit more testing:
-Occurs for other Melinder fluid mixtures
-Does not occur for single component incompressible fluids
-Does not occur for other property calls
-Does not appear to depend on the input values
I just upgraded to the latest version. I don't think this problem occurred before upgrade (4.?), but I can't be 100% sure.
The text was updated successfully, but these errors were encountered: