Skip to content

Expanding Property Packages #375

Answered by andrewlee94
dimi3saad asked this question in Q&A
Discussion options

You must be logged in to vote

Hi again,

I just had a look through the lines of code that were failing, and the problem lies in the Cubic EoS model. It was written before we included support for non-condensable components and assumes that all components exist in the liquid phase. Thus, it includes the non-condensable species when trying to calculate initial values for the bubble and dew points - as these are well above their critical points, the resulting vapour pressure is extremely large which results in the math domain errors.

So, what are the possible fixes:

  1. The Generic Property Framework has addressed this issue and should work for this system.
  2. You could try setting the A parameter in the Antoine equation for the…

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dimi3saad
Comment options

Comment options

You must be logged in to vote
1 reply
@dimi3saad
Comment options

Answer selected by ksbeattie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested Priority:Normal Normal Priority Issue or PR property packages Issues dealing with properties
2 participants
Converted from issue

This discussion was converted from issue #372 on June 03, 2021 18:16.