Optimization of methanation with Peng-Robinson EoS and BARON solver #624
-
Hello all, For my current project I would like to implement a way to be able to run a process optimization for the methanation reaction. Is there any way to work around this issue and be able to use BARON? Possibly by removing the function from the optimization problem and solving it beforehand? Thank you very much for your help! Kind regards |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
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:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick reply, it helped me a lot! |
Beta Was this translation helpful? Give feedback.
-
Hello, it's me again! Furthermore, I get AMPL error messages in the IPOPT log very often. For example like this:
So the problems are in the equation for the
That can't really be the problem either. So I suspect that this is a numerical error. And I suspect that this is amplified by the equation for I suspect the problem is in the equation for Sorry for the somewhat confused explanation and presentation, but I don't know how to explain it better.
|
Beta Was this translation helpful? Give feedback.
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: