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

Unit conversion problem somewhere in Bicubic backend for enthalpy #826

Closed
ibell opened this issue Oct 6, 2015 · 0 comments
Closed

Unit conversion problem somewhere in Bicubic backend for enthalpy #826

ibell opened this issue Oct 6, 2015 · 0 comments
Milestone

Comments

@ibell
Copy link
Contributor

ibell commented Oct 6, 2015

# Setup
import CoolProp
pair = 'Pentane&CO2'
z = [0.5, 0.5]
BICU = CoolProp.AbstractState('BICUBIC&REFPROP',pair)
BICU.set_mole_fractions(z)
RP = CoolProp.AbstractState('REFPROP',pair)
RP.set_mole_fractions(z)

BICU.update(CoolProp.PQ_INPUTS, 101325, 1)
hV = BICU.hmolar()
print hV
RP.update(CoolProp.PQ_INPUTS, 101325, 1)
hV = RP.hmolar()
print hV

yields

22790161.9729
22790.4776432
@ibell ibell closed this as completed in 607f829 Oct 8, 2015
@ibell ibell added this to the v5.1.2 milestone Oct 8, 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

1 participant