createReservoir
instantiates an object from class of createReservoir
# S3 method for default
createReservoir(name = "Unttitled", inflow = NA, ratingCurve,
dischargeCurve, initialStorage, capacity,
delayInflow = 1, label, downstream = NA)
a string: the name of reservoir to be instantiated
a vector (optional): a time series of direct inflow rather than flows comming from upstream (cms)
a data frame: a data frame at which its first collumn includes height (masl) and second collums presents equivalant volume to the height at first collumn (MCM)
a data frame: a data frame at which its first collumn includes height (masl) and second collums presents equivalant discharge rate to the height at first collumn (cms)
the initial storage of reservoir at the first time step of simulation (MCM)
the maximum volume of reservoir capacity (MCM)
an integer (optional): presenting the time steps to delay direct inflow time series
an integer: a unique number, as label
an integer: the code of downstream object
a list: an object from class of createReservoir