View source: R/createReservoir.base.R
createReservoir.base | R Documentation |
createReservoir
this function constructs an object from class of createReservoir
, which is able to simulate a storage reservoir under given a sort of demand(s).
## S3 method for class 'base' createReservoir(type, name, priority, downstream, netEvaporation, seepageFraction, seepageObject, geometry, plant, penstock, initialStorage)
type |
A string: the type of the reservoir being instantiated: by default 'storage', however, it can be 'hydropower' |
name |
(optional) A string: the name of the reservoir. |
priority |
(optional) An integer: the supplying priority. |
downstream |
(optional) An object; from either of classes of |
netEvaporation |
A vector: is a vector of net evaporation depth time series at the location of dam site (meter). If omitted, the evaporation is assumed to be zero. |
seepageFraction |
(optional) The seepage coeffcient of reservoir storage. The seepage is computed as the product of |
seepageObject |
(optional) An object; from either of classes of |
geometry |
A list of reservoir geometric specifications:
|
plant |
A list of power plant specifications. It is provided if
|
penstock |
(optional) A list of penstock specifications. It is provided if
|
initialStorage |
(optional) The initial stored water at the reservoir in the first step of the simulation (MCM). If is missing the the function iterate to carry over the reservoir. |
An object from class of list
createReservoir
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.