Skip to content

Use of REFPROP as a property package #1463

Answered by andrewlee94
eric-hintz asked this question in Q&A
Discussion options

You must be logged in to vote

@eric-hintz There are a few option for what you want to do, each with their own advantages and disadvantages. The biggest problem you face here is that the Helmholtz equations of state themselves are high-order polynomials which require specialized root finding routines to give the right answer, which is why IDAES packaged them as external function calls (it is impractical to implement these as true equation-oriented constraints).

  1. It you have at least first partial derivatives, you can use Pyomo's Grey Box interface to wrap these function calls into an IDAES property package. The WaterTAP team (https://github.com/watertap-org/watertap) has had a lot of success using this approach to inte…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@eric-hintz
Comment options

@andrewlee94
Comment options

@eric-hintz
Comment options

@adowling2
Comment options

Answer selected by eric-hintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants