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,
  date_min = "2010-01-01",
  date_max = "2021-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)

date_min

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

date_max

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

Value

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