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

Predefined mixtures cannot be used in PropsSI #287

Closed
ibell opened this issue Dec 4, 2014 · 0 comments
Closed

Predefined mixtures cannot be used in PropsSI #287

ibell opened this issue Dec 4, 2014 · 0 comments
Milestone

Comments

@ibell
Copy link
Contributor

ibell commented Dec 4, 2014

In [1]: import CoolProp

In [2]: CoolProp.CoolProp.PropsSI('Dmolar','P',101325,'T',300,'R410A.mix')
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-2-925dd2f65401> in <module>()
----> 1 CoolProp.CoolProp.PropsSI('Dmolar','P',101325,'T',300,'R410A.mix')

C:\Miniconda\lib\site-packages\coolprop-5.0.2-py2.7-win-amd64.egg\CoolProp\CoolProp.pyd in CoolProp.CoolProp.PropsSI (CoolProp\CoolProp.cpp:14608)()

C:\Miniconda\lib\site-packages\coolprop-5.0.2-py2.7-win-amd64.egg\CoolProp\CoolProp.pyd in CoolProp.CoolProp.PropsSI (CoolProp\CoolProp.cpp:14403)()

C:\Miniconda\lib\site-packages\coolprop-5.0.2-py2.7-win-amd64.egg\CoolProp\CoolProp.pyd in CoolProp.CoolProp.__Props_err2 (CoolProp\CoolProp.cpp:13248)()

ValueError: size of mole fraction vector [1] does not equal that of component vector [2] : PropsSI("Dmolar","P",101325,"T",300,"R410A.mix")
@ibell ibell closed this as completed in 0cb02a3 Dec 5, 2014
@ibell ibell added this to the v5.0.3 milestone Dec 5, 2014
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

1 participant