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

Bug: The density of air is off by a magnitude of 10 given the P and T inputs specified below #1922

Closed
j-c-cook opened this issue Apr 22, 2020 · 1 comment
Milestone

Comments

@j-c-cook
Copy link

Description

The density of air at P = 71 kPa and T = 298 K is incorrect in Python. It appears to be off by an order of 10.

Steps to Reproduce

from CoolProp.CoolProp import PropsSI
T_film = 298    # K
P = 71 * 1000  # kPa
rho = PropsSI('D', 'T', T_film, 'P', P, 'Air')

Expected behavior: rho = 0.83

Actual behavior: rho = 8.3

Versions

CoolProp Version: 6.3.0
Operating System and Version: [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Access Method: Python

@j-c-cook
Copy link
Author

Error in my own code, not CoolProp. Closing Issue.

@ibell ibell added this to the v6.4.0 milestone May 9, 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