--- title: "Run until Peak | Technical Reference" slug: "run-until-peak" description: "Learn about the run until peak which allows the user to enter a negative simulation duration to continue the simulation until all 2D domain have peaked. " tags: ["2D modelling"] updated: 2022-07-29T10:27:06Z published: 2022-07-29T10:27:06Z canonical: "help.floodmodeller.com/run-until-peak" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://help.floodmodeller.com/llms.txt > Use this file to discover all available pages before exploring further. # Run until Peak 2D solver allows the user to enter a negative simulation duration to continue the simulation until all 2D domains have peaked. When the following conditions are met, 2D solver will finalise result files and exit: All inflow boundaries have finished All cells in the model have a depth below their recorded peak depth The simulation time is a multiple of one hour This option is not supported when using linked models or when using varying head vs time boundaries. The following example code snippet shows an example of a negative simulation duration: ... ...