hydromt_wflow.workflows.reservoir_parameters#

hydromt_wflow.workflows.reservoir_parameters(ds: Dataset, gdf: GeoDataFrame, rating_dict: dict = {}) tuple[Dataset, GeoDataFrame, dict][source]#

Return (uncontrolled) reservoir attributes (see list below) needed for modelling.

If rating_dict is not empty, prepares also rating tables for wflow.

The following reservoir attributes are calculated:

  • waterbody_id : waterbody id

  • reservoir_area : reservoir area [m2]

  • reservoir_initial_depth: reservoir average level or initial depth (cold state) [m]

  • meta_reservoir_mean_outflow: reservoir average outflow [m3/s]

  • reservoir_b: reservoir rating curve coefficient [-]

  • reservoir_e: reservoir rating curve exponent [-]

  • reservoir_storage_curve: option to compute storage curve [-]

  • reservoir_rating_curve: option to compute rating curve [-]

  • reservoir_outflow_threshold: minimum threshold for reservoir outflow [m]

  • reservoir_lower_id: id of linked reservoir location if any

Parameters:
  • ds (xr.Dataset) – Dataset containing the reservoir locations and area

  • gdf (gpd.GeoDataFrame) – GeoDataFrame containing the reservoir locations and area

  • rating_dict (dict, optional) – Dictionary containing the rating curve parameters, by default dict()

Returns:

  • ds (xr.Dataset) – Dataset containing the reservoir locations with the attributes

  • gdf (gpd.GeoDataFrame) – GeoDataFrame containing the reservoir locations with the attributes

  • rating_curves (dict) – Dictionary containing the rating curves in wflow format