imod.mf6.Modflow6Simulation.set_validation_settings#

Modflow6Simulation.set_validation_settings(validation_settings: ValidationSettings)[source]#

Set validation settings for the simulation. Configuring imod.mf6.ValidationSettings can help performance or reduce the strictness of validation for some packages, namely the Well and HFB packages.

Parameters:

validation_settings (ValidationSettings) – Settings for validation of the simulation. These settings can be used to control whether the simulation is validated at write time, and whether strict validation rules are applied.

Examples

Configure the validation settings for the simulation as follows. Turn off valdation for each timestep to boost performance for models with many timesteps:

>>> validation_settings = imod.mf6.ValidationSettings(ignore_time=True)
>>> simulation.set_validation_settings(validation_settings)

Less strict model validation for horizontal flow barriers and wells:

>>> validation_settings = imod.mf6.ValidationSettings(
...     strict_well_validation=False, strict_hfb_validation=False
... )
>>> simulation.set_validation_settings(validation_settings)

See imod.mf6.ValidationSettings for futher information on how to configure validation settings.