What To Do if the Solver Gets Stuck in GSC

(GSC Module Only) Occasionally the user may have specified a goal which is in fact physically realistic, but in the process of going from a physically realistic starting point to a similarly physically realistic goal, a physically unrealistic system may be proposed by the Numerical Optimizer. What happens in such cases?

When performing goal seeking with the GSC module, AFT Fathom has been designed to gracefully handle such cases. One of two things will typically happen:

  • The Hydraulic SolverHydraulic Solver The part of AFT Fathom that applies the governing incompressible flow equations to obtain a solution to the pipe system. will experience a computational error

  • The Hydraulic Solver will not be able to converge

In the first case, AFT Fathom does not stop and tell the user of the error, but instead sets an internal flag that the system used for the particular iteration that caused the error was a poor system and should not be considered further by the Numerical Optimizer. In other words, it skips the system that caused the error. This will happen in a way which is transparent to the user and requires no intervention.

The second case is of more interest here. In this case the Hydraulic Solver gets stuck on one of the systems proposed by the Numerical Optimizer and cannot progress. The Hydraulic Solver will continue trying to converge until it reaches the iteration limit. Once it reaches that limit, it will react in a similar way to the first case above – it will set a flag and skip that system.

However, the default maximum number of iterations is 50,000 (specified on the Iterations panel in Analysis Setup). It is perfectly fine for one to wait until this limit is reached and allow the AFT Fathom to handle the situation automatically, but depending on the size of the model it may take awhile to get to 50,000 iterations. In such cases it may be desirable to allow AFT Fathom to more quickly conclude the model that will not converge by reducing the maximum iterations to something like 5,000.

Tip: If the Hydraulic Solver appears to get stuck while performing a GSC run, you can pause the Solver, open the Iterations panel, and reduce the Maximum Iterations. The default value is 50,000. Depending on the model size, a reduced value of 5,000 may be appropriate.

GSC Module
Goal Seek and Control Module
An optional add-on module to AFT Fathom which allows users to perform multi-variable goal seeking and simulate system control functions.
Solver
The part of AFT Fathom that applies the governing incompressible flow equations to obtain a solution to the pipe system.