-
Notifications
You must be signed in to change notification settings - Fork 261
Replies: 1 comment · 5 replies
-
Can you please provide the entire stack trace, not just the final error message? While theoretically the Gibbs reactor should work for multiphase systems, it has not been tested. IDAES (or, more precisely, the modular property framework) uses the term "equation of state" more broadly than is traditional in the thermodynamic literature. For example, the |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you again for your response, and I really appreciate the explanation about the equation of state.
Would it be alright to share my property package here? It's not perfect, but I hope it’s useful. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Yes, feel free to share your property package. I'll take a look at the stack trace. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Here's my property package code. I adapted much of it from the natural gas property example.
|
Beta Was this translation helpful? Give feedback.
All reactions
-
You first need to uncomment Next, there's an error in
This is incorrect, but it is incorrect in
Observe:
However, the main problem isn't either of those things, but a bug in the The fix is straightforward, but testing, etc. adds additional overhead. I've opened an issue #1615 , but I make no promises about when it will be fixed. Feel free to attempt a fix yourself and open a PR. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you for your helpful comment. I appreciate the clarification, and I'll do my best to address the main problem regarding the incorrect component summation in elemental_flow_in. I'll look into a fix and see if I can open a PR soon. |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Hello,
I’m currently working on modeling a Chemical Looping Hydrogen Production (CLHP) process using IDAES. While I am aware of the counter-current moving bed example, my current implementation is more aligned with the Aspen Plus configuration, where the system consists of a series of five Gibbs reactors.
To explore better optimization capabilities, I’m trying to replicate this setup in IDAES using Gibbs reactors. However, I'm encountering some confusion, especially related to property packages. Since the Gibbs reactor in IDAES requires a single property package, I attempted to include both gas and solid phases in one package. This led to the following error:
KeyError: "Index '('Vap', 'Fe')' is not valid for indexed component 'fs.reactor.control_volume.properties_in[0.0].flow_mol_phase_comp'"
I haven't yet found a working example where a single property package handles multiphase (Vap + Sol) components for a Gibbs reactor.
Are there any existing examples that demonstrate this, or would you have any recommendations on how to properly set up a unified multiphase property package?
Also, I understand that in general, solids do not require an equation of state (EOS). Is it still mandatory to provide one in IDAES for the solid phase, or is there a way around it?
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions