hydromt_wflow.WflowModel.setup_domestic_demand_from_population#
- WflowModel.setup_domestic_demand_from_population(population_fn: str | Dataset, domestic_gross_per_capita: float | List, domestic_net_per_capita: float | List | None = None)[source]#
Prepare domestic water demand maps from statistics per capita.
Gross and net demands per capita can be provide as cyclic (list) or non-cyclic (constant). The statistics are then multiplied by the population dataset to derive the gross and net domestic demand.
Adds model layer:
domestic_gross: gross domestic water demand [mm/day]
domestic_net: net domestic water demand [mm/day]
- Parameters:
population_fn (Union[str, xr.Dataset]) – The (gridded) population dataset in capita. Either provided as a dataset directly or as a string referring to an entry in the data catalog.
domestic_gross_per_capita (Union[float, List]) – The gross domestic water demand per capita [m3/day]. If cyclic, provide a list with 12 values for monthly data or 365/366 values for daily data.
domestic_net_per_capita (Optional[Union[float, List]], optional) – The net domestic water demand per capita [m3/day]. If cyclic, provide a list with 12 values for monthly data or 365/366 values for daily data. If not provided, the gross demand will be used as net demand.