imod.wq.Drainage#

class imod.wq.Drainage(elevation, conductance, save_budget=False)[source]#

The Drain package is used to simulate head-dependent flux boundaries. In the Drain package if the head in the cell falls below a certain threshold, the flux from the drain to the model cell drops to zero.

Parameters
  • elevation (float or xr.DataArray of floats) – elevation of the drain.

  • conductance (float or xr.DataArray of floats) – is the conductance of the drain.

  • save_budget (bool, optional) – A flag that is used to determine if cell-by-cell budget data should be saved. If save_budget is True cell-by-cell budget data will be saved. Default is False.

__init__(elevation, conductance, save_budget=False)[source]#

Methods

__init__(elevation, conductance[, save_budget])

add_timemap(*args, **kwargs)

from_file(path, **kwargs)

Loads an imod-wq package from a file (currently only netcdf and zarr are supported).

isel()

repeat_stress([elevation, conductance, ...])

save(directory)

sel()

write_netcdf(directory, pkgname[, ...])

Write to netcdf.