Skip to content
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

Problem with saturated vapor internal energy calculations with quality/density inputs #1652

Closed
gpsimms opened this issue Feb 23, 2018 · 2 comments
Milestone

Comments

@gpsimms
Copy link

gpsimms commented Feb 23, 2018

I have tested and found this to be a problem for at least water and R134a.

When calling for internal energy and giving quality and density as an input, the output is not incorrect.

e.g.

>> CoolProp.PropsSI('U','Q',.3,'T',373,'Water')

ans =

   1.0447e+06

>> CoolProp.PropsSI('D','Q',.3,'T',373,'Water')

ans =

    1.9811

>> CoolProp.PropsSI('U','Q',.3,'D',ans,'Water')

ans =

   4.1843e+05

Thanks!

@ibell ibell added this to the v6.2.0 milestone Feb 23, 2018
@ibell
Copy link
Contributor

ibell commented Feb 23, 2018

I'll resolve this this weekend.

P.S. Please use code formatting to make your issues look nicer (click the < > button in the editing toolbar)

@gpsimms
Copy link
Author

gpsimms commented Feb 23, 2018 via email

@ibell ibell closed this as completed in 3574641 Mar 11, 2018
zmeri pushed a commit to zmeri/CoolProp that referenced this issue Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants