- 29 Jul 2022
- 1 Minute to read
- Print
Stopping Runs that Exceed a Pre-defined % Mass Balance Error
- Updated on 29 Jul 2022
- 1 Minute to read
- Print
Flood Modeller 2D solver supports monitoring the mass balance error of the running model and stopping the run if a user defined mass balance error is exceeded.
The option also requires that the user specify after what duration the checks should be made as it is quite common for models to exhibit a high % mass balance error at the start of the simulation when the cumulative inflow volume is relatively small.
The following code snippet shows how to stop the model after an absolute mass balance error of 5% is exceeded after the first half hour of simulation time:
...
</domain>
<advanced_options>
<flag_mass_error check_after_seconds="1800" tolerance_pct="5.0" />
</advanced_options>
</ISIS2Dproject>