-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Simple Reactor" is not isobaric - neglects dV/dt ? #110
Comments
If this is really the case this may solve our problem that the |
I heard a rumour that you might want to look at this, @connie, as you have recently implemented analytical Jacobians here?... |
I think how we resolve this may impact other parts of the code that we were beginning to look at - for example the calculation of conversion (for termination criteria and reporting) currently renormalizes by ideal gas law. |
Yes, I haven't pushed to official yet because we wanted to compare the new implementation against Chemkin first. I think it shouldn't be too hard to swap in the incompressible liquid equation of state for the ideal gas law when the time comes. @connie's jacobian implementation is in the SimpleReactor.jacobian() method, which currently occupies the majority of rmgpy/solver/simple.pyx. |
The proposal is that the ode solver vector |
As part of our solvation corrections project, @bslakman and I were trying to figure out how to change the reactor simulations to work for liquid phase (incompressible) equation of state instead of ideal gas, but it looks like SimpleReactor has been neglecting the volume change (due to stoichiometry differences of reactions) anyway. Did we overlook something, or is this currently missing?
Example: if A <=> 2B then at a conversion of 0.5 (NA/NA0 = 0.5) for isothermal isobaric gas phase reactor, CA/CA0 = 0.5/1.5=0.333. (rxn_rate = d(VC)/dt != (dC/dt)/V)
The text was updated successfully, but these errors were encountered: