Menu

#234 Adiabatic Gibbs Reactor Convergence Issues

5.7
closed
2019-04-19
2019-04-16
No

There seems to be issues with the Gibbs reactor running in adiabatic mode (convergence error). However, when it is run with a specified outlet temperature and the inlet temperature is adjusted so that the energy streem is 0 or near 0, convergence is fine. Perhaps some issue with the adiabatic calculation?

Convergence errors also occur often when a pressure drop is specified above a certain value (i.e. 10 psi works ok in attached file, but 15 psi fails).

1 Attachments

Related

Tickets (Inactive): #234

Discussion

  • Daniel Medeiros

    Daniel Medeiros - 2019-04-16
    • status: open --> closed
    • assigned_to: Daniel Medeiros
     
  • Daniel Medeiros

    Daniel Medeiros - 2019-04-16

    Hi Hector,

    This is not a bug. The Gibbs Reactor is very sensitive to initial estimates due to usage of newton's method for convergence. You need good initial estimates for the final mole flows, but you can also play with some convergence parameters like damping factor limits (default value for lower is 0.001 but a good one is 1E-20). It is always good to copy initial estimate values from outlet streams every time you change a condition in the reactor on in the material stream so newton's method can start the convergence process very close to the new solution point.

    Try 1E-20 for the lower limit of the damping factor and copy initial estimates from the inlet stream, you'll see that it will converge for adiabatic mode and different pressure drop values.

     
  • Mark Hadley

    Mark Hadley - 2019-04-19

    I too have had the problem and found the solution used by Hector, i.e. set the temperatre and enjoy quick convergence. I then itterate on the temperature until the energy from the reactor is near zero. With that complete, I copy the "good initial estimates for the final mole flows" from the results and then have to sigificantly tighten the damping factor to get convergence as Daniel suggested. That final itteration is hit or miss as often the maximum number of itterations is exceded before convergence.

     
  • Daniel Medeiros

    Daniel Medeiros - 2019-04-19

    You can also play with the numerical derivative perturbation, default is 0.0001 but it can range from 0.1 to 1E-10 in some cases.

     
    • Hector Perez

      Hector Perez - 2019-06-04

      Great suggestions. They worked. Thank you.

      Hector

      On Fri, Apr 19, 2019 at 9:10 AM Daniel Medeiros danwbr@users.sourceforge.net wrote:

      You can also play with the numerical derivative perturbation, default is
      0.0001 but it can range from 0.1 to 1E-10 in some cases.


      Status: closed
      Version: 5.7
      Labels: Adiabatic Gibbs Reactor
      Created: Tue Apr 16, 2019 03:30 AM UTC by Hector Perez
      Last Updated: Fri Apr 19, 2019 01:07 PM UTC
      Owner: Daniel Medeiros
      Attachments:

      There seems to be issues with the Gibbs reactor running in adiabatic mode
      (convergence error). However, when it is run with a specified outlet
      temperature and the inlet temperature is adjusted so that the energy streem
      is 0 or near 0, convergence is fine. Perhaps some issue with the adiabatic
      calculation?

      Convergence errors also occur often when a pressure drop is specified
      above a certain value (i.e. 10 psi works ok in attached file, but 15 psi
      fails).


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/dwsim/tickets/234/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets (Inactive): #234

MongoDB Logo MongoDB