The iteration_limit global variable determines that maximum number of iterations of the main synchronization loop permitted before the clock must advanced. If the main loop reaches the iteration limit and the clock has not advanced, GridLAB-D will terminate the simulation with a convergence error.
To set the iteration in a GLM file, use the syntax:
To set the iteration at the command line, use the syntax:
host% gridlabd -D iteration_limit=100