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

Initialize fail for HEOS in mixture with Argon and CarbonDioxide (in Matlab) #396

Closed
xaumex opened this issue Jan 7, 2015 · 2 comments
Closed
Milestone

Comments

@xaumex
Copy link
Contributor

xaumex commented Jan 7, 2015

Hi,

If you try to compute a mixture with Argon and CarbonDioxide in its components, for example

CoolProp.PropsSI('D','T',298.15,'P',101325,'HEOS::Argon[0.5]&CarbonDioxide[0.5]')

the following error appears:
Warning: Initialize failed for backend: "HEOS", fluid:
"Argon[0.5]&CarbonDioxide[0.5]" fractions "[ 0.5000000000,
0.5000000000 ]"; error: n could not be matched in get_double_vector

I found this error in Coolprop wrapper of Matlab (v5.0.5 and 5.0.4). I'm using Matlab R2013b in win64 arch.
I don't know if the error is in the matlab wrapper or in coolprop.

Thank you

@ibell
Copy link
Contributor

ibell commented Jan 7, 2015

That looks like a bug. I'll try to fix it today.
On Jan 7, 2015 8:59 AM, "xaumex" notifications@github.com wrote:

Hi,

If you try to compute a mixture with Argon and CarbonDioxide in its
components, for example

CoolProp.PropsSI('D','T',298.15,'P',101325,'HEOS::Argon[0.5]&CarbonDioxide[0.5]')

the following error appears

Warning: Initialize failed for backend: "HEOS", fluid:
"Argon[0.5]&CarbonDioxide[0.5]" fractions "[ 0.5000000000,
0.5000000000 ]"; error: n could not be matched in get_double_vector

I found this error in Coolprop wrapper of Matlab (v5.0.5 and 5.0.4). I'm
using Matlab R2013b in win64 arch.
I don't know if the error is in the matlab wrapper or in coolprop.

Thank you


Reply to this email directly or view it on GitHub
#396.

@ibell
Copy link
Contributor

ibell commented Jan 7, 2015

It's a bug with that particular binary pair. Others seem to work fine.

@ibell ibell added this to the v5.0.6 milestone Jan 7, 2015
@ibell ibell closed this as completed in fe48c7e Jan 7, 2015
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