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

Generic Thermodynamic Derivatives Function #29

Open
henningjp opened this issue Mar 20, 2018 · 4 comments
Open

Generic Thermodynamic Derivatives Function #29

henningjp opened this issue Mar 20, 2018 · 4 comments
Labels
beginner Great issue to start contributing to IF97 enhancement Request for an enhancement help-wanted Looking for a few good contributors wishlist Something for a future release

Comments

@henningjp
Copy link
Contributor

A generic routine could be written for thermodynamic derivatives of any two property pairs as is done in CoolProp and RefProp. The generic formulas for such a function based on IF97 Gibbs and Helmholtz equations and their derivatives is provided in advisory note IAPWS AN3-07(2014).

@henningjp henningjp added enhancement Request for an enhancement help-wanted Looking for a few good contributors beginner Great issue to start contributing to IF97 wishlist Something for a future release labels Mar 20, 2018
@Simon-Lopez
Copy link

Hi there. Is this issue still relevant ?

@henningjp
Copy link
Contributor Author

CoolProp calculates them for the HEOS fluids. The IF97 just returns "not implemented". I thought it might be a nice enhancement if there was enough interest (I haven't seen any yet). Its pretty straight forward. I just haven't gotten around to doing anything with it yet. I thought it might also provide an opportunity for someone else to get involved.

@Simon-Lopez
Copy link

Thanks for the answer! There is interest from my part but the fact that there is not wide interest makes me wonder... 😉 I'll try to have a look and might come back to you if you don't mind!
Maybe, the idea here was not to duplicate code. It's not yet really clear to me what are the exact links between Coolprop and IF97...

@henningjp
Copy link
Contributor Author

CoolProp handles over 120 materials using Helmholtz Equations of State (HEOS), including water. The Water HEOS is from IAPWS-95. CoolProp also handles a number of other backends that provide other computational methods (incompressible liquids, humid air, etc.). This IF97 routine is used in the IF97 backend that provided a faster alternative to the HEOS formulation for water which is iterative. The derivatives are provided in the HEOS backend and could also be provided in IF97 is there is any call for it. I don't use them myself in my own work, but somebody might.

The only other thing not implemented from the IAPWS-IF97 specification is the meta-stable states mentioned in issue #30. These two items would make this library the most complete implementation of IF97 that I know of. However, this last bit may not be worth the effort if nobody cares. It may just be an academic exercise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginner Great issue to start contributing to IF97 enhancement Request for an enhancement help-wanted Looking for a few good contributors wishlist Something for a future release
Projects
None yet
Development

No branches or pull requests

2 participants