Most convergence issues can be traced back to the usual culprits: stream inputs, UnitOp specifications, or thermodynamic selections. Sometimes, though, convergence issues are rooted in how the simulation is attempting to solve the flowsheet.
CHEMCAD offers control over the calculation sequence and convergence methods, which define how the simulation engine works through your flowsheet. Tweaking these settings can often provide the missing piece that solves what changing inputs and specs alone can’t fix.
CHEMCAD offers a choice in the calculation sequence, which defines the order in which the software will solve the flowsheet.
Sequential modular is the default in CHEMCAD, and it’s often a good choice for flowsheet calculation sequence. With this setting, each unit operation is solved in order, one at a time, from upstream to downstream. In this way, each downstream unit operation depends on the results of the one before it. This gives you more control over the flow of information to solve the flowsheet, and makes it easier to troubleshoot the simulation.
Sometimes, flowsheets contain complex non-sequential dependencies that make sequential, step-by-step solving impractical. In some cases, downstream conditions influence upstream behavior, so a sequential solving path creates “undefined” inputs or specifications. Using a different sequence makes proper calculation possible. Some common situations where this comes into play include:
In these cases, a simultaneous modular calculation sequence would be a better fit. Instead of solving each UnitOp in sequence, the solver considers each UnitOp to be an element in a matrix. When the simulation is run, CHEMCAD attempts to solve all UnitOps simultaneously, using matrix methods. This allows upstream and downstream parts of the flowsheet to update together during each iteration, resulting in faster, more stable solutions.
When a flowsheet contains recycles, controllers, or other complex dependencies, changing the calculation sequence can certainly help. In complex simulations such as these, you might also consider changing the convergence method. Convergence methods tell CHEMCAD how to iteratively adjust calculations and compare results until the model settles on a solution. There are three convergence methods to choose from:
Some methods are better suited to predict the next values more intelligently than others; the right choice can make the difference between quick convergence and endless iterations. If the recycle calculation is slow, try switching to Wegstein for speed and accuracy. If there are nested recycle or controller loops, try switching to DEM.
Both the Calculation sequence field and the Recycle Convergence Methods settings are found on the Convergence Parameters dialog box. To bring up this dialog, find the Setup group on the Home tab and click Convergence.
Understanding how a process simulator converges to a solution can help you run and troubleshoot simulations more efficiently. When you strategically adjust the calculation sequence and convergence method, CHEMCAD can better navigate complex problems and solve even the most challenging process flowsheets.