Skip to content

Optimization of methanation with Peng-Robinson EoS and BARON solver #624

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

You must be logged in to vote

Hi Luka,

The short answer is that we do not have an implementation of the Cubic EoS that does not use the external function. Whilst there are ways to implement a cubic root finder in an equation-oriented framework, they are rather temperamental and require a lot of effort to use. Further, the cubic root finder is the central part of any cubic EoS, thus it is not possible to remove it and solve beforehand - the result of this will vary as you change the conditions in the process.

So, some possible options are:

  1. Use a solver that does support AMPL external functions. This will depend a bit on what you are trying to do - IPOPT is quite capable of optimizing these types of problems with exter…

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Lukaboo
Comment options

You must be logged in to vote
2 replies
@andrewlee94
Comment options

@Lukaboo
Comment options

Comment options

You must be logged in to vote
7 replies
@andrewlee94
Comment options

@Lukaboo
Comment options

@Lukaboo
Comment options

@andrewlee94
Comment options

@Lukaboo
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
2 participants