Skip to content
Discussion options

You must be logged in to vote

I would estimate 99% of the variables on the large Jacobian list involve mole_frac_phase_comp of species that can be in both vapor and liquid, and these correspond to StateBlock equilibrium_constraint constraints with large Jacobian values throughout the model, not just in the reactor.

Here the devil is in the implementation details. What equation of state and equilibrium form are you using? We've found that equating log_fugacity is better conditioned than equating fugacity directly. If you're using the cubic equation of state, that naturally leads to use of log mole fraction variables, but the ideal equation of state takes the log function of the normal mole fraction variables. We real…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@dallan-keylogic
Comment options

@jasonmbray-p66
Comment options

@dallan-keylogic
Comment options

Answer selected by jasonmbray-p66
@jasonmbray-p66
Comment options

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