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

Tabular backend data range too small for (P,H) inputs and R245fa #680

Closed
Astrinus opened this issue May 20, 2015 · 2 comments
Closed

Tabular backend data range too small for (P,H) inputs and R245fa #680

Astrinus opened this issue May 20, 2015 · 2 comments
Milestone

Comments

@Astrinus
Copy link

Either with 5.1.0 (from MATLAB) or 5.1.1dev (from C++), the following happens:

>> CoolProp.PropsSI('T','Hmolar',97000,'P',500300,'R245fa')
    ans = 571.6983
>> as=CoolProp.AbstractState.factory('BICUBIC&HEOS','R245fa');
>> as.update(CoolProp.HmolarP_INPUTS,97000,500300)
    Warning: inputs are not in range, hmolar=97000, p=500300 
    [...]
>> CoolProp.PropsSI('T','Hmolar',97000,'P',10e5,'R245fa')
    ans = 573.4390
>> as.update(CoolProp.HmolarP_INPUTS,97000,10e5)
    Warning: inputs are not in range, hmolar=97000, p=1e+006
    [...]
>> CoolProp.PropsSI('T','Hmolar',85000,'P',10e5,'R245fa')
    ans = 502.9987
>> as.update(CoolProp.HmolarP_INPUTS,85000,10e5)
    Warning: inputs are not in range, hmolar=85000, p=1e+006
    [...]
>> CoolProp.PropsSI('T','Hmolar',110000,'P',10e5,'R245fa')
    ans = 645.0882
>> as.update(CoolProp.HmolarP_INPUTS,110000,10e5)
    Warning: inputs are not in range, hmolar=110000, p=1e+006
    [...]
>> CoolProp.PropsSI('T','Hmolar',110000,'P',4e5,'R245fa')
    ans = 643.5982
>> as.update(CoolProp.HmolarP_INPUTS,110000,4e5)
    Warning: inputs are not in range, hmolar=110000, p=400000
    [...]
@ibell
Copy link
Contributor

ibell commented May 20, 2015

The tables are built up to Tmax, the hard limit on the EOS evaluation is
Tmax*1.5

Tmax for R245fa is 440 K. So it all makes sense. I guess we could build
tables up to Tmax*1.5 for consistency's sake, and for fluids like this one
with relatively low max temperatures.

On Wed, May 20, 2015 at 2:17 AM, Astrinus notifications@github.com wrote:

Either with 5.1.0 (from MATLAB) or 5.1.1dev (from C++), the following
happens:

CoolProp.PropsSI('T','Hmolar',97000,'P',500300,'R245fa')
ans = 571.6983
as=CoolProp.AbstractState.factory('BICUBIC&HEOS','R245fa');
as.update(CoolProp.HmolarP_INPUTS,97000,500300)
Warning: inputs are not in range, hmolar=97000, p=500300
[...]
CoolProp.PropsSI('T','Hmolar',97000,'P',10e5,'R245fa')
ans = 573.4390
as.update(CoolProp.HmolarP_INPUTS,97000,10e5)
Warning: inputs are not in range, hmolar=97000, p=1e+006
[...]
CoolProp.PropsSI('T','Hmolar',85000,'P',10e5,'R245fa')
ans = 502.9987
as.update(CoolProp.HmolarP_INPUTS,85000,10e5)
Warning: inputs are not in range, hmolar=85000, p=1e+006
[...]
CoolProp.PropsSI('T','Hmolar',110000,'P',10e5,'R245fa')
ans = 645.0882
as.update(CoolProp.HmolarP_INPUTS,110000,10e5)
Warning: inputs are not in range, hmolar=110000, p=1e+006
[...]
CoolProp.PropsSI('T','Hmolar',110000,'P',4e5,'R245fa')
ans = 643.5982
as.update(CoolProp.HmolarP_INPUTS,110000,4e5)
Warning: inputs are not in range, hmolar=110000, p=4e+005
[...]


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

@Astrinus
Copy link
Author

Thanks, now it make sense.

@ibell ibell closed this as completed in bb786f1 Jun 12, 2015
@ibell ibell added this to the v5.1.1 milestone Jun 12, 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