instantiates an object from class of createReservoir
createReservoir(name , inflow , geometry, initialStorage,
delayInflow , downstream )
(optional): a string: the name of reservoir to be instantiated
(optional) : a vector of direct/lateral inflow (cms)
a list of geometric specifications of the reservoir:
storageElevationCurve
: 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)
dischargeElevationCurve
: 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)
storage
: the maximum volume of reservoir capacity (MCM)
(optional) the initial storage of reservoir at the first time step of simulation (MCM)
(optional): an integer presenting the time steps to delay direct/lateral inflow time series
(optional): an object from either of classes: createDiversion
, createReservoir
, createSubbasin
, createJunction
, createReach
.
a list: an object from class of createReservoir