Skip to contents

Prepare Model input

Usage

prepare_input(
  temporal_resolution = "days",
  config = config_read(),
  inflows = kwb.BerlinWaterModel::inflows,
  ww = kwb.BerlinWaterModel::ww,
  wwtp = kwb.BerlinWaterModel::wwtp,
  share_wwtp_sch_panke = 0.8,
  share_wwtp_sch_nordgraben = 1 - share_wwtp_sch_panke,
  col_wwtp_sch = "Q_KW_SCH",
  col_wwtp_sch_nordgraben = "Q_KW_SCH_Nordgraben",
  col_wwtp_sch_panke = "Q_KW_SCH_Panke",
  date_min = "2002-01-01",
  date_max = "2022-12-31"
)

Arguments

temporal_resolution

specify temporal resolution of model input dataset. (default: "days"). Valid options are: c("days", "hours", "minutes")

config

model network configuration (as retrieved by config_read)

inflows

inflows dataset (default: kwb.BerlinWaterModel::inflows)

ww

waterworks dataset (default: kwb.BerlinWaterModel::ww)

wwtp

wastewater treatment plant dataset (default: kwb.BerlinWaterModel::wwtp)

share_wwtp_sch_panke

share of WWTP Schoenerlinde to Panke (default: 0.8)

share_wwtp_sch_nordgraben

share of WWTP Schoenerlinde to Nordgraben (default: 1 - share_wwtp_sch_panke),

col_wwtp_sch

column name of WWTP Schoenerlinde (default: "Q_KW_SCH")

col_wwtp_sch_nordgraben

column name of WWTP Schoenerlinde outflow to Nordgraben (default: "Q_KW_SCH_Nordgraben")

col_wwtp_sch_panke

olumn name of WWTP Schoenerlinde outflow to Panke (default: "Q_KW_SCH_Panke")

date_min

minimum date, i.e. start of simulation (default: "2002-01-01)

date_max

maximum date, i.e. end of simulation (default: "2022-12-31)

Value

input dataset, will be filled in case temporal resolution in increased