Skip to contents

Prepare Model input

Usage

prepare_input(
  temporal_resolution = "days",
  config = config_read(),
  cso = kwb.BerlinWaterModel::cso,
  inflows = kwb.BerlinWaterModel::inflows,
  rain = kwb.BerlinWaterModel::rain,
  ww = kwb.BerlinWaterModel::ww,
  wwtp = kwb.BerlinWaterModel::wwtp,
  bfshare_dynamic = FALSE,
  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",
  debug = TRUE
)

Arguments

temporal_resolution

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

config

model network configuration (as retrieved by config_read)

cso

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

inflows

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

rain

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

ww

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

wwtp

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

bfshare_dynamic

should dynamic bankfiltration shares be used or the static ones contained in column "bank_filtration_share" of config$flows_in_out

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)

debug

print debug messages (default: TRUE)

Value

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