Replies: 2 comments 14 replies
-
@abhi24x7 It is definitively possible to embed an ANN based model into a flowsheet, but there are a few ways to do it. Based on your comment above, it looks like you are thinking about creating an ANN for the entire PFR with reactions (which is a good idea if you have complex reactions). Firstly, your ANN based model does not have to be linked to any specific property package. IDAES supports having different units in the process use different property packages, or even no property package at all if it makes sense. The one thing your surrogated-based model will have to do is declare Next, when it comes to connecting the So, in your case you have two options.
|
Beta Was this translation helpful? Give feedback.
-
@andrewlee94, First and foremost, I apologize if I have repeated certain things from the previous replies, its just that I want to understand the development of the model in a better manner and I have been facing slight difficulty in doing so. Having said that, I plan to use
So based on your reply, when you say , "map all your ANN inputs and outputs to Pyomo Secondly, I had a look at the CSTR unit model source code and source codes of other unit models as well, I see that all of them have a However in my case do I need to implement the Another thing is that in the rest of the flowsheet, the state variables that are being passed are In the CSTR unit model source code I see that the ports are added by Thank you for reading through my issue, and apologies for the long text I just tried to describe it in the best possible manner I can. Looking forward to your reply. |
Beta Was this translation helpful? Give feedback.
-
I have been familiarising myself with the framework now, and documentation is very elaborate and descriptive. Thank you IDAES community.
Using the IDAES framework, I now have modelled a packed bed reactor using customized non-Arrhenius rate equations, now I aim to model the same reactor using a ANN based surrogate model, embed it into the flowsheet inplace of the PFR block and run optimization over the flowsheet.
For getting started with ANN based surrogate models with IDAES, I have referred
https://idaes.github.io/examples-pse/latest/Examples/SurrMod/FlowsheetOptimization/Keras_flowsheet_optimization_doc.html
However this is just illustrating the ANN based model for a single unit, i.e. reformer. It doesn't have any other unit operations ( and related physical property package) in the flowsheet. Please correct me if I am wrong.
I was wondering if embedding a ANN based model for the Packed bed reactor is possible in IDAES (assuming it has to be linked with the physical property package in someway), any support would be highly appreciated. Please let me know if further clarity is needed.
Thank you very much in advance!
Beta Was this translation helpful? Give feedback.
All reactions