Configuration

The configuration file is necessary to describe the model and its dependencies. It is in the toml format and should have a .toml extension.

timing = false
log_level = "INFO"
driver_type = "ribametamod"

[driver.kernels.modflow6]
dll = "./kernels/modflow6/libmf6.dll"
dll_dep_dir = "./kernels/modflow6"
work_dir = "./mf6_data"

[driver.kernels.metaswap]
dll = "./kernels/metaswap/MetaSWAP.dll"
dll_dep_dir = "./kernels/metaswap"
work_dir = "./metaswap"

[driver.kernels.ribasim]
dll = "./kernels/ribasim/bin/libribasim.dll"
dll_dep_dir = "./kernels/ribasim/bin"
config_file = "./ribasim_data/ribasim.toml"

[[driver.coupling]]
mf6_model = "GWF_1"
mf6_msw_node_map = "./exchanges/nodenr2svat.dxc"
mf6_msw_recharge_pkg = "rch_msw"
mf6_msw_recharge_map = "./exchanges/rchindex2svat.dxc"
mf6_msw_well_pkg = "well_msw"
mf6_msw_sprinkling_map_groundwater = "./exchanges/wellindex2svat.dxc"
rib_msw_ponding_map_surface_water = "./exchanges/msw_ponding.tsv"
rib_msw_sprinkling_map_surface_water = "./exchanges/msw_sw_sprinkling.tsv"
output_config_file = "C:\\Users\\leander\\AppData\\Local\\Temp\\pytest-of-leander\\pytest-1254\\test_ribametamod_two_basin_use0\\develop\\exchange_logging\\logging.toml"

[driver.coupling.mf6_active_river_packages]
riv_1 = "./exchanges/riv_1.tsv"

[driver.coupling.mf6_passive_river_packages]

[driver.coupling.mf6_active_drainage_packages]

[driver.coupling.mf6_passive_drainage_packages]

Config schema

name description type default enum
log_level verbosity of logging str INFO DEBUG, INFO, WARNING, ERROR, CRITICAL
timing profiling active? if so, record timing boolean false
driver_type chosen coupler implementation. Typically associated with the set of coupled kernels str
driver.kernels.modflow6
dll path to the MODFLOW 6 library file str
dll_dep_dir optional path to the library’s dependencies str [..]
workdir path to the MODFLOW 6 working directory holding the simulation name file str
driver.kernels.metaswap
dll path to the MetaSWAP library file str
dll_dep_dir optional path to the library’s dependencies str [..]
workdir path to the MetaSWAP working directory holding the parasim.inp name file str
driver.kernels.ribasim
dll path to the Ribasim library file str
config_file path to the Ribasim config file str

driver.coupling
mf6_model name of the MODFLOW 6 model (within the simulation) to couple str
mf6_msw_node_map file with MODFLOW 6 node to MetaSWAP svat mapping str
mf6_msw_recharge_pkg name of MODFLOW 6 recharge package for coupling with MetaSWAP str
mf6_msw_recharge_map file with MODFLOW 6 recharge index to MetaSWAP svat mapping str
mf6_msw_well_pkg name of MODFLOW 6 well package for coupling with MetaSWAP groundwater sprinkling str
rib_msw_ponding_map_groundwater file with Ribasim node index to MetaSWAP svat mapping for ponding str
rib_msw_ponding_map_surface_water file with Ribasim node index to MetaSWAP svat mapping for surface water sprinkling str
rib_msw_sprinkling_map_surface_water file with Ribasim node index to MetaSWAP svat mapping for surface water sprinkling str

mf6_active_river_packages dictionary of active MODFLOW 6 river packages with couple file dict
mf6_passive_river_packages dictionary of passive MODFLOW 6 river packages with couple file dict
mf6_active_river_packages dictionary of active MODFLOW 6 drainage packages with couple file dict
mf6_passive_river_packages dictionary of passive MODFLOW 6 drainage packages with couple file dict
output_config_file .toml specifying kernel exchanges for which to record values to output files as timeseries str