Convergence of 1D Control Volume unit. #1621
-
|
Hi IDAES community, I am trying to simulate a fixed-bed catalytic reactor with a pseudo-homogeneous assumption. Even though I have a pressure drop, for now, to keep the model debugging process simpler, I am assuming there is no pressure drop within the reactor. The model solves correctly. I do this to improve the initialisation of the model. But on doing so, my model fails to converge regardless of the solver used, and it always complains that the model is infeasible. Can someone kindly advise on some ways I can troubleshoot/fix this? Looking forward to hearing back from you. Best wishes, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Are you initializing the heat duty to some reasonable value? What does your IPOPT outlet look like? Are you scaling any variables or constraints? I'd suggest using the Diagnostics Toolbox to look at the model both before and after the solve that fails. If the model is infeasible, either 1) you've got at least one variable at a bound, which |
Beta Was this translation helpful? Give feedback.
Are you initializing the heat duty to some reasonable value? What does your IPOPT outlet look like? Are you scaling any variables or constraints?
I'd suggest using the Diagnostics Toolbox to look at the model both before and after the solve that fails. If the model is infeasible, either 1) you've got at least one variable at a bound, which
display_variables_near_boundsshould show, or 2) your Jacobian matrix is rank-deficient, which the SVD Toolbox will show.